Home
last modified time | relevance | path

Searched refs:colorIndexGL (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DFramebufferVk.cpp271 for (size_t colorIndexGL : getEnabledDrawBuffers) in HasResolveAttachment() local
273 RenderTargetVk *colorRenderTarget = colorRenderTargets[colorIndexGL]; in HasResolveAttachment()
302 for (size_t colorIndexGL : colorAttachmentsMask) in IsAnyAttachment3DWithoutAllLayers() local
304 RenderTargetVk *colorRenderTarget = colorRenderTargets[colorIndexGL]; in IsAnyAttachment3DWithoutAllLayers()
1147 for (size_t colorIndexGL : mState.getEnabledDrawBuffers()) in blit() local
1149 RenderTargetVk *drawRenderTarget = mRenderTargetCache.getColors()[colorIndexGL]; in blit()
1167 for (size_t colorIndexGL : mState.getEnabledDrawBuffers()) in blit() local
1169 RenderTargetVk *drawRenderTarget = mRenderTargetCache.getColors()[colorIndexGL]; in blit()
1333 uint32_t colorIndexGL, in updateColorResolveAttachment() argument
1336 mCurrentFramebufferDesc.updateColorResolve(colorIndexGL, resolveImageViewSerial); in updateColorResolveAttachment()
[all …]
Dvk_cache_utils.cpp323 for (uint32_t colorIndexGL = 0; colorIndexGL < desc.colorAttachmentRange(); ++colorIndexGL) in InitializeUnresolveSubpass() local
417 if (!desc.hasColorUnresolveAttachment(colorIndexGL)) in InitializeUnresolveSubpass()
419 if (desc.isColorAttachmentEnabled(colorIndexGL)) in InitializeUnresolveSubpass()
422 drawSubpassColorAttachmentRefs[colorIndexGL].attachment); in InitializeUnresolveSubpass()
426 ASSERT(desc.isColorAttachmentEnabled(colorIndexGL)); in InitializeUnresolveSubpass()
427 ASSERT(desc.hasColorResolveAttachment(colorIndexGL)); in InitializeUnresolveSubpass()
428 ASSERT(drawSubpassColorAttachmentRefs[colorIndexGL].attachment != VK_ATTACHMENT_UNUSED); in InitializeUnresolveSubpass()
429 ASSERT(drawSubpassResolveAttachmentRefs[colorIndexGL].attachment != VK_ATTACHMENT_UNUSED); in InitializeUnresolveSubpass()
431 unresolveColorAttachmentRefs->push_back(drawSubpassColorAttachmentRefs[colorIndexGL]); in InitializeUnresolveSubpass()
432 unresolveInputAttachmentRefs->push_back(drawSubpassResolveAttachmentRefs[colorIndexGL]); in InitializeUnresolveSubpass()
[all …]
Dvk_cache_utils.h141 void packColorAttachment(size_t colorIndexGL, angle::FormatID formatID);
143 void packColorAttachmentGap(size_t colorIndexGL);
149 void packColorResolveAttachment(size_t colorIndexGL);
152 void removeColorResolveAttachment(size_t colorIndexGL);
154 void packColorUnresolveAttachment(size_t colorIndexGL);
155 void removeColorUnresolveAttachment(size_t colorIndexGL);
171 bool isColorAttachmentEnabled(size_t colorIndexGL) const;
173 bool hasColorResolveAttachment(size_t colorIndexGL) const in hasColorResolveAttachment() argument
175 return mColorResolveAttachmentMask.test(colorIndexGL); in hasColorResolveAttachment()
181 bool hasColorUnresolveAttachment(size_t colorIndexGL) const in hasColorUnresolveAttachment() argument
[all …]
DFramebufferVk.h234 VkClearValue getCorrectedColorClearValue(size_t colorIndexGL,
238 uint32_t colorIndexGL,
240 void removeColorResolveAttachment(uint32_t colorIndexGL);
DUtilsVk.cpp3220 for (size_t colorIndexGL : params.unresolveColorMask) in unresolve() local
3222 RenderTargetVk *colorRenderTarget = framebuffer->getColorDrawRenderTarget(colorIndexGL); in unresolve()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DFrameBufferMtl.mm648 size_t colorIndexGL = static_cast<size_t>(
650 ANGLE_TRY(updateColorRenderTarget(context, colorIndexGL));
896 size_t colorIndexGL)
898 ASSERT(colorIndexGL < mtl::kMaxRenderTargets);
900 mRenderPassDesc.colorAttachments[colorIndexGL].reset();
901 return updateCachedRenderTarget(context, mState.getColorAttachment(colorIndexGL),
902 &mColorRenderTargets[colorIndexGL]);
1030 for (uint32_t colorIndexGL = 0; colorIndexGL < maxColorAttachments; ++colorIndexGL)
1032 ASSERT(colorIndexGL < mtl::kMaxRenderTargets);
1034 mtl::RenderPassColorAttachmentDesc &colorAttachment = desc.colorAttachments[colorIndexGL];
[all …]
DFrameBufferMtl.h168 angle::Result updateColorRenderTarget(const gl::Context *context, size_t colorIndexGL);