Lines Matching refs:GGLInterface_t
166 typedef struct GGLInterface GGLInterface_t;
169 void (* CullFace)(GGLInterface_t * iface, GLenum mode);
170 void (* FrontFace)(GGLInterface_t * iface, GLenum mode);
171 void (* DepthRangef)(GGLInterface_t * iface, GLclampf zNear, GLclampf zFar);
172 void (* Viewport)(GGLInterface_t * iface, GLint x, GLint y, GLsizei width, GLsizei height);
173 void (* ViewportTransform)(const GGLInterface_t * iface, Vector4 * v);
176 void (* BlendColor)(GGLInterface_t * iface, GLclampf red, GLclampf green,
178 void (* BlendEquationSeparate)(GGLInterface_t * iface, GLenum modeRGB, GLenum modeAlpha);
179 void (* BlendFuncSeparate)(GGLInterface_t * iface, GLenum srcRGB, GLenum dstRGB,
181 void (* EnableDisable)(GGLInterface_t * iface, GLenum cap, GLboolean enable);
183 void (* DepthFunc)(GGLInterface_t * iface, GLenum func);
184 void (* StencilFuncSeparate)(GGLInterface_t * iface, GLenum face, GLenum func,
186 void (* StencilOpSeparate)(GGLInterface_t * iface, GLenum face, GLenum sfail,
189 void (* StencilSelect)(const GGLInterface_t * iface, GLenum face);
190 void (* ClearStencil)(GGLInterface_t * iface, GLint s);
191 void (* ClearColor)(GGLInterface_t * iface, GLclampf r, GLclampf g, GLclampf b, GLclampf a);
192 void (* ClearDepthf)(GGLInterface_t * iface, GLclampf d);
193 void (* Clear)(const GGLInterface_t * iface, GLbitfield buf);
197 void (* SetSampler)(GGLInterface_t * iface, const unsigned sampler, GGLTexture_t * texture);
201 void (* SetBuffer)(GGLInterface_t * iface, const GLenum type, GGLSurface_t * surface);
205 void (* ProcessVertex)(const GGLInterface_t * iface, const VertexInput_t * input,
208 void (* DrawTriangle)(const GGLInterface_t * iface, const VertexInput_t * v0,
211 void (* RasterTriangle)(const GGLInterface_t * iface, const VertexOutput_t * v1,
214 void (* RasterTrapezoid)(const GGLInterface_t * iface, const VertexOutput_t * tl,
219 void (* ScanLine)(const GGLInterface_t * iface, const VertexOutput_t * v1,
223 gl_shader_t * (* ShaderCreate)(const GGLInterface_t * iface, GLenum type);
228 GLboolean (* ShaderCompile)(const GGLInterface_t * iface, gl_shader_t * shader,
231 void (* ShaderDelete)(const GGLInterface_t * iface, gl_shader_t * shader);
234 gl_shader_program_t * (* ShaderProgramCreate)(const GGLInterface_t * iface);
237 void (* ShaderAttach)(const GGLInterface_t * iface, gl_shader_program_t * program,
241 void (* ShaderDetach)(const GGLInterface_t * iface, gl_shader_program_t * program,
247 void (* ShaderProgramDelete)(GGLInterface_t * iface, gl_shader_program_t * program);
250 void (* ShaderUse)(GGLInterface_t * iface, gl_shader_program_t * program);
295 GGLInterface_t * CreateGGLInterface();
297 void DestroyGGLInterface(GGLInterface_t * interface);