/third_party/mesa3d/src/glx/ |
D | pixel.c | 284 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/dawn/src/dawn_native/opengl/ |
D | RenderPipelineGL.cpp | 124 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/Renderer/ |
D | Blitter.hpp | 32 …: 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/swiftshader/src/Device/ |
D | PixelProcessor.hpp | 47 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()
|
D | Blitter.hpp | 44 : 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/ |
D | GrGLPathRendering.cpp | 104 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/gles3/functional/ |
D | es3fDepthStencilTests.cpp | 82 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/gles2/functional/ |
D | es2fDepthStencilTests.cpp | 82 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/flutter/skia/third_party/externals/dawn/src/dawn_native/metal/ |
D | RenderPipelineMTL.mm | 185 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/skia/third_party/externals/dawn/src/dawn_native/metal/ |
D | RenderPipelineMTL.mm | 180 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/ |
D | RenderPipelineGL.cpp | 125 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/ |
D | mtl_state_cache.mm | 50 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 …]
|
D | mtl_state_cache.h | 52 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/vk-gl-cts/modules/glshared/ |
D | glsInteractionTestUtil.hpp | 67 deUint32 writeMask; member 76 , writeMask (0) in StencilState()
|
/third_party/mesa3d/src/mesa/program/ |
D | prog_print.c | 492 _mesa_writemask_string(GLuint writeMask) in _mesa_writemask_string() argument 497 if (writeMask == WRITEMASK_XYZW) in _mesa_writemask_string() 501 if (writeMask & WRITEMASK_X) in _mesa_writemask_string() 503 if (writeMask & WRITEMASK_Y) in _mesa_writemask_string() 505 if (writeMask & WRITEMASK_Z) in _mesa_writemask_string() 507 if (writeMask & WRITEMASK_W) in _mesa_writemask_string()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | RenderPipelineValidationTests.cpp | 699 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 …]
|
D | GetBindGroupLayoutValidationTests.cpp | 34 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_no_buildgn/vulkan/pipeline/ |
D | vktPipelineNoPositionTests.cpp | 776 for (const auto writeMask : writeMaskCases) in createNoPositionTests() local 779 …TEX) testName += (testName.empty() ? "" : "_") + std::string("v") + ((writeMask & STAGE_VERTEX) … in createNoPositionTests() 780 …NTROL) testName += (testName.empty() ? "" : "_") + std::string("c") + ((writeMask & STAGE_TESS_CON… in createNoPositionTests() 781 …ATION) testName += (testName.empty() ? "" : "_") + std::string("e") + ((writeMask & STAGE_TESS_EVA… in createNoPositionTests() 782 …ETRY) testName += (testName.empty() ? "" : "_") + std::string("g") + ((writeMask & STAGE_GEOMETRY… in createNoPositionTests() 784 …TestParams params = { pipelineConstructionType, stages, writeMask, viewCount, explicitDeclarations… in createNoPositionTests()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineNoPositionTests.cpp | 776 for (const auto writeMask : writeMaskCases) in createNoPositionTests() local 779 …TEX) testName += (testName.empty() ? "" : "_") + std::string("v") + ((writeMask & STAGE_VERTEX) … in createNoPositionTests() 780 …NTROL) testName += (testName.empty() ? "" : "_") + std::string("c") + ((writeMask & STAGE_TESS_CON… in createNoPositionTests() 781 …ATION) testName += (testName.empty() ? "" : "_") + std::string("e") + ((writeMask & STAGE_TESS_EVA… in createNoPositionTests() 782 …ETRY) testName += (testName.empty() ? "" : "_") + std::string("g") + ((writeMask & STAGE_GEOMETRY… in createNoPositionTests() 784 …TestParams params = { pipelineConstructionType, stages, writeMask, viewCount, explicitDeclarations… in createNoPositionTests()
|
/third_party/vk-gl-cts/framework/referencerenderer/ |
D | rrRenderState.hpp | 193 deUint32 writeMask; member 202 , writeMask (~0U) in StencilState()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkCommandBuffer.cpp | 417 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 __anon050568cb0111::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/ |
D | RenderPipelineD3D12.cpp | 204 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/ |
D | RenderPipelineD3D12.cpp | 215 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()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | RenderPipeline.cpp | 348 DAWN_TRY(ValidateColorWriteMask(descriptor->writeMask)); in ValidateColorTargetState() 389 descriptor->writeMask != wgpu::ColorWriteMask::None, in ValidateColorTargetState() 392 descriptor->writeMask); in ValidateColorTargetState() 894 recorder.Record(desc.writeMask); in ComputeContentHash() 956 if (descA.writeMask != descB.writeMask) { in operator ()()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | ColorStateTests.cpp | 156 descriptor.writeMask = wgpu::ColorWriteMask::All; in CheckBlendOperation() 189 descriptor.writeMask = wgpu::ColorWriteMask::All; in CheckBlendFactor() 314 descriptor.writeMask = wgpu::ColorWriteMask::All; in TEST_P() 699 descriptor.writeMask = wgpu::ColorWriteMask::Red; in TEST_P() 711 descriptor.writeMask = wgpu::ColorWriteMask::Green | wgpu::ColorWriteMask::Alpha; in TEST_P() 723 descriptor.writeMask = wgpu::ColorWriteMask::None; in TEST_P() 747 descriptor.writeMask = wgpu::ColorWriteMask::Red; in TEST_P() 1068 testDescriptor.cTargets[0].writeMask = wgpu::ColorWriteMask::Red; in TEST_P()
|