mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 04:22:05 +00:00
2008-01-16 Emmanuele Bassi <ebassi@openedhand.com>
Define COGLhandleARB. (patch by Johan Bilien) * clutter/cogl/gles/cogl-defines.h: Define COGLhandleARB on GLES as well (using GLuint) * clutter/cogl/gles/cogl.c: Use COGLhandleARB.
This commit is contained in:
parent
682eb3c6db
commit
7f51bdda17
@ -440,6 +440,7 @@ G_BEGIN_DECLS
|
||||
typedef GLenum COGLenum;
|
||||
typedef GLint COGLint;
|
||||
typedef GLuint COGLuint;
|
||||
typedef GLuint COGLhandleARB;
|
||||
|
||||
/* extras */
|
||||
|
||||
|
53
gles/cogl.c
53
gles/cogl.c
@ -645,66 +645,79 @@ cogl_fog_set (const ClutterColor *fog_color,
|
||||
glFogx (GL_FOG_END, (GLfixed) z_far);
|
||||
}
|
||||
|
||||
COGLint cogl_create_program (void)
|
||||
COGLhandleARB
|
||||
cogl_create_program (void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
COGLint cogl_create_shader (COGLenum shaderType)
|
||||
COGLhandleARB
|
||||
cogl_create_shader (COGLenum shaderType)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void cogl_shader_source (COGLint shader,
|
||||
const gchar *source)
|
||||
void
|
||||
cogl_shader_source (COGLhandleARB shader,
|
||||
const gchar *source)
|
||||
{
|
||||
}
|
||||
|
||||
void cogl_shader_compile (COGLint shader_handle)
|
||||
void
|
||||
cogl_shader_compile (COGLhandleARB shader_handle)
|
||||
{
|
||||
}
|
||||
|
||||
void cogl_program_attach_shader (COGLint program_handle,
|
||||
COGLint shader_handle)
|
||||
void
|
||||
cogl_program_attach_shader (COGLhandleARB program_handle,
|
||||
COGLhandleARB shader_handle)
|
||||
{
|
||||
}
|
||||
|
||||
void cogl_program_link (COGLint program_handle)
|
||||
void
|
||||
cogl_program_link (COGLhandleARB program_handle)
|
||||
{
|
||||
}
|
||||
|
||||
void cogl_program_use (COGLint program_handle)
|
||||
void
|
||||
cogl_program_use (COGLhandleARB program_handle)
|
||||
{
|
||||
}
|
||||
|
||||
COGLint cogl_program_get_uniform_location (COGLint program_handle,
|
||||
const gchar *uniform_name)
|
||||
COGLint
|
||||
cogl_program_get_uniform_location (COGLhandleARB program_handle,
|
||||
const gchar *uniform_name)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void cogl_program_destroy (COGLint handle)
|
||||
void
|
||||
cogl_program_destroy (COGLhandleARB handle)
|
||||
{
|
||||
}
|
||||
|
||||
void cogl_shader_destroy (COGLint handle)
|
||||
void
|
||||
cogl_shader_destroy (COGLhandleARB handle)
|
||||
{
|
||||
}
|
||||
|
||||
void cogl_shader_get_info_log (COGLint handle,
|
||||
guint size,
|
||||
gchar *buffer)
|
||||
void
|
||||
cogl_shader_get_info_log (COGLhandleARB handle,
|
||||
guint size,
|
||||
gchar *buffer)
|
||||
{
|
||||
}
|
||||
|
||||
void cogl_shader_get_parameteriv (COGLint handle,
|
||||
COGLenum pname,
|
||||
COGLint *dest)
|
||||
void
|
||||
cogl_shader_get_parameteriv (COGLhandleARB handle,
|
||||
COGLenum pname,
|
||||
COGLint *dest)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void cogl_program_uniform_1f (COGLint uniform_no,
|
||||
void
|
||||
cogl_program_uniform_1f (COGLint uniform_no,
|
||||
gfloat value)
|
||||
{
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user