/external/mesa3d/src/mesa/main/ |
D | clear.c | 255 if (att[BUFFER_FRONT_LEFT].Renderbuffer) in make_color_buffer_mask() 257 if (att[BUFFER_FRONT_RIGHT].Renderbuffer) in make_color_buffer_mask() 261 if (att[BUFFER_BACK_LEFT].Renderbuffer) in make_color_buffer_mask() 263 if (att[BUFFER_BACK_RIGHT].Renderbuffer) in make_color_buffer_mask() 267 if (att[BUFFER_FRONT_LEFT].Renderbuffer) in make_color_buffer_mask() 269 if (att[BUFFER_BACK_LEFT].Renderbuffer) in make_color_buffer_mask() 273 if (att[BUFFER_FRONT_RIGHT].Renderbuffer) in make_color_buffer_mask() 275 if (att[BUFFER_BACK_RIGHT].Renderbuffer) in make_color_buffer_mask() 279 if (att[BUFFER_FRONT_LEFT].Renderbuffer) in make_color_buffer_mask() 281 if (att[BUFFER_BACK_LEFT].Renderbuffer) in make_color_buffer_mask() [all …]
|
D | framebuffer.c | 215 if (att->Renderbuffer) { in _mesa_free_framebuffer_data() 216 _mesa_reference_renderbuffer(&att->Renderbuffer, NULL); in _mesa_free_framebuffer_data() 221 ASSERT(!att->Renderbuffer); in _mesa_free_framebuffer_data() 289 if (att->Type == GL_RENDERBUFFER_EXT && att->Renderbuffer) { in _mesa_resize_framebuffer() 290 struct gl_renderbuffer *rb = att->Renderbuffer; in _mesa_resize_framebuffer() 415 const struct gl_renderbuffer *rb = att->Renderbuffer; 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() [all …]
|
D | fbobject.c | 316 _mesa_reference_renderbuffer(&att->Renderbuffer, NULL); /* unbind */ in _mesa_remove_attachment() 317 ASSERT(!att->Renderbuffer); in _mesa_remove_attachment() 379 _mesa_reference_renderbuffer(&att->Renderbuffer, rb); in _mesa_set_renderbuffer_attachment() 429 const struct gl_renderbuffer *rb = fb->Attachment[buf].Renderbuffer; in _mesa_validate_framebuffer() 612 _mesa_get_format_base_format(att->Renderbuffer->Format); in test_attachment_completeness() 614 ASSERT(att->Renderbuffer); in test_attachment_completeness() 615 if (!att->Renderbuffer->InternalFormat || in test_attachment_completeness() 616 att->Renderbuffer->Width < 1 || in test_attachment_completeness() 617 att->Renderbuffer->Height < 1) { in test_attachment_completeness() 760 minWidth = MIN2(minWidth, att->Renderbuffer->Width); in _mesa_test_framebuffer_completeness() [all …]
|
D | renderbuffer.c | 108 fb->Attachment[bufferName].Renderbuffer == NULL); 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()
|
D | readpix.c | 61 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()
|
D | accum.c | 136 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/mesa3d/src/mesa/swrast/ |
D | s_renderbuffer.c | 268 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() 562 struct gl_renderbuffer *rb = fb->Attachment[buffer].Renderbuffer; in map_attachment() 596 struct gl_renderbuffer *rb = fb->Attachment[buffer].Renderbuffer; in unmap_attachment() 651 depthRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in _swrast_map_renderbuffers() [all …]
|
D | s_copypix.c | 248 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 …]
|
D | s_texrender.c | 38 ASSERT(att->Renderbuffer == NULL); in wrap_texture() 53 _mesa_reference_renderbuffer(&att->Renderbuffer, rb); in wrap_texture() 64 struct gl_renderbuffer *rb = att->Renderbuffer; in update_wrapper() 131 if (!att->Renderbuffer) { in _swrast_render_texture()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_blit.c | 106 srcRb = st_renderbuffer(srcDepth->Renderbuffer); in st_BlitFramebuffer_resolve() 107 dstRb = st_renderbuffer(dstDepth->Renderbuffer); in st_BlitFramebuffer_resolve() 126 srcRb = st_renderbuffer(srcStencil->Renderbuffer); in st_BlitFramebuffer_resolve() 127 dstRb = st_renderbuffer(dstStencil->Renderbuffer); in st_BlitFramebuffer_resolve() 278 st_renderbuffer(readFB->Attachment[BUFFER_DEPTH].Renderbuffer); in st_BlitFramebuffer() 280 st_renderbuffer(drawFB->Attachment[BUFFER_DEPTH].Renderbuffer); in st_BlitFramebuffer() 285 st_renderbuffer(readFB->Attachment[BUFFER_STENCIL].Renderbuffer); in st_BlitFramebuffer() 287 st_renderbuffer(drawFB->Attachment[BUFFER_STENCIL].Renderbuffer); in st_BlitFramebuffer()
|
D | st_cb_fbo.c | 416 _mesa_reference_renderbuffer(&att->Renderbuffer, rb); in st_render_texture() 479 struct st_renderbuffer *strb = st_renderbuffer(att->Renderbuffer); in st_finish_render_texture() 560 depth->Renderbuffer == stencil->Renderbuffer) in st_is_depth_stencil_combined() 599 depth->Renderbuffer != stencil->Renderbuffer) { in st_validate_framebuffer() 642 format = st_renderbuffer(att->Renderbuffer)->surface->format; in st_validate_framebuffer()
|
D | st_cb_flush.c | 56 = 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()
|
D | st_atom_framebuffer.c | 145 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/deqp/modules/glshared/ |
D | glsFboUtil.hpp | 215 struct Renderbuffer : public Image struct 217 Renderbuffer (void) : numSamples(0) {} in Renderbuffer() function 309 typedef std::map<glw::GLuint, const Renderbuffer*> RboMap; 320 void setRbo (glw::GLuint rbName, const Renderbuffer& rbCfg); 332 glw::GLuint glCreateRbo (const config::Renderbuffer& rbCfg);
|
D | glsFboUtil.cpp | 307 if (const Renderbuffer* rbo = dynamic_cast<const Renderbuffer*>(&img)) in imageNumSamples() 314 if (dynamic_cast<const Renderbuffer*>(&img) != DE_NULL) in glTarget() 391 if (const Renderbuffer* const rbo = dynamic_cast<const Renderbuffer*>(&cfg)) in glCreate() 420 if (dynamic_cast<const Renderbuffer*>(&cfg) != DE_NULL) in glDelete() 673 void Framebuffer::setRbo (glw::GLuint rbName, const Renderbuffer& rbCfg) in setRbo() 693 static void logRenderbuffer (const Renderbuffer& rbo, TestLog& log) in logRenderbuffer() 980 GLuint FboBuilder::glCreateRbo (const Renderbuffer& rbCfg) in glCreateRbo()
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_span.c | 56 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()
|
D | nv04_state_fb.c | 78 if (fb->Attachment[BUFFER_DEPTH].Renderbuffer) { in nv04_emit_framebuffer() 80 fb->Attachment[BUFFER_DEPTH].Renderbuffer)->surface; in nv04_emit_framebuffer()
|
D | nv20_state_fb.c | 106 if (fb->Attachment[BUFFER_DEPTH].Renderbuffer) { in nv20_emit_framebuffer() 108 fb->Attachment[BUFFER_DEPTH].Renderbuffer)->surface; in nv20_emit_framebuffer()
|
/external/deqp/framework/platform/ios/ |
D | tcuIOSPlatform.hh | 123 glu::Renderbuffer m_colorBuffer; 124 glu::Renderbuffer m_depthStencilBuffer;
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_fbo.c | 363 struct gl_renderbuffer *rb = fb->Attachment[i].Renderbuffer; in intel_resize_buffers() 605 struct intel_renderbuffer *irb = intel_renderbuffer(att->Renderbuffer); in intel_render_texture() 623 _mesa_reference_renderbuffer(&att->Renderbuffer, NULL); in intel_render_texture() 634 _mesa_reference_renderbuffer(&att->Renderbuffer, &irb->Base.Base); in intel_render_texture() 644 _mesa_reference_renderbuffer(&att->Renderbuffer, NULL); in intel_render_texture() 672 struct intel_renderbuffer *irb = intel_renderbuffer(att->Renderbuffer); in intel_finish_render_texture() 763 rb = fb->Attachment[i].Renderbuffer; in intel_validate_framebuffer()
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
D | intel_fbo.c | 363 struct gl_renderbuffer *rb = fb->Attachment[i].Renderbuffer; in intel_resize_buffers() 605 struct intel_renderbuffer *irb = intel_renderbuffer(att->Renderbuffer); in intel_render_texture() 623 _mesa_reference_renderbuffer(&att->Renderbuffer, NULL); in intel_render_texture() 634 _mesa_reference_renderbuffer(&att->Renderbuffer, &irb->Base.Base); in intel_render_texture() 644 _mesa_reference_renderbuffer(&att->Renderbuffer, NULL); in intel_render_texture() 672 struct intel_renderbuffer *irb = intel_renderbuffer(att->Renderbuffer); in intel_finish_render_texture() 763 rb = fb->Attachment[i].Renderbuffer; in intel_validate_framebuffer()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_fbo.c | 363 struct gl_renderbuffer *rb = fb->Attachment[i].Renderbuffer; in intel_resize_buffers() 605 struct intel_renderbuffer *irb = intel_renderbuffer(att->Renderbuffer); in intel_render_texture() 623 _mesa_reference_renderbuffer(&att->Renderbuffer, NULL); in intel_render_texture() 634 _mesa_reference_renderbuffer(&att->Renderbuffer, &irb->Base.Base); in intel_render_texture() 644 _mesa_reference_renderbuffer(&att->Renderbuffer, NULL); in intel_render_texture() 672 struct intel_renderbuffer *irb = intel_renderbuffer(att->Renderbuffer); in intel_finish_render_texture() 763 rb = fb->Attachment[i].Renderbuffer; in intel_validate_framebuffer()
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_span.c | 98 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()
|
D | radeon_common.c | 245 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/ |
D | radeon_span.c | 98 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()
|