Home
last modified time | relevance | path

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

12345678

/external/mesa3d/src/intel/vulkan/
Danv_pass.c59 struct anv_render_pass_attachment *attachments; in anv_CreateRenderPass() local
65 anv_multialloc_add(&ma, &attachments, pCreateInfo->attachmentCount); in anv_CreateRenderPass()
86 pass->attachments = attachments; in anv_CreateRenderPass()
90 struct anv_render_pass_attachment *att = &pass->attachments[i]; in anv_CreateRenderPass()
111 subpass->attachments = subpass_attachments; in anv_CreateRenderPass()
123 pass->attachments[a].usage |= VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT; in anv_CreateRenderPass()
124 pass->attachments[a].last_subpass_idx = i; in anv_CreateRenderPass()
126 init_first_subpass_layout(&pass->attachments[a], in anv_CreateRenderPass()
144 pass->attachments[a].usage |= VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; in anv_CreateRenderPass()
145 pass->attachments[a].last_subpass_idx = i; in anv_CreateRenderPass()
[all …]
DgenX_cmd_buffer.c229 struct anv_attachment_state *att_state = &cmd_state->attachments[att]; in color_attachment_compute_aux_usage()
230 struct anv_image_view *iview = cmd_state->framebuffer->attachments[att]; in color_attachment_compute_aux_usage()
274 if (cmd_state->pass->attachments[att].first_subpass_layout == in color_attachment_compute_aux_usage()
333 if (cmd_state->pass->attachments[att].first_subpass_layout == in color_attachment_compute_aux_usage()
786 vk_free(&cmd_buffer->pool->alloc, state->attachments); in genX()
789 state->attachments = vk_alloc(&cmd_buffer->pool->alloc, in genX()
791 sizeof(state->attachments[0]), in genX()
793 if (state->attachments == NULL) { in genX()
799 state->attachments = NULL; in genX()
805 if (vk_format_is_color(pass->attachments[i].format)) in genX()
[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
DMutableAggregation.java52 abstract void add(double value, Map<String, String> attachments, Timestamp timestamp); in add() argument
88 void add(double value, Map<String, String> attachments, Timestamp timestamp) { in add() argument
157 void add(double value, Map<String, String> attachments, Timestamp timestamp) { in add() argument
205 void add(double value, Map<String, String> attachments, Timestamp timestamp) { in add() argument
294 void add(double value, Map<String, String> attachments, Timestamp timestamp) { in add() argument
328 if (!attachments.isEmpty() && exemplars != null) { in add()
329 exemplars[bucket] = Exemplar.create(value, timestamp, attachments); in add()
498 void add(double value, Map<String, String> attachments, Timestamp timestamp) { in add() argument
/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
466attachments.push_back(AttachmentInfo(format, rnd.getInt(1, maxDimension), rnd.getInt(1, maxDimensi… in createGranularityQueryTests()
467 single->addChild(new GranularityCase(testCtx, name.c_str(), description, attachments)); in createGranularityQueryTests()
471 std::vector<AttachmentInfo> attachments; in createGranularityQueryTests() local
[all …]
/external/toolchain-utils/cros_utils/
Demail_sender.py37 attachments=None): argument
41 email_from, msg_type, attachments)
44 email_from, msg_type, attachments)
47 email_from, msg_type, attachments): argument
68 if attachments:
69 for attachment in attachments:
84 email_from, msg_type, attachments): argument
123 if attachments:
125 for attachment in attachments:
/external/swiftshader/src/Vulkan/
DVkFramebuffer.cpp28 attachments(reinterpret_cast<ImageView**>(mem)) in Framebuffer()
32 attachments[i] = Cast(pCreateInfo->pAttachments[i]); in Framebuffer()
38 vk::deallocate(attachments, pAllocator); in destroy()
59 attachments[i]->clear(pClearValues[i], in clear()
67 attachments[i]->clear(pClearValues[i], VK_IMAGE_ASPECT_COLOR_BIT, renderArea); in clear()
83 attachments[subpass.pColorAttachments[attachment.colorAttachment].attachment]->clear( in clear()
93attachments[subpass.pDepthStencilAttachment->attachment]->clear(attachment.clearValue, attachment.… in clear()
/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/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 …]
Des3fFragmentOutputTests.cpp570 vector<AttachmentData> attachments (numAttachments); in iterate() local
587 attachments[ndx].format = texFmt; in iterate()
588 attachments[ndx].readFormat = readFmt; in iterate()
589 attachments[ndx].referenceFormat = refFmt; in iterate()
590 attachments[ndx].renderedData.resize(readFmt.getPixelSize()*attachmentW*attachmentH); in iterate()
591 attachments[ndx].referenceData.resize(refFmt.getPixelSize()*attachmentW*attachmentH); in iterate()
639 DE_ASSERT(output.location+vecNdx < (int)attachments.size()); in iterate()
640 attachments[output.location+vecNdx].numWrittenChannels = numScalars; in iterate()
641 attachments[output.location+vecNdx].outPrecision = output.precision; in iterate()
650 if (de::inBounds(output.location+vecNdx, 0, (int)attachments.size())) in iterate()
[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()
DGrVkRenderPass.cpp57 SkTArray<VkAttachmentDescription> attachments(numAttachments); in init() local
58 attachments.reset(numAttachments); in init()
59 memset(attachments.begin(), 0, numAttachments * sizeof(VkAttachmentDescription)); in init()
80 setup_vk_attachment_description(&attachments[currentAttachment], in init()
103 setup_vk_attachment_description(&attachments[currentAttachment], in init()
130 createInfo.pAttachments = attachments.begin(); in init()
/external/skia/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()
DGrVkRenderPass.cpp57 SkTArray<VkAttachmentDescription> attachments(numAttachments); in init() local
58 attachments.reset(numAttachments); in init()
59 memset(attachments.begin(), 0, numAttachments * sizeof(VkAttachmentDescription)); in init()
80 setup_vk_attachment_description(&attachments[currentAttachment], in init()
103 setup_vk_attachment_description(&attachments[currentAttachment], in init()
130 createInfo.pAttachments = attachments.begin(); in init()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_resolve.c59 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 …]
Dradv_pass.c48 size += pCreateInfo->attachmentCount * sizeof(pass->attachments[0]); in radv_CreateRenderPass()
58 pass->attachments = (void *) pass + attachments_offset; in radv_CreateRenderPass()
71 struct radv_render_pass_attachment *att = &pass->attachments[i]; in radv_CreateRenderPass()
124 pass->attachments[desc->pInputAttachments[j].attachment].view_mask |= subpass->view_mask; in radv_CreateRenderPass()
136 pass->attachments[desc->pColorAttachments[j].attachment].view_mask |= subpass->view_mask; in radv_CreateRenderPass()
151 pass->attachments[desc->pResolveAttachments[j].attachment].view_mask |= subpass->view_mask; in radv_CreateRenderPass()
160 pass->attachments[desc->pDepthStencilAttachment->attachment].view_mask |= subpass->view_mask; in radv_CreateRenderPass()
/external/deqp/doc/testspecs/GLES2/
Dfunctional.fbo.completeness.txt30 + 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
/external/mesa3d/src/mesa/main/
Dfbobject.h321 const GLenum *attachments, GLint x,
326 const GLenum *attachments, GLint x, GLint y,
332 const GLenum *attachments,
337 const GLenum *attachments);
341 const GLenum *attachments);
346 const GLenum *attachments);
350 const GLenum *attachments);
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_context.c241 unsigned int attachments[10]; in nouveau_update_renderbuffers() local
250 attachments[i++] = __DRI_BUFFER_FRONT_LEFT; in nouveau_update_renderbuffers()
252 attachments[i++] = __DRI_BUFFER_BACK_LEFT; in nouveau_update_renderbuffers()
254 attachments[i++] = __DRI_BUFFER_DEPTH_STENCIL; in nouveau_update_renderbuffers()
256 attachments[i++] = __DRI_BUFFER_DEPTH; in nouveau_update_renderbuffers()
258 attachments[i++] = __DRI_BUFFER_STENCIL; in nouveau_update_renderbuffers()
261 attachments, i, &count, in nouveau_update_renderbuffers()
/external/syzkaller/pkg/email/
Dparser.go85 body, attachments, err := parseBody(msg.Body, msg.Header)
92 for _, a := range attachments {
286 var attachments [][]byte
291 return body, attachments, nil
303 attachments = append(attachments, attachments1...)
/external/libchrome/mojo/public/cpp/bindings/lib/
Dnative_struct_serialization.cc82 auto* attachments = message->attachment_set(); in SerializeMessageContents() local
83 handles_writer.Allocate(attachments->size(), buffer); in SerializeMessageContents()
84 for (unsigned i = 0; i < attachments->size(); ++i) { in SerializeMessageContents()
88 auto attachment = attachments->GetAttachmentAt(i); in SerializeMessageContents()
/external/deqp/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderUtil.cpp175 const vector<VkImageView>& attachments, in makeFramebuffer() argument
186 static_cast<deUint32>(attachments.size()), // uint32_t attachmentCount; in makeFramebuffer()
187 &attachments[0], // const VkImageView* pAttachments; in makeFramebuffer()
474 vector<AttachmentDesc> attachments; in makeRenderPassWithAttachments() local
475 attachments.push_back(colorAttachmentDescription); in makeRenderPassWithAttachments()
476 attachments.push_back(inputAttachmentDescription); in makeRenderPassWithAttachments()
572 …&attachments[0], // const VkAttachmentDescription* pAttachments; || const VkAttac… in makeRenderPassWithAttachments()
/external/opencensus-java/contrib/exemplar_util/src/test/java/io/opencensus/contrib/exemplar/util/
DExemplarUtilsTest.java56 assertThat(measureMap.attachments) in putSpanContext()
81 private final Map<String, String> attachments = new HashMap<String, String>(); field in ExemplarUtilsTest.FakeMeasureMap
85 attachments.put(key, value); in putAttachment()

12345678