Home
last modified time | relevance | path

Searched refs:colorIndex (Results 1 – 25 of 37) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
DRenderTargetCache.h39 size_t colorIndex);
48 RenderTargetT *getColorDraw(const gl::FramebufferState &state, size_t colorIndex) const;
95 size_t colorIndex = static_cast<size_t>( in update() local
97 ANGLE_TRY(updateColorRenderTarget(context, state, colorIndex)); in update()
131 size_t colorIndex) in updateColorRenderTarget() argument
135 if (state.getReadBufferState() != GL_NONE && state.getReadIndex() == colorIndex) in updateColorRenderTarget()
140 return updateCachedRenderTarget(context, state.getColorAttachment(colorIndex), in updateColorRenderTarget()
141 &mColorRenderTargets[colorIndex]); in updateColorRenderTarget()
172 size_t colorIndex) const in getColorDraw() argument
174 return mColorRenderTargets[colorIndex]; in getColorDraw()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/
DRenderTargetCache.h37 size_t colorIndex);
92 size_t colorIndex = static_cast<size_t>( in update() local
94 ANGLE_TRY(updateColorRenderTarget(context, state, colorIndex)); in update()
120 size_t colorIndex) in updateColorRenderTarget() argument
122 return updateCachedRenderTarget(context, state.getColorAttachment(colorIndex), in updateColorRenderTarget()
123 &mColorRenderTargets[colorIndex]); in updateColorRenderTarget()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DEmulateGLFragColorBroadcast.cpp95 for (int colorIndex = 1; colorIndex < mMaxDrawBuffers; ++colorIndex) in broadcastGLFragColor() local
97 broadcastBlock->appendStatement(constructGLFragDataAssignNode(colorIndex)); in broadcastGLFragColor()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DEmulateGLFragColorBroadcast.cpp96 for (int colorIndex = 1; colorIndex < mMaxDrawBuffers; ++colorIndex) in broadcastGLFragColor() local
98 broadcastBlock->appendStatement(constructGLFragDataAssignNode(colorIndex)); in broadcastGLFragColor()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DFramebuffer.cpp630 for (uint32_t colorIndex = 0; in Framebuffer() local
631 colorIndex < static_cast<uint32_t>(mState.mColorAttachments.size()); ++colorIndex) in Framebuffer()
633 mDirtyColorAttachmentBindings.emplace_back(this, DIRTY_BIT_COLOR_ATTACHMENT_0 + colorIndex); in Framebuffer()
725 for (size_t colorIndex = 0; colorIndex < mState.mColorAttachments.size(); ++colorIndex) in detachResourceById() local
727 if (detachMatchingAttachment(context, &mState.mColorAttachments[colorIndex], resourceType, in detachResourceById()
1794 size_t colorIndex = binding - GL_COLOR_ATTACHMENT0; in setAttachmentImpl() local
1795 ASSERT(colorIndex < mState.mColorAttachments.size()); in setAttachmentImpl()
1796 size_t dirtyBit = DIRTY_BIT_COLOR_ATTACHMENT_0 + colorIndex; in setAttachmentImpl()
1797 updateAttachment(context, &mState.mColorAttachments[colorIndex], dirtyBit, in setAttachmentImpl()
1798 &mDirtyColorAttachmentBindings[colorIndex], type, binding, in setAttachmentImpl()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DClearTest.cpp2031 for (GLint colorIndex = 0; colorIndex < maxDrawBuffers; ++colorIndex) in TEST_P() local
2033 glBindRenderbuffer(GL_RENDERBUFFER, color[colorIndex]); in TEST_P()
2035 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 + colorIndex, in TEST_P()
2036 GL_RENDERBUFFER, color[colorIndex]); in TEST_P()
2038 drawBuffers[colorIndex] = GL_COLOR_ATTACHMENT0 + colorIndex; in TEST_P()
2059 for (GLint colorIndex = 0; colorIndex < maxDrawBuffers; ++colorIndex) in TEST_P() local
2061 glReadBuffer(GL_COLOR_ATTACHMENT0 + colorIndex); in TEST_P()
2118 for (GLint colorIndex = 0; colorIndex < maxDrawBuffers; ++colorIndex) in TEST_P() local
2120 glBindRenderbuffer(GL_RENDERBUFFER, color[colorIndex]); in TEST_P()
2122 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 + colorIndex, in TEST_P()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DFramebuffer.cpp801 for (uint32_t colorIndex = 0; in Framebuffer() local
802 colorIndex < static_cast<uint32_t>(mState.mColorAttachments.size()); ++colorIndex) in Framebuffer()
804 mDirtyColorAttachmentBindings.emplace_back(this, DIRTY_BIT_COLOR_ATTACHMENT_0 + colorIndex); in Framebuffer()
928 for (size_t colorIndex = 0; colorIndex < mState.mColorAttachments.size(); ++colorIndex) in detachResourceById() local
930 if (detachMatchingAttachment(context, &mState.mColorAttachments[colorIndex], resourceType, in detachResourceById()
1704 for (size_t colorIndex : mState.mEnabledDrawBuffers) in blit() local
1706 mDirtyBits.set(DIRTY_BIT_COLOR_BUFFER_CONTENTS_0 + colorIndex); in blit()
1988 size_t colorIndex = binding - GL_COLOR_ATTACHMENT0; in setAttachmentImpl() local
1989 ASSERT(colorIndex < mState.mColorAttachments.size()); in setAttachmentImpl()
1990 size_t dirtyBit = DIRTY_BIT_COLOR_ATTACHMENT_0 + colorIndex; in setAttachmentImpl()
[all …]
/third_party/skia/gm/
Dtextblobcolortrans.cpp83 size_t colorIndex = 0; in onDraw() local
86 paint.setColor(colors[colorIndex++ % count]); in onDraw()
/third_party/flutter/skia/gm/
Dtextblobcolortrans.cpp83 size_t colorIndex = 0; in onDraw() local
86 paint.setColor(colors[colorIndex++ % count]); in onDraw()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DFramebufferVk.h136 RenderTargetVk *getColorDrawRenderTarget(size_t colorIndex) const;
216 void updateActiveColorMasks(size_t colorIndex, bool r, bool g, bool b, bool a);
218 angle::Result updateColorAttachment(const gl::Context *context, uint32_t colorIndex);
223 uint32_t colorIndex);
DUtilsVk.cpp635 for (uint32_t colorIndex = 0; colorIndex < colorAttachmentCount; ++colorIndex) in InsertPreamble() local
637 entryPointIds.push_back(spirv::IdRef(kIdColor0Out + colorIndex)); in InsertPreamble()
673 void InsertColorDecorations(uint32_t colorIndex, angle::spirv::Blob *blobOut) in InsertColorDecorations() argument
676 spirv::WriteDecorate(blobOut, spirv::IdRef(kIdColor0Out + colorIndex), spv::DecorationLocation, in InsertColorDecorations()
677 {spirv::LiteralInteger(colorIndex)}); in InsertColorDecorations()
679 InsertInputDecorations(spirv::IdRef(kIdColor0In + colorIndex), colorIndex, colorIndex, blobOut); in InsertColorDecorations()
785 void InsertColorVariableDecl(uint32_t colorIndex, in InsertColorVariableDecl() argument
791 spirv::IdRef outId(kIdColor0Out + colorIndex); in InsertColorVariableDecl()
793 spirv::IdRef inId(kIdColor0In + colorIndex); in InsertColorVariableDecl()
835 void InsertColorUnresolveLoadStore(uint32_t colorIndex, in InsertColorUnresolveLoadStore() argument
[all …]
Dvk_utils.cpp907 int colorIndex = source - GL_DEBUG_SOURCE_API; in MakeDebugUtilsLabel() local
908 ASSERT(colorIndex >= 0 && static_cast<size_t>(colorIndex) < ArraySize(kLabelColors)); in MakeDebugUtilsLabel()
913 kLabelColors[colorIndex].writeData(label->color); in MakeDebugUtilsLabel()
DProgramExecutableVk.cpp666 for (uint32_t colorIndex = 0; colorIndex < gl::IMPLEMENTATION_MAX_DRAW_BUFFERS; ++colorIndex) in addInputAttachmentDescriptorSetDesc() local
1624 for (size_t colorIndex : framebufferVk->getState().getColorAttachmentsMask()) in updateInputAttachmentDescriptorSet() local
1631 RenderTargetVk *renderTargetVk = framebufferVk->getColorDrawRenderTarget(colorIndex); in updateInputAttachmentDescriptorSet()
1643 writeInfos[0].dstBinding = baseBinding + static_cast<uint32_t>(colorIndex); in updateInputAttachmentDescriptorSet()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DFramebufferVk.h179 void updateActiveColorMasks(size_t colorIndex, bool r, bool g, bool b, bool a);
181 angle::Result updateColorAttachment(const gl::Context *context, size_t colorIndex);
DCommandGraph.cpp181 int colorIndex = source - GL_DEBUG_SOURCE_API; in MakeDebugUtilsLabel() local
182 ASSERT(colorIndex >= 0 && static_cast<size_t>(colorIndex) < ArraySize(kLabelColors)); in MakeDebugUtilsLabel()
187 kLabelColors[colorIndex].writeData(label->color); in MakeDebugUtilsLabel()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcBlendEquationAdvancedTests.cpp1024 …for (int colorIndex = 0; colorIndex < (m_useRGB10A2Data ? m_numSpecificColors : m_numColors); colo… in iterate() local
1027 getTestColors(colorIndex, srcCol, dstCol); in iterate()
1031 getCoordinates(colorIndex, x, y); in iterate()
1061 …for (int colorIndex = 0; colorIndex < (m_useRGB10A2Data ? m_numSpecificColors : m_numColors); colo… in iterate() local
1064 getTestColors(colorIndex, srcCol, dstCol); in iterate()
1068 getCoordinates(colorIndex, x, y); in iterate()
1081 << "(" << colorIndex << ") " in iterate()
/third_party/skia/third_party/externals/swiftshader/tests/VulkanBenchmarks/
DTriangleBenchmarks.cpp223 int colorIndex = 0; in TriangleSampleTexture() local
234 data[i + 16 * j] = rgb[colorIndex++ % rgb.size()]; in TriangleSampleTexture()
/third_party/skia/tools/fonts/
DTestSVGTypeface.cpp1319 int colorIndex; in onDrawPath() local
1321 colorIndex = 0xFFFF; in onDrawPath()
1325 colorIndex = *colorIndexPtr; in onDrawPath()
1327 colorIndex = fColors->count(); in onDrawPath()
1328 fColors->set(color, colorIndex); in onDrawPath()
1331 fGlyf->fLayers.emplace_back(colorIndex, bounds); in onDrawPath()
1400 const int colorIndex = glyfInfos[i].fLayers[j].fLayerColorIndex; in exportTtxColr() local
1402 out->writeDecAsText(colorIndex); in exportTtxColr()
/third_party/flutter/skia/tools/fonts/
DTestSVGTypeface.cpp1323 int colorIndex; in onDrawPath() local
1325 colorIndex = 0xFFFF; in onDrawPath()
1329 colorIndex = *colorIndexPtr; in onDrawPath()
1331 colorIndex = fColors->count(); in onDrawPath()
1332 fColors->set(color, colorIndex); in onDrawPath()
1335 fGlyf->fLayers.emplace_back(colorIndex, bounds); in onDrawPath()
1404 const int colorIndex = glyfInfos[i].fLayers[j].fLayerColorIndex; in exportTtxColr() local
1406 out->writeDecAsText(colorIndex); in exportTtxColr()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DBlit11.cpp449 unsigned int colorIndex = 0; in GetSwizzleIndex() local
454 colorIndex = 0; in GetSwizzleIndex()
457 colorIndex = 1; in GetSwizzleIndex()
460 colorIndex = 2; in GetSwizzleIndex()
463 colorIndex = 3; in GetSwizzleIndex()
466 colorIndex = 4; in GetSwizzleIndex()
469 colorIndex = 5; in GetSwizzleIndex()
476 return colorIndex; in GetSwizzleIndex()
DFramebuffer11.cpp169 size_t colorIndex = in invalidateBase() local
172 mState.getColorAttachment(colorIndex); in invalidateBase()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DBlit11.cpp445 unsigned int colorIndex = 0; in GetSwizzleIndex() local
450 colorIndex = 0; in GetSwizzleIndex()
453 colorIndex = 1; in GetSwizzleIndex()
456 colorIndex = 2; in GetSwizzleIndex()
459 colorIndex = 3; in GetSwizzleIndex()
462 colorIndex = 4; in GetSwizzleIndex()
465 colorIndex = 5; in GetSwizzleIndex()
472 return colorIndex; in GetSwizzleIndex()
DFramebuffer11.cpp168 size_t colorIndex = in invalidateBase() local
171 mState.getColorAttachment(colorIndex); in invalidateBase()
/third_party/skia/src/gpu/vk/
DGrVkOpsRenderPass.cpp511 uint32_t colorIndex; in onClear() local
512 SkAssertResult(fCurrentRenderPass->colorAttachmentIndex(&colorIndex)); in onClear()
516 attachment.colorAttachment = colorIndex; in onClear()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_state_cache.mm630 for (uint32_t colorIndex = 0; colorIndex < this->numColorAttachments; ++colorIndex)
632 if (!enabledBuffers.test(colorIndex))
634 this->colorAttachments[colorIndex].writeMask = MTLColorWriteMaskNone;

12