Lines Matching refs:gl_context
39 struct gl_context;
85 const GLubyte * (*GetString)( struct gl_context *ctx, GLenum name );
93 void (*UpdateState)( struct gl_context *ctx, GLbitfield new_state );
108 void (*ResizeBuffers)( struct gl_context *ctx, struct gl_framebuffer *fb,
115 void (*Error)( struct gl_context *ctx );
120 void (*Finish)( struct gl_context *ctx );
125 void (*Flush)( struct gl_context *ctx );
132 void (*Clear)( struct gl_context *ctx, GLbitfield buffers );
137 void (*Accum)( struct gl_context *ctx, GLenum op, GLfloat value );
143 void (*RasterPos)( struct gl_context *ctx, const GLfloat v[4] );
154 void (*DrawPixels)( struct gl_context *ctx,
163 void (*ReadPixels)( struct gl_context *ctx,
172 void (*CopyPixels)( struct gl_context *ctx, GLint srcx, GLint srcy,
179 void (*Bitmap)( struct gl_context *ctx,
199 gl_format (*ChooseTextureFormat)( struct gl_context *ctx,
212 void (*TexImage)(struct gl_context *ctx, GLuint dims,
221 void (*TexSubImage)(struct gl_context *ctx, GLuint dims,
233 void (*GetTexImage)( struct gl_context *ctx,
240 void (*CopyTexSubImage)(struct gl_context *ctx, GLuint dims,
250 void (*GenerateMipmap)(struct gl_context *ctx, GLenum target,
259 GLboolean (*TestProxyTexImage)(struct gl_context *ctx, GLenum target,
275 void (*CompressedTexImage)(struct gl_context *ctx, GLuint dims,
282 void (*CompressedTexSubImage)(struct gl_context *ctx, GLuint dims,
292 void (*GetCompressedTexImage)(struct gl_context *ctx,
305 void (*BindTexture)( struct gl_context *ctx, GLenum target,
312 struct gl_texture_object * (*NewTextureObject)(struct gl_context *ctx,
318 void (*DeleteTexture)(struct gl_context *ctx,
322 struct gl_texture_image * (*NewTextureImage)(struct gl_context *ctx);
325 void (*DeleteTextureImage)(struct gl_context *ctx,
329 GLboolean (*AllocTextureImageBuffer)(struct gl_context *ctx,
333 void (*FreeTextureImageBuffer)(struct gl_context *ctx,
347 void (*MapTextureImage)(struct gl_context *ctx,
354 void (*UnmapTextureImage)(struct gl_context *ctx,
362 GLboolean (*AllocTextureStorage)(struct gl_context *ctx,
372 void (*MapRenderbuffer)(struct gl_context *ctx,
378 void (*UnmapRenderbuffer)(struct gl_context *ctx,
389 void (*BindProgram)(struct gl_context *ctx, GLenum target, struct gl_program *prog);
391 struct gl_program * (*NewProgram)(struct gl_context *ctx, GLenum target, GLuint id);
393 void (*DeleteProgram)(struct gl_context *ctx, struct gl_program *prog);
399 GLboolean (*ProgramStringNotify)(struct gl_context *ctx, GLenum target,
406 void (*SamplerUniformChange)(struct gl_context *ctx, GLenum target,
410 GLboolean (*IsProgramNative)(struct gl_context *ctx, GLenum target,
425 GLboolean (*LinkShader)(struct gl_context *ctx, struct gl_shader_program *shader);
439 void (*AlphaFunc)(struct gl_context *ctx, GLenum func, GLfloat ref);
441 void (*BlendColor)(struct gl_context *ctx, const GLfloat color[4]);
443 void (*BlendEquationSeparate)(struct gl_context *ctx, GLenum modeRGB, GLenum modeA);
444 void (*BlendEquationSeparatei)(struct gl_context *ctx, GLuint buffer,
447 void (*BlendFuncSeparate)(struct gl_context *ctx,
450 void (*BlendFuncSeparatei)(struct gl_context *ctx, GLuint buffer,
454 void (*ClipPlane)(struct gl_context *ctx, GLenum plane, const GLfloat *equation );
456 void (*ColorMask)(struct gl_context *ctx, GLboolean rmask, GLboolean gmask,
458 void (*ColorMaskIndexed)(struct gl_context *ctx, GLuint buf, GLboolean rmask,
461 void (*ColorMaterial)(struct gl_context *ctx, GLenum face, GLenum mode);
463 void (*CullFace)(struct gl_context *ctx, GLenum mode);
465 void (*FrontFace)(struct gl_context *ctx, GLenum mode);
467 void (*DepthFunc)(struct gl_context *ctx, GLenum func);
469 void (*DepthMask)(struct gl_context *ctx, GLboolean flag);
471 void (*DepthRange)(struct gl_context *ctx, GLclampd nearval, GLclampd farval);
473 void (*DrawBuffer)( struct gl_context *ctx, GLenum buffer );
475 void (*DrawBuffers)( struct gl_context *ctx, GLsizei n, const GLenum *buffers );
477 void (*Enable)(struct gl_context *ctx, GLenum cap, GLboolean state);
479 void (*Fogfv)(struct gl_context *ctx, GLenum pname, const GLfloat *params);
481 void (*Hint)(struct gl_context *ctx, GLenum target, GLenum mode);
486 void (*Lightfv)(struct gl_context *ctx, GLenum light,
489 void (*LightModelfv)(struct gl_context *ctx, GLenum pname, const GLfloat *params);
491 void (*LineStipple)(struct gl_context *ctx, GLint factor, GLushort pattern );
493 void (*LineWidth)(struct gl_context *ctx, GLfloat width);
495 void (*LogicOpcode)(struct gl_context *ctx, GLenum opcode);
496 void (*PointParameterfv)(struct gl_context *ctx, GLenum pname,
499 void (*PointSize)(struct gl_context *ctx, GLfloat size);
501 void (*PolygonMode)(struct gl_context *ctx, GLenum face, GLenum mode);
503 void (*PolygonOffset)(struct gl_context *ctx, GLfloat factor, GLfloat units);
505 void (*PolygonStipple)(struct gl_context *ctx, const GLubyte *mask );
507 void (*ReadBuffer)( struct gl_context *ctx, GLenum buffer );
509 void (*RenderMode)(struct gl_context *ctx, GLenum mode );
511 void (*Scissor)(struct gl_context *ctx, GLint x, GLint y, GLsizei w, GLsizei h);
513 void (*ShadeModel)(struct gl_context *ctx, GLenum mode);
515 void (*StencilFuncSeparate)(struct gl_context *ctx, GLenum face, GLenum func,
518 void (*StencilMaskSeparate)(struct gl_context *ctx, GLenum face, GLuint mask);
520 void (*StencilOpSeparate)(struct gl_context *ctx, GLenum face, GLenum fail,
523 void (*TexGen)(struct gl_context *ctx, GLenum coord, GLenum pname,
526 void (*TexEnv)(struct gl_context *ctx, GLenum target, GLenum pname,
529 void (*TexParameter)(struct gl_context *ctx, GLenum target,
533 void (*Viewport)(struct gl_context *ctx, GLint x, GLint y, GLsizei w, GLsizei h);
541 void (*BindBuffer)( struct gl_context *ctx, GLenum target,
544 struct gl_buffer_object * (*NewBufferObject)( struct gl_context *ctx, GLuint buffer,
547 void (*DeleteBuffer)( struct gl_context *ctx, struct gl_buffer_object *obj );
549 GLboolean (*BufferData)( struct gl_context *ctx, GLenum target, GLsizeiptrARB size,
553 void (*BufferSubData)( struct gl_context *ctx, GLintptrARB offset,
557 void (*GetBufferSubData)( struct gl_context *ctx,
561 void (*CopyBufferSubData)( struct gl_context *ctx,
569 void * (*MapBufferRange)( struct gl_context *ctx, GLintptr offset,
573 void (*FlushMappedBufferRange)(struct gl_context *ctx,
577 GLboolean (*UnmapBuffer)( struct gl_context *ctx,
586 …GLenum (*BufferObjectPurgeable)( struct gl_context *ctx, struct gl_buffer_object *obj, GLenum opti…
587 …GLenum (*RenderObjectPurgeable)( struct gl_context *ctx, struct gl_renderbuffer *obj, GLenum optio…
588 …GLenum (*TextureObjectPurgeable)( struct gl_context *ctx, struct gl_texture_object *obj, GLenum op…
591 …GLenum (*BufferObjectUnpurgeable)( struct gl_context *ctx, struct gl_buffer_object *obj, GLenum op…
592 …GLenum (*RenderObjectUnpurgeable)( struct gl_context *ctx, struct gl_renderbuffer *obj, GLenum opt…
593 …GLenum (*TextureObjectUnpurgeable)( struct gl_context *ctx, struct gl_texture_object *obj, GLenum …
600 struct gl_framebuffer * (*NewFramebuffer)(struct gl_context *ctx, GLuint name);
601 struct gl_renderbuffer * (*NewRenderbuffer)(struct gl_context *ctx, GLuint name);
602 void (*BindFramebuffer)(struct gl_context *ctx, GLenum target,
605 void (*FramebufferRenderbuffer)(struct gl_context *ctx,
609 void (*RenderTexture)(struct gl_context *ctx,
612 void (*FinishRenderTexture)(struct gl_context *ctx,
614 void (*ValidateFramebuffer)(struct gl_context *ctx,
617 void (*BlitFramebuffer)(struct gl_context *ctx,
626 struct gl_query_object * (*NewQueryObject)(struct gl_context *ctx, GLuint id);
627 void (*DeleteQuery)(struct gl_context *ctx, struct gl_query_object *q);
628 void (*BeginQuery)(struct gl_context *ctx, struct gl_query_object *q);
629 void (*EndQuery)(struct gl_context *ctx, struct gl_query_object *q);
630 void (*CheckQuery)(struct gl_context *ctx, struct gl_query_object *q);
631 void (*WaitQuery)(struct gl_context *ctx, struct gl_query_object *q);
639 struct gl_array_object * (*NewArrayObject)(struct gl_context *ctx, GLuint id);
640 void (*DeleteArrayObject)(struct gl_context *ctx, struct gl_array_object *obj);
641 void (*BindArrayObject)(struct gl_context *ctx, struct gl_array_object *obj);
648 struct gl_shader *(*NewShader)(struct gl_context *ctx, GLuint name, GLenum type);
649 void (*DeleteShader)(struct gl_context *ctx, struct gl_shader *shader);
650 struct gl_shader_program *(*NewShaderProgram)(struct gl_context *ctx, GLuint name);
651 void (*DeleteShaderProgram)(struct gl_context *ctx,
653 void (*UseProgram)(struct gl_context *ctx, struct gl_shader_program *shProg);
695 void (*BeginVertices)( struct gl_context *ctx );
706 void (*FlushVertices)( struct gl_context *ctx, GLuint flags );
707 void (*SaveFlushVertices)( struct gl_context *ctx );
715 void (*PrepareExecBegin)( struct gl_context *ctx );
722 GLboolean (*NotifySaveBegin)( struct gl_context *ctx, GLenum mode );
728 void (*LightingSpaceChange)( struct gl_context *ctx );
736 void (*NewList)( struct gl_context *ctx, GLuint list, GLenum mode );
742 void (*EndList)( struct gl_context *ctx );
749 void (*BeginCallList)( struct gl_context *ctx,
756 void (*EndCallList)( struct gl_context *ctx );
764 struct gl_sync_object * (*NewSyncObject)(struct gl_context *, GLenum);
765 void (*FenceSync)(struct gl_context *, struct gl_sync_object *, GLenum, GLbitfield);
766 void (*DeleteSyncObject)(struct gl_context *, struct gl_sync_object *);
767 void (*CheckSync)(struct gl_context *, struct gl_sync_object *);
768 void (*ClientWaitSync)(struct gl_context *, struct gl_sync_object *,
770 void (*ServerWaitSync)(struct gl_context *, struct gl_sync_object *,
775 void (*BeginConditionalRender)(struct gl_context *ctx, struct gl_query_object *q,
777 void (*EndConditionalRender)(struct gl_context *ctx, struct gl_query_object *q);
783 void (*DrawTex)(struct gl_context *ctx, GLfloat x, GLfloat y, GLfloat z,
790 void (*EGLImageTargetTexture2D)(struct gl_context *ctx, GLenum target,
794 void (*EGLImageTargetRenderbufferStorage)(struct gl_context *ctx,
802 (*NewTransformFeedback)(struct gl_context *ctx, GLuint name);
803 void (*DeleteTransformFeedback)(struct gl_context *ctx,
805 void (*BeginTransformFeedback)(struct gl_context *ctx, GLenum mode,
807 void (*EndTransformFeedback)(struct gl_context *ctx,
809 void (*PauseTransformFeedback)(struct gl_context *ctx,
811 void (*ResumeTransformFeedback)(struct gl_context *ctx,
817 void (*TextureBarrier)(struct gl_context *ctx);
822 struct gl_sampler_object * (*NewSamplerObject)(struct gl_context *ctx,
824 void (*DeleteSamplerObject)(struct gl_context *ctx,
831 uint64_t (*GetTimestamp)(struct gl_context *ctx);