Lines Matching refs:Attachment
222 return &fb->Attachment[BUFFER_COLOR0 + i]; in _mesa_get_attachment()
228 return &fb->Attachment[BUFFER_DEPTH]; in _mesa_get_attachment()
230 return &fb->Attachment[BUFFER_STENCIL]; in _mesa_get_attachment()
249 return &fb->Attachment[BUFFER_FRONT_LEFT]; in _mesa_get_fb0_attachment()
251 return &fb->Attachment[BUFFER_FRONT_RIGHT]; in _mesa_get_fb0_attachment()
253 return &fb->Attachment[BUFFER_BACK_LEFT]; in _mesa_get_fb0_attachment()
255 return &fb->Attachment[BUFFER_BACK_RIGHT]; in _mesa_get_fb0_attachment()
258 return &fb->Attachment[BUFFER_AUX0]; in _mesa_get_fb0_attachment()
287 return &fb->Attachment[BUFFER_DEPTH]; in _mesa_get_fb0_attachment()
289 return &fb->Attachment[BUFFER_STENCIL]; in _mesa_get_fb0_attachment()
429 const struct gl_renderbuffer *rb = fb->Attachment[buf].Renderbuffer; in _mesa_validate_framebuffer()
713 att = &fb->Attachment[BUFFER_DEPTH]; in _mesa_test_framebuffer_completeness()
722 att = &fb->Attachment[BUFFER_STENCIL]; in _mesa_test_framebuffer_completeness()
731 att = &fb->Attachment[BUFFER_COLOR0 + i]; in _mesa_test_framebuffer_completeness()
967 if (fb->Attachment[i].Renderbuffer == rb) { in detach_renderbuffer()
968 _mesa_remove_attachment(ctx, &fb->Attachment[i]); in detach_renderbuffer()
1388 struct gl_renderbuffer_attachment *att = fb->Attachment + i; in invalidate_rb()
1682 struct gl_renderbuffer_attachment *att = fb->Attachment + i; in check_begin_texture_render()
1704 struct gl_renderbuffer_attachment *att = fb->Attachment + i; in check_end_texture_render()
1973 struct gl_renderbuffer_attachment *dst_att = &fb->Attachment[dst]; in reuse_framebuffer_texture_attachment()
1974 struct gl_renderbuffer_attachment *src_att = &fb->Attachment[src]; in reuse_framebuffer_texture_attachment()
2098 texObj == fb->Attachment[BUFFER_STENCIL].Texture && in framebuffer_texture()
2099 level == fb->Attachment[BUFFER_STENCIL].TextureLevel && in framebuffer_texture()
2101 fb->Attachment[BUFFER_STENCIL].CubeMapFace && in framebuffer_texture()
2102 zoffset == fb->Attachment[BUFFER_STENCIL].Zoffset) { in framebuffer_texture()
2111 texObj == fb->Attachment[BUFFER_DEPTH].Texture && in framebuffer_texture()
2112 level == fb->Attachment[BUFFER_DEPTH].TextureLevel && in framebuffer_texture()
2114 fb->Attachment[BUFFER_DEPTH].CubeMapFace && in framebuffer_texture()
2115 zoffset == fb->Attachment[BUFFER_DEPTH].Zoffset) { in framebuffer_texture()
2127 assert(att == &fb->Attachment[BUFFER_DEPTH]); in framebuffer_texture()
2146 assert(att == &fb->Attachment[BUFFER_DEPTH]); in framebuffer_texture()
2147 _mesa_remove_attachment(ctx, &fb->Attachment[BUFFER_STENCIL]); in framebuffer_texture()
2678 for (i = 0; i < Elements(fb->Attachment); i++) { in find_attachment()
2679 if (fb->Attachment[i].Renderbuffer == rb) in find_attachment()
2680 return &fb->Attachment[i]; in find_attachment()
2968 readFb->Attachment[BUFFER_STENCIL].Renderbuffer; in _mesa_BlitFramebufferEXT()
2970 drawFb->Attachment[BUFFER_STENCIL].Renderbuffer; in _mesa_BlitFramebufferEXT()
2994 readFb->Attachment[BUFFER_DEPTH].Renderbuffer; in _mesa_BlitFramebufferEXT()
2996 drawFb->Attachment[BUFFER_DEPTH].Renderbuffer; in _mesa_BlitFramebufferEXT()