Home
last modified time | relevance | path

Searched refs:blendState (Results 1 – 25 of 28) sorted by relevance

12

/external/angle/src/libANGLE/renderer/d3d/d3d9/
DStateManager9.cpp145 const gl::BlendState &blendState = state.getBlendState(); in syncState() local
146 if (blendState.sourceBlendRGB != mCurBlendState.sourceBlendRGB || in syncState()
147 blendState.destBlendRGB != mCurBlendState.destBlendRGB || in syncState()
148 blendState.sourceBlendAlpha != mCurBlendState.sourceBlendAlpha || in syncState()
149 blendState.destBlendAlpha != mCurBlendState.destBlendAlpha) in syncState()
165 const gl::BlendState &blendState = state.getBlendState(); in syncState() local
166 if (blendState.blendEquationRGB != mCurBlendState.blendEquationRGB || in syncState()
167 blendState.blendEquationAlpha != mCurBlendState.blendEquationAlpha) in syncState()
187 const gl::BlendState &blendState = state.getBlendState(); in syncState() local
188 if (blendState.colorMaskRed != mCurBlendState.colorMaskRed || in syncState()
[all …]
DStateManager9.h79 void setBlendColor(const gl::BlendState &blendState, const gl::ColorF &blendColor);
80 void setBlendFuncsEquations(const gl::BlendState &blendState);
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineBlendTests.cpp454 const VkPipelineColorBlendAttachmentState &blendState = m_blendStates[quadNdx]; in checkSupport() local
455 if (blendState.srcColorBlendFactor == VK_BLEND_FACTOR_CONSTANT_ALPHA || in checkSupport()
456 blendState.dstColorBlendFactor == VK_BLEND_FACTOR_CONSTANT_ALPHA || in checkSupport()
457 blendState.srcColorBlendFactor == VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA || in checkSupport()
458 blendState.dstColorBlendFactor == VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA) in checkSupport()
1110 const VkPipelineColorBlendAttachmentState &blendState = m_blendStates[quadNdx]; in verifyImage() local
1116 … renderState.fragOps.blendRGBState.srcFunc = mapVkBlendFactor(blendState.srcColorBlendFactor); in verifyImage()
1117 … renderState.fragOps.blendRGBState.dstFunc = mapVkBlendFactor(blendState.dstColorBlendFactor); in verifyImage()
1118 renderState.fragOps.blendRGBState.equation = mapVkBlendOp(blendState.colorBlendOp); in verifyImage()
1119 … renderState.fragOps.blendAState.srcFunc = mapVkBlendFactor(blendState.srcAlphaBlendFactor); in verifyImage()
[all …]
DvktPipelineMultisampleTests.cpp152 … const VkPipelineColorBlendAttachmentState &blendState, GeometryType geometryType, float pointSize,
437 … const VkPipelineColorBlendAttachmentState &blendState, const RenderType renderType,
445 … const VkPipelineColorBlendAttachmentState &blendState, const RenderType renderType,
455 const VkPipelineColorBlendAttachmentState &blendState,
546 … const VkPipelineColorBlendAttachmentState &blendState, const TestModeFlags modeFlags,
574 … const VkPipelineColorBlendAttachmentState &blendState, ImageBackingMode backingMode,
604 const VkPipelineColorBlendAttachmentState &blendState,
621 … const VkPipelineColorBlendAttachmentState &blendState, ImageBackingMode backingMode,
650 … const VkPipelineColorBlendAttachmentState &blendState, ImageBackingMode backingMode,
678 … const VkPipelineColorBlendAttachmentState &blendState, GeometryType geometryType,
[all …]
DvktPipelineDepthTests.cpp701 const vk::VkPipelineColorBlendAttachmentState blendState{ local
721 &blendState, // const VkPipelineColorBlendAttachmentState* pAttachments
DvktPipelineStencilTests.cpp576 const vk::VkPipelineColorBlendAttachmentState blendState{ local
594 … &blendState, // const VkPipelineColorBlendAttachmentState* pAttachments
/external/angle/src/libANGLE/renderer/wgpu/
DContextWgpu.cpp617 const gl::BlendStateExt &blendState = mState.getBlendStateExt(); in syncState() local
618 for (size_t i = 0; i < blendState.getDrawBufferCount(); i++) in syncState()
621 i, gl_wgpu::GetBlendFactor(blendState.getSrcColorIndexed(i)), in syncState()
622 gl_wgpu::GetBlendFactor(blendState.getDstColorIndexed(i)), in syncState()
623 gl_wgpu::GetBlendFactor(blendState.getSrcAlphaIndexed(i)), in syncState()
624 gl_wgpu::GetBlendFactor(blendState.getDstAlphaIndexed(i)))) in syncState()
633 const gl::BlendStateExt &blendState = mState.getBlendStateExt(); in syncState() local
634 for (size_t i = 0; i < blendState.getDrawBufferCount(); i++) in syncState()
637 i, gl_wgpu::GetBlendEquation(blendState.getEquationColorIndexed(i)), in syncState()
638 gl_wgpu::GetBlendEquation(blendState.getEquationAlphaIndexed(i)))) in syncState()
/external/deqp/modules/gles3/functional/
Des3fDrawBuffersIndexedTests.cpp295 …DrawBufferInfo(bool render, const IVec2 &size, const BlendState &blendState, const TextureFormat &…
321 DrawBufferInfo::DrawBufferInfo(bool render, const IVec2 &size, const BlendState &blendState, in DrawBufferInfo() argument
326 , m_blendState(blendState) in DrawBufferInfo()
1272 void genRandomBlendState(de::Random &rng, BlendState &blendState) in genRandomBlendState() argument
1275 blendState.enableBlend = rng.getBool(); in genRandomBlendState()
1280 blendState.blendEq = getRandomBlendEq(rng); in genRandomBlendState()
1286 blendState.blendEq = SeparateBlendEq(rgb, alpha); in genRandomBlendState()
1293 blendState.blendFunc = getRandomBlendFunc(rng); in genRandomBlendState()
1299 blendState.blendFunc = SeparateBlendFunc(rgb, alpha); in genRandomBlendState()
1310 blendState.colorMask = BVec4(red, blue, green, alpha); in genRandomBlendState()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationSmokeTests.cpp724 VkPipelineColorBlendStateCreateInfo blendState; in generateWork() local
900 deMemset(&blendState, 0xcd, sizeof(blendState)); in generateWork()
901 blendState.sType = VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO; in generateWork()
902 blendState.pNext = nullptr; in generateWork()
903 blendState.flags = 0; in generateWork()
904 blendState.logicOpEnable = VK_FALSE; in generateWork()
905 blendState.logicOp = VK_LOGIC_OP_COPY; in generateWork()
906 blendState.attachmentCount = 1; in generateWork()
907 blendState.pAttachments = &blendAttachment; in generateWork()
932 pipelineState.pColorBlendState = &blendState; in generateWork()
/external/swiftshader/src/Device/
DContext.cpp1084 blendState[i] = { (attachment.blendEnable != VK_FALSE), in setColorBlendState()
1100 auto &state = blendState[index]; in getBlendState()
1130 auto &state = blendState[index]; in alphaBlendActive()
1132 if(!attachments.colorBuffer[location] || !blendState[index].alphaBlendEnable) in alphaBlendActive()
1295 auto &state = blendState[index]; in colorWriteActive()
DPixelProcessor.hpp88 vk::BlendState blendState[MAX_COLOR_BUFFERS]; member
DPixelProcessor.cpp147 …state.blendState[location] = fragmentOutputInterfaceState.getBlendState(location, attachments, fra… in update()
DContext.hpp438 BlendState blendState[sw::MAX_COLOR_BUFFERS] = {}; member
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DClear11.cpp618 const d3d11::BlendState *blendState = nullptr; in clearFramebuffer() local
619 ANGLE_TRY(mRenderer->getBlendState(context, mBlendStateKey, &blendState)); in clearFramebuffer()
679 stateManager->setSimpleBlendState(blendState); in clearFramebuffer()
DResourceManager11.cpp107 ID3D11BlendState **blendState) in CreateResource() argument
109 return device->CreateBlendState(desc, blendState); in CreateResource()
DStateManager11.h280 void setSimpleBlendState(const d3d11::BlendState *blendState);
/external/swiftshader/src/Pipeline/
DPixelRoutine.cpp1525 switch(state.blendState[index].blendOperation) in computeAdvancedBlendMode()
1595 UNSUPPORTED("Unsupported advanced VkBlendOp: %d", int(state.blendState[index].blendOperation)); in computeAdvancedBlendMode()
1655 if(!state.blendState[index].alphaBlendEnable) in alphaBlend()
1842 …blendFactorRGB(sourceFactor, sourceColor, destColor, state.blendState[index].sourceBlendFactor, fo… in alphaBlend()
1843 …blendFactorRGB(destFactor, sourceColor, destColor, state.blendState[index].destBlendFactor, format… in alphaBlend()
1844 …blendFactorAlpha(sourceFactor.w, sourceColor.w, destColor.w, state.blendState[index].sourceBlendFa… in alphaBlend()
1845 …blendFactorAlpha(destFactor.w, sourceColor.w, destColor.w, state.blendState[index].destBlendFactor… in alphaBlend()
1849 switch(state.blendState[index].blendOperation) in alphaBlend()
1909 UNSUPPORTED("VkBlendOp: %d", int(state.blendState[index].blendOperation)); in alphaBlend()
1912 switch(state.blendState[index].blendOperationAlpha) in alphaBlend()
[all …]
/external/angle/src/libANGLE/
DvalidationES.h838 ANGLE_INLINE bool ValidateColorMasksForSharedExponentColorBuffers(const BlendStateExt &blendState, in ValidateColorMasksForSharedExponentColorBuffers() argument
845 blendState.expandColorMaskValue(true, true, true, false); in ValidateColorMasksForSharedExponentColorBuffers()
847 blendState.getColorMaskBits() & rgbEnabledBits; in ValidateColorMasksForSharedExponentColorBuffers()
DvalidationES.cpp4262 const BlendState &blendState = state.getBlendState(); in ValidateDrawStates() local
4263 if (!blendState.colorMaskRed || !blendState.colorMaskGreen || !blendState.colorMaskBlue || in ValidateDrawStates()
4264 !blendState.colorMaskAlpha) in ValidateDrawStates()
4271 if (blendState.blend) in ValidateDrawStates()
/external/intel-media-driver/media_softlet/linux/common/vp/ddi/
Dddi_vp_functions.cpp3655 const VABlendState *blendState = nullptr; in DdiSetProcPipelineBlendingParams() local
3661 blendState = pipelineParam->blend_state; in DdiSetProcPipelineBlendingParams()
3693 if (!blendState) in DdiSetProcPipelineBlendingParams()
3712 if (blendState->flags & VA_BLEND_GLOBAL_ALPHA) in DdiSetProcPipelineBlendingParams()
3717 if (blendState->flags & VA_BLEND_PREMULTIPLIED_ALPHA) in DdiSetProcPipelineBlendingParams()
3743 SetBlendingTypes(preMultAlpha, globalAlpha, src->pBlendingParams, blendState->global_alpha); in DdiSetProcPipelineBlendingParams()
3749 if (blendState->global_alpha < 1.0f) in DdiSetProcPipelineBlendingParams()
3752 src->pBlendingParams->fAlpha = blendState->global_alpha; in DdiSetProcPipelineBlendingParams()
3782 if (blendState->flags & VA_BLEND_LUMA_KEY) in DdiSetProcPipelineBlendingParams()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassMultisampleTests.cpp1208 const VkPipelineColorBlendStateCreateInfo blendState{ in createRenderPipeline() local
1242 .setupFragmentOutputState(*m_renderPass, 0u, &blendState, &multisampleState) in createRenderPipeline()
1292 …VkPipelineColorBlendStateCreateInfo blendState{VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE… in createSplitPipelines() local
1331 blendState.attachmentCount = colorAttachmentCount; in createSplitPipelines()
1360 ….setupFragmentOutputState(*m_renderPass, ndx + 1u, &blendState, &multisampleState, VK_NULL_HANDLE,… in createSplitPipelines()
DvktRenderPassDitheringTests.cpp864 const VkPipelineColorBlendAttachmentState blendState = { in createDrawResources() local
874 colorBlendAttachmentStates.emplace_back(blendState); in createDrawResources()
DvktRenderPassMultisampleResolveTests.cpp1782 …const VkPipelineColorBlendStateCreateInfo blendState = {VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STA… in createRenderPipeline() local
1827 … &blendState, // const VkPipelineColorBlendStateCreateInfo* colorBlendStateCreateInfo in createRenderPipeline()
2769 …const VkPipelineColorBlendStateCreateInfo blendState{VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_… in createRenderPipeline() local
2819 ….setupFragmentOutputState(*m_renderPass, secondSubpass, &blendState, &multisampleState, VK_NULL_HA… in createRenderPipeline()
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_cache_utils.cpp3534 createInfo.pColorBlendState = &fragmentOutputState.blendState; in initializePipeline()
4123 stateOut->blendState.sType = VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO; in initializePipelineFragmentOutputState()
4124 stateOut->blendState.flags = 0; in initializePipelineFragmentOutputState()
4125 stateOut->blendState.logicOpEnable = in initializePipelineFragmentOutputState()
4127 stateOut->blendState.logicOp = in initializePipelineFragmentOutputState()
4129 stateOut->blendState.attachmentCount = in initializePipelineFragmentOutputState()
4131 stateOut->blendState.pAttachments = stateOut->blendAttachmentState.data(); in initializePipelineFragmentOutputState()
4139 stateOut->blendState.attachmentCount = static_cast<uint32_t>( in initializePipelineFragmentOutputState()
4148 stateOut->blendState.flags |= in initializePipelineFragmentOutputState()
4163 for (uint32_t colorIndexGL = 0; colorIndexGL < stateOut->blendState.attachmentCount; in initializePipelineFragmentOutputState()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawAhbExternalFormatResolveTests.cpp1331 const vk::VkPipelineColorBlendStateCreateInfo blendState = { in createPipelines() local
1374 &blendState, // const VkPipelineColorBlendStateCreateInfo* pColorBlendState in createPipelines()

12