Home
last modified time | relevance | path

Searched refs:attachments (Results 1 – 25 of 364) sorted by relevance

12345678910>>...15

/external/mesa3d/src/gallium/drivers/zink/
Dzink_render_pass.c36 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 …]
Dzink_framebuffer.c90 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/
Dv3dv_pass.c47 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/
DVkFramebuffer.cpp27 : attachments(reinterpret_cast<ImageView **>(mem)) in Framebuffer()
54 attachments[i] = nullptr;
62 attachments[i] = vk::Cast(pCreateInfo->pAttachments[i]);
69 vk::deallocate(attachments, pAllocator); in destroy()
94 attachments[i]->clearWithLayerMask(pClearValues[i], aspectMask, renderArea, in clear()
99 attachments[i]->clear(pClearValues[i], aspectMask, renderArea); in clear()
116 ImageView *imageView = attachments[attachmentIndex]; in clearAttachment()
136 ImageView *imageView = attachments[attachmentIndex]; in clearAttachment()
154 ASSERT(attachments[index] == nullptr); in setAttachment()
155 attachments[index] = imageView; in setAttachment()
[all …]
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/stats/
DMeasureMapInternal.java49 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/swiftshader/tests/VulkanWrapper/
DDrawTester.cpp111 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 …]
DFramebuffer.cpp20 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/swiftshader/src/Device/
DContext.cpp579 bool GraphicsState::depthWriteActive(const Attachments &attachments) const in depthWriteActive()
581 if(!depthBufferActive(attachments)) return false; in depthWriteActive()
586 bool GraphicsState::depthBufferActive(const Attachments &attachments) const in depthBufferActive()
588 return attachments.depthBuffer && depthBufferEnable; in depthBufferActive()
591 bool GraphicsState::stencilActive(const Attachments &attachments) const in stencilActive()
593 return attachments.stencilBuffer && stencilEnable; in stencilActive()
654 BlendState GraphicsState::getBlendState(int index, const Attachments &attachments, bool fragmentCon… in getBlendState() argument
659 activeBlendState.alphaBlendEnable = alphaBlendActive(index, attachments, fragmentContainsKill); in getBlendState()
662 activeBlendState.blendOperation = blendOperation(index, attachments); in getBlendState()
665 activeBlendState.blendOperationAlpha = blendOperationAlpha(index, attachments); in getBlendState()
[all …]
DContext.hpp181 …BlendState getBlendState(int index, const Attachments &attachments, bool fragmentContainsKill) con…
183 int colorWriteActive(int index, const Attachments &attachments) const;
184 bool depthWriteActive(const Attachments &attachments) const;
185 bool depthBufferActive(const Attachments &attachments) const;
186 bool stencilActive(const Attachments &attachments) const;
193 VkBlendOp blendOperation(int index, const Attachments &attachments) const;
197 VkBlendOp blendOperationAlpha(int index, const Attachments &attachments) const;
199 bool alphaBlendActive(int index, const Attachments &attachments, bool fragmentContainsKill) const;
200 bool colorWriteActive(const Attachments &attachments) const;
DPixelProcessor.cpp85 …entShader, const sw::SpirvShader *vertexShader, const vk::Attachments &attachments, bool occlusion… in update() argument
104 state.depthWriteEnable = pipelineState.depthWriteActive(attachments); in update()
106 if(pipelineState.stencilActive(attachments)) in update()
113 if(pipelineState.depthBufferActive(attachments)) in update()
117 state.depthFormat = attachments.depthBuffer->getFormat(); in update()
131 state.colorWriteMask |= pipelineState.colorWriteActive(i, attachments) << (4 * i); in update()
132 state.targetFormat[i] = attachments.renderTargetInternalFormat(i); in update()
133 state.blendState[i] = pipelineState.getBlendState(i, attachments, fragmentContainsKill); in update()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiGranularityTests.cpp84 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/toolchain-utils/cros_utils/
Demail_sender.py147 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/OpenCL-CTS/test_conformance/gles/
Dtest_renderbuffer.cpp114 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/mesa3d/src/amd/vulkan/
Dradv_pass.c68 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/
Dradeon_common_context.c363 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/
Dradeon_common_context.c363 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/
Dfunctional.fbo.completeness.txt31 + 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/
Danv_pass.c84 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/webrtc/sdk/objc/helpers/
DAVCaptureSession+DevicePosition.mm26 CFDictionaryRef attachments = CMCopyDictionaryOfAttachments(
28 if (attachments) {
29 int size = CFDictionaryGetCount(attachments);
33 attachments, (const void *)CFSTR("{Exif}"), (const void **)&cfExifDictVal)) {
46 CFRelease(attachments);
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_pass.c34 &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/
Dtest_renderbuffer.cpp161 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/
Des3fFboInvalidateTests.cpp56 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/
DGrVkFramebuffer.cpp23 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/
DFramebuffer11.cpp117 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 …]
/external/skia/src/gpu/vk/
DGrVkFramebuffer.cpp28 VkImageView attachments[3]; in Make() local
29 attachments[0] = colorAttachment->framebufferView()->imageView(); in Make()
32 attachments[numAttachments++] = resolveAttachment->framebufferView()->imageView(); in Make()
35 attachments[numAttachments++] = stencilAttachment->framebufferView()->imageView(); in Make()
45 createInfo.pAttachments = attachments; in Make()

12345678910>>...15