Home
last modified time | relevance | path

Searched refs:colorMask (Results 1 – 25 of 93) sorted by relevance

1234

/external/mesa3d/src/mesa/swrast/
Ds_clear.c44 const GLubyte colorMask[4]) in clear_rgba_buffer()
51 const GLboolean doMasking = (colorMask[0] == 0 || in clear_rgba_buffer()
52 colorMask[1] == 0 || in clear_rgba_buffer()
53 colorMask[2] == 0 || in clear_rgba_buffer()
54 colorMask[3] == 0); in clear_rgba_buffer()
81 _mesa_pack_colormask(rb->Format, colorMask, &pixelMask); \ in clear_rgba_buffer()
109 _mesa_pack_colormask(rb->Format, colorMask, pixelMask); \ in clear_rgba_buffer()
/external/deqp/framework/referencerenderer/
DrrFragmentOperations.cpp762 …umSamplesPerFragment, const Fragment* inputFragments, const tcu::BVec4& colorMask, const tcu::Pixe… in executeSignedValueWrite() argument
772 …(tcu::select(m_sampleRegister[regSampleNdx].signedValue, originalValue, colorMask), fragSampleNdx,… in executeSignedValueWrite()
777 …umSamplesPerFragment, const Fragment* inputFragments, const tcu::BVec4& colorMask, const tcu::Pixe… in executeUnsignedValueWrite() argument
787 …cu::select(m_sampleRegister[regSampleNdx].unsignedValue, originalValue, colorMask), fragSampleNdx,… in executeUnsignedValueWrite()
828 …MaskFactor (state.colorMask[0] ? 1.0f : 0.0f, state.colorMask[1] ? 1.0f : 0.0f, state.colorMask in render()
829 …gationFactor (state.colorMask[0] ? 0.0f : 1.0f, state.colorMask[1] ? 0.0f : 1.0f, state.colorMask in render()
1004 if (state.colorMask[0] && state.colorMask[1] && state.colorMask[2] && state.colorMask[3]) in render()
1011 else if (state.colorMask[0] || state.colorMask[1] || state.colorMask[2] || state.colorMask[3]) in render()
1027 if (state.colorMask[0] || state.colorMask[1] || state.colorMask[2] || state.colorMask[3]) in render()
1028 …ValueWrite(groupFirstFragNdx, numSamplesPerFragment, inputFragments, state.colorMask, colorBuffer); in render()
[all …]
DrrFragmentOperations.hpp149 …umSamplesPerFragment, const Fragment* inputFragments, const tcu::BVec4& colorMask, const tcu::Pixe…
150 …umSamplesPerFragment, const Fragment* inputFragments, const tcu::BVec4& colorMask, const tcu::Pixe…
DrrRenderState.hpp272 tcu::BVec4 colorMask; member
307 , colorMask (true) in FragmentOperationState()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_clear.c84 GLuint colorMask; in intelClear() local
92 memcpy(&colorMask, &ctx->Color.ColorMask[0], sizeof(colorMask)); in intelClear()
118 if (colorMask == ~0) { in intelClear()
/external/deqp/framework/common/
DtcuTexLookupVerifier.hpp48 BVec4 colorMask; //!< Channel mask for comparison. member
54 , colorMask (true) in LookupPrecision()
64 BVec4 colorMask; //!< Channel mask for comparison. member
70 , colorMask (true) in IntLookupPrecision()
/external/deqp/modules/gles3/functional/
Des3fRandomFragmentOpTests.cpp107 dst.colorMask = src.colorMask; in translateState()
205 wrapper.glColorMask(state.colorMask[0] ? GL_TRUE : GL_FALSE, in setGLState()
206 state.colorMask[1] ? GL_TRUE : GL_FALSE, in setGLState()
207 state.colorMask[2] ? GL_TRUE : GL_FALSE, in setGLState()
208 state.colorMask[3] ? GL_TRUE : GL_FALSE); in setGLState()
322 gl.colorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE); in iterate()
Des3fDepthStencilTests.cpp191 tcu::BVec4 colorMask; member
302 renderCmd.colorMask = tcu::BVec4(false); in generateBaseClearAndDepthCommands()
326 cmd.colorMask = tcu::BVec4(false, false, true, false); in generateDepthVisualizeCommands()
351 cmd.colorMask = tcu::BVec4(false, true, false, false); in generateStencilVisualizeCommands()
393 dst.state.colorMask = src.colorMask; in translateCommand()
462 glColorMask(command.colorMask[0] ? GL_TRUE : GL_FALSE, in render()
463 command.colorMask[1] ? GL_TRUE : GL_FALSE, in render()
464 command.colorMask[2] ? GL_TRUE : GL_FALSE, in render()
465 command.colorMask[3] ? GL_TRUE : GL_FALSE); in render()
624 testCmd.colorMask = tcu::BVec4(true); in iterate()
Des3fColorClearTest.cpp90 ClearInfo (const tcu::IVec4& rect, deUint8 colorMask, tcu::RGBA color) in ClearInfo() argument
91 : m_rect(rect), m_colorMask(colorMask), m_color(color) in ClearInfo()
158 …gl.colorMask((clearMask&0x1) != 0, (clearMask&0x2) != 0, (clearMask&0x4) != 0, (clearMask&0x8) != … in iterate()
Des3fDepthStencilClearTests.cpp335 gl.colorMask(GL_FALSE, GL_FALSE, GL_TRUE, GL_FALSE); in renderGL()
368 gl.colorMask (GL_FALSE, GL_TRUE, GL_FALSE, GL_FALSE); in renderGL()
395 gl.colorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE); in renderGL()
Des3fTextureMipmapTests.cpp403 lookupPrec.colorMask = getCompareMask(pixelFormat); in iterate()
720 lookupPrec.colorMask = getCompareMask(m_renderCtx.getRenderTarget().getPixelFormat()); in iterate()
908 comparePrec.colorMask = getCompareMask(m_renderCtx.getRenderTarget().getPixelFormat()); in iterate()
1061 comparePrec.colorMask = getCompareMask(m_renderCtx.getRenderTarget().getPixelFormat()); in iterate()
1350 lookupPrec.colorMask = getCompareMask(pixelFormat); in iterate()
1564 lookupPrec.colorMask = getCompareMask(pixelFormat); in iterate()
1877 lookupPrec.colorMask = getCompareMask(m_context.getRenderTarget().getPixelFormat()); in iterate()
2196 lookupPrec.colorMask = getCompareMask(pixelFormat); in iterate()
/external/deqp/modules/gles2/functional/
Des2fRandomFragmentOpTests.cpp107 dst.colorMask = src.colorMask; in translateState()
205 wrapper.glColorMask(state.colorMask[0] ? GL_TRUE : GL_FALSE, in setGLState()
206 state.colorMask[1] ? GL_TRUE : GL_FALSE, in setGLState()
207 state.colorMask[2] ? GL_TRUE : GL_FALSE, in setGLState()
208 state.colorMask[3] ? GL_TRUE : GL_FALSE); in setGLState()
322 gl.colorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE); in iterate()
Des2fDepthStencilTests.cpp191 tcu::BVec4 colorMask; member
302 renderCmd.colorMask = tcu::BVec4(false); in generateBaseClearAndDepthCommands()
326 cmd.colorMask = tcu::BVec4(false, false, true, false); in generateDepthVisualizeCommands()
351 cmd.colorMask = tcu::BVec4(false, true, false, false); in generateStencilVisualizeCommands()
393 dst.state.colorMask = src.colorMask; in translateCommand()
462 glColorMask(command.colorMask[0] ? GL_TRUE : GL_FALSE, in render()
463 command.colorMask[1] ? GL_TRUE : GL_FALSE, in render()
464 command.colorMask[2] ? GL_TRUE : GL_FALSE, in render()
465 command.colorMask[3] ? GL_TRUE : GL_FALSE); in render()
624 testCmd.colorMask = tcu::BVec4(true); in iterate()
Des2fColorClearTest.cpp90 ClearInfo (const tcu::IVec4& rect, deUint8 colorMask, tcu::RGBA color) in ClearInfo() argument
91 : m_rect(rect), m_colorMask(colorMask), m_color(color) in ClearInfo()
158 …gl.colorMask((clearMask&0x1) != 0, (clearMask&0x2) != 0, (clearMask&0x4) != 0, (clearMask&0x8) != … in iterate()
Des2fDepthStencilClearTests.cpp332 gl.colorMask(GL_FALSE, GL_FALSE, GL_TRUE, GL_FALSE); in renderGL()
365 gl.colorMask (GL_FALSE, GL_TRUE, GL_FALSE, GL_FALSE); in renderGL()
392 gl.colorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE); in renderGL()
Des2fTextureMipmapTests.cpp359 lookupPrec.colorMask = getCompareMask(pixelFormat); in iterate()
689 lookupPrec.colorMask = getCompareMask(m_renderCtx.getRenderTarget().getPixelFormat()); in iterate()
879 comparePrec.colorMask = getCompareMask(m_renderCtx.getRenderTarget().getPixelFormat()); in iterate()
1032 comparePrec.colorMask = getCompareMask(m_renderCtx.getRenderTarget().getPixelFormat()); in iterate()
/external/deqp/modules/glshared/
DglsFragOpInteractionCase.cpp276 ctx.colorMask(state.colorMask[0] ? GL_TRUE : GL_FALSE, in setRenderState()
277 state.colorMask[1] ? GL_TRUE : GL_FALSE, in setRenderState()
278 state.colorMask[2] ? GL_TRUE : GL_FALSE, in setRenderState()
279 state.colorMask[3] ? GL_TRUE : GL_FALSE); in setRenderState()
590 ctx.colorMask (GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE); in iterate()
DglsInteractionTestUtil.hpp100 tcu::BVec4 colorMask; member
/external/deqp/modules/gles31/functional/
Des31fDrawBuffersIndexedTests.cpp170 , colorMask (colorMask_) in BlendState()
176 return (!enableBlend) && (!blendEq) && (!blendFunc) && (!colorMask); in isEmpty()
182 Maybe<BVec4> colorMask; member
195 if (blend.colorMask) in setCommonBlendState()
197 const BVec4& mask = *blend.colorMask; in setCommonBlendState()
199 gl.colorMask(mask.x(), mask.y(), mask.z(), mask.w()); in setCommonBlendState()
239 if (blend.colorMask) in setIndexedBlendState()
241 const BVec4 mask = *blend.colorMask; in setIndexedBlendState()
640 if (state.colorMask) in setBlendState()
641 fragOps.colorMask = *state.colorMask; in setBlendState()
[all …]
/external/mesa3d/src/mesa/main/
Dformat_pack.h106 _mesa_pack_colormask(mesa_format format, const GLubyte colorMask[4], void *dst);
/external/deqp/external/openglcts/modules/glesext/draw_buffers_indexed/
DesextcDrawBuffersIndexedCoverage.cpp91 gl.colorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE); in iterate()
/external/deqp/framework/opengl/wrapper/
DglwInitES20Direct.inl25 gl->colorMask = &glColorMask;
/external/deqp/framework/opengl/
DgluES3PlusWrapperFuncs.inl42 dst->colorMask = src.colorMask;
DgluTextureTestUtil.cpp1468 DE_ASSERT(getCompareMask(pixelFormat) == lookupPrec.colorMask); in verifyTextureResult()
1504 DE_ASSERT(getCompareMask(pixelFormat) == lookupPrec.colorMask); in verifyTextureResult()
1684 DE_ASSERT(getCompareMask(pixelFormat) == lookupPrec.colorMask); in verifyTextureResult()
1855 DE_ASSERT(getCompareMask(pixelFormat) == lookupPrec.colorMask); in verifyTextureResult()
2112 DE_ASSERT(getCompareMask(pixelFormat) == lookupPrec.colorMask); in verifyTextureResult()
2148 DE_ASSERT(getCompareMask(pixelFormat) == lookupPrec.colorMask); in verifyTextureResult()
2333 DE_ASSERT(getCompareMask(pixelFormat) == lookupPrec.colorMask); in verifyTextureResult()
2724 lookupPrec.colorMask = precision.colorMask; in compareGenMipmapBilinear()
2760 lookupPrec.colorMask = precision.colorMask; in compareGenMipmapBox()
2841 …onst tcu::Vec4 threshold = select(precision.colorThreshold, tcu::Vec4(1.0f), precision.colorMask); in compareGenMipmapResult()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureMipmapTests.cpp344 lookupPrec.colorMask = getCompareMask(pixelFormat); in iterate()
580 lookupPrec.colorMask = getCompareMask(pixelFormat); in iterate()
858 lookupPrec.colorMask = getCompareMask(pixelFormat); in iterate()
1041 lookupPrec.colorMask = getCompareMask(pixelFormat); in iterate()
1300 lookupPrec.colorMask = getCompareMask(pixelFormat); in iterate()
1566 lookupPrec.colorMask = getCompareMask(pixelFormat); in iterate()

1234