Home
last modified time | relevance | path

Searched refs:blendState (Results 1 - 25 of 35) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
H A DStateManager9.cpp143 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 in syncState()
328 const gl::BlendState &blendState = glState.getBlendState(); setBlendDepthRasterStates() local
700 setBlendColor(const gl::BlendState &blendState, const gl::ColorF &blendColor) setBlendColor() argument
723 setBlendFuncsEquations(const gl::BlendState &blendState) setBlendFuncsEquations() argument
[all...]
H A DStateManager9.h77 void setBlendColor(const gl::BlendState &blendState, const gl::ColorF &blendColor);
78 void setBlendFuncsEquations(const gl::BlendState &blendState);
/third_party/skia/third_party/externals/swiftshader/src/Device/
H A DContext.cpp563 blendState[i] = { (attachment.blendEnable != VK_FALSE), in GraphicsState()
721 if(!blendState[index].alphaBlendEnable)
743 if(!blendState[index].alphaBlendEnable) return VK_BLEND_FACTOR_ONE;
745 switch(blendState[index].blendOperation)
750 return blendState[index].sourceBlendFactor;
773 return blendState[index].sourceBlendFactor;
780 if(!blendState[index].alphaBlendEnable) return VK_BLEND_FACTOR_ONE;
782 switch(blendState[index].blendOperation)
787 return blendState[index].destBlendFactor;
810 return blendState[inde
[all...]
H A DPixelProcessor.hpp84 vk::BlendState blendState[MAX_COLOR_BUFFERS]; member
H A DContext.hpp256 BlendState blendState[sw::MAX_COLOR_BUFFERS] = {}; member
H A DPixelProcessor.cpp139 state.blendState[i] = pipelineState.getBlendState(i, attachments, fragmentContainsKill); in update()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/
H A DWireOptionalTests.cpp79 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()
H A DWireArgumentTests.cpp108 WGPUBlendState blendState = {};
109 blendState.alpha = blendComponent;
110 blendState.color = blendComponent;
113 colorTargetState.blend = &blendState;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineBlendTests.cpp455 const VkPipelineColorBlendAttachmentState& blendState = m_blendStates[quadNdx]; in checkSupport() local
456 if (blendState.srcColorBlendFactor == VK_BLEND_FACTOR_CONSTANT_ALPHA || in checkSupport()
457 blendState.dstColorBlendFactor == VK_BLEND_FACTOR_CONSTANT_ALPHA || in checkSupport()
458 blendState.srcColorBlendFactor == VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA || in checkSupport()
459 blendState.dstColorBlendFactor == VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA) in checkSupport()
1097 const VkPipelineColorBlendAttachmentState& blendState = m_blendStates[quadNdx]; in verifyImage() local
1102 renderState.fragOps.blendRGBState.srcFunc = mapVkBlendFactor(blendState.srcColorBlendFactor); in verifyImage()
1103 renderState.fragOps.blendRGBState.dstFunc = mapVkBlendFactor(blendState.dstColorBlendFactor); in verifyImage()
1104 renderState.fragOps.blendRGBState.equation = mapVkBlendOp(blendState.colorBlendOp); in verifyImage()
1105 renderState.fragOps.blendAState.srcFunc = mapVkBlendFactor(blendState in verifyImage()
1512 const VkPipelineColorBlendAttachmentState& blendState = m_blendStates[quadNdx]; verifyImage() local
2010 getBlendStateName(const VkPipelineColorBlendAttachmentState& blendState) getBlendStateName() argument
[all...]
H A DvktPipelineMultisampleTests.cpp151 const VkPipelineColorBlendAttachmentState& blendState,
450 const VkPipelineColorBlendAttachmentState& blendState,
466 const VkPipelineColorBlendAttachmentState& blendState,
485 const VkPipelineColorBlendAttachmentState& blendState,
582 const VkPipelineColorBlendAttachmentState& blendState,
613 const VkPipelineColorBlendAttachmentState& blendState,
644 const VkPipelineColorBlendAttachmentState& blendState,
663 const VkPipelineColorBlendAttachmentState& blendState,
693 const VkPipelineColorBlendAttachmentState& blendState,
722 const VkPipelineColorBlendAttachmentState& blendState,
1330 MultisampleTest(tcu::TestContext& testContext, const std::string& name, const PipelineConstructionType pipelineConstructionType, const VkPipelineMultisampleStateCreateInfo& multisampleStateParams, const VkPipelineColorBlendAttachmentState& blendState, GeometryType geometryType, float pointSize, ImageBackingMode backingMode, const bool useFragmentShadingRate) MultisampleTest() argument
[all...]
H A DvktPipelineStencilTests.cpp604 const vk::VkPipelineColorBlendAttachmentState blendState
627 &blendState, // const VkPipelineColorBlendAttachmentState* pAttachments
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineBlendTests.cpp456 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 in verifyImage()
1514 const VkPipelineColorBlendAttachmentState& blendState = m_blendStates[quadNdx]; verifyImage() local
2012 getBlendStateName(const VkPipelineColorBlendAttachmentState& blendState) getBlendStateName() argument
[all...]
H A DvktPipelineMultisampleTests.cpp149 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,
1309 MultisampleTest(tcu::TestContext& testContext, const std::string& name, const std::string& description, const PipelineConstructionType pipelineConstructionType, const VkPipelineMultisampleStateCreateInfo& multisampleStateParams, const VkPipelineColorBlendAttachmentState& blendState, GeometryType geometryType, float pointSize, ImageBackingMode backingMode, const bool useFragmentShadingRate) MultisampleTest() argument
[all...]
H A DvktPipelineStencilTests.cpp599 const vk::VkPipelineColorBlendAttachmentState blendState
622 &blendState, // const VkPipelineColorBlendAttachmentState* pAttachments
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fDrawBuffersIndexedTests.cpp285 const BlendState& blendState,
300 DrawBufferInfo::DrawBufferInfo (bool render, const IVec2& size, const BlendState& blendState, const TextureFormat& format) 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 in genRandomBlendState()
1382 BlendState blendState; genRandomTest() local
[all...]
/third_party/skia/src/gpu/dawn/
H A DGrDawnProgramBuilder.cpp188 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/external/vulkancts/modules/vulkan/synchronization/
H A DvktSynchronizationSmokeTests.cpp716 VkPipelineColorBlendStateCreateInfo blendState; in generateWork() local
888 deMemset(&blendState, 0xcd, sizeof(blendState)); in generateWork()
889 blendState.sType = VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO; in generateWork()
890 blendState.pNext = DE_NULL; in generateWork()
891 blendState.flags = 0; in generateWork()
892 blendState.logicOpEnable = VK_FALSE; in generateWork()
893 blendState.logicOp = VK_LOGIC_OP_COPY; in generateWork()
894 blendState.attachmentCount = 1; in generateWork()
895 blendState in generateWork()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
H A DvktSynchronizationSmokeTests.cpp717 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 in generateWork()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A DClear11.cpp648 const d3d11::BlendState *blendState = nullptr; in clearFramebuffer() local
649 ANGLE_TRY(mRenderer->getBlendState(context, mBlendStateKey, &blendState)); in clearFramebuffer()
709 stateManager->setSimpleBlendState(blendState); in clearFramebuffer()
H A DResourceManager11.cpp107 ID3D11BlendState **blendState) in CreateResource()
109 return device->CreateBlendState(desc, blendState); in CreateResource()
104 CreateResource(ID3D11Device *device, const D3D11_BLEND_DESC *desc, void * , ID3D11BlendState **blendState) CreateResource() argument
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A Dvk_cache_utils.cpp1722 VkPipelineColorBlendStateCreateInfo blendState = {};
1797 sizeof(blendState) + sizeof(bindingDescs) + sizeof(attributeDescs);
2027 blendState.sType = VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO;
2028 blendState.flags = 0;
2029 blendState.logicOpEnable = static_cast<VkBool32>(inputAndBlend.logic.opEnable);
2030 blendState.logicOp = static_cast<VkLogicOp>(inputAndBlend.logic.op);
2031 blendState.attachmentCount = static_cast<uint32_t>(mRenderPassDesc.colorAttachmentRange());
2032 blendState.pAttachments = blendAttachmentState.data();
2040 blendState.attachmentCount =
2046 blendState
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
H A DvktRenderPassMultisampleTests.cpp929 const VkPipelineColorBlendStateCreateInfo blendState = in createRenderPipeline() local
960 &blendState); // const VkPipelineColorBlendStateCreateInfo* colorBlendStateCreateInfo in createRenderPipeline()
1079 const VkPipelineColorBlendStateCreateInfo blendState = in createSplitPipeline() local
1112 &blendState); // const VkPipelineColorBlendStateCreateInfo* colorBlendStateCreateInfo in createSplitPipeline()
H A DvktRenderPassDitheringTests.cpp751 const VkPipelineColorBlendAttachmentState blendState = in createDrawResources() local
762 colorBlendAttachmentStates.emplace_back(blendState); in createDrawResources()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
H A DvktRenderPassMultisampleTests.cpp929 const VkPipelineColorBlendStateCreateInfo blendState = in createRenderPipeline() local
960 &blendState); // const VkPipelineColorBlendStateCreateInfo* colorBlendStateCreateInfo in createRenderPipeline()
1079 const VkPipelineColorBlendStateCreateInfo blendState = in createSplitPipeline() local
1112 &blendState); // const VkPipelineColorBlendStateCreateInfo* colorBlendStateCreateInfo in createSplitPipeline()
H A DvktRenderPassDitheringTests.cpp753 const VkPipelineColorBlendAttachmentState blendState = in createDrawResources() local
764 colorBlendAttachmentStates.emplace_back(blendState); in createDrawResources()

Completed in 47 milliseconds

12