/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
D | StateManager9.cpp | 142 const gl::BlendState &blendState = state.getBlendState(); in syncState() local 143 if (blendState.sourceBlendRGB != mCurBlendState.sourceBlendRGB || in syncState() 144 blendState.destBlendRGB != mCurBlendState.destBlendRGB || in syncState() 145 blendState.sourceBlendAlpha != mCurBlendState.sourceBlendAlpha || in syncState() 146 blendState.destBlendAlpha != mCurBlendState.destBlendAlpha) in syncState() 162 const gl::BlendState &blendState = state.getBlendState(); in syncState() local 163 if (blendState.blendEquationRGB != mCurBlendState.blendEquationRGB || in syncState() 164 blendState.blendEquationAlpha != mCurBlendState.blendEquationAlpha) in syncState() 185 const gl::BlendState &blendState = state.getBlendState(); in syncState() local 186 if (blendState.colorMaskRed != mCurBlendState.colorMaskRed || in syncState() [all …]
|
D | StateManager9.h | 77 void setBlendColor(const gl::BlendState &blendState, const gl::ColorF &blendColor); 78 void setBlendFuncsEquations(const gl::BlendState &blendState);
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
D | StateManager9.cpp | 143 const gl::BlendState &blendState = state.getBlendState(); in syncState() local 144 if (blendState.sourceBlendRGB != mCurBlendState.sourceBlendRGB || in syncState() 145 blendState.destBlendRGB != mCurBlendState.destBlendRGB || in syncState() 146 blendState.sourceBlendAlpha != mCurBlendState.sourceBlendAlpha || in syncState() 147 blendState.destBlendAlpha != mCurBlendState.destBlendAlpha) in syncState() 163 const gl::BlendState &blendState = state.getBlendState(); in syncState() local 164 if (blendState.blendEquationRGB != mCurBlendState.blendEquationRGB || in syncState() 165 blendState.blendEquationAlpha != mCurBlendState.blendEquationAlpha) in syncState() 185 const gl::BlendState &blendState = state.getBlendState(); in syncState() local 186 if (blendState.colorMaskRed != mCurBlendState.colorMaskRed || in syncState() [all …]
|
D | StateManager9.h | 77 void setBlendColor(const gl::BlendState &blendState, const gl::ColorF &blendColor); 78 void setBlendFuncsEquations(const gl::BlendState &blendState);
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | RenderStateCache.cpp | 48 const gl::BlendState &blendState) in GetBlendStateKey() argument 53 gl_d3d11::ConvertColorMask(blendState.colorMaskRed, blendState.colorMaskGreen, in GetBlendStateKey() 54 blendState.colorMaskBlue, blendState.colorMaskAlpha); in GetBlendStateKey() 56 key.blendState = blendState; in GetBlendStateKey() 90 const gl::BlendState &blendState = key.blendState; in getBlendState() local 92 blendDesc.AlphaToCoverageEnable = blendState.sampleAlphaToCoverage; in getBlendState() 97 if (blendState.blend) in getBlendState() 100 rtDesc0.SrcBlend = gl_d3d11::ConvertBlendFunc(blendState.sourceBlendRGB, false); in getBlendState() 101 rtDesc0.DestBlend = gl_d3d11::ConvertBlendFunc(blendState.destBlendRGB, false); in getBlendState() 102 rtDesc0.BlendOp = gl_d3d11::ConvertBlendOp(blendState.blendEquationRGB); in getBlendState() [all …]
|
D | Clear11.cpp | 290 mBlendStateKey.blendState.blend = false; in ensureResourcesInitialized() 291 mBlendStateKey.blendState.sourceBlendRGB = GL_ONE; in ensureResourcesInitialized() 292 mBlendStateKey.blendState.sourceBlendAlpha = GL_ONE; in ensureResourcesInitialized() 293 mBlendStateKey.blendState.destBlendRGB = GL_ZERO; in ensureResourcesInitialized() 294 mBlendStateKey.blendState.destBlendAlpha = GL_ZERO; in ensureResourcesInitialized() 295 mBlendStateKey.blendState.blendEquationRGB = GL_FUNC_ADD; in ensureResourcesInitialized() 296 mBlendStateKey.blendState.blendEquationAlpha = GL_FUNC_ADD; in ensureResourcesInitialized() 297 mBlendStateKey.blendState.sampleAlphaToCoverage = false; in ensureResourcesInitialized() 298 mBlendStateKey.blendState.dither = true; in ensureResourcesInitialized() 643 mBlendStateKey.blendState.colorMaskRed = clearParams.colorMaskRed; in clearFramebuffer() [all …]
|
D | StateManager11.cpp | 961 const gl::BlendState &blendState = state.getBlendState(); in syncState() local 962 if (blendState.blendEquationRGB != mCurBlendState.blendEquationRGB || in syncState() 963 blendState.blendEquationAlpha != mCurBlendState.blendEquationAlpha) in syncState() 971 const gl::BlendState &blendState = state.getBlendState(); in syncState() local 972 if (blendState.sourceBlendRGB != mCurBlendState.sourceBlendRGB || in syncState() 973 blendState.destBlendRGB != mCurBlendState.destBlendRGB || in syncState() 974 blendState.sourceBlendAlpha != mCurBlendState.sourceBlendAlpha || in syncState() 975 blendState.destBlendAlpha != mCurBlendState.destBlendAlpha) in syncState() 1002 const gl::BlendState &blendState = state.getBlendState(); in syncState() local 1003 if (blendState.colorMaskRed != mCurBlendState.colorMaskRed || in syncState() [all …]
|
D | RenderStateCache.h | 72 const gl::BlendState &blendState);
|
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
D | Context.cpp | 563 blendState[i] = { (attachment.blendEnable != VK_FALSE), in GraphicsState() 721 if(!blendState[index].alphaBlendEnable) in alphaBlendActive() 743 if(!blendState[index].alphaBlendEnable) return VK_BLEND_FACTOR_ONE; in sourceBlendFactor() 745 switch(blendState[index].blendOperation) in sourceBlendFactor() 750 return blendState[index].sourceBlendFactor; in sourceBlendFactor() 773 return blendState[index].sourceBlendFactor; in sourceBlendFactor() 780 if(!blendState[index].alphaBlendEnable) return VK_BLEND_FACTOR_ONE; in destBlendFactor() 782 switch(blendState[index].blendOperation) in destBlendFactor() 787 return blendState[index].destBlendFactor; in destBlendFactor() 810 return blendState[index].destBlendFactor; in destBlendFactor() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
D | vktPipelineBlendTests.cpp | 456 const VkPipelineColorBlendAttachmentState& blendState = m_blendStates[quadNdx]; in checkSupport() local 457 if (blendState.srcColorBlendFactor == VK_BLEND_FACTOR_CONSTANT_ALPHA || in checkSupport() 458 blendState.dstColorBlendFactor == VK_BLEND_FACTOR_CONSTANT_ALPHA || in checkSupport() 459 blendState.srcColorBlendFactor == VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA || in checkSupport() 460 blendState.dstColorBlendFactor == VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA) in checkSupport() 1099 const VkPipelineColorBlendAttachmentState& blendState = m_blendStates[quadNdx]; in verifyImage() local 1104 renderState.fragOps.blendRGBState.srcFunc = mapVkBlendFactor(blendState.srcColorBlendFactor); in verifyImage() 1105 renderState.fragOps.blendRGBState.dstFunc = mapVkBlendFactor(blendState.dstColorBlendFactor); in verifyImage() 1106 renderState.fragOps.blendRGBState.equation = mapVkBlendOp(blendState.colorBlendOp); in verifyImage() 1107 renderState.fragOps.blendAState.srcFunc = mapVkBlendFactor(blendState.srcAlphaBlendFactor); in verifyImage() [all …]
|
D | vktPipelineMultisampleTests.cpp | 149 const VkPipelineColorBlendAttachmentState& blendState, 454 const VkPipelineColorBlendAttachmentState& blendState, 470 const VkPipelineColorBlendAttachmentState& blendState, 489 const VkPipelineColorBlendAttachmentState& blendState, 586 const VkPipelineColorBlendAttachmentState& blendState, 617 const VkPipelineColorBlendAttachmentState& blendState, 648 const VkPipelineColorBlendAttachmentState& blendState, 667 const VkPipelineColorBlendAttachmentState& blendState, 697 const VkPipelineColorBlendAttachmentState& blendState, 726 const VkPipelineColorBlendAttachmentState& blendState, [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineBlendTests.cpp | 456 const VkPipelineColorBlendAttachmentState& blendState = m_blendStates[quadNdx]; in checkSupport() local 457 if (blendState.srcColorBlendFactor == VK_BLEND_FACTOR_CONSTANT_ALPHA || in checkSupport() 458 blendState.dstColorBlendFactor == VK_BLEND_FACTOR_CONSTANT_ALPHA || in checkSupport() 459 blendState.srcColorBlendFactor == VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA || in checkSupport() 460 blendState.dstColorBlendFactor == VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA) in checkSupport() 1099 const VkPipelineColorBlendAttachmentState& blendState = m_blendStates[quadNdx]; in verifyImage() local 1104 renderState.fragOps.blendRGBState.srcFunc = mapVkBlendFactor(blendState.srcColorBlendFactor); in verifyImage() 1105 renderState.fragOps.blendRGBState.dstFunc = mapVkBlendFactor(blendState.dstColorBlendFactor); in verifyImage() 1106 renderState.fragOps.blendRGBState.equation = mapVkBlendOp(blendState.colorBlendOp); in verifyImage() 1107 renderState.fragOps.blendAState.srcFunc = mapVkBlendFactor(blendState.srcAlphaBlendFactor); in verifyImage() [all …]
|
D | vktPipelineMultisampleTests.cpp | 149 const VkPipelineColorBlendAttachmentState& blendState, 454 const VkPipelineColorBlendAttachmentState& blendState, 470 const VkPipelineColorBlendAttachmentState& blendState, 489 const VkPipelineColorBlendAttachmentState& blendState, 586 const VkPipelineColorBlendAttachmentState& blendState, 617 const VkPipelineColorBlendAttachmentState& blendState, 648 const VkPipelineColorBlendAttachmentState& blendState, 667 const VkPipelineColorBlendAttachmentState& blendState, 697 const VkPipelineColorBlendAttachmentState& blendState, 726 const VkPipelineColorBlendAttachmentState& blendState, [all …]
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/ |
D | WireOptionalTests.cpp | 79 WGPUBlendState blendState = {}; in TEST_F() local 80 blendState.alpha = blendComponent; in TEST_F() 81 blendState.color = blendComponent; in TEST_F() 84 colorTargetState.blend = &blendState; in TEST_F()
|
D | WireArgumentTests.cpp | 108 WGPUBlendState blendState = {}; in TEST_F() local 109 blendState.alpha = blendComponent; in TEST_F() 110 blendState.color = blendComponent; in TEST_F() 113 colorTargetState.blend = &blendState; in TEST_F()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | vk_cache_utils.cpp | 615 VkPipelineColorBlendStateCreateInfo blendState = {}; in initializePipeline() local 652 sizeof(blendAttachmentState) + sizeof(blendState) + sizeof(bindingDescs) + in initializePipeline() 804 blendState.sType = VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO; in initializePipeline() 805 blendState.flags = 0; in initializePipeline() 806 blendState.logicOpEnable = static_cast<VkBool32>(inputAndBlend.logic.opEnable); in initializePipeline() 807 blendState.logicOp = static_cast<VkLogicOp>(inputAndBlend.logic.op); in initializePipeline() 808 blendState.attachmentCount = static_cast<uint32_t>(mRenderPassDesc.colorAttachmentRange()); in initializePipeline() 809 blendState.pAttachments = blendAttachmentState.data(); in initializePipeline() 813 blendState.blendConstants[i] = inputAndBlend.blendConstants[i]; in initializePipeline() 818 for (uint32_t colorIndexGL = 0; colorIndexGL < blendState.attachmentCount; ++colorIndexGL) in initializePipeline() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | FramebufferD3D.cpp | 37 const auto &blendState = state.getBlendState(); in GetClearParameters() local 45 clearParams.colorMaskRed = blendState.colorMaskRed; in GetClearParameters() 46 clearParams.colorMaskGreen = blendState.colorMaskGreen; in GetClearParameters() 47 clearParams.colorMaskBlue = blendState.colorMaskBlue; in GetClearParameters() 48 clearParams.colorMaskAlpha = blendState.colorMaskAlpha; in GetClearParameters()
|
/third_party/skia/src/gpu/dawn/ |
D | GrDawnProgramBuilder.cpp | 188 wgpu::BlendState blendState; in create_blend_state() local 189 blendState.color = {operation, srcFactor, dstFactor}; in create_blend_state() 190 blendState.alpha = {operation, srcFactorAlpha, dstFactorAlpha}; in create_blend_state() 192 return blendState; in create_blend_state() 383 wgpu::BlendState blendState = create_blend_state(gpu, pipeline); in Build() local 387 colorTargetState.blend = &blendState; in Build()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fDrawBuffersIndexedTests.cpp | 285 const BlendState& blendState, 300 DrawBufferInfo::DrawBufferInfo (bool render, const IVec2& size, const BlendState& blendState, const… in DrawBufferInfo() argument 304 , m_blendState (blendState) in DrawBufferInfo() 1281 void genRandomBlendState (de::Random& rng, BlendState& blendState) in genRandomBlendState() argument 1284 blendState.enableBlend = rng.getBool(); in genRandomBlendState() 1289 blendState.blendEq = getRandomBlendEq(rng); in genRandomBlendState() 1295 blendState.blendEq = SeparateBlendEq(rgb, alpha); in genRandomBlendState() 1302 blendState.blendFunc = getRandomBlendFunc(rng); in genRandomBlendState() 1308 blendState.blendFunc = SeparateBlendFunc(rgb, alpha); in genRandomBlendState() 1319 blendState.colorMask = BVec4(red, blue, green, alpha); in genRandomBlendState() [all …]
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fDrawBuffersIndexedTests.cpp | 285 const BlendState& blendState, 300 DrawBufferInfo::DrawBufferInfo (bool render, const IVec2& size, const BlendState& blendState, const… in DrawBufferInfo() argument 304 , m_blendState (blendState) in DrawBufferInfo() 1269 void genRandomBlendState (de::Random& rng, BlendState& blendState) in genRandomBlendState() argument 1272 blendState.enableBlend = rng.getBool(); in genRandomBlendState() 1277 blendState.blendEq = getRandomBlendEq(rng); in genRandomBlendState() 1283 blendState.blendEq = SeparateBlendEq(rgb, alpha); in genRandomBlendState() 1290 blendState.blendFunc = getRandomBlendFunc(rng); in genRandomBlendState() 1296 blendState.blendFunc = SeparateBlendFunc(rgb, alpha); in genRandomBlendState() 1307 blendState.colorMask = BVec4(red, blue, green, alpha); in genRandomBlendState() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | StateManagerGL.cpp | 1530 const auto &blendState = state.getBlendState(); in syncState() local 1531 setBlendFuncs(blendState.sourceBlendRGB, blendState.destBlendRGB, in syncState() 1532 blendState.sourceBlendAlpha, blendState.destBlendAlpha); in syncState() 1537 const auto &blendState = state.getBlendState(); in syncState() local 1538 setBlendEquations(blendState.blendEquationRGB, blendState.blendEquationAlpha); in syncState() 1546 const auto &blendState = state.getBlendState(); in syncState() local 1547 setColorMaskForFramebuffer(blendState.colorMaskRed, blendState.colorMaskGreen, in syncState() 1548 blendState.colorMaskBlue, blendState.colorMaskAlpha, in syncState()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/ |
D | vktSynchronizationSmokeTests.cpp | 717 VkPipelineColorBlendStateCreateInfo blendState; in generateWork() local 889 deMemset(&blendState, 0xcd, sizeof(blendState)); in generateWork() 890 blendState.sType = VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO; in generateWork() 891 blendState.pNext = DE_NULL; in generateWork() 892 blendState.flags = 0; in generateWork() 893 blendState.logicOpEnable = VK_FALSE; in generateWork() 894 blendState.logicOp = VK_LOGIC_OP_COPY; in generateWork() 895 blendState.attachmentCount = 1; in generateWork() 896 blendState.pAttachments = &blendAttachment; in generateWork() 921 pipelineState.pColorBlendState = &blendState; in generateWork()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/ |
D | vktSynchronizationSmokeTests.cpp | 717 VkPipelineColorBlendStateCreateInfo blendState; in generateWork() local 889 deMemset(&blendState, 0xcd, sizeof(blendState)); in generateWork() 890 blendState.sType = VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO; in generateWork() 891 blendState.pNext = DE_NULL; in generateWork() 892 blendState.flags = 0; in generateWork() 893 blendState.logicOpEnable = VK_FALSE; in generateWork() 894 blendState.logicOp = VK_LOGIC_OP_COPY; in generateWork() 895 blendState.attachmentCount = 1; in generateWork() 896 blendState.pAttachments = &blendAttachment; in generateWork() 921 pipelineState.pColorBlendState = &blendState; in generateWork()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | Clear11.cpp | 648 const d3d11::BlendState *blendState = nullptr; in clearFramebuffer() local 649 ANGLE_TRY(mRenderer->getBlendState(context, mBlendStateKey, &blendState)); in clearFramebuffer() 709 stateManager->setSimpleBlendState(blendState); in clearFramebuffer()
|
/third_party/flutter/skia/third_party/externals/sdl/src/render/direct3d11/ |
D | SDL_render_d3d11.c | 2445 ID3D11BlendState *blendState = NULL; in D3D11_RenderSetBlendMode() local 2448 blendState = rendererData->blendModeBlend; in D3D11_RenderSetBlendMode() 2451 blendState = rendererData->blendModeAdd; in D3D11_RenderSetBlendMode() 2454 blendState = rendererData->blendModeMod; in D3D11_RenderSetBlendMode() 2457 blendState = NULL; in D3D11_RenderSetBlendMode() 2460 if (blendState != rendererData->currentBlendState) { in D3D11_RenderSetBlendMode() 2461 ID3D11DeviceContext_OMSetBlendState(rendererData->d3dContext, blendState, 0, 0xFFFFFFFF); in D3D11_RenderSetBlendMode() 2462 rendererData->currentBlendState = blendState; in D3D11_RenderSetBlendMode()
|