• Home
  • Raw
  • Download

Lines Matching defs:dd_function_table

109 struct dd_function_table {  struct
115 const GLubyte * (*GetString)( struct gl_context *ctx, GLenum name );
123 void (*UpdateState)(struct gl_context *ctx);
128 void (*Finish)( struct gl_context *ctx );
133 void (*Flush)(struct gl_context *ctx, unsigned gallium_flush_flags);
140 void (*Clear)( struct gl_context *ctx, GLbitfield buffers );
145 void (*RasterPos)( struct gl_context *ctx, const GLfloat v[4] );
156 void (*DrawPixels)( struct gl_context *ctx,
165 void (*ReadPixels)( struct gl_context *ctx,
174 void (*CopyPixels)( struct gl_context *ctx, GLint srcx, GLint srcy,
181 void (*Bitmap)( struct gl_context *ctx,
190 void (*DrawAtlasBitmaps)(struct gl_context *ctx,
209 mesa_format (*ChooseTextureFormat)(struct gl_context *ctx,
227 void (*QueryInternalFormat)(struct gl_context *ctx,
242 void (*TexImage)(struct gl_context *ctx, GLuint dims,
251 void (*TexSubImage)(struct gl_context *ctx, GLuint dims,
263 void (*GetTexSubImage)(struct gl_context *ctx,
277 void (*ClearTexSubImage)(struct gl_context *ctx,
292 void (*CopyTexSubImage)(struct gl_context *ctx, GLuint dims,
311 void (*CopyImageSubData)(struct gl_context *ctx,
327 void (*GenerateMipmap)(struct gl_context *ctx, GLenum target,
337 GLboolean (*TestProxyTexImage)(struct gl_context *ctx, GLenum target,
353 void (*CompressedTexImage)(struct gl_context *ctx, GLuint dims,
360 void (*CompressedTexSubImage)(struct gl_context *ctx, GLuint dims,
376 void (*BindTexture)( struct gl_context *ctx, GLuint texUnit,
383 struct gl_texture_object * (*NewTextureObject)(struct gl_context *ctx,
389 void (*DeleteTexture)(struct gl_context *ctx,
395 void (*TextureRemovedFromShared)(struct gl_context *ctx,
399 struct gl_texture_image * (*NewTextureImage)(struct gl_context *ctx);
402 void (*DeleteTextureImage)(struct gl_context *ctx,
406 GLboolean (*AllocTextureImageBuffer)(struct gl_context *ctx,
410 void (*FreeTextureImageBuffer)(struct gl_context *ctx,
426 void (*MapTextureImage)(struct gl_context *ctx,
433 void (*UnmapTextureImage)(struct gl_context *ctx,
441 GLboolean (*AllocTextureStorage)(struct gl_context *ctx,
447 GLboolean (*TextureView)(struct gl_context *ctx,
456 void (*MapRenderbuffer)(struct gl_context *ctx,
463 void (*UnmapRenderbuffer)(struct gl_context *ctx,
470 GLboolean (*BindRenderbufferTexImage)(struct gl_context *ctx,
481 struct gl_program * (*NewProgram)(struct gl_context *ctx,
485 void (*DeleteProgram)(struct gl_context *ctx, struct gl_program *prog);
489 struct gl_program * (*NewATIfs)(struct gl_context *ctx,
496 GLboolean (*ProgramStringNotify)(struct gl_context *ctx, GLenum target,
503 void (*SamplerUniformChange)(struct gl_context *ctx, GLenum target,
507 GLboolean (*IsProgramNative)(struct gl_context *ctx, GLenum target,
522 GLboolean (*LinkShader)(struct gl_context *ctx,
563 void (*Draw)(struct gl_context *ctx,
587 void (*DrawGallium)(struct gl_context *ctx,
602 void (*DrawGalliumMultiMode)(struct gl_context *ctx,
625 void (*DrawIndirect)(struct gl_context *ctx, GLuint mode,
646 void (*DrawTransformFeedback)(struct gl_context *ctx, GLenum mode,
650 void (*DrawGalliumVertexState)(struct gl_context *ctx,
660 (*CreateGalliumVertexState)(struct gl_context *ctx,
676 void (*AlphaFunc)(struct gl_context *ctx, GLenum func, GLfloat ref);
678 void (*BlendColor)(struct gl_context *ctx, const GLfloat color[4]);
680 void (*BlendEquationSeparate)(struct gl_context *ctx,
683 void (*BlendFuncSeparate)(struct gl_context *ctx,
687 void (*ClipPlane)(struct gl_context *ctx, GLenum plane, const GLfloat *eq);
689 void (*ColorMask)(struct gl_context *ctx, GLboolean rmask, GLboolean gmask,
692 void (*ColorMaterial)(struct gl_context *ctx, GLenum face, GLenum mode);
694 void (*CullFace)(struct gl_context *ctx, GLenum mode);
696 void (*FrontFace)(struct gl_context *ctx, GLenum mode);
698 void (*DepthFunc)(struct gl_context *ctx, GLenum func);
700 void (*DepthMask)(struct gl_context *ctx, GLboolean flag);
702 void (*DepthRange)(struct gl_context *ctx);
704 void (*DrawBuffer)(struct gl_context *ctx);
706 void (*DrawBufferAllocate)(struct gl_context *ctx);
708 void (*Enable)(struct gl_context *ctx, GLenum cap, GLboolean state);
710 void (*Fogfv)(struct gl_context *ctx, GLenum pname, const GLfloat *params);
715 void (*Lightfv)(struct gl_context *ctx, GLenum light,
718 void (*LightModelfv)(struct gl_context *ctx, GLenum pname,
721 void (*LineStipple)(struct gl_context *ctx, GLint factor, GLushort pattern );
723 void (*LineWidth)(struct gl_context *ctx, GLfloat width);
725 void (*LogicOpcode)(struct gl_context *ctx, enum gl_logicop_mode opcode);
726 void (*PointParameterfv)(struct gl_context *ctx, GLenum pname,
729 void (*PointSize)(struct gl_context *ctx, GLfloat size);
731 void (*PolygonMode)(struct gl_context *ctx, GLenum face, GLenum mode);
733 void (*PolygonOffset)(struct gl_context *ctx, GLfloat factor, GLfloat units, GLfloat clamp);
735 void (*PolygonStipple)(struct gl_context *ctx, const GLubyte *mask );
737 void (*ReadBuffer)( struct gl_context *ctx, GLenum buffer );
739 void (*RenderMode)(struct gl_context *ctx, GLenum mode );
741 void (*Scissor)(struct gl_context *ctx);
743 void (*ShadeModel)(struct gl_context *ctx, GLenum mode);
745 void (*StencilFuncSeparate)(struct gl_context *ctx, GLenum face, GLenum func,
748 void (*StencilMaskSeparate)(struct gl_context *ctx, GLenum face, GLuint mask);
750 void (*StencilOpSeparate)(struct gl_context *ctx, GLenum face, GLenum fail,
753 void (*TexGen)(struct gl_context *ctx, GLenum coord, GLenum pname,
756 void (*TexEnv)(struct gl_context *ctx, GLenum target, GLenum pname,
759 void (*TexParameter)(struct gl_context *ctx,
762 void (*Viewport)(struct gl_context *ctx);
770 struct gl_buffer_object * (*NewBufferObject)(struct gl_context *ctx,
773 void (*DeleteBuffer)( struct gl_context *ctx, struct gl_buffer_object *obj );
775 GLboolean (*BufferData)(struct gl_context *ctx, GLenum target,
779 void (*BufferSubData)( struct gl_context *ctx, GLintptrARB offset,
783 void (*GetBufferSubData)( struct gl_context *ctx,
787 void (*ClearBufferSubData)( struct gl_context *ctx,
793 void (*CopyBufferSubData)( struct gl_context *ctx,
799 void (*InvalidateBufferSubData)( struct gl_context *ctx,
807 void * (*MapBufferRange)( struct gl_context *ctx, GLintptr offset,
812 void (*FlushMappedBufferRange)(struct gl_context *ctx,
817 GLboolean (*UnmapBuffer)( struct gl_context *ctx,
827 GLenum (*BufferObjectPurgeable)(struct gl_context *ctx,
829 GLenum (*RenderObjectPurgeable)(struct gl_context *ctx,
831 GLenum (*TextureObjectPurgeable)(struct gl_context *ctx,
836 GLenum (*BufferObjectUnpurgeable)(struct gl_context *ctx,
839 GLenum (*RenderObjectUnpurgeable)(struct gl_context *ctx,
842 GLenum (*TextureObjectUnpurgeable)(struct gl_context *ctx,
851 struct gl_framebuffer * (*NewFramebuffer)(struct gl_context *ctx,
853 struct gl_renderbuffer * (*NewRenderbuffer)(struct gl_context *ctx,
855 void (*BindFramebuffer)(struct gl_context *ctx, GLenum target,
858 void (*FramebufferRenderbuffer)(struct gl_context *ctx,
862 void (*RenderTexture)(struct gl_context *ctx,
865 void (*FinishRenderTexture)(struct gl_context *ctx,
867 void (*ValidateFramebuffer)(struct gl_context *ctx,
870 void (*BlitFramebuffer)(struct gl_context *ctx,
876 void (*DiscardFramebuffer)(struct gl_context *ctx, struct gl_framebuffer *fb,
882 void (*GetProgrammableSampleCaps)(struct gl_context *ctx,
885 void (*EvaluateDepthValues)(struct gl_context *ctx);
891 struct gl_query_object * (*NewQueryObject)(struct gl_context *ctx, GLuint id);
892 void (*DeleteQuery)(struct gl_context *ctx, struct gl_query_object *q);
893 void (*BeginQuery)(struct gl_context *ctx, struct gl_query_object *q);
894 void (*QueryCounter)(struct gl_context *ctx, struct gl_query_object *q);
895 void (*EndQuery)(struct gl_context *ctx, struct gl_query_object *q);
896 void (*CheckQuery)(struct gl_context *ctx, struct gl_query_object *q);
897 void (*WaitQuery)(struct gl_context *ctx, struct gl_query_object *q);
904 void (*StoreQueryResult)(struct gl_context *ctx, struct gl_query_object *q,
913 void (*InitPerfMonitorGroups)(struct gl_context *ctx);
914 struct gl_perf_monitor_object * (*NewPerfMonitor)(struct gl_context *ctx);
915 void (*DeletePerfMonitor)(struct gl_context *ctx,
917 GLboolean (*BeginPerfMonitor)(struct gl_context *ctx,
921 void (*ResetPerfMonitor)(struct gl_context *ctx,
923 void (*EndPerfMonitor)(struct gl_context *ctx,
925 GLboolean (*IsPerfMonitorResultAvailable)(struct gl_context *ctx,
927 void (*GetPerfMonitorResult)(struct gl_context *ctx,
938 unsigned (*InitPerfQueryInfo)(struct gl_context *ctx);
939 void (*GetPerfQueryInfo)(struct gl_context *ctx,
945 void (*GetPerfCounterInfo)(struct gl_context *ctx,
955 struct gl_perf_query_object * (*NewPerfQueryObject)(struct gl_context *ctx,
957 void (*DeletePerfQuery)(struct gl_context *ctx,
959 bool (*BeginPerfQuery)(struct gl_context *ctx,
961 void (*EndPerfQuery)(struct gl_context *ctx,
963 void (*WaitPerfQuery)(struct gl_context *ctx,
965 bool (*IsPerfQueryReady)(struct gl_context *ctx,
967 bool (*GetPerfQueryData)(struct gl_context *ctx,
979 void (*EmitStringMarker)(struct gl_context *ctx, const GLchar *string, GLsizei len);
1009 * The dd_function_table::FlushVertices call below may be used to resolve argument
1012 GLbitfield NeedFlush;
1015 GLboolean SaveNeedFlush;
1021 void (*LightingSpaceChange)( struct gl_context *ctx );
1029 struct gl_sync_object * (*NewSyncObject)(struct gl_context *);
1030 void (*FenceSync)(struct gl_context *, struct gl_sync_object *,
1032 void (*DeleteSyncObject)(struct gl_context *, struct gl_sync_object *);
1033 void (*CheckSync)(struct gl_context *, struct gl_sync_object *);
1034 void (*ClientWaitSync)(struct gl_context *, struct gl_sync_object *,
1036 void (*ServerWaitSync)(struct gl_context *, struct gl_sync_object *,
1041 void (*BeginConditionalRender)(struct gl_context *ctx,
1044 void (*EndConditionalRender)(struct gl_context *ctx,
1051 void (*DrawTex)(struct gl_context *ctx, GLfloat x, GLfloat y, GLfloat z,
1058 void (*EGLImageTargetTexture2D)(struct gl_context *ctx, GLenum target,
1062 void (*EGLImageTargetRenderbufferStorage)(struct gl_context *ctx,
1069 void (*EGLImageTargetTexStorage)(struct gl_context *ctx, GLenum target,
1077 (*NewTransformFeedback)(struct gl_context *ctx, GLuint name);
1078 void (*DeleteTransformFeedback)(struct gl_context *ctx,
1080 void (*BeginTransformFeedback)(struct gl_context *ctx, GLenum mode,
1082 void (*EndTransformFeedback)(struct gl_context *ctx,
1084 void (*PauseTransformFeedback)(struct gl_context *ctx,
1086 void (*ResumeTransformFeedback)(struct gl_context *ctx,
1093 GLsizei (*GetTransformFeedbackVertexCount)(struct gl_context *ctx,
1100 void (*TextureBarrier)(struct gl_context *ctx);
1105 struct gl_sampler_object * (*NewSamplerObject)(struct gl_context *ctx,
1112 uint64_t (*GetTimestamp)(struct gl_context *ctx);
1117 void (*GetSamplePosition)(struct gl_context *ctx,
1125 void (*VDPAUMapSurface)(struct gl_context *ctx, GLenum target,
1130 void (*VDPAUUnmapSurface)(struct gl_context *ctx, GLenum target,
1143 GLenum (*GetGraphicsResetStatus)(struct gl_context *ctx);
1149 void (*MemoryBarrier)(struct gl_context *ctx, GLbitfield barriers);
1161 void (*FramebufferFetchBarrier)(struct gl_context *ctx);
1168 void (*DispatchCompute)(struct gl_context *ctx, const GLuint *num_groups);
1169 void (*DispatchComputeIndirect)(struct gl_context *ctx, GLintptr indirect);
1176 void (*DispatchComputeGroupSize)(struct gl_context *ctx,
1185 void (*QueryMemoryInfo)(struct gl_context *ctx,
1204 void (*SetBackgroundContext)(struct gl_context *ctx,
1211 void (*BufferPageCommitment)(struct gl_context *ctx,
1221 GLuint64 (*NewTextureHandle)(struct gl_context *ctx,
1224 void (*DeleteTextureHandle)(struct gl_context *ctx, GLuint64 handle);
1225 void (*MakeTextureHandleResident)(struct gl_context *ctx, GLuint64 handle,
1227 GLuint64 (*NewImageHandle)(struct gl_context *ctx,
1229 void (*DeleteImageHandle)(struct gl_context *ctx, GLuint64 handle);
1230 void (*MakeImageHandleResident)(struct gl_context *ctx, GLuint64 handle,
1243 struct gl_memory_object * (*NewMemoryObject)(struct gl_context *ctx,
1249 void (*DeleteMemoryObject)(struct gl_context *ctx,
1255 GLboolean (*SetTextureStorageForMemoryObject)(struct gl_context *ctx,
1265 GLboolean (*BufferDataMem)(struct gl_context *ctx,
1278 void (*GetDriverUuid)(struct gl_context *ctx, char *uuid);
1286 void (*GetDeviceUuid)(struct gl_context *ctx, char *uuid);
1301 void (*ImportMemoryObjectFd)(struct gl_context *ctx,
1314 void (*GetProgramBinaryDriverSHA1)(struct gl_context *ctx, uint8_t *sha1);
1316 void (*ProgramBinarySerializeDriverBlob)(struct gl_context *ctx,
1320 void (*ProgramBinaryDeserializeDriverBlob)(struct gl_context *ctx,
1333 struct gl_semaphore_object * (*NewSemaphoreObject)(struct gl_context *ctx,
1339 void (*DeleteSemaphoreObject)(struct gl_context *ctx,
1346 void (*ServerWaitSemaphoreObject)(struct gl_context *ctx,
1358 void (*ServerSignalSemaphoreObject)(struct gl_context *ctx,
1378 void (*ImportSemaphoreFd)(struct gl_context *ctx,
1394 void (*ShaderCacheSerializeDriverBlob)(struct gl_context *ctx,
1401 void (*SetMaxShaderCompilerThreads)(struct gl_context *ctx, unsigned count);
1402 bool (*GetShaderProgramCompletionStatus)(struct gl_context *ctx,
1405 void (*PinDriverToL3Cache)(struct gl_context *ctx, unsigned L3_cache);
1407 GLboolean (*ValidateEGLImage)(struct gl_context *ctx, GLeglImageOES image_handle);