/external/mesa3d/src/gallium/drivers/zink/ |
D | zink_render_pass.c | 36 VkAttachmentDescription attachments[PIPE_MAX_COLOR_BUFS + 1]; in create_render_pass() local 40 attachments[i].flags = 0; in create_render_pass() 41 attachments[i].format = rt->format; in create_render_pass() 42 attachments[i].samples = rt->samples; in create_render_pass() 43 attachments[i].loadOp = VK_ATTACHMENT_LOAD_OP_LOAD; in create_render_pass() 44 attachments[i].storeOp = VK_ATTACHMENT_STORE_OP_STORE; in create_render_pass() 45 attachments[i].stencilLoadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE; in create_render_pass() 46 attachments[i].stencilStoreOp = VK_ATTACHMENT_STORE_OP_DONT_CARE; in create_render_pass() 47 attachments[i].initialLayout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL; in create_render_pass() 48 attachments[i].finalLayout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL; in create_render_pass() [all …]
|
D | zink_framebuffer.c | 90 VkImageView attachments[ARRAY_SIZE(fb->attachments)] = {}; in zink_create_framebuffer() local 92 struct zink_surface *surf = fb->attachments[i]; in zink_create_framebuffer() 96 attachments[i] = surf->image_view; in zink_create_framebuffer() 105 fci.pAttachments = attachments; in zink_create_framebuffer()
|
/external/mesa3d/src/broadcom/vulkan/ |
D | v3dv_pass.c | 47 pass->attachments[i].first_subpass = pass->subpass_count - 1; in pass_find_subpass_range_for_attachments() 48 pass->attachments[i].last_subpass = 0; in pass_find_subpass_range_for_attachments() 59 if (i < pass->attachments[attachment_idx].first_subpass) in pass_find_subpass_range_for_attachments() 60 pass->attachments[attachment_idx].first_subpass = i; in pass_find_subpass_range_for_attachments() 61 if (i > pass->attachments[attachment_idx].last_subpass) in pass_find_subpass_range_for_attachments() 62 pass->attachments[attachment_idx].last_subpass = i; in pass_find_subpass_range_for_attachments() 66 set_use_tlb_resolve(&pass->attachments[attachment_idx]); in pass_find_subpass_range_for_attachments() 72 if (i < pass->attachments[ds_attachment_idx].first_subpass) in pass_find_subpass_range_for_attachments() 73 pass->attachments[ds_attachment_idx].first_subpass = i; in pass_find_subpass_range_for_attachments() 74 if (i > pass->attachments[ds_attachment_idx].last_subpass) in pass_find_subpass_range_for_attachments() [all …]
|
/external/swiftshader/src/Vulkan/ |
D | VkFramebuffer.cpp | 25 , attachments(reinterpret_cast<ImageView **>(mem)) in Framebuffer() 30 attachments[i] = vk::Cast(pCreateInfo->pAttachments[i]); 36 vk::deallocate(attachments, pAllocator); in destroy() 61 attachments[i]->clearWithLayerMask(pClearValues[i], aspectMask, renderArea, in clear() 66 attachments[i]->clear(pClearValues[i], aspectMask, renderArea); in clear() 83 ImageView *imageView = attachments[attachmentIndex]; in clearAttachment() 103 ImageView *imageView = attachments[attachmentIndex]; in clearAttachment() 120 return attachments[index]; in getAttachment() 133 ImageView *imageView = attachments[subpass.pColorAttachments[i].attachment]; in resolve() 136 imageView->resolveWithLayerMask(attachments[resolveAttachment], in resolve() [all …]
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/stats/ |
D | MeasureMapInternal.java | 49 return attachments; in getAttachments() 53 private final Map<String, String> attachments; field in MeasureMapInternal 55 private MeasureMapInternal(ArrayList<Measurement> measurements, Map<String, String> attachments) { in MeasureMapInternal() argument 57 this.attachments = Collections.unmodifiableMap(new HashMap<String, String>(attachments)); in MeasureMapInternal() 89 this.attachments.put(key, value); in putAttachment() 106 return new MeasureMapInternal(measurements, attachments); in build() 110 private final Map<String, String> attachments = new HashMap<String, String>(); field in MeasureMapInternal.Builder
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiGranularityTests.cpp | 84 const std::vector<AttachmentInfo>& attachments, 109 const std::vector<AttachmentInfo>& attachments, in GranularityInstance() argument 112 , m_attachments (attachments) in GranularityInstance() 360 const std::vector<AttachmentInfo>& attachments, 373 const std::vector<AttachmentInfo>& attachments, in GranularityCase() argument 376 , m_attachments (attachments) in GranularityCase() 465 std::vector<AttachmentInfo> attachments; in createGranularityQueryTests() local 468 attachments.push_back(AttachmentInfo(format, i0, i1, 1)); in createGranularityQueryTests() 469 single->addChild(new GranularityCase(testCtx, name.c_str(), description, attachments)); in createGranularityQueryTests() 473 std::vector<AttachmentInfo> attachments; in createGranularityQueryTests() local [all …]
|
/external/OpenCL-CTS/test_conformance/gles/ |
D | test_renderbuffer.cpp | 114 GLenum attachments[] = { GL_COLOR_ATTACHMENT0_EXT }; in test_renderbuffer_read() local 148 for( attIdx = 0; attIdx < sizeof( attachments ) / sizeof( attachments[ 0 ] ); attIdx++ ) in test_renderbuffer_read() 153 GetGLAttachmentName( attachments[ attIdx ] ), in test_renderbuffer_read() 167 attachments[ attIdx ], in test_renderbuffer_read() 176 GetGLAttachmentName( attachments[ attIdx ] ), in test_renderbuffer_read() 188 GetGLAttachmentName( attachments[ attIdx ] ), in test_renderbuffer_read() 291 GLenum attachments[] = { GL_COLOR_ATTACHMENT0_EXT }; in test_renderbuffer_write() local 324 for( attIdx = 0; attIdx < sizeof( attachments ) / sizeof( attachments[ 0 ] ); attIdx++ ) in test_renderbuffer_write() 327 GetGLAttachmentName( attachments[ attIdx ] ), in test_renderbuffer_write() 342 attachments[ attIdx ], in test_renderbuffer_write() [all …]
|
D | test_renderbuffer_info.cpp | 49 GLenum attachments[] = { GL_COLOR_ATTACHMENT0_EXT }; in test_renderbuffer_getinfo() local 77 for( tgtIdx = 0; tgtIdx < sizeof( attachments ) / sizeof( attachments[ 0 ] ); tgtIdx++ ) in test_renderbuffer_getinfo() 91 attachments[ tgtIdx ], in test_renderbuffer_getinfo()
|
/external/toolchain-utils/cros_utils/ |
D | email_sender.py | 147 attachments=None): argument 151 email_from, msg_type, attachments) 154 email_from, msg_type, attachments) 157 email_from, msg_type, attachments): argument 178 if attachments: 179 for attachment in attachments: 194 email_from, msg_type, attachments): argument 235 if attachments: 237 for attachment in attachments:
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_pass.c | 68 const uint32_t a = subpass->attachments[j].attachment; in radv_pass_has_layout_transitions() 72 uint32_t initial_layout = pass->attachments[a].initial_layout; in radv_pass_has_layout_transitions() 73 uint32_t stencil_initial_layout = pass->attachments[a].stencil_initial_layout; in radv_pass_has_layout_transitions() 74 uint32_t final_layout = pass->attachments[a].final_layout; in radv_pass_has_layout_transitions() 75 uint32_t stencil_final_layout = pass->attachments[a].stencil_final_layout; in radv_pass_has_layout_transitions() 77 if (subpass->attachments[j].layout != initial_layout || in radv_pass_has_layout_transitions() 78 subpass->attachments[j].layout != stencil_initial_layout || in radv_pass_has_layout_transitions() 79 subpass->attachments[j].layout != final_layout || in radv_pass_has_layout_transitions() 80 subpass->attachments[j].layout != stencil_final_layout) in radv_pass_has_layout_transitions() 190 &subpass->attachments[j]; in radv_render_pass_compile() [all …]
|
D | radv_meta_resolve.c | 59 VkAttachmentDescription attachments[2]; in create_pass() local 63 attachments[i].format = vk_format; in create_pass() 64 attachments[i].samples = 1; in create_pass() 65 attachments[i].loadOp = VK_ATTACHMENT_LOAD_OP_LOAD; in create_pass() 66 attachments[i].storeOp = VK_ATTACHMENT_STORE_OP_STORE; in create_pass() 68 attachments[0].initialLayout = VK_IMAGE_LAYOUT_GENERAL; in create_pass() 69 attachments[0].finalLayout = VK_IMAGE_LAYOUT_GENERAL; in create_pass() 70 attachments[1].initialLayout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL; in create_pass() 71 attachments[1].finalLayout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL; in create_pass() 77 .pAttachments = attachments, in create_pass() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_common_context.c | 363 unsigned int attachments[10]; in radeon_update_renderbuffers() local 396 attachments[i++] = __DRI_BUFFER_FRONT_LEFT; in radeon_update_renderbuffers() 397 attachments[i++] = radeon_bits_per_pixel(draw->color_rb[0]); in radeon_update_renderbuffers() 402 attachments[i++] = __DRI_BUFFER_BACK_LEFT; in radeon_update_renderbuffers() 403 attachments[i++] = radeon_bits_per_pixel(draw->color_rb[1]); in radeon_update_renderbuffers() 410 attachments[i++] = __DRI_BUFFER_DEPTH_STENCIL; in radeon_update_renderbuffers() 411 attachments[i++] = radeon_bits_per_pixel(depth_rb); in radeon_update_renderbuffers() 413 attachments[i++] = __DRI_BUFFER_DEPTH; in radeon_update_renderbuffers() 414 attachments[i++] = radeon_bits_per_pixel(depth_rb); in radeon_update_renderbuffers() 416 attachments[i++] = __DRI_BUFFER_STENCIL; in radeon_update_renderbuffers() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_common_context.c | 363 unsigned int attachments[10]; in radeon_update_renderbuffers() local 396 attachments[i++] = __DRI_BUFFER_FRONT_LEFT; in radeon_update_renderbuffers() 397 attachments[i++] = radeon_bits_per_pixel(draw->color_rb[0]); in radeon_update_renderbuffers() 402 attachments[i++] = __DRI_BUFFER_BACK_LEFT; in radeon_update_renderbuffers() 403 attachments[i++] = radeon_bits_per_pixel(draw->color_rb[1]); in radeon_update_renderbuffers() 410 attachments[i++] = __DRI_BUFFER_DEPTH_STENCIL; in radeon_update_renderbuffers() 411 attachments[i++] = radeon_bits_per_pixel(depth_rb); in radeon_update_renderbuffers() 413 attachments[i++] = __DRI_BUFFER_DEPTH; in radeon_update_renderbuffers() 414 attachments[i++] = radeon_bits_per_pixel(depth_rb); in radeon_update_renderbuffers() 416 attachments[i++] = __DRI_BUFFER_STENCIL; in radeon_update_renderbuffers() [all …]
|
/external/deqp/doc/testspecs/GLES3/ |
D | functional.fbo.completeness.txt | 31 + Single attachments with all standard (and many extension) formats 32 + All combinations of color, depth and stencil attachments 34 + Differently sized attachments 35 + Multilayer attachments 36 + Compatibility of multisample attachments 54 images and attachments, the set of expected status values and the actual 72 * If there are no attachments, GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 80 Note that GLES3 requires the depth and stencil attachments to be the same 83 attachments. 94 attachments with different sizes. The glCheckFramebufferStatus call is [all …]
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_pass.c | 84 struct anv_subpass_attachment *subpass_att = &subpass->attachments[j]; in anv_render_pass_compile() 89 &pass->attachments[subpass_att->attachment]; in anv_render_pass_compile() 122 &pass->attachments[color_att->attachment]; in anv_render_pass_compile() 138 &pass->attachments[ds_att->attachment]; in anv_render_pass_compile() 146 assert(__builtin_popcount(subpass->attachments[j].usage) == 1); in anv_render_pass_compile() 247 struct anv_render_pass_attachment *attachments; in anv_CreateRenderPass() local 253 anv_multialloc_add(&ma, &attachments, pCreateInfo->attachmentCount); in anv_CreateRenderPass() 275 pass->attachments = attachments; in anv_CreateRenderPass() 279 pass->attachments[i] = (struct anv_render_pass_attachment) { in anv_CreateRenderPass() 300 subpass->attachments = subpass_attachments; in anv_CreateRenderPass() [all …]
|
/external/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_pass.c | 34 &subpass->attachments[j]; in lvp_render_pass_compile() 39 &pass->attachments[subpass_att->attachment]; in lvp_render_pass_compile() 64 &subpass->attachments[j]; in lvp_render_pass_compile() 69 &pass->attachments[subpass_att->attachment]; in lvp_render_pass_compile() 86 &pass->attachments[subpass_att->attachment]; in lvp_render_pass_compile() 95 &pass->attachments[a]; in lvp_render_pass_compile() 161 size += pCreateInfo->attachmentCount * sizeof(pass->attachments[0]); in lvp_CreateRenderPass() 177 pass->attachments = (void *) pass + attachments_offset; in lvp_CreateRenderPass() 180 struct lvp_render_pass_attachment *att = &pass->attachments[i]; in lvp_CreateRenderPass() 215 subpass->attachments = p; in lvp_CreateRenderPass()
|
/external/OpenCL-CTS/test_conformance/gl/ |
D | test_renderbuffer.cpp | 161 GLenum attachments[] = { GL_COLOR_ATTACHMENT0_EXT }; in test_renderbuffer_read() local 215 for( attIdx = 0; attIdx < sizeof( attachments ) / sizeof( attachments[ 0 ] ); attIdx++ ) in test_renderbuffer_read() 220 GetGLAttachmentName( attachments[ attIdx ] ), in test_renderbuffer_read() 234 attachments[ attIdx ], in test_renderbuffer_read() 242 GetGLAttachmentName( attachments[ attIdx ] ), in test_renderbuffer_read() 254 GetGLAttachmentName( attachments[ attIdx ] ), in test_renderbuffer_read() 378 GLenum attachments[] = { GL_COLOR_ATTACHMENT0_EXT }; in test_renderbuffer_write() local 431 for( attIdx = 0; attIdx < sizeof( attachments ) / sizeof( attachments[ 0 ] ); attIdx++ ) in test_renderbuffer_write() 434 GetGLAttachmentName( attachments[ attIdx ] ), in test_renderbuffer_write() 449 attachments[ attIdx ], in test_renderbuffer_write() [all …]
|
D | test_renderbuffer_info.cpp | 55 GLenum attachments[] = { GL_COLOR_ATTACHMENT0_EXT }; in test_renderbuffer_getinfo() local 91 for( tgtIdx = 0; tgtIdx < sizeof( attachments ) / sizeof( attachments[ 0 ] ); tgtIdx++ ) in test_renderbuffer_getinfo() 105 attachments[ tgtIdx ], in test_renderbuffer_getinfo()
|
/external/deqp/modules/gles3/functional/ |
D | es3fFboInvalidateTests.cpp | 56 vector<deUint32> attachments; in getDefaultFBDiscardAttachments() local 59 attachments.push_back(GL_COLOR); in getDefaultFBDiscardAttachments() 62 attachments.push_back(GL_DEPTH); in getDefaultFBDiscardAttachments() 65 attachments.push_back(GL_STENCIL); in getDefaultFBDiscardAttachments() 67 return attachments; in getDefaultFBDiscardAttachments() 72 vector<deUint32> attachments; in getFBODiscardAttachments() local 75 attachments.push_back(GL_COLOR_ATTACHMENT0); in getFBODiscardAttachments() 79 attachments.push_back(GL_DEPTH_STENCIL_ATTACHMENT); in getFBODiscardAttachments() 81 attachments.push_back(GL_DEPTH_ATTACHMENT); in getFBODiscardAttachments() 83 attachments.push_back(GL_STENCIL_ATTACHMENT); in getFBODiscardAttachments() [all …]
|
/external/skqp/src/gpu/vk/ |
D | GrVkFramebuffer.cpp | 23 VkImageView attachments[3]; in Create() local 24 attachments[0] = colorAttachment->imageView(); in Create() 27 attachments[numAttachments++] = stencilAttachment->imageView(); in Create() 37 createInfo.pAttachments = attachments; in Create()
|
/external/skia/src/gpu/vk/ |
D | GrVkFramebuffer.cpp | 23 VkImageView attachments[3]; in Create() local 24 attachments[0] = colorAttachment->imageView(); in Create() 27 attachments[numAttachments++] = stencilAttachment->imageView(); in Create() 37 createInfo.pAttachments = attachments; in Create()
|
/external/angle/src/libANGLE/renderer/d3d/d3d11/ |
D | Framebuffer11.cpp | 117 const GLenum *attachments) in invalidate() argument 119 return invalidateBase(context, count, attachments, false); in invalidate() 124 const GLenum *attachments) in discard() argument 126 return invalidateBase(context, count, attachments, true); in discard() 131 const GLenum *attachments, in invalidateBase() argument 147 switch (attachments[i]) in invalidateBase() 165 ASSERT((attachments[i] >= GL_COLOR_ATTACHMENT0 && in invalidateBase() 166 attachments[i] <= GL_COLOR_ATTACHMENT15) || in invalidateBase() 167 (attachments[i] == GL_COLOR)); in invalidateBase() 170 (attachments[i] == GL_COLOR ? 0u : (attachments[i] - GL_COLOR_ATTACHMENT0)); in invalidateBase() [all …]
|
D | Framebuffer11.h | 29 const GLenum *attachments) override; 32 const GLenum *attachments) override; 35 const GLenum *attachments, 87 const GLenum *attachments,
|
/external/deqp-deps/amber/src/vulkan/ |
D | frame_buffer.cc | 48 std::vector<VkImageView> attachments; in Initialize() local 62 attachments.resize(color_attachments_.size()); in Initialize() 74 attachments[info->location] = color_images_.back()->GetVkImageView(); in Initialize() 93 attachments.push_back(depth_image_->GetVkImageView()); in Initialize() 99 frame_buffer_info.attachmentCount = static_cast<uint32_t>(attachments.size()); in Initialize() 100 frame_buffer_info.pAttachments = attachments.data(); in Initialize()
|
/external/deqp/doc/testspecs/GLES2/ |
D | functional.fbo.completeness.txt | 30 + Single attachments with all standard (and many extension) formats 31 + All combinations of color0, depth and stencil attachments 32 - And other color attachments if GL_NV_fbo_color_attachments is exposed 35 + Differently sized attachments 53 images and attachments, the set of expected status values and the actual 99 * If there are no attachments, GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 106 color attachments are used in the tests. 111 Note that GLES2, unlike GLES3, allows the depth and stencil attachments to be 119 combination of attachments and formats such that the framebuffer checks as 131 attachments with different sizes. The glCheckFramebufferStatus call is
|