Lines Matching refs:gl_context
40 struct gl_context;
89 const GLubyte * (*GetString)( struct gl_context *ctx, GLenum name );
97 void (*UpdateState)(struct gl_context *ctx);
102 void (*Finish)( struct gl_context *ctx );
107 void (*Flush)( struct gl_context *ctx );
114 void (*Clear)( struct gl_context *ctx, GLbitfield buffers );
119 void (*RasterPos)( struct gl_context *ctx, const GLfloat v[4] );
130 void (*DrawPixels)( struct gl_context *ctx,
139 void (*ReadPixels)( struct gl_context *ctx,
148 void (*CopyPixels)( struct gl_context *ctx, GLint srcx, GLint srcy,
155 void (*Bitmap)( struct gl_context *ctx,
164 void (*DrawAtlasBitmaps)(struct gl_context *ctx,
183 mesa_format (*ChooseTextureFormat)(struct gl_context *ctx,
201 void (*QueryInternalFormat)(struct gl_context *ctx,
216 void (*TexImage)(struct gl_context *ctx, GLuint dims,
225 void (*TexSubImage)(struct gl_context *ctx, GLuint dims,
237 void (*GetTexSubImage)(struct gl_context *ctx,
251 void (*ClearTexSubImage)(struct gl_context *ctx,
266 void (*CopyTexSubImage)(struct gl_context *ctx, GLuint dims,
285 void (*CopyImageSubData)(struct gl_context *ctx,
301 void (*GenerateMipmap)(struct gl_context *ctx, GLenum target,
311 GLboolean (*TestProxyTexImage)(struct gl_context *ctx, GLenum target,
327 void (*CompressedTexImage)(struct gl_context *ctx, GLuint dims,
334 void (*CompressedTexSubImage)(struct gl_context *ctx, GLuint dims,
350 void (*BindTexture)( struct gl_context *ctx, GLuint texUnit,
357 struct gl_texture_object * (*NewTextureObject)(struct gl_context *ctx,
363 void (*DeleteTexture)(struct gl_context *ctx,
367 struct gl_texture_image * (*NewTextureImage)(struct gl_context *ctx);
370 void (*DeleteTextureImage)(struct gl_context *ctx,
374 GLboolean (*AllocTextureImageBuffer)(struct gl_context *ctx,
378 void (*FreeTextureImageBuffer)(struct gl_context *ctx,
394 void (*MapTextureImage)(struct gl_context *ctx,
401 void (*UnmapTextureImage)(struct gl_context *ctx,
409 GLboolean (*AllocTextureStorage)(struct gl_context *ctx,
415 GLboolean (*TextureView)(struct gl_context *ctx,
424 void (*MapRenderbuffer)(struct gl_context *ctx,
430 void (*UnmapRenderbuffer)(struct gl_context *ctx,
437 GLboolean (*BindRenderbufferTexImage)(struct gl_context *ctx,
448 struct gl_program * (*NewProgram)(struct gl_context *ctx, GLenum target,
451 void (*DeleteProgram)(struct gl_context *ctx, struct gl_program *prog);
455 struct gl_program * (*NewATIfs)(struct gl_context *ctx,
462 GLboolean (*ProgramStringNotify)(struct gl_context *ctx, GLenum target,
469 void (*SamplerUniformChange)(struct gl_context *ctx, GLenum target,
473 GLboolean (*IsProgramNative)(struct gl_context *ctx, GLenum target,
488 GLboolean (*LinkShader)(struct gl_context *ctx,
503 void (*AlphaFunc)(struct gl_context *ctx, GLenum func, GLfloat ref);
505 void (*BlendColor)(struct gl_context *ctx, const GLfloat color[4]);
507 void (*BlendEquationSeparate)(struct gl_context *ctx,
510 void (*BlendFuncSeparate)(struct gl_context *ctx,
514 void (*ClipPlane)(struct gl_context *ctx, GLenum plane, const GLfloat *eq);
516 void (*ColorMask)(struct gl_context *ctx, GLboolean rmask, GLboolean gmask,
519 void (*ColorMaterial)(struct gl_context *ctx, GLenum face, GLenum mode);
521 void (*CullFace)(struct gl_context *ctx, GLenum mode);
523 void (*FrontFace)(struct gl_context *ctx, GLenum mode);
525 void (*DepthFunc)(struct gl_context *ctx, GLenum func);
527 void (*DepthMask)(struct gl_context *ctx, GLboolean flag);
529 void (*DepthRange)(struct gl_context *ctx);
531 void (*DrawBuffer)( struct gl_context *ctx, GLenum buffer );
533 void (*DrawBuffers)(struct gl_context *ctx, GLsizei n, const GLenum *buffers);
535 void (*Enable)(struct gl_context *ctx, GLenum cap, GLboolean state);
537 void (*Fogfv)(struct gl_context *ctx, GLenum pname, const GLfloat *params);
542 void (*Lightfv)(struct gl_context *ctx, GLenum light,
545 void (*LightModelfv)(struct gl_context *ctx, GLenum pname,
548 void (*LineStipple)(struct gl_context *ctx, GLint factor, GLushort pattern );
550 void (*LineWidth)(struct gl_context *ctx, GLfloat width);
552 void (*LogicOpcode)(struct gl_context *ctx, GLenum opcode);
553 void (*PointParameterfv)(struct gl_context *ctx, GLenum pname,
556 void (*PointSize)(struct gl_context *ctx, GLfloat size);
558 void (*PolygonMode)(struct gl_context *ctx, GLenum face, GLenum mode);
560 void (*PolygonOffset)(struct gl_context *ctx, GLfloat factor, GLfloat units, GLfloat clamp);
562 void (*PolygonStipple)(struct gl_context *ctx, const GLubyte *mask );
564 void (*ReadBuffer)( struct gl_context *ctx, GLenum buffer );
566 void (*RenderMode)(struct gl_context *ctx, GLenum mode );
568 void (*Scissor)(struct gl_context *ctx);
570 void (*ShadeModel)(struct gl_context *ctx, GLenum mode);
572 void (*StencilFuncSeparate)(struct gl_context *ctx, GLenum face, GLenum func,
575 void (*StencilMaskSeparate)(struct gl_context *ctx, GLenum face, GLuint mask);
577 void (*StencilOpSeparate)(struct gl_context *ctx, GLenum face, GLenum fail,
580 void (*TexGen)(struct gl_context *ctx, GLenum coord, GLenum pname,
583 void (*TexEnv)(struct gl_context *ctx, GLenum target, GLenum pname,
586 void (*TexParameter)(struct gl_context *ctx,
589 void (*Viewport)(struct gl_context *ctx);
597 struct gl_buffer_object * (*NewBufferObject)(struct gl_context *ctx,
600 void (*DeleteBuffer)( struct gl_context *ctx, struct gl_buffer_object *obj );
602 GLboolean (*BufferData)(struct gl_context *ctx, GLenum target,
606 void (*BufferSubData)( struct gl_context *ctx, GLintptrARB offset,
610 void (*GetBufferSubData)( struct gl_context *ctx,
614 void (*ClearBufferSubData)( struct gl_context *ctx,
620 void (*CopyBufferSubData)( struct gl_context *ctx,
626 void (*InvalidateBufferSubData)( struct gl_context *ctx,
634 void * (*MapBufferRange)( struct gl_context *ctx, GLintptr offset,
639 void (*FlushMappedBufferRange)(struct gl_context *ctx,
644 GLboolean (*UnmapBuffer)( struct gl_context *ctx,
654 GLenum (*BufferObjectPurgeable)(struct gl_context *ctx,
656 GLenum (*RenderObjectPurgeable)(struct gl_context *ctx,
658 GLenum (*TextureObjectPurgeable)(struct gl_context *ctx,
663 GLenum (*BufferObjectUnpurgeable)(struct gl_context *ctx,
666 GLenum (*RenderObjectUnpurgeable)(struct gl_context *ctx,
669 GLenum (*TextureObjectUnpurgeable)(struct gl_context *ctx,
678 struct gl_framebuffer * (*NewFramebuffer)(struct gl_context *ctx,
680 struct gl_renderbuffer * (*NewRenderbuffer)(struct gl_context *ctx,
682 void (*BindFramebuffer)(struct gl_context *ctx, GLenum target,
685 void (*FramebufferRenderbuffer)(struct gl_context *ctx,
689 void (*RenderTexture)(struct gl_context *ctx,
692 void (*FinishRenderTexture)(struct gl_context *ctx,
694 void (*ValidateFramebuffer)(struct gl_context *ctx,
697 void (*BlitFramebuffer)(struct gl_context *ctx,
703 void (*DiscardFramebuffer)(struct gl_context *ctx,
711 struct gl_query_object * (*NewQueryObject)(struct gl_context *ctx, GLuint id);
712 void (*DeleteQuery)(struct gl_context *ctx, struct gl_query_object *q);
713 void (*BeginQuery)(struct gl_context *ctx, struct gl_query_object *q);
714 void (*QueryCounter)(struct gl_context *ctx, struct gl_query_object *q);
715 void (*EndQuery)(struct gl_context *ctx, struct gl_query_object *q);
716 void (*CheckQuery)(struct gl_context *ctx, struct gl_query_object *q);
717 void (*WaitQuery)(struct gl_context *ctx, struct gl_query_object *q);
724 void (*StoreQueryResult)(struct gl_context *ctx, struct gl_query_object *q,
733 void (*InitPerfMonitorGroups)(struct gl_context *ctx);
734 struct gl_perf_monitor_object * (*NewPerfMonitor)(struct gl_context *ctx);
735 void (*DeletePerfMonitor)(struct gl_context *ctx,
737 GLboolean (*BeginPerfMonitor)(struct gl_context *ctx,
741 void (*ResetPerfMonitor)(struct gl_context *ctx,
743 void (*EndPerfMonitor)(struct gl_context *ctx,
745 GLboolean (*IsPerfMonitorResultAvailable)(struct gl_context *ctx,
747 void (*GetPerfMonitorResult)(struct gl_context *ctx,
758 unsigned (*InitPerfQueryInfo)(struct gl_context *ctx);
759 void (*GetPerfQueryInfo)(struct gl_context *ctx,
765 void (*GetPerfCounterInfo)(struct gl_context *ctx,
775 struct gl_perf_query_object * (*NewPerfQueryObject)(struct gl_context *ctx,
777 void (*DeletePerfQuery)(struct gl_context *ctx,
779 bool (*BeginPerfQuery)(struct gl_context *ctx,
781 void (*EndPerfQuery)(struct gl_context *ctx,
783 void (*WaitPerfQuery)(struct gl_context *ctx,
785 bool (*IsPerfQueryReady)(struct gl_context *ctx,
787 void (*GetPerfQueryData)(struct gl_context *ctx,
799 void (*EmitStringMarker)(struct gl_context *ctx, const GLchar *string, GLsizei len);
841 void (*LightingSpaceChange)( struct gl_context *ctx );
849 struct gl_sync_object * (*NewSyncObject)(struct gl_context *);
850 void (*FenceSync)(struct gl_context *, struct gl_sync_object *,
852 void (*DeleteSyncObject)(struct gl_context *, struct gl_sync_object *);
853 void (*CheckSync)(struct gl_context *, struct gl_sync_object *);
854 void (*ClientWaitSync)(struct gl_context *, struct gl_sync_object *,
856 void (*ServerWaitSync)(struct gl_context *, struct gl_sync_object *,
861 void (*BeginConditionalRender)(struct gl_context *ctx,
864 void (*EndConditionalRender)(struct gl_context *ctx,
871 void (*DrawTex)(struct gl_context *ctx, GLfloat x, GLfloat y, GLfloat z,
878 void (*EGLImageTargetTexture2D)(struct gl_context *ctx, GLenum target,
882 void (*EGLImageTargetRenderbufferStorage)(struct gl_context *ctx,
890 (*NewTransformFeedback)(struct gl_context *ctx, GLuint name);
891 void (*DeleteTransformFeedback)(struct gl_context *ctx,
893 void (*BeginTransformFeedback)(struct gl_context *ctx, GLenum mode,
895 void (*EndTransformFeedback)(struct gl_context *ctx,
897 void (*PauseTransformFeedback)(struct gl_context *ctx,
899 void (*ResumeTransformFeedback)(struct gl_context *ctx,
906 GLsizei (*GetTransformFeedbackVertexCount)(struct gl_context *ctx,
913 void (*TextureBarrier)(struct gl_context *ctx);
918 struct gl_sampler_object * (*NewSamplerObject)(struct gl_context *ctx,
925 uint64_t (*GetTimestamp)(struct gl_context *ctx);
930 void (*GetSamplePosition)(struct gl_context *ctx,
938 void (*VDPAUMapSurface)(struct gl_context *ctx, GLenum target,
943 void (*VDPAUUnmapSurface)(struct gl_context *ctx, GLenum target,
956 GLenum (*GetGraphicsResetStatus)(struct gl_context *ctx);
962 void (*MemoryBarrier)(struct gl_context *ctx, GLbitfield barriers);
974 void (*BlendBarrier)(struct gl_context *ctx);
981 void (*DispatchCompute)(struct gl_context *ctx, const GLuint *num_groups);
982 void (*DispatchComputeIndirect)(struct gl_context *ctx, GLintptr indirect);
989 void (*DispatchComputeGroupSize)(struct gl_context *ctx,
998 void (*QueryMemoryInfo)(struct gl_context *ctx,
1017 void (*SetBackgroundContext)(struct gl_context *ctx,
1024 void (*BufferPageCommitment)(struct gl_context *ctx,
1034 GLuint64 (*NewTextureHandle)(struct gl_context *ctx,
1037 void (*DeleteTextureHandle)(struct gl_context *ctx, GLuint64 handle);
1038 void (*MakeTextureHandleResident)(struct gl_context *ctx, GLuint64 handle,
1040 GLuint64 (*NewImageHandle)(struct gl_context *ctx,
1042 void (*DeleteImageHandle)(struct gl_context *ctx, GLuint64 handle);
1043 void (*MakeImageHandleResident)(struct gl_context *ctx, GLuint64 handle,
1056 struct gl_memory_object * (*NewMemoryObject)(struct gl_context *ctx,
1062 void (*DeleteMemoryObject)(struct gl_context *ctx,
1068 GLboolean (*SetTextureStorageForMemoryObject)(struct gl_context *ctx,
1078 GLboolean (*BufferDataMem)(struct gl_context *ctx,
1091 void (*GetDriverUuid)(struct gl_context *ctx, char *uuid);
1099 void (*GetDeviceUuid)(struct gl_context *ctx, char *uuid);
1114 void (*ImportMemoryObjectFd)(struct gl_context *ctx,
1127 void (*GetProgramBinaryDriverSHA1)(struct gl_context *ctx, uint8_t *sha1);
1129 void (*ProgramBinarySerializeDriverBlob)(struct gl_context *ctx,
1132 void (*ProgramBinaryDeserializeDriverBlob)(struct gl_context *ctx,