Home
last modified time | relevance | path

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

1234567

/third_party/mesa3d/src/mesa/main/
Dframebuffer.c209 struct gl_renderbuffer_attachment *att = &fb->Attachment[i]; in _mesa_free_framebuffer_data()
282 struct gl_renderbuffer_attachment *att = &fb->Attachment[i]; in _mesa_resize_framebuffer()
423 if (fb->Attachment[i].Renderbuffer) { in _mesa_update_framebuffer_visual()
424 const struct gl_renderbuffer *rb = fb->Attachment[i].Renderbuffer; in _mesa_update_framebuffer_visual()
452 if (fb->Attachment[i].Renderbuffer) { in _mesa_update_framebuffer_visual()
453 const struct gl_renderbuffer *rb = fb->Attachment[i].Renderbuffer; in _mesa_update_framebuffer_visual()
463 if (fb->Attachment[BUFFER_DEPTH].Renderbuffer) { in _mesa_update_framebuffer_visual()
465 fb->Attachment[BUFFER_DEPTH].Renderbuffer; in _mesa_update_framebuffer_visual()
470 if (fb->Attachment[BUFFER_STENCIL].Renderbuffer) { in _mesa_update_framebuffer_visual()
472 fb->Attachment[BUFFER_STENCIL].Renderbuffer; in _mesa_update_framebuffer_visual()
[all …]
Dblit.c65 for (i = 0; i < ARRAY_SIZE(fb->Attachment); i++) { in find_attachment()
66 if (fb->Attachment[i].Renderbuffer == rb) in find_attachment()
67 return &fb->Attachment[i]; in find_attachment()
271 readFb->Attachment[BUFFER_STENCIL].Renderbuffer; in validate_stencil_buffer()
273 drawFb->Attachment[BUFFER_STENCIL].Renderbuffer; in validate_stencil_buffer()
317 readFb->Attachment[BUFFER_DEPTH].Renderbuffer; in validate_depth_buffer()
319 drawFb->Attachment[BUFFER_DEPTH].Renderbuffer; in validate_depth_buffer()
483 &readFB->Attachment[readFB->_ColorReadBufferIndex]; in do_blit_framebuffer()
557 readFB->Attachment[BUFFER_DEPTH].Renderbuffer; in do_blit_framebuffer()
559 drawFB->Attachment[BUFFER_DEPTH].Renderbuffer; in do_blit_framebuffer()
[all …]
Dfbobject.c302 assert(BUFFER_COLOR0 + i < ARRAY_SIZE(fb->Attachment)); in get_attachment()
303 return &fb->Attachment[BUFFER_COLOR0 + i]; in get_attachment()
309 return &fb->Attachment[BUFFER_DEPTH]; in get_attachment()
311 return &fb->Attachment[BUFFER_STENCIL]; in get_attachment()
336 return &fb->Attachment[BUFFER_BACK_LEFT]; in get_fb0_attachment()
339 return &fb->Attachment[BUFFER_FRONT_LEFT]; in get_fb0_attachment()
341 return &fb->Attachment[BUFFER_DEPTH]; in get_fb0_attachment()
343 return &fb->Attachment[BUFFER_STENCIL]; in get_fb0_attachment()
357 if (fb->Attachment[BUFFER_FRONT_LEFT].Type == GL_NONE) in get_fb0_attachment()
358 return &fb->Attachment[BUFFER_BACK_LEFT]; in get_fb0_attachment()
[all …]
Drenderbuffer.c354 fb->Attachment[bufferName].Renderbuffer == NULL); in validate_and_init_renderbuffer_attachment()
364 fb->Attachment[bufferName].Type = GL_RENDERBUFFER_EXT; in validate_and_init_renderbuffer_attachment()
365 fb->Attachment[bufferName].Complete = GL_TRUE; in validate_and_init_renderbuffer_attachment()
385 _mesa_reference_renderbuffer(&fb->Attachment[bufferName].Renderbuffer, in _mesa_attach_and_own_rb()
387 fb->Attachment[bufferName].Renderbuffer = rb; in _mesa_attach_and_own_rb()
400 _mesa_reference_renderbuffer(&fb->Attachment[bufferName].Renderbuffer, rb); in _mesa_attach_and_reference_rb()
413 _mesa_reference_renderbuffer(&fb->Attachment[bufferName].Renderbuffer, in _mesa_remove_renderbuffer()
Dclear.c261 const struct gl_renderbuffer_attachment *att = ctx->DrawBuffer->Attachment; in make_color_buffer_mask()
375 else if (ctx->DrawBuffer->Attachment[BUFFER_STENCIL].Renderbuffer in clear_bufferiv()
588 else if (ctx->DrawBuffer->Attachment[BUFFER_DEPTH].Renderbuffer in clear_bufferfv()
605 ctx->DrawBuffer->Attachment[BUFFER_DEPTH].Renderbuffer; in clear_bufferfv()
734 if (ctx->DrawBuffer->Attachment[BUFFER_DEPTH].Renderbuffer) in clear_bufferfi()
736 if (ctx->DrawBuffer->Attachment[BUFFER_STENCIL].Renderbuffer) in clear_bufferfi()
754 ctx->DrawBuffer->Attachment[BUFFER_DEPTH].Renderbuffer; in clear_bufferfi()
Daccum.c73 accRb = ctx->DrawBuffer->Attachment[BUFFER_ACCUM].Renderbuffer; in _mesa_clear_accum_buffer()
134 ctx->DrawBuffer->Attachment[BUFFER_ACCUM].Renderbuffer; in accum_scale_or_bias()
193 ctx->DrawBuffer->Attachment[BUFFER_ACCUM].Renderbuffer; in accum_or_load()
288 struct gl_renderbuffer *accRb = fb->Attachment[BUFFER_ACCUM].Renderbuffer; in accum_return()
401 if (!ctx->DrawBuffer->Attachment[BUFFER_ACCUM].Renderbuffer) { in accum()
Dreadpix.c285 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in read_uint_depth_pixels()
332 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in read_depth_pixels()
396 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in read_stencil_pixels()
653 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in fast_read_depth_stencil_pixels()
654 struct gl_renderbuffer *stencilRb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in fast_read_depth_stencil_pixels()
697 struct gl_renderbuffer *depthRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in fast_read_depth_stencil_pixels_separate()
698 struct gl_renderbuffer *stencilRb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in fast_read_depth_stencil_pixels_separate()
758 struct gl_renderbuffer *depthRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in slow_read_depth_stencil_pixels_separate()
759 struct gl_renderbuffer *stencilRb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in slow_read_depth_stencil_pixels_separate()
/third_party/vk-gl-cts/modules/glshared/
DglsFboUtil.hpp255 struct Attachment : public Config struct
257 Attachment (void) : target(GL_FRAMEBUFFER), imageName(0) {} in Attachment() function
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,
DglsFboUtil.cpp428 static void attachAttachment (const Attachment& att, GLenum attPoint, in attachAttachment()
447 GLenum attachmentType (const Attachment& att) in attachmentType()
470 static void checkAttachmentCompleteness (Checker& cctx, const Attachment& attachment, in checkAttachmentCompleteness()
635 const Attachment& att = *it->second; in validStatusCodes()
646 void Framebuffer::attach (glw::GLenum attPoint, const Attachment* att) in attach()
708 static void logAttachment (const Attachment& att, TestLog& log) in logAttachment()
962 void FboBuilder::glAttach (GLenum attPoint, const Attachment* att) in glAttach()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassTestsUtil.cpp519 Attachment::Attachment (VkFormat format, in Attachment() function in vkt::renderpass::Attachment
542 VkFormat Attachment::getFormat (void) const in getFormat()
547 VkSampleCountFlagBits Attachment::getSamples (void) const in getSamples()
552 VkAttachmentLoadOp Attachment::getLoadOp (void) const in getLoadOp()
557 VkAttachmentStoreOp Attachment::getStoreOp (void) const in getStoreOp()
562 VkAttachmentLoadOp Attachment::getStencilLoadOp (void) const in getStencilLoadOp()
567 VkAttachmentStoreOp Attachment::getStencilStoreOp (void) const in getStencilStoreOp()
572 VkImageLayout Attachment::getInitialLayout (void) const in getInitialLayout()
577 VkImageLayout Attachment::getFinalLayout (void) const in getFinalLayout()
582 RenderPass::RenderPass (const std::vector<Attachment>& attachments, in RenderPass()
[all …]
DvktRenderPassTests.cpp658 class Attachment class
661 Attachment (VkFormat format, in Attachment() function in vkt::__anon9940e8500111::Attachment
716 RenderPass (const vector<Attachment>& attachments, in RenderPass()
727 const vector<Attachment>& getAttachments (void) const { return m_attachments; } in getAttachments()
733 const vector<Attachment> m_attachments;
841 const vector<Attachment>& attachments = renderPass.getAttachments(); in logRenderPassInfo()
846 const Attachment& attachment = attachments[attachmentNdx]; in logRenderPassInfo()
1071 VkClearColorValue randomColorClearValue (const Attachment& attachment, de::Random& rng, deBool useF… in randomColorClearValue()
1128 AttachmentDesc createAttachmentDescription (const Attachment& attachment) in createAttachmentDescription()
1391 VkClearValue randomClearValue (const Attachment& attachment, de::Random& rng, deBool useFormatCompC… in randomClearValue()
[all …]
DvktRenderPassTestsUtil.hpp350 class Attachment class
353 Attachment (VkFormat format,
394 RenderPass (const std::vector<Attachment>& attachments,
399 const std::vector<Attachment>& getAttachments (void) const;
405 std::vector<Attachment> m_attachments;
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
DvktRenderPassTestsUtil.cpp519 Attachment::Attachment (VkFormat format, in Attachment() function in vkt::renderpass::Attachment
542 VkFormat Attachment::getFormat (void) const in getFormat()
547 VkSampleCountFlagBits Attachment::getSamples (void) const in getSamples()
552 VkAttachmentLoadOp Attachment::getLoadOp (void) const in getLoadOp()
557 VkAttachmentStoreOp Attachment::getStoreOp (void) const in getStoreOp()
562 VkAttachmentLoadOp Attachment::getStencilLoadOp (void) const in getStencilLoadOp()
567 VkAttachmentStoreOp Attachment::getStencilStoreOp (void) const in getStencilStoreOp()
572 VkImageLayout Attachment::getInitialLayout (void) const in getInitialLayout()
577 VkImageLayout Attachment::getFinalLayout (void) const in getFinalLayout()
582 RenderPass::RenderPass (const std::vector<Attachment>& attachments, in RenderPass()
[all …]
DvktRenderPassTests.cpp658 class Attachment class
661 Attachment (VkFormat format, in Attachment() function in vkt::__anon5a2d66100111::Attachment
716 RenderPass (const vector<Attachment>& attachments, in RenderPass()
727 const vector<Attachment>& getAttachments (void) const { return m_attachments; } in getAttachments()
733 const vector<Attachment> m_attachments;
841 const vector<Attachment>& attachments = renderPass.getAttachments(); in logRenderPassInfo()
846 const Attachment& attachment = attachments[attachmentNdx]; in logRenderPassInfo()
1071 VkClearColorValue randomColorClearValue (const Attachment& attachment, de::Random& rng, deBool useF… in randomColorClearValue()
1128 AttachmentDesc createAttachmentDescription (const Attachment& attachment) in createAttachmentDescription()
1391 VkClearValue randomClearValue (const Attachment& attachment, de::Random& rng, deBool useFormatCompC… in randomClearValue()
[all …]
DvktRenderPassTestsUtil.hpp350 class Attachment class
353 Attachment (VkFormat format,
394 RenderPass (const std::vector<Attachment>& attachments,
399 const std::vector<Attachment>& getAttachments (void) const;
405 std::vector<Attachment> m_attachments;
/third_party/vk-gl-cts/external/vulkan-docs/src/appendices/
DVK_KHR_maintenance2.adoc41 === Input Attachment Specification
60 === Input Attachment Specification Example
64 Attachment 0 has the format ename:VK_FORMAT_D24_UNORM_S8_UINT, attachment 1
DVK_KHR_maintenance2.txt43 === Input Attachment Specification
62 === Input Attachment Specification Example
66 Attachment 0 has the format ename:VK_FORMAT_D24_UNORM_S8_UINT, attachment 1
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_framebuffer.c180 rb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in st_update_framebuffer_state()
182 rb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in st_update_framebuffer_state()
Dst_cb_drawpixels.c974 rb = ctx->DrawBuffer->Attachment[BUFFER_STENCIL].Renderbuffer; in draw_stencil_pixels()
1433 rbDraw = ctx->DrawBuffer->Attachment[BUFFER_STENCIL].Renderbuffer; in copy_stencil_pixels()
1584 rbRead = ctx->ReadBuffer->Attachment[BUFFER_DEPTH].Renderbuffer; in blit_copy_pixels()
1585 rbDraw = ctx->DrawBuffer->Attachment[BUFFER_DEPTH].Renderbuffer; in blit_copy_pixels()
1587 rbRead = ctx->ReadBuffer->Attachment[BUFFER_STENCIL].Renderbuffer; in blit_copy_pixels()
1588 rbDraw = ctx->DrawBuffer->Attachment[BUFFER_STENCIL].Renderbuffer; in blit_copy_pixels()
1743 rbRead = ctx->ReadBuffer->Attachment[BUFFER_DEPTH].Renderbuffer; in st_CopyPixels()
1746 rbRead = ctx->ReadBuffer->Attachment[BUFFER_STENCIL].Renderbuffer; in st_CopyPixels()
1749 rbRead = ctx->ReadBuffer->Attachment[BUFFER_DEPTH].Renderbuffer; in st_CopyPixels()
1753 rbRead = ctx->ReadBuffer->Attachment[BUFFER_DEPTH].Renderbuffer; in st_CopyPixels()
Dst_cb_clear.c420 = ctx->DrawBuffer->Attachment[BUFFER_DEPTH].Renderbuffer; in st_Clear()
422 = ctx->DrawBuffer->Attachment[BUFFER_STENCIL].Renderbuffer; in st_Clear()
440 = ctx->DrawBuffer->Attachment[b].Renderbuffer; in st_Clear()
Dst_manager.c263 rb = stfb->Attachment[idx].Renderbuffer; in st_framebuffer_validate()
311 rb = stfb->Attachment[idx].Renderbuffer; in st_framebuffer_update_attachments()
1303 rb = stfb->Attachment[BUFFER_FRONT_LEFT].Renderbuffer; in st_manager_flush_frontbuffer()
1307 rb = stfb->Attachment[BUFFER_BACK_LEFT].Renderbuffer; in st_manager_flush_frontbuffer()
1379 if (stfb->Attachment[idx].Renderbuffer) in st_manager_add_color_renderbuffer()
/third_party/vk-gl-cts/framework/opengl/simplereference/
DsglrReferenceContext.hpp362 struct Attachment struct in sglr::rc::Framebuffer
370 Attachment (void) in Attachment() function
383 Attachment& getAttachment (AttachmentPoint point) { return m_attachments[point]; } in getAttachment()
384 const Attachment& getAttachment (AttachmentPoint point) const { return m_attachments[point]; } in getAttachment()
388 Attachment m_attachments[ATTACHMENTPOINT_LAST];
784 void acquireFboAttachmentReference (const rc::Framebuffer::Attachment& attachment);
785 void releaseFboAttachmentReference (const rc::Framebuffer::Attachment& attachment);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineColorWriteEnableTests.cpp1171 struct Attachment struct in vkt::pipeline::__anon90581fff0211::ColorWriteEnable2Instance
1175 Attachment () = default;
1176 DE_UNUSED_FUNCTION Attachment (Attachment&& other);
1180 std::vector<Attachment> attachments;
1228 ColorWriteEnable2Instance::Attachment::Attachment (Attachment&& other) in Attachment() function in vkt::pipeline::__anon90581fff0211::ColorWriteEnable2Instance::Attachment
1435 std::vector<Attachment> attachments (colorAttachmentCount); in createFramebuffer()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineColorWriteEnableTests.cpp1171 struct Attachment struct in vkt::pipeline::__anon022f3dbf0211::ColorWriteEnable2Instance
1175 Attachment () = default;
1176 DE_UNUSED_FUNCTION Attachment (Attachment&& other);
1180 std::vector<Attachment> attachments;
1228 ColorWriteEnable2Instance::Attachment::Attachment (Attachment&& other) in Attachment() function in vkt::pipeline::__anon022f3dbf0211::ColorWriteEnable2Instance::Attachment
1435 std::vector<Attachment> attachments (colorAttachmentCount); in createFramebuffer()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fFboCompletenessTests.cpp247 void check (GLenum attPoint, const Attachment& att,
261 void ES2Checker::check (GLenum attPoint, const Attachment& att, const Image* image) in check()

1234567