Home
last modified time | relevance | path

Searched refs:colorMask (Results 1 – 25 of 79) 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.cpp710 …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 …]
DrrRenderState.hpp257 tcu::BVec4 colorMask; member
288 , colorMask (true) in FragmentOperationState()
DrrFragmentOperations.hpp148 …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/
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/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.cpp358 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/
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.cpp402 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/
Dintel_clear.c84 const GLuint colorMask = *((GLuint *) & ctx->Color.ColorMask[0]); in intelClear() local
116 if (colorMask == ~0) { in intelClear()
/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
DglsInteractionTestUtil.cpp217 state.colorMask[ndx] = rnd.getFloat() < colorWriteProbability; in computeRandomRenderState()
DglsTextureTestUtil.cpp1918 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/
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.h103 _mesa_pack_colormask(gl_format format, const GLubyte colorMask[4], void *dst);
Dformat_pack.c2595 _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/
DglwInitES20Direct.inl25 gl->colorMask = &glColorMask;
/external/deqp/framework/opengl/
DgluES3PlusWrapperFuncs.inl42 dst->colorMask = src.colorMask;

1234