Home
last modified time | relevance | path

Searched refs:sMask (Results 1 – 20 of 20) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DPixelRoutine.hpp48 virtual void executeShader(Int cMask[4], Int sMask[4], Int zMask[4], const SampleSet &samples) = 0;
50 …virtual void blendColor(Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMask[4]…
57 …, const Pointer<Byte> &cBuffer, const Int &x, Vector4f &color, const Int &sMask, const Int &zMask,…
59 …const Pointer<Byte> &cBuffer, const Int &x, Vector4s &current, const Int &sMask, const Int &zMask,…
68 …void stencilTest(const Pointer<Byte> &sBuffer, const Int &x, Int sMask[4], const SampleSet &sample…
70 …onst PixelProcessor::States::StencilOpState &ops, bool isBack, const Int &zMask, const Int &sMask);
73 … Pointer<Byte> &zBuffer, int q, const Int &x, const Float4 &z, const Int &sMask, Int &zMask, const…
95 …void writeStencil(Pointer<Byte> &sBuffer, const Int &x, const Int sMask[4], const Int zMask[4], co…
97 void occlusionSampleCount(const Int zMask[4], const Int sMask[4], const SampleSet &samples);
103 … Pointer<Byte> &zBuffer, int q, const Int &x, const Float4 &z, const Int &sMask, Int &zMask, const…
[all …]
DPixelProgram.hpp35 virtual void executeShader(Int cMask[4], Int sMask[4], Int zMask[4], const SampleSet &samples);
37 …virtual void blendColor(Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMask[4]…
47 static Int4 maskAny(Int cMask[4], Int sMask[4], Int zMask[4], const SampleSet &samples);
DPixelProgram.cpp53 Int4 PixelProgram::maskAny(Int cMask[4], Int sMask[4], Int zMask[4], const SampleSet &samples) in maskAny()
59 maskUnion |= (cMask[q] & sMask[q] & zMask[q]); in maskAny()
139 void PixelProgram::executeShader(Int cMask[4], Int sMask[4], Int zMask[4], const SampleSet &samples) in executeShader()
199 auto storesAndAtomicsMask = maskAny(cMask, sMask, zMask, samples); in executeShader()
268 void PixelProgram::blendColor(Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMa… in blendColor()
310 writeColor(index, buffer, x, color, sMask[q], zMask[q], cMask[q]); in blendColor()
350 writeColor(index, buffer, x, color, sMask[q], zMask[q], cMask[q]); in blendColor()
DPixelRoutine.cpp83 Int sMask[4]; // Stencil mask in quad() local
98 sMask[q] = cMask[q]; in quad()
101 stencilTest(sBuffer, x, sMask, samples); in quad()
137 depthPass = depthPass || depthTest(zBuffer, q, x, z[q], sMask[q], zMask[q], cMask[q]); in quad()
288 …executeShader(cMask, earlyFragmentTests ? sMask : cMask, earlyFragmentTests ? zMask : cMask, sampl… in quad()
298 sMask[q] &= cMask[q]; in quad()
309 depthPass = depthPass || depthTest(zBuffer, q, x, z[q], sMask[q], zMask[q], cMask[q]); in quad()
321 blendColor(cBuffer, x, sMask, zMask, cMask, samples); in quad()
323 occlusionSampleCount(zMask, sMask, samples); in quad()
328 writeStencil(sBuffer, x, sMask, zMask, cMask, samples); in quad()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Shader/
DPixelRoutine.hpp48 …virtual void rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMas…
60 …void writeColor(int index, Pointer<Byte> &cBuffer, Int &i, Vector4s &current, Int &sMask, Int &zMa…
62 …void writeColor(int index, Pointer<Byte> &cBuffer, Int &i, Vector4f &oC, Int &sMask, Int &zMask, I…
70 void stencilTest(Pointer<Byte> &sBuffer, int q, Int &x, Int &sMask, Int &cMask);
72 …on stencilZFailOperation, StencilOperation stencilFailOperation, bool CCW, Int &zMask, Int &sMask);
74 …Bool depthTest(Pointer<Byte> &zBuffer, int q, Int &x, Float4 &z, Int &sMask, Int &zMask, Int &cMas…
82 void writeStencil(Pointer<Byte> &sBuffer, int q, Int &x, Int &sMask, Int &zMask, Int &cMask);
DPixelRoutine.cpp60 Int sMask[4]; // Stencil mask in quad() local
65 sMask[q] = cMask[q]; in quad()
70 stencilTest(sBuffer, q, x, sMask[q], cMask[q]); in quad()
99 depthPass = depthPass || depthTest(zBuffer, q, x, z[q], sMask[q], zMask[q], cMask[q]); in quad()
218 sMask[q] &= cMask[q]; in quad()
229 depthPass = depthPass || depthTest(zBuffer, q, x, z[q], sMask[q], zMask[q], cMask[q]); in quad()
247 …lusion += *Pointer<UInt>(constants + OFFSET(Constants,occlusionCount) + 4 * (zMask[q] & sMask[q])); in quad()
258 rasterOperation(f, cBuffer, x, sMask, zMask, cMask); in quad()
272 writeStencil(sBuffer, q, x, sMask[q], zMask[q], cMask[q]); in quad()
299 void PixelRoutine::stencilTest(Pointer<Byte> &sBuffer, int q, Int &x, Int &sMask, Int &cMask) in stencilTest() argument
[all …]
DPixelPipeline.hpp33 …virtual void rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMas…
DPixelProgram.hpp35 …virtual void rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMas…
DPixelProgram.cpp644 …void PixelProgram::rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], In… in rasterOperation()
703 writeColor(index, buffer, x, color, sMask[q], zMask[q], cMask[q]); in rasterOperation()
738 writeColor(index, buffer, x, color, sMask[q], zMask[q], cMask[q]); in rasterOperation()
DPixelPipeline.cpp302 …void PixelPipeline::rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], I… in rasterOperation()
351 writeColor(0, buffer, x, color, sMask[q], zMask[q], cMask[q]); in rasterOperation()
371 writeColor(0, buffer, x, color, sMask[q], zMask[q], cMask[q]); in rasterOperation()
/third_party/flutter/skia/src/pdf/
DSkPDFBitmap.cpp74 SkPDFIndirectReference sMask, in emit_image_stream() argument
82 if (sMask) { in emit_image_stream()
83 pdfDict.insertRef("SMask", sMask); in emit_image_stream()
141 SkPDFIndirectReference sMask; in do_deflated_image() local
143 sMask = doc->reserveRef(); in do_deflated_image()
153 SkASSERT(sMask.fValue = -1); in do_deflated_image()
190 pm.info().dimensions(), colorSpace, sMask, length, false); in do_deflated_image()
192 do_deflated_alpha(pm, doc, sMask); in do_deflated_image()
DSkPDFGraphicState.cpp117 SkPDFIndirectReference SkPDFGraphicState::GetSMaskGraphicState(SkPDFIndirectReference sMask, in GetSMaskGraphicState() argument
129 sMaskDict->insertRef("G", sMask); in GetSMaskGraphicState()
DSkPDFGraphicState.h41 SkPDFIndirectReference GetSMaskGraphicState(SkPDFIndirectReference sMask,
DSkPDFDevice.h152 SkPDFIndirectReference sMask,
DSkPDFDevice.cpp1137 SkPDFIndirectReference sMask, in drawFormXObjectWithMask() argument
1140 SkASSERT(sMask); in drawFormXObjectWithMask()
1148 sMask, invertClip, SkPDFGraphicState::kAlpha_SMaskMode, in drawFormXObjectWithMask()
/third_party/skia/src/pdf/
DSkPDFBitmap.cpp75 SkPDFIndirectReference sMask, in emit_image_stream() argument
83 if (sMask) { in emit_image_stream()
84 pdfDict.insertRef("SMask", sMask); in emit_image_stream()
142 SkPDFIndirectReference sMask; in do_deflated_image() local
144 sMask = doc->reserveRef(); in do_deflated_image()
154 SkASSERT(sMask.fValue = -1); in do_deflated_image()
191 pm.info().dimensions(), colorSpace, sMask, length, false); in do_deflated_image()
193 do_deflated_alpha(pm, doc, sMask); in do_deflated_image()
DSkPDFGraphicState.cpp119 SkPDFIndirectReference SkPDFGraphicState::GetSMaskGraphicState(SkPDFIndirectReference sMask, in GetSMaskGraphicState() argument
131 sMaskDict->insertRef("G", sMask); in GetSMaskGraphicState()
DSkPDFGraphicState.h41 SkPDFIndirectReference GetSMaskGraphicState(SkPDFIndirectReference sMask,
DSkPDFDevice.h147 SkPDFIndirectReference sMask,
DSkPDFDevice.cpp1117 SkPDFIndirectReference sMask, in drawFormXObjectWithMask() argument
1120 SkASSERT(sMask); in drawFormXObjectWithMask()
1128 sMask, invertClip, SkPDFGraphicState::kAlpha_SMaskMode, in drawFormXObjectWithMask()