Home
last modified time | relevance | path

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

12345

/external/mesa3d/src/mesa/swrast/
Ds_clear.c43 _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/
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/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()
/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()
/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/angle/src/libANGLE/renderer/d3d/d3d11/
DClear11.cpp462 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()
DRenderStateCache.cpp81 const uint8_t colorMask = blendStateExt.getColorMaskIndexed(sourceIndex); in GetBlendStateKey() local
86 gl_d3d11::GetColorMask(internalFormat) & colorMask); in GetBlendStateKey()
/external/deqp/modules/gles31/functional/
Des31fDrawBuffersIndexedTests.cpp170 , 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/
DesextcDrawBuffersIndexedCoverage.cpp91 gl.colorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE); in iterate()
/external/angle/src/libANGLE/renderer/gl/
DStateManagerGL.cpp1401 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/
DFramebufferD3D.h43 gl::BlendStateExt::ColorMaskStorage::Type colorMask; member
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DStateManager9.cpp782 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/
Dmtl_utils.h168 MTLClearColor EmulatedAlphaClearColor(MTLClearColor color, MTLColorWriteMask colorMask);
/external/deqp/framework/opengl/wrapper/
DglwInitES20Direct.inl25 gl->colorMask = &glColorMask;
/external/deqp/framework/opengl/
DgluES3PlusWrapperFuncs.inl42 dst->colorMask = src.colorMask;

12345