Home
last modified time | relevance | path

Searched refs:Attachment (Results 1 – 25 of 71) sorted by relevance

123

/external/mesa3d/src/mesa/swrast/
Ds_renderbuffer.c268 assert(fb->Attachment[b].Renderbuffer == NULL); in add_color_renderbuffers()
306 assert(fb->Attachment[BUFFER_DEPTH].Renderbuffer == NULL); in add_depth_renderbuffer()
351 assert(fb->Attachment[BUFFER_STENCIL].Renderbuffer == NULL); in add_stencil_renderbuffer()
375 assert(fb->Attachment[BUFFER_DEPTH].Renderbuffer == NULL); in add_depth_stencil_renderbuffer()
376 assert(fb->Attachment[BUFFER_STENCIL].Renderbuffer == NULL); in add_depth_stencil_renderbuffer()
415 assert(fb->Attachment[BUFFER_ACCUM].Renderbuffer == NULL); in add_accum_renderbuffer()
459 assert(fb->Attachment[BUFFER_AUX0 + i].Renderbuffer == NULL); in add_aux_renderbuffers()
561 struct gl_texture_object *texObj = fb->Attachment[buffer].Texture; in map_attachment()
562 struct gl_renderbuffer *rb = fb->Attachment[buffer].Renderbuffer; in map_attachment()
567 const GLuint level = fb->Attachment[buffer].TextureLevel; in map_attachment()
[all …]
Ds_copypix.c248 struct gl_renderbuffer *readRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in copy_depth_pixels()
350 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in copy_stencil_pixels()
463 srcRb = srcFb->Attachment[BUFFER_STENCIL].Renderbuffer; in swrast_fast_copy_pixels()
464 dstRb = dstFb->Attachment[BUFFER_STENCIL].Renderbuffer; in swrast_fast_copy_pixels()
467 srcRb = srcFb->Attachment[BUFFER_DEPTH].Renderbuffer; in swrast_fast_copy_pixels()
468 dstRb = dstFb->Attachment[BUFFER_DEPTH].Renderbuffer; in swrast_fast_copy_pixels()
473 srcRb = srcFb->Attachment[BUFFER_DEPTH].Renderbuffer; in swrast_fast_copy_pixels()
474 dstRb = dstFb->Attachment[BUFFER_DEPTH].Renderbuffer; in swrast_fast_copy_pixels()
490 if (srcRb != srcFb->Attachment[BUFFER_STENCIL].Renderbuffer || in swrast_fast_copy_pixels()
491 dstRb != dstFb->Attachment[BUFFER_STENCIL].Renderbuffer) in swrast_fast_copy_pixels()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_blit.c95 srcDepth = &ctx->ReadBuffer->Attachment[BUFFER_DEPTH]; in st_BlitFramebuffer_resolve()
96 dstDepth = &ctx->DrawBuffer->Attachment[BUFFER_DEPTH]; in st_BlitFramebuffer_resolve()
97 srcStencil = &ctx->ReadBuffer->Attachment[BUFFER_STENCIL]; in st_BlitFramebuffer_resolve()
98 dstStencil = &ctx->DrawBuffer->Attachment[BUFFER_STENCIL]; in st_BlitFramebuffer_resolve()
229 &readFB->Attachment[readFB->_ColorReadBufferIndex]; in st_BlitFramebuffer()
269 &readFB->Attachment[BUFFER_DEPTH]; in st_BlitFramebuffer()
271 &drawFB->Attachment[BUFFER_DEPTH]; in st_BlitFramebuffer()
273 &readFB->Attachment[BUFFER_STENCIL]; in st_BlitFramebuffer()
275 &drawFB->Attachment[BUFFER_STENCIL]; in st_BlitFramebuffer()
278 st_renderbuffer(readFB->Attachment[BUFFER_DEPTH].Renderbuffer); in st_BlitFramebuffer()
[all …]
Dst_cb_flush.c56 = st_renderbuffer(fb->Attachment[BUFFER_FRONT_LEFT].Renderbuffer); in is_front_buffer_dirty()
69 = st_renderbuffer(fb->Attachment[BUFFER_FRONT_LEFT].Renderbuffer); in display_front_buffer()
Dst_atom_framebuffer.c145 strb = st_renderbuffer(fb->Attachment[BUFFER_DEPTH].Renderbuffer); in update_framebuffer_state()
154 strb = st_renderbuffer(fb->Attachment[BUFFER_STENCIL].Renderbuffer); in update_framebuffer_state()
/external/mesa3d/src/mesa/main/
Dframebuffer.c214 struct gl_renderbuffer_attachment *att = &fb->Attachment[i]; in _mesa_free_framebuffer_data()
288 struct gl_renderbuffer_attachment *att = &fb->Attachment[i]; in _mesa_resize_framebuffer()
414 struct gl_renderbuffer_attachment *att = &fb->Attachment[i]; in update_framebuffer_size()
515 if (fb->Attachment[i].Renderbuffer) { in _mesa_update_framebuffer_visual()
516 const struct gl_renderbuffer *rb = fb->Attachment[i].Renderbuffer; in _mesa_update_framebuffer_visual()
543 if (fb->Attachment[i].Renderbuffer) { in _mesa_update_framebuffer_visual()
544 const struct gl_renderbuffer *rb = fb->Attachment[i].Renderbuffer; in _mesa_update_framebuffer_visual()
554 if (fb->Attachment[BUFFER_DEPTH].Renderbuffer) { in _mesa_update_framebuffer_visual()
556 fb->Attachment[BUFFER_DEPTH].Renderbuffer; in _mesa_update_framebuffer_visual()
562 if (fb->Attachment[BUFFER_STENCIL].Renderbuffer) { in _mesa_update_framebuffer_visual()
[all …]
Drenderbuffer.c108 fb->Attachment[bufferName].Renderbuffer == NULL); in _mesa_add_renderbuffer()
118 fb->Attachment[bufferName].Type = GL_RENDERBUFFER_EXT; in _mesa_add_renderbuffer()
119 fb->Attachment[bufferName].Complete = GL_TRUE; in _mesa_add_renderbuffer()
120 _mesa_reference_renderbuffer(&fb->Attachment[bufferName].Renderbuffer, rb); in _mesa_add_renderbuffer()
133 _mesa_reference_renderbuffer(&fb->Attachment[bufferName].Renderbuffer, in _mesa_remove_renderbuffer()
Dfbobject.c222 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()
[all …]
Dclear.c250 const struct gl_renderbuffer_attachment *att = ctx->DrawBuffer->Attachment; in make_color_buffer_mask()
332 else if (ctx->DrawBuffer->Attachment[BUFFER_STENCIL].Renderbuffer && !ctx->RasterDiscard) { in _mesa_ClearBufferiv()
495 else if (ctx->DrawBuffer->Attachment[BUFFER_DEPTH].Renderbuffer && !ctx->RasterDiscard) { in _mesa_ClearBufferfv()
598 if (ctx->DrawBuffer->Attachment[BUFFER_DEPTH].Renderbuffer) in _mesa_ClearBufferfi()
600 if (ctx->DrawBuffer->Attachment[BUFFER_STENCIL].Renderbuffer) in _mesa_ClearBufferfi()
Dreadpix.c61 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in fast_read_depth_pixels()
117 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in read_depth_pixels()
179 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in read_stencil_pixels()
422 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in fast_read_depth_stencil_pixels()
423 struct gl_renderbuffer *stencilRb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in fast_read_depth_stencil_pixels()
466 struct gl_renderbuffer *depthRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in fast_read_depth_stencil_pixels_separate()
467 struct gl_renderbuffer *stencilRb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in fast_read_depth_stencil_pixels_separate()
527 struct gl_renderbuffer *depthRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in slow_read_depth_stencil_pixels_separate()
528 struct gl_renderbuffer *stencilRb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in slow_read_depth_stencil_pixels_separate()
Daccum.c136 accRb = ctx->DrawBuffer->Attachment[BUFFER_ACCUM].Renderbuffer; in _mesa_clear_accum_buffer()
194 ctx->DrawBuffer->Attachment[BUFFER_ACCUM].Renderbuffer; in accum_scale_or_bias()
252 ctx->DrawBuffer->Attachment[BUFFER_ACCUM].Renderbuffer; in accum_or_load()
345 struct gl_renderbuffer *accRb = fb->Attachment[BUFFER_ACCUM].Renderbuffer; in accum_return()
457 if (!ctx->DrawBuffer->Attachment[BUFFER_ACCUM].Renderbuffer) { in _mesa_accum()
/external/deqp/modules/glshared/
DglsFboUtil.hpp255 struct Attachment : public Config struct
257 Attachment (void) : target(GL_FRAMEBUFFER), imageName(0) {} in Attachment() argument
270 struct RenderbufferAttachment : public Attachment
278 struct TextureAttachment : public Attachment
299 glw::GLenum attachmentType (const Attachment& att);
303 typedef std::map<glw::GLenum, const Attachment*> AttachmentMap;
318 void attach (glw::GLenum attPoint, const Attachment* att);
330 const config::Attachment* att);
407 const config::Attachment& att,
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_span.c56 if (fb->Attachment[BUFFER_DEPTH].Renderbuffer) in framebuffer_map_unmap()
57 renderbuffer_map_unmap(ctx, fb->Attachment[BUFFER_DEPTH].Renderbuffer, map); in framebuffer_map_unmap()
Dnv04_state_fb.c78 if (fb->Attachment[BUFFER_DEPTH].Renderbuffer) { in nv04_emit_framebuffer()
80 fb->Attachment[BUFFER_DEPTH].Renderbuffer)->surface; in nv04_emit_framebuffer()
Dnv20_state_fb.c106 if (fb->Attachment[BUFFER_DEPTH].Renderbuffer) { in nv20_emit_framebuffer()
108 fb->Attachment[BUFFER_DEPTH].Renderbuffer)->surface; in nv20_emit_framebuffer()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_fbo.h116 assert((unsigned)attIndex < ARRAY_SIZE(fb->Attachment)); in intel_get_renderbuffer()
118 rb = fb->Attachment[attIndex].Renderbuffer; in intel_get_renderbuffer()
Dintel_fbo.c363 struct gl_renderbuffer *rb = fb->Attachment[i].Renderbuffer; in intel_resize_buffers()
752 for (i = 0; i < Elements(fb->Attachment); i++) { in intel_validate_framebuffer()
756 if (fb->Attachment[i].Type == GL_NONE) in intel_validate_framebuffer()
763 rb = fb->Attachment[i].Renderbuffer; in intel_validate_framebuffer()
770 if (fb->Attachment[i].Type == GL_TEXTURE) { in intel_validate_framebuffer()
772 _mesa_get_attachment_teximage_const(&fb->Attachment[i]); in intel_validate_framebuffer()
816 &drawFb->Attachment[drawFb->_ColorDrawBufferIndexes[0]]; in intel_blit_framebuffer_copy_tex_sub_image()
Dintel_pixel_copy.c108 draw_irb = intel_renderbuffer(fb->Attachment[BUFFER_DEPTH].Renderbuffer); in do_blit_copypixels()
110 intel_renderbuffer(read_fb->Attachment[BUFFER_DEPTH].Renderbuffer); in do_blit_copypixels()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_span.c98 radeon_renderbuffer_map(ctx, fb->Attachment[i].Renderbuffer); in radeon_map_framebuffer()
114 radeon_renderbuffer_unmap(ctx, fb->Attachment[i].Renderbuffer); in radeon_unmap_framebuffer()
Dradeon_common.c245 rrbColor = radeon_renderbuffer(fb->Attachment[BUFFER_FRONT_LEFT].Renderbuffer); in radeon_draw_buffer()
248 rrbColor = radeon_renderbuffer(fb->Attachment[BUFFER_BACK_LEFT].Renderbuffer); in radeon_draw_buffer()
267 if (fb->Attachment[BUFFER_DEPTH].Renderbuffer) { in radeon_draw_buffer()
268 rrbDepth = radeon_renderbuffer(fb->Attachment[BUFFER_DEPTH].Renderbuffer); in radeon_draw_buffer()
279 if (fb->Attachment[BUFFER_STENCIL].Renderbuffer) { in radeon_draw_buffer()
280 rrbStencil = radeon_renderbuffer(fb->Attachment[BUFFER_STENCIL].Renderbuffer); in radeon_draw_buffer()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_span.c98 radeon_renderbuffer_map(ctx, fb->Attachment[i].Renderbuffer); in radeon_map_framebuffer()
114 radeon_renderbuffer_unmap(ctx, fb->Attachment[i].Renderbuffer); in radeon_unmap_framebuffer()
Dradeon_common.c245 rrbColor = radeon_renderbuffer(fb->Attachment[BUFFER_FRONT_LEFT].Renderbuffer); in radeon_draw_buffer()
248 rrbColor = radeon_renderbuffer(fb->Attachment[BUFFER_BACK_LEFT].Renderbuffer); in radeon_draw_buffer()
267 if (fb->Attachment[BUFFER_DEPTH].Renderbuffer) { in radeon_draw_buffer()
268 rrbDepth = radeon_renderbuffer(fb->Attachment[BUFFER_DEPTH].Renderbuffer); in radeon_draw_buffer()
279 if (fb->Attachment[BUFFER_STENCIL].Renderbuffer) { in radeon_draw_buffer()
280 rrbStencil = radeon_renderbuffer(fb->Attachment[BUFFER_STENCIL].Renderbuffer); in radeon_draw_buffer()
Dradeon_tex_copy.c68 flip_y = ctx->ReadBuffer->Attachment[BUFFER_DEPTH].Type == GL_NONE; in do_copy_texsubimage()
71 flip_y = ctx->ReadBuffer->Attachment[BUFFER_COLOR0].Type == GL_NONE; in do_copy_texsubimage()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_fbo.c363 struct gl_renderbuffer *rb = fb->Attachment[i].Renderbuffer; in intel_resize_buffers()
752 for (i = 0; i < Elements(fb->Attachment); i++) { in intel_validate_framebuffer()
756 if (fb->Attachment[i].Type == GL_NONE) in intel_validate_framebuffer()
763 rb = fb->Attachment[i].Renderbuffer; in intel_validate_framebuffer()
770 if (fb->Attachment[i].Type == GL_TEXTURE) { in intel_validate_framebuffer()
772 _mesa_get_attachment_teximage_const(&fb->Attachment[i]); in intel_validate_framebuffer()
816 &drawFb->Attachment[drawFb->_ColorDrawBufferIndexes[0]]; in intel_blit_framebuffer_copy_tex_sub_image()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_fbo.c363 struct gl_renderbuffer *rb = fb->Attachment[i].Renderbuffer; in intel_resize_buffers()
752 for (i = 0; i < Elements(fb->Attachment); i++) { in intel_validate_framebuffer()
756 if (fb->Attachment[i].Type == GL_NONE) in intel_validate_framebuffer()
763 rb = fb->Attachment[i].Renderbuffer; in intel_validate_framebuffer()
770 if (fb->Attachment[i].Type == GL_TEXTURE) { in intel_validate_framebuffer()
772 _mesa_get_attachment_teximage_const(&fb->Attachment[i]); in intel_validate_framebuffer()
816 &drawFb->Attachment[drawFb->_ColorDrawBufferIndexes[0]]; in intel_blit_framebuffer_copy_tex_sub_image()

123