X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=blobdiff_plain;f=src%2Fmesa%2Fmain%2Fdd.h;h=72af158dd07cd43aff23a2000768b8cffed39c26;hp=78e99bfa235d4f96fcefa0817a2dde6a3cc38cc7;hb=b68ff2b8731427b3b68c9c81902f7ba93606caaf;hpb=48ce7745dcfec33205d6e45906684c112cc24103 diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index 78e99bfa235..72af158dd07 100644 --- a/src/mesa/main/dd.h +++ b/src/mesa/main/dd.h @@ -429,7 +429,8 @@ struct dd_function_table { struct gl_renderbuffer *rb, GLuint x, GLuint y, GLuint w, GLuint h, GLbitfield mode, - GLubyte **mapOut, GLint *rowStrideOut); + GLubyte **mapOut, GLint *rowStrideOut, + bool flip_y); void (*UnmapRenderbuffer)(struct gl_context *ctx, struct gl_renderbuffer *rb); @@ -783,9 +784,8 @@ struct dd_function_table { GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); - void (*DiscardFramebuffer)(struct gl_context *ctx, - GLenum target, GLsizei numAttachments, - const GLenum *attachments); + void (*DiscardFramebuffer)(struct gl_context *ctx, struct gl_framebuffer *fb, + struct gl_renderbuffer_attachment *att); /** * \name Functions for GL_ARB_sample_locations @@ -974,6 +974,13 @@ struct dd_function_table { struct gl_renderbuffer *rb, void *image_handle); + /** + * \name GL_EXT_EGL_image_storage interface + */ + void (*EGLImageTargetTexStorage)(struct gl_context *ctx, GLenum target, + struct gl_texture_object *texObj, + struct gl_texture_image *texImage, + GLeglImageOES image_handle); /** * \name GL_EXT_transform_feedback interface */ @@ -1298,6 +1305,13 @@ struct dd_function_table { void (*ShaderCacheSerializeDriverBlob)(struct gl_context *ctx, struct gl_program *prog); /*@}*/ + + /** + * \name Set the number of compiler threads for ARB_parallel_shader_compile + */ + void (*SetMaxShaderCompilerThreads)(struct gl_context *ctx, unsigned count); + bool (*GetShaderProgramCompletionStatus)(struct gl_context *ctx, + struct gl_shader_program *shprog); };