/external/mesa3d/src/mesa/swrast/ |
D | s_clear.c | 44 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/ |
D | rrFragmentOperations.cpp | 710 …umSamplesPerFragment, const Fragment* inputFragments, const tcu::BVec4& colorMask, const tcu::Pixe… in executeSignedValueWrite() argument 720 …(tcu::select(m_sampleRegister[regSampleNdx].signedValue, originalValue, colorMask), fragSampleNdx,… in executeSignedValueWrite() 725 …umSamplesPerFragment, const Fragment* inputFragments, const tcu::BVec4& colorMask, const tcu::Pixe… in executeUnsignedValueWrite() argument 735 …cu::select(m_sampleRegister[regSampleNdx].unsignedValue, originalValue, colorMask), fragSampleNdx,… in executeUnsignedValueWrite() 775 …MaskFactor (state.colorMask[0] ? 1.0f : 0.0f, state.colorMask[1] ? 1.0f : 0.0f, state.colorMask… in render() 776 …gationFactor (state.colorMask[0] ? 0.0f : 1.0f, state.colorMask[1] ? 0.0f : 1.0f, state.colorMask… in render() 946 if (state.colorMask[0] && state.colorMask[1] && state.colorMask[2] && state.colorMask[3]) in render() 953 else if (state.colorMask[0] || state.colorMask[1] || state.colorMask[2] || state.colorMask[3]) in render() 969 if (state.colorMask[0] || state.colorMask[1] || state.colorMask[2] || state.colorMask[3]) in render() 970 …ValueWrite(groupFirstFragNdx, numSamplesPerFragment, inputFragments, state.colorMask, colorBuffer); in render() [all …]
|
D | rrRenderState.hpp | 257 tcu::BVec4 colorMask; member 288 , colorMask (true) in FragmentOperationState()
|
D | rrFragmentOperations.hpp | 148 …umSamplesPerFragment, const Fragment* inputFragments, const tcu::BVec4& colorMask, const tcu::Pixe… 149 …umSamplesPerFragment, const Fragment* inputFragments, const tcu::BVec4& colorMask, const tcu::Pixe…
|
/external/deqp/framework/common/ |
D | tcuTexLookupVerifier.hpp | 48 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/gles2/functional/ |
D | es2fRandomFragmentOpTests.cpp | 107 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()
|
D | es2fDepthStencilTests.cpp | 191 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()
|
D | es2fColorClearTest.cpp | 90 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()
|
D | es2fDepthStencilClearTests.cpp | 332 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()
|
D | es2fTextureMipmapTests.cpp | 358 lookupPrec.colorMask = getCompareMask(pixelFormat); in iterate() 680 lookupPrec.colorMask = getCompareMask(m_renderCtx.getRenderTarget().getPixelFormat()); in iterate() 869 comparePrec.colorMask = getCompareMask(m_renderCtx.getRenderTarget().getPixelFormat()); in iterate() 1022 comparePrec.colorMask = getCompareMask(m_renderCtx.getRenderTarget().getPixelFormat()); in iterate()
|
/external/deqp/modules/gles3/functional/ |
D | es3fRandomFragmentOpTests.cpp | 107 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()
|
D | es3fDepthStencilTests.cpp | 191 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()
|
D | es3fColorClearTest.cpp | 90 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()
|
D | es3fDepthStencilClearTests.cpp | 335 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()
|
D | es3fTextureMipmapTests.cpp | 402 lookupPrec.colorMask = getCompareMask(pixelFormat); in iterate() 719 lookupPrec.colorMask = getCompareMask(m_renderCtx.getRenderTarget().getPixelFormat()); in iterate() 907 comparePrec.colorMask = getCompareMask(m_renderCtx.getRenderTarget().getPixelFormat()); in iterate() 1060 comparePrec.colorMask = getCompareMask(m_renderCtx.getRenderTarget().getPixelFormat()); in iterate() 1349 lookupPrec.colorMask = getCompareMask(pixelFormat); in iterate() 1563 lookupPrec.colorMask = getCompareMask(pixelFormat); in iterate() 1876 lookupPrec.colorMask = getCompareMask(m_context.getRenderTarget().getPixelFormat()); in iterate() 2195 lookupPrec.colorMask = getCompareMask(pixelFormat); in iterate()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_clear.c | 84 const GLuint colorMask = *((GLuint *) & ctx->Color.ColorMask[0]); in intelClear() local 116 if (colorMask == ~0) { in intelClear()
|
/external/deqp/modules/glshared/ |
D | glsFragOpInteractionCase.cpp | 276 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()
|
D | glsInteractionTestUtil.hpp | 100 tcu::BVec4 colorMask; member
|
D | glsInteractionTestUtil.cpp | 217 state.colorMask[ndx] = rnd.getFloat() < colorWriteProbability; in computeRandomRenderState()
|
D | glsTextureTestUtil.cpp | 1918 DE_ASSERT(getCompareMask(pixelFormat) == lookupPrec.colorMask); in verifyTextureResult() 1954 DE_ASSERT(getCompareMask(pixelFormat) == lookupPrec.colorMask); in verifyTextureResult() 2134 DE_ASSERT(getCompareMask(pixelFormat) == lookupPrec.colorMask); in verifyTextureResult() 2305 DE_ASSERT(getCompareMask(pixelFormat) == lookupPrec.colorMask); in verifyTextureResult() 2562 DE_ASSERT(getCompareMask(pixelFormat) == lookupPrec.colorMask); in verifyTextureResult() 2598 DE_ASSERT(getCompareMask(pixelFormat) == lookupPrec.colorMask); in verifyTextureResult() 2783 DE_ASSERT(getCompareMask(pixelFormat) == lookupPrec.colorMask); in verifyTextureResult() 3174 lookupPrec.colorMask = precision.colorMask; in compareGenMipmapBilinear() 3210 lookupPrec.colorMask = precision.colorMask; in compareGenMipmapBox() 3291 …onst tcu::Vec4 threshold = select(precision.colorThreshold, tcu::Vec4(1.0f), precision.colorMask); in compareGenMipmapResult() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fDrawBuffersIndexedTests.cpp | 170 , 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/ |
D | format_pack.h | 103 _mesa_pack_colormask(gl_format format, const GLubyte colorMask[4], void *dst);
|
D | format_pack.c | 2595 _mesa_pack_colormask(gl_format format, const GLubyte colorMask[4], void *dst) in _mesa_pack_colormask() 2602 maskColor[0] = colorMask[0] ? 1.0 : 0.0; in _mesa_pack_colormask() 2603 maskColor[1] = colorMask[1] ? 1.0 : 0.0; in _mesa_pack_colormask() 2604 maskColor[2] = colorMask[2] ? 1.0 : 0.0; in _mesa_pack_colormask() 2605 maskColor[3] = colorMask[3] ? 1.0 : 0.0; in _mesa_pack_colormask() 2625 maskColor[0] = colorMask[0] ? -1.0f : 0.0f; in _mesa_pack_colormask() 2626 maskColor[1] = colorMask[1] ? -1.0f : 0.0f; in _mesa_pack_colormask() 2627 maskColor[2] = colorMask[2] ? -1.0f : 0.0f; in _mesa_pack_colormask() 2628 maskColor[3] = colorMask[3] ? -1.0f : 0.0f; in _mesa_pack_colormask()
|
/external/deqp/framework/opengl/wrapper/ |
D | glwInitES20Direct.inl | 25 gl->colorMask = &glColorMask;
|
/external/deqp/framework/opengl/ |
D | gluES3PlusWrapperFuncs.inl | 42 dst->colorMask = src.colorMask;
|