Home
last modified time | relevance | path

Searched refs:writeMask (Results 1 – 25 of 156) sorted by relevance

1234567

/third_party/mesa3d/src/glx/
Dpixel.c284 GLint writeMask, i; in EmptyBitmap() local
317 writeMask = highBitMask; in EmptyBitmap()
323 writeMask &= HighBitsMask[bitOffset + elementsLeft]; in EmptyBitmap()
335 currentByte = (currentByte & ~writeMask) | in EmptyBitmap()
336 (writeByte & writeMask); in EmptyBitmap()
340 currentByte = (currentByte & ~writeMask) | in EmptyBitmap()
341 (sourceImage[0] & writeMask); in EmptyBitmap()
359 writeMask = 0xff; in EmptyBitmap()
363 writeMask &= lowBitMask; in EmptyBitmap()
370 currentByte = (currentByte & ~writeMask) | (writeByte & writeMask); in EmptyBitmap()
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
DBlitter.hpp32 …: writeMask(0xF), clearOperation(false), filter(filter), useStencil(useStencil), convertSRGB(conve… in Options()
33 Options(unsigned int writeMask) in Options()
34 …: writeMask(writeMask), clearOperation(true), filter(false), useStencil(false), convertSRGB(true),… in Options()
46 unsigned char writeMask; member
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DRenderPipelineGL.cpp124 gl.ColorMaski(colorBuffer, state->writeMask & wgpu::ColorWriteMask::Red, in ApplyColorState()
125 state->writeMask & wgpu::ColorWriteMask::Green, in ApplyColorState()
126 state->writeMask & wgpu::ColorWriteMask::Blue, in ApplyColorState()
127 state->writeMask & wgpu::ColorWriteMask::Alpha); in ApplyColorState()
142 gl.ColorMask(state->writeMask & wgpu::ColorWriteMask::Red, in ApplyColorState()
143 state->writeMask & wgpu::ColorWriteMask::Green, in ApplyColorState()
144 state->writeMask & wgpu::ColorWriteMask::Blue, in ApplyColorState()
145 state->writeMask & wgpu::ColorWriteMask::Alpha); in ApplyColorState()
336 descriptor->writeMask != prevDescriptor->writeMask) { in ApplyNow()
/third_party/skia/third_party/externals/swiftshader/src/Device/
DPixelProcessor.hpp47 uint32_t writeMask; member
56 writeMask = rhs.writeMask; in operator =()
127 void set(int reference, int testMask, int writeMask) in set()
131 writeMaskQ = replicate(writeMask); in set()
DBlitter.hpp44 : writeMask(0xF) in Options()
50 explicit Options(unsigned int writeMask) in Options()
51 : writeMask(writeMask) in Options()
68 unsigned char writeMask; member
/third_party/flutter/skia/src/gpu/gl/
DGrGLPathRendering.cpp104 GrGLint writeMask = fHWPathStencilSettings.frontAndBack().fWriteMask; in onStencilPath() local
107 GL_CALL(StencilFillPath(glPath->pathID(), fillMode, writeMask)); in onStencilPath()
110 GL_CALL(StencilStrokePath(glPath->pathID(), 0xffff, writeMask)); in onStencilPath()
130 GrGLint writeMask = fHWPathStencilSettings.frontAndBack().fWriteMask; in onDrawPath() local
134 GL_CALL(StencilFillPath(glPath->pathID(), fillMode, writeMask)); in onDrawPath()
136 GL_CALL(StencilThenCoverStrokePath(glPath->pathID(), 0xffff, writeMask, in onDrawPath()
139 GL_CALL(StencilThenCoverFillPath(glPath->pathID(), fillMode, writeMask, in onDrawPath()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fDepthStencilTests.cpp82 deUint32 writeMask; member
91 , writeMask (0) in StencilParams()
127 << " write mask = " << tcu::toHex(params.writeMask) << "\n" in operator <<()
360 cmd.params.stencil[rr::FACETYPE_FRONT].writeMask = 0u; in generateStencilVisualizeCommands()
376 dst.writeMask = src.writeMask; in translateStencilState()
447 glStencilMaskSeparate(glFace, sParams.writeMask); in render()
769 params.stencil[ndx].writeMask = rnd.getUint32(); in randomDepthStencilState()
823 deUint32 writeMask; in init() member
879 params.stencil[visible].writeMask = functionCases[ndx].writeMask; in init()
887 params.stencil[notVisible].writeMask = ~0u; in init()
[all …]
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fDepthStencilTests.cpp82 deUint32 writeMask; member
91 , writeMask (0) in StencilParams()
127 << " write mask = " << tcu::toHex(params.writeMask) << "\n" in operator <<()
360 cmd.params.stencil[rr::FACETYPE_FRONT].writeMask = 0u; in generateStencilVisualizeCommands()
376 dst.writeMask = src.writeMask; in translateStencilState()
447 glStencilMaskSeparate(glFace, sParams.writeMask); in render()
769 params.stencil[ndx].writeMask = rnd.getUint32(); in randomDepthStencilState()
823 deUint32 writeMask; in init() member
879 params.stencil[visible].writeMask = functionCases[ndx].writeMask; in init()
887 params.stencil[notVisible].writeMask = ~0u; in init()
[all …]
/third_party/mesa3d/src/mesa/swrast/
Ds_stencil.c615 const GLuint writeMask = ctx->Stencil.WriteMask[0]; in _swrast_clear_stencil_buffer() local
622 if (!rb || writeMask == 0) in _swrast_clear_stencil_buffer()
632 if ((writeMask & stencilMax) != stencilMax) { in _swrast_clear_stencil_buffer()
652 GLubyte clear = ctx->Stencil.Clear & writeMask & 0xff; in _swrast_clear_stencil_buffer()
653 GLubyte mask = (~writeMask) & 0xff; in _swrast_clear_stencil_buffer()
679 GLuint clear = (ctx->Stencil.Clear & writeMask & 0xff) << 24; in _swrast_clear_stencil_buffer()
680 GLuint mask = (((~writeMask) & 0xff) << 24) | 0xffffff; in _swrast_clear_stencil_buffer()
692 GLuint clear = ctx->Stencil.Clear & writeMask & 0xff; in _swrast_clear_stencil_buffer()
693 GLuint mask = 0xffffff00 | ((~writeMask) & 0xff); in _swrast_clear_stencil_buffer()
Ds_depth.c754 const GLuint writeMask = ctx->Stencil.WriteMask[0]; in _swrast_clear_depth_stencil_buffer() local
773 if ((writeMask & stencilMax) != stencilMax) { in _swrast_clear_depth_stencil_buffer()
796 mask = ((~writeMask) & 0xff) << 24; in _swrast_clear_depth_stencil_buffer()
797 clear |= (ctx->Stencil.Clear & writeMask & 0xff) << 24; in _swrast_clear_depth_stencil_buffer()
800 mask = ((~writeMask) & 0xff); in _swrast_clear_depth_stencil_buffer()
801 clear |= (ctx->Stencil.Clear & writeMask & 0xff); in _swrast_clear_depth_stencil_buffer()
824 const GLuint sClear = ctx->Stencil.Clear & writeMask; in _swrast_clear_depth_stencil_buffer()
825 const GLuint sMask = (~writeMask) & 0xff; in _swrast_clear_depth_stencil_buffer()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/metal/
DRenderPipelineMTL.mm185 MTLColorWriteMask MetalColorWriteMask(dawn::ColorWriteMask writeMask) {
188 if (writeMask & dawn::ColorWriteMask::Red) {
191 if (writeMask & dawn::ColorWriteMask::Green) {
194 if (writeMask & dawn::ColorWriteMask::Blue) {
197 if (writeMask & dawn::ColorWriteMask::Alpha) {
217 attachment.writeMask = MetalColorWriteMask(descriptor->writeMask);
262 backFaceStencil.writeMask = descriptor->stencilWriteMask;
273 frontFaceStencil.writeMask = descriptor->stencilWriteMask;
/third_party/vk-gl-cts/modules/glshared/
DglsInteractionTestUtil.hpp67 deUint32 writeMask; member
76 , writeMask (0) in StencilState()
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DRenderPipelineMTL.mm180 MTLColorWriteMask MetalColorWriteMask(wgpu::ColorWriteMask writeMask,
188 if (writeMask & wgpu::ColorWriteMask::Red) {
191 if (writeMask & wgpu::ColorWriteMask::Green) {
194 if (writeMask & wgpu::ColorWriteMask::Blue) {
197 if (writeMask & wgpu::ColorWriteMask::Alpha) {
220 attachment.writeMask =
221 MetalColorWriteMask(state->writeMask, isDeclaredInFragmentShader);
271 backFaceStencil.writeMask = descriptor->stencilWriteMask;
282 frontFaceStencil.writeMask = descriptor->stencilWriteMask;
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/opengl/
DRenderPipelineGL.cpp125 gl.ColorMaski(attachment, descriptor->writeMask & dawn::ColorWriteMask::Red, in ApplyColorState()
126 descriptor->writeMask & dawn::ColorWriteMask::Green, in ApplyColorState()
127 descriptor->writeMask & dawn::ColorWriteMask::Blue, in ApplyColorState()
128 descriptor->writeMask & dawn::ColorWriteMask::Alpha); in ApplyColorState()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_state_cache.mm50 ANGLE_OBJC_CP_PROPERTY(objCDesc, desc, writeMask);
136 ANGLE_OBJC_CP_PROPERTY(objCDesc, desc, writeMask);
270 ANGLE_PROP_EQ(*this, rhs, readMask) && ANGLE_PROP_EQ(*this, rhs, writeMask);
279 readMask = writeMask = std::numeric_limits<uint32_t>::max() & mtl::kStencilMaskAll;
356 frontFaceStencil.writeMask = 0;
361 backFaceStencil.writeMask = 0;
422 frontFaceStencil.writeMask = dsState.stencilWritemask & mtl::kStencilMaskAll;
431 backFaceStencil.writeMask = dsState.stencilBackWritemask & mtl::kStencilMaskAll;
510 return ANGLE_PROP_EQ(*this, rhs, writeMask) &&
530 writeMask = _writeMask;
[all …]
Dmtl_state_cache.h52 uint8_t writeMask : 8; member
169 void reset(MTLColorWriteMask writeMask);
174 uint8_t writeMask : 4; member
204 void reset(MTLPixelFormat format, MTLColorWriteMask writeMask);
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DRenderPipelineValidationTests.cpp699 descriptor.cTargets[0].writeMask = wgpu::ColorWriteMask::None; in TEST_F()
748 descriptor.cTargets[0].writeMask = wgpu::ColorWriteMask::None; in TEST_F()
1054 descriptor.cTargets[0].writeMask = wgpu::ColorWriteMask::All; in TEST_F()
1066 descriptor.cTargets[0].writeMask = wgpu::ColorWriteMask::None; in TEST_F()
1078 descriptor.cTargets[0].writeMask = wgpu::ColorWriteMask::Red; in TEST_F()
1079 descriptor.cTargets[1].writeMask = wgpu::ColorWriteMask::Alpha; in TEST_F()
1091 descriptor.cTargets[0].writeMask = wgpu::ColorWriteMask::All; in TEST_F()
1092 descriptor.cTargets[1].writeMask = wgpu::ColorWriteMask::None; in TEST_F()
1104 descriptor.cTargets[0].writeMask = wgpu::ColorWriteMask::Red; in TEST_F()
1105 descriptor.cTargets[1].writeMask = wgpu::ColorWriteMask::Green; in TEST_F()
[all …]
DGetBindGroupLayoutValidationTests.cpp34 descriptor.cTargets[0].writeMask = wgpu::ColorWriteMask::None; in RenderPipelineFromFragmentShader()
81 descriptor.cTargets[0].writeMask = wgpu::ColorWriteMask::None; in TEST_F()
232 descriptor.cTargets[0].writeMask = wgpu::ColorWriteMask::None; in TEST_F()
687 descriptor.cTargets[0].writeMask = wgpu::ColorWriteMask::None; in TEST_F()
758 descriptor.cTargets[0].writeMask = wgpu::ColorWriteMask::None; in TEST_F()
828 descriptor.cTargets[0].writeMask = wgpu::ColorWriteMask::None; in TEST_F()
1062 pipelineDesc.cTargets[0].writeMask = wgpu::ColorWriteMask::None; in TEST_F()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineNoPositionTests.cpp757 for (const auto writeMask : writeMaskCases) in createNoPositionTests() local
760 …TEX) testName += (testName.empty() ? "" : "_") + std::string("v") + ((writeMask & STAGE_VERTEX) … in createNoPositionTests()
761 …NTROL) testName += (testName.empty() ? "" : "_") + std::string("c") + ((writeMask & STAGE_TESS_CON… in createNoPositionTests()
762 …ATION) testName += (testName.empty() ? "" : "_") + std::string("e") + ((writeMask & STAGE_TESS_EVA… in createNoPositionTests()
763 …ETRY) testName += (testName.empty() ? "" : "_") + std::string("g") + ((writeMask & STAGE_GEOMETRY… in createNoPositionTests()
765 TestParams params = { stages, writeMask, viewCount, explicitDeclarations, true }; in createNoPositionTests()
/third_party/mesa3d/src/mesa/program/
Dprog_print.c506 _mesa_writemask_string(GLuint writeMask) in _mesa_writemask_string() argument
511 if (writeMask == WRITEMASK_XYZW) in _mesa_writemask_string()
515 if (writeMask & WRITEMASK_X) in _mesa_writemask_string()
517 if (writeMask & WRITEMASK_Y) in _mesa_writemask_string()
519 if (writeMask & WRITEMASK_Z) in _mesa_writemask_string()
521 if (writeMask & WRITEMASK_W) in _mesa_writemask_string()
Dprog_print.h71 _mesa_writemask_string(GLuint writeMask);
/third_party/vk-gl-cts/framework/referencerenderer/
DrrRenderState.hpp193 deUint32 writeMask; member
202 , writeMask (~0U) in StencilState()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkCommandBuffer.cpp417 CmdSetStencilWriteMask(VkStencilFaceFlags faceMask, uint32_t writeMask) in CmdSetStencilWriteMask() argument
419 , writeMask(writeMask) in CmdSetStencilWriteMask()
427 executionState.dynamicState.writeMask[0] = writeMask; in execute()
432 executionState.dynamicState.writeMask[1] = writeMask; in execute()
440 const uint32_t writeMask; member in __anon8991f80c0111::CmdSetStencilWriteMask
1476 void CommandBuffer::setStencilWriteMask(VkStencilFaceFlags faceMask, uint32_t writeMask) in setStencilWriteMask() argument
1481 addCommand<::CmdSetStencilWriteMask>(faceMask, writeMask); in setStencilWriteMask()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DRenderPipelineD3D12.cpp204 uint8_t D3D12RenderTargetWriteMask(dawn::ColorWriteMask writeMask) { in D3D12RenderTargetWriteMask() argument
217 return static_cast<uint8_t>(writeMask); in D3D12RenderTargetWriteMask()
229 blendDesc.RenderTargetWriteMask = D3D12RenderTargetWriteMask(descriptor->writeMask); in ComputeColorDesc()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DRenderPipelineD3D12.cpp215 uint8_t D3D12RenderTargetWriteMask(wgpu::ColorWriteMask writeMask) { in D3D12RenderTargetWriteMask() argument
228 return static_cast<uint8_t>(writeMask); in D3D12RenderTargetWriteMask()
242 blendDesc.RenderTargetWriteMask = D3D12RenderTargetWriteMask(state->writeMask); in ComputeColorDesc()

1234567