Searched refs:colorIndexGL (Results 1 – 6 of 6) sorted by relevance
/external/angle/src/libANGLE/renderer/vulkan/ |
D | FramebufferVk.cpp | 745 for (size_t colorIndexGL : mState.getEnabledDrawBuffers()) in blit() local 747 RenderTargetVk *drawRenderTarget = mRenderTargetCache.getColors()[colorIndexGL]; in blit() 757 for (size_t colorIndexGL : mState.getEnabledDrawBuffers()) in blit() local 759 RenderTargetVk *drawRenderTarget = mRenderTargetCache.getColors()[colorIndexGL]; in blit() 888 for (size_t colorIndexGL : mState.getEnabledDrawBuffers()) in resolveColorWithCommand() local 890 RenderTargetVk *drawRenderTarget = mRenderTargetCache.getColors()[colorIndexGL]; in resolveColorWithCommand() 916 angle::Result FramebufferVk::updateColorAttachment(const gl::Context *context, size_t colorIndexGL) in updateColorAttachment() argument 920 ANGLE_TRY(mRenderTargetCache.updateColorRenderTarget(context, mState, colorIndexGL)); in updateColorAttachment() 923 RenderTargetVk *renderTarget = mRenderTargetCache.getColors()[colorIndexGL]; in updateColorAttachment() 927 updateActiveColorMasks(colorIndexGL, actualFormat.redBits > 0, actualFormat.greenBits > 0, in updateColorAttachment() [all …]
|
D | vk_cache_utils.cpp | 215 for (uint32_t colorIndexGL = 0; colorIndexGL < desc.colorAttachmentRange(); ++colorIndexGL) in InitializeRenderPassFromDesc() local 226 if (!desc.isColorAttachmentEnabled(colorIndexGL)) in InitializeRenderPassFromDesc() 237 angle::FormatID formatID = desc[colorIndexGL]; in InitializeRenderPassFromDesc() 404 void RenderPassDesc::packColorAttachment(size_t colorIndexGL, angle::FormatID formatID) in packColorAttachment() argument 406 ASSERT(colorIndexGL < mAttachmentFormats.size()); in packColorAttachment() 414 uint8_t &packedFormat = mAttachmentFormats[colorIndexGL]; in packColorAttachment() 420 std::max<uint8_t>(mColorAttachmentRange, static_cast<uint8_t>(colorIndexGL) + 1); in packColorAttachment() 423 void RenderPassDesc::packColorAttachmentGap(size_t colorIndexGL) in packColorAttachmentGap() argument 425 ASSERT(colorIndexGL < mAttachmentFormats.size()); in packColorAttachmentGap() 432 uint8_t &packedFormat = mAttachmentFormats[colorIndexGL]; in packColorAttachmentGap() [all …]
|
D | vk_cache_utils.h | 66 void packColorAttachment(size_t colorIndexGL, angle::FormatID formatID); 68 void packColorAttachmentGap(size_t colorIndexGL); 79 bool isColorAttachmentEnabled(size_t colorIndexGL) const; 429 void setSingleColorWriteMask(uint32_t colorIndexGL, VkColorComponentFlags colorComponentFlags);
|
D | ContextVk.cpp | 2292 for (size_t colorIndexGL : mDrawFramebuffer->getState().getEnabledDrawBuffers()) in clearWithRenderPassOp() local 2294 if (clearColorBuffers.test(colorIndexGL)) in clearWithRenderPassOp() 2296 RenderTargetVk *renderTarget = mDrawFramebuffer->getColorDrawRenderTarget(colorIndexGL); in clearWithRenderPassOp() 2301 if (mDrawFramebuffer->getEmulatedAlphaAttachmentMask()[colorIndexGL]) in clearWithRenderPassOp()
|
/external/angle/src/libANGLE/renderer/metal/ |
D | FrameBufferMtl.mm | 259 size_t colorIndexGL = static_cast<size_t>( 261 ANGLE_TRY(updateColorRenderTarget(context, colorIndexGL)); 358 size_t colorIndexGL) 360 ASSERT(colorIndexGL < mtl::kMaxRenderTargets); 362 mRenderPassDesc.colorAttachments[colorIndexGL].reset(); 363 return updateCachedRenderTarget(context, mState.getColorAttachment(colorIndexGL), 364 &mColorRenderTargets[colorIndexGL]); 405 for (size_t colorIndexGL : drawColorBuffers) 407 if (colorIndexGL >= mtl::kMaxRenderTargets) 411 const RenderTargetMtl *colorRenderTarget = mColorRenderTargets[colorIndexGL]; [all …]
|
D | FrameBufferMtl.h | 130 angle::Result updateColorRenderTarget(const gl::Context *context, size_t colorIndexGL);
|