X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fdrivers%2Fcommon%2Fmeta.h;h=dbe8a9af02f3101fbf5507cc9a77367c33162d5d;hb=29a2eaf3db1520a5bc7b80d39c0feac1d2165388;hp=863997e9cc54a84d750c75793acd8381781d0263;hpb=d17e6bc48eaf20898ae34059372d58b6c8190f0f;p=mesa.git diff --git a/src/mesa/drivers/common/meta.h b/src/mesa/drivers/common/meta.h index 863997e9cc5..dbe8a9af02f 100644 --- a/src/mesa/drivers/common/meta.h +++ b/src/mesa/drivers/common/meta.h @@ -90,7 +90,7 @@ struct save_state GLboolean DitherFlag; /** MESA_META_COLOR_MASK */ - GLubyte ColorMask[MAX_DRAW_BUFFERS][4]; + GLbitfield ColorMask; /** MESA_META_DEPTH_TEST */ struct gl_depthbuffer_attrib Depth; @@ -158,7 +158,7 @@ struct save_state /** MESA_META_VIEWPORT */ GLfloat ViewportX, ViewportY, ViewportW, ViewportH; - GLclampd DepthNear, DepthFar; + GLclampf DepthNear, DepthFar; /** MESA_META_CLAMP_FRAGMENT_COLOR */ GLenum ClampFragmentColor; @@ -190,7 +190,7 @@ struct save_state struct gl_framebuffer *ReadBuffer; /** MESA_META_DRAW_BUFFERS */ - GLenum ColorDrawBuffers[MAX_DRAW_BUFFERS]; + GLenum16 ColorDrawBuffers[MAX_DRAW_BUFFERS]; }; /** @@ -200,7 +200,7 @@ struct save_state */ struct temp_texture { - GLuint TexObj; + struct gl_texture_object *tex_obj; GLenum Target; /**< GL_TEXTURE_2D or GL_TEXTURE_RECTANGLE */ GLsizei MinSize; /**< Min texture size to allocate */ GLsizei MaxSize; /**< Max possible texture size */ @@ -313,8 +313,8 @@ struct fb_tex_blit_state struct gl_sampler_object *samp_obj; struct gl_sampler_object *samp_obj_save; struct gl_texture_object *tex_obj; + struct gl_texture_object *temp_tex_obj; GLuint stencilSamplingSave; - GLuint tempTex; };