/external/mesa3d/src/mesa/swrast/ |
D | s_clear.c | 43 _pack_colormask(mesa_format format, const uint8_t colorMask[4], void *dst) in _pack_colormask() 50 maskColor[0] = colorMask[0] ? 1.0f : 0.0f; in _pack_colormask() 51 maskColor[1] = colorMask[1] ? 1.0f : 0.0f; in _pack_colormask() 52 maskColor[2] = colorMask[2] ? 1.0f : 0.0f; in _pack_colormask() 53 maskColor[3] = colorMask[3] ? 1.0f : 0.0f; in _pack_colormask() 73 maskColor[0] = colorMask[0] ? -1.0f : 0.0f; in _pack_colormask() 74 maskColor[1] = colorMask[1] ? -1.0f : 0.0f; in _pack_colormask() 75 maskColor[2] = colorMask[2] ? -1.0f : 0.0f; in _pack_colormask() 76 maskColor[3] = colorMask[3] ? -1.0f : 0.0f; in _pack_colormask() 114 const GLubyte colorMask[4]) in clear_rgba_buffer() [all …]
|
/external/deqp/framework/referencerenderer/ |
D | rrFragmentOperations.cpp | 762 …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 …]
|
D | rrFragmentOperations.hpp | 149 …umSamplesPerFragment, const Fragment* inputFragments, const tcu::BVec4& colorMask, const tcu::Pixe… 150 …umSamplesPerFragment, const Fragment* inputFragments, const tcu::BVec4& colorMask, const tcu::Pixe…
|
D | rrRenderState.hpp | 272 tcu::BVec4 colorMask; member 307 , colorMask (true) in FragmentOperationState()
|
/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()
|
/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()
|
/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
|
/external/angle/src/libANGLE/renderer/d3d/d3d11/ |
D | Clear11.cpp | 462 const uint8_t colorMask = gl::BlendStateExt::ColorMaskStorage::GetValueIndexed( in clearFramebuffer() local 463 colorAttachmentIndex, clearParams.colorMask); in clearFramebuffer() 465 commonColorMask |= colorMask; in clearFramebuffer() 493 gl::BlendStateExt::UnpackColorMask(colorMask, &r, &g, &b, &a); in clearFramebuffer() 510 rtvMasks[numRtvs] = gl_d3d11::GetColorMask(formatInfo) & colorMask; in clearFramebuffer()
|
D | RenderStateCache.cpp | 81 const uint8_t colorMask = blendStateExt.getColorMaskIndexed(sourceIndex); in GetBlendStateKey() local 86 gl_d3d11::GetColorMask(internalFormat) & colorMask); in GetBlendStateKey()
|
/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 202 if (blend.colorMask) in setCommonBlendState() 204 const BVec4& mask = *blend.colorMask; in setCommonBlendState() 206 gl.colorMask(mask.x(), mask.y(), mask.z(), mask.w()); in setCommonBlendState() 246 if (blend.colorMask) in setIndexedBlendState() 248 const BVec4 mask = *blend.colorMask; in setIndexedBlendState() 647 if (state.colorMask) in setBlendState() 648 fragOps.colorMask = *state.colorMask; in setBlendState() [all …]
|
/external/deqp/external/openglcts/modules/glesext/draw_buffers_indexed/ |
D | esextcDrawBuffersIndexedCoverage.cpp | 91 gl.colorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE); in iterate()
|
/external/angle/src/libANGLE/renderer/gl/ |
D | StateManagerGL.cpp | 1401 mFunctions->colorMask(red, green, blue, alpha); in setColorMask() 2297 mFunctions->colorMask(r, g, b, a); in setColorMaskForFramebuffer() 2665 get(GL_COLOR_WRITEMASK, &state->colorMask); in syncFromNativeContext() 2666 auto colorMask = mBlendStateExt.expandColorMaskValue(state->colorMask[0], state->colorMask[1], in syncFromNativeContext() local 2667 state->colorMask[2], state->colorMask[3]); in syncFromNativeContext() 2668 if (mBlendStateExt.mColorMask != colorMask) in syncFromNativeContext() 2670 mBlendStateExt.mColorMask = colorMask; in syncFromNativeContext() 2815 setColorMask(state->colorMask[0], state->colorMask[1], state->colorMask[2], in restoreNativeContext() 2816 state->colorMask[3]); in restoreNativeContext()
|
/external/angle/src/libANGLE/renderer/d3d/ |
D | FramebufferD3D.h | 43 gl::BlendStateExt::ColorMaskStorage::Type colorMask; member
|
/external/angle/src/libANGLE/renderer/d3d/d3d9/ |
D | StateManager9.cpp | 782 DWORD colorMask = gl_d3d9::ConvertColorMask( in setColorMask() local 790 if (colorMask == 0 && mUsingZeroColorMaskWorkaround) in setColorMask() 817 mRenderer9->getDevice()->SetRenderState(D3DRS_COLORWRITEENABLE, colorMask); in setColorMask()
|
/external/angle/src/libANGLE/renderer/metal/ |
D | mtl_utils.h | 168 MTLClearColor EmulatedAlphaClearColor(MTLClearColor color, MTLColorWriteMask 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;
|