/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 …]
|
/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/deqp/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassLoadStoreOpNoneTests.cpp | 104 std::vector<AttachmentParams> attachments; member 208 for (size_t i = 0; i < testParams.attachments.size(); i++) in createRenderPass() 212 VkFormat format = getFormat(testParams.attachments[i].usage, testParams.depthStencilFormat); in createRenderPass() 219 firstUsage = testParams.attachments[i].usage; in createRenderPass() 234 if (testParams.attachments[i].verifyInner || testParams.attachments[i].verifyOuter) in createRenderPass() 239 …const VkSampleCountFlagBits sampleCount = testParams.attachments[i].usage & ATTACHMENT_USAGE_MULT… in createRenderPass() 247 testParams.attachments[i].loadOp, // VkAttachmentLoadOp loadOp in createRenderPass() 248 testParams.attachments[i].storeOp, // VkAttachmentStoreOp storeOp in createRenderPass() 249 testParams.attachments[i].loadOp, // VkAttachmentLoadOp stencilLoadOp in createRenderPass() 250 testParams.attachments[i].storeOp, // VkAttachmentStoreOp stencilStoreOp in createRenderPass() [all …]
|
/external/swiftshader/src/Vulkan/ |
D | VkFramebuffer.cpp | 27 : attachments(reinterpret_cast<ImageView **>(mem)) in Framebuffer() 57 attachments[i] = nullptr; 65 attachments[i] = vk::Cast(pCreateInfo->pAttachments[i]); 72 vk::freeHostMemory(attachments, pAllocator); in destroy() 126 attachments[i]->clear(pClearValues[i], clearMask, renderArea, viewMask); in executeLoadOp() 143 ImageView *imageView = attachments[attachmentIndex]; in clearAttachment() 155 ImageView *imageView = attachments[attachmentIndex]; in clearAttachment() 167 ASSERT(attachments[index] == nullptr); in setAttachment() 168 attachments[index] = imageView; in setAttachment() 173 return attachments[index]; in getAttachment() [all …]
|
/external/swiftshader/tests/VulkanWrapper/ |
D | DrawTester.cpp | 111 std::vector<vk::AttachmentDescription> attachments(multisample ? 2 : 1); in createRenderPass() local 116 attachments[0].format = colorFormat; in createRenderPass() 117 attachments[0].samples = vk::SampleCountFlagBits::e4; in createRenderPass() 118 attachments[0].loadOp = vk::AttachmentLoadOp::eClear; in createRenderPass() 119 attachments[0].storeOp = vk::AttachmentStoreOp::eStore; in createRenderPass() 120 attachments[0].stencilLoadOp = vk::AttachmentLoadOp::eDontCare; in createRenderPass() 121 attachments[0].stencilStoreOp = vk::AttachmentStoreOp::eDontCare; in createRenderPass() 122 attachments[0].initialLayout = vk::ImageLayout::eUndefined; in createRenderPass() 123 attachments[0].finalLayout = vk::ImageLayout::eColorAttachmentOptimal; in createRenderPass() 126 attachments[1].format = colorFormat; in createRenderPass() [all …]
|
D | Framebuffer.cpp | 20 std::vector<vk::ImageView> attachments(multisample ? 2 : 1); in Framebuffer() local 27 attachments[0] = multisampleImage->getImageView(); in Framebuffer() 28 attachments[1] = attachment; // Resolve attachment in Framebuffer() 32 attachments[0] = attachment; in Framebuffer() 38 framebufferCreateInfo.attachmentCount = static_cast<uint32_t>(attachments.size()); in Framebuffer() 39 framebufferCreateInfo.pAttachments = attachments.data(); in Framebuffer()
|
/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/rust/crates/vulkano/src/render_pass/ |
D | desc.rs | 21 attachments: Vec<AttachmentDesc>, field 30 attachments: Vec<AttachmentDesc>, in new() 35 attachments, in new() 45 attachments: Vec<AttachmentDesc>, in with_multiview() 51 attachments, in with_multiview() 61 attachments: vec![], in empty() 76 pub fn attachments(&self) -> &[AttachmentDesc] { in attachments() method 77 &self.attachments in attachments() 135 let attachment_desc = &self.attachments[attachment_id]; in is_compatible_with_shader() 151 if self.attachments().len() != other.attachments().len() { in is_compatible_with_desc() [all …]
|
D | framebuffer.rs | 91 attachments: (), in start() 102 attachments: (), in with_intersecting_dimensions() 115 attachments: (), 125 attachments: A, field 137 .field("attachments", &self.attachments) in fmt() 163 if self.raw_ids.len() >= self.render_pass.desc().attachments().len() { in add() 165 expected: self.render_pass.desc().attachments().len(), in add() 234 attachments: (self.attachments, attachment), in add() 254 attachments: Box::new(self.attachments) as Box<_>, in boxed() 263 if self.raw_ids.len() != self.render_pass.desc().attachments().len() { in build() [all …]
|
/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/golang-protobuf/reflect/protorange/ |
D | range_test.go | 95 `.attachments`, 96 `.attachments[0]`, 97 `.attachments[0].(google.golang.org.KeyValueAttachment)`, 98 `.attachments[0].(google.golang.org.KeyValueAttachment).name`, 99 `.attachments[0].(google.golang.org.KeyValueAttachment).data`, 100 `.attachments[0].(google.golang.org.KeyValueAttachment).data["go1.10.darwin-amd64.pkg"]`, 101 `.attachments[0].(google.golang.org.KeyValueAttachment).data["go1.10.linux-amd64.tar.gz"]`, 102 `.attachments[0].(google.golang.org.KeyValueAttachment).data["go1.10.src.tar.gz"]`, 103 `.attachments[0].(google.golang.org.KeyValueAttachment).data["go1.10.windows-amd64.msi"]`, 116 getByName(m, `attachments`), [all …]
|
/external/swiftshader/src/Device/ |
D | PixelProcessor.cpp | 74 …entShader, const sw::SpirvShader *vertexShader, const vk::Attachments &attachments, bool occlusion… in update() argument 93 state.depthWriteEnable = pipelineState.depthWriteActive(attachments); in update() 95 if(pipelineState.stencilActive(attachments)) in update() 102 state.depthFormat = attachments.depthFormat(); in update() 103 state.depthBoundsTestActive = pipelineState.depthBoundsTestActive(attachments); in update() 107 if(pipelineState.depthTestActive(attachments)) in update() 137 state.colorWriteMask |= pipelineState.colorWriteActive(i, attachments) << (4 * i); in update() 138 state.colorFormat[i] = attachments.colorFormat(i); in update() 139 state.blendState[i] = pipelineState.getBlendState(i, attachments, fragmentContainsDiscard); in update()
|
D | Context.cpp | 756 bool GraphicsState::depthWriteActive(const Attachments &attachments) const in depthWriteActive() 759 return depthTestActive(attachments) && depthWriteEnable; in depthWriteActive() 762 bool GraphicsState::depthTestActive(const Attachments &attachments) const in depthTestActive() 764 return attachments.depthBuffer && depthTestEnable; in depthTestActive() 767 bool GraphicsState::stencilActive(const Attachments &attachments) const in stencilActive() 769 return attachments.stencilBuffer && stencilEnable; in stencilActive() 772 bool GraphicsState::depthBoundsTestActive(const Attachments &attachments) const in depthBoundsTestActive() 774 return attachments.depthBuffer && depthBoundsTestEnable; in depthBoundsTestActive() 918 BlendState GraphicsState::getBlendState(int index, const Attachments &attachments, bool fragmentCon… in getBlendState() argument 924 activeBlendState.alphaBlendEnable = alphaBlendActive(index, attachments, fragmentContainsKill); in getBlendState() [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 …]
|
/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 …]
|
/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/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/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/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 …]
|
/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/webrtc/sdk/objc/helpers/ |
D | AVCaptureSession+DevicePosition.mm | 26 CFDictionaryRef attachments = CMCopyDictionaryOfAttachments( 28 if (attachments) { 29 int size = CFDictionaryGetCount(attachments); 33 attachments, (const void *)CFSTR("{Exif}"), (const void **)&cfExifDictVal)) { 46 CFRelease(attachments);
|
/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 …]
|