Home
last modified time | relevance | path

Searched refs:sMask (Results 1 - 15 of 15) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A 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], const SampleSet &samples) = 0;
57 void writeColor(int index, const Pointer<Byte> &cBuffer, const Int &x, Vector4f &color, const Int &sMask, const Int &zMask, const Int &cMask);
59 void writeColor(int index, const Pointer<Byte> &cBuffer, const Int &x, Vector4s &current, const Int &sMask, const Int &zMask, const Int &cMask);
68 void stencilTest(const Pointer<Byte> &sBuffer, const Int &x, Int sMask[4], const SampleSet &samples);
70 void stencilOperation(Byte8 &newValue, const Byte8 &bufferValue, const PixelProcessor::States::StencilOpState &ops, bool isBack, const Int &zMask, const Int &sMask);
73 Bool depthTest(const Pointer<Byte> &zBuffer, int q, const Int &x, const Float4 &z, const Int &sMask, Int &zMask, const Int &cMask);
95 void writeStencil(Pointer<Byte> &sBuffer, const Int &x, const Int sMask[4], const Int zMask[4], const Int cMask[4], const SampleSet &samples);
97 void occlusionSampleCount(const Int zMask[4], const Int sMask[4], const SampleSet &samples);
103 Bool depthTest32F(const Pointer<Byte> &zBuffer, int q, const Int &x, const Float4 &z, const Int &sMask, In
[all...]
H A 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], const SampleSet &samples);
47 static Int4 maskAny(Int cMask[4], Int sMask[4], Int zMask[4], const SampleSet &samples);
H A DPixelProgram.cpp52 // Union all cMask/sMask/zMask and return it as 4 booleans
53 Int4 PixelProgram::maskAny(Int cMask[4], Int sMask[4], Int zMask[4], const SampleSet &samples) in maskAny() argument
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() argument
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 cMask[4], const SampleSet &samples) in blendColor() argument
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()
H A 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, samples); 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, zMas in quad()
332 stencilTest(const Pointer<Byte> &sBuffer, const Int &x, Int sMask[4], const SampleSet &samples) stencilTest() argument
423 depthTest32F(const Pointer<Byte> &zBuffer, int q, const Int &x, const Float4 &z, const Int &sMask, Int &zMask, const Int &cMask) depthTest32F() argument
495 depthTest16(const Pointer<Byte> &zBuffer, int q, const Int &x, const Float4 &z, const Int &sMask, Int &zMask, const Int &cMask) depthTest16() argument
582 depthTest(const Pointer<Byte> &zBuffer, int q, const Int &x, const Float4 &z, const Int &sMask, Int &zMask, const Int &cMask) depthTest() argument
766 occlusionSampleCount(const Int zMask[4], const Int sMask[4], const SampleSet &samples) occlusionSampleCount() argument
779 writeStencil(Pointer<Byte> &sBuffer, const Int &x, const Int sMask[4], const Int zMask[4], const Int cMask[4], const SampleSet &samples) writeStencil() argument
847 stencilOperation(Byte8 &newValue, const Byte8 &bufferValue, const PixelProcessor::States::StencilOpState &ops, bool isBack, const Int &zMask, const Int &sMask) stencilOperation() argument
1239 writeColor(int index, const Pointer<Byte> &cBuffer, const Int &x, Vector4s &current, const Int &sMask, const Int &zMask, const Int &cMask) writeColor() argument
2553 writeColor(int index, const Pointer<Byte> &cBuffer, const Int &x, Vector4f &color, const Int &sMask, const Int &zMask, const Int &cMask) writeColor() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Shader/
H A DPixelRoutine.hpp48 virtual void rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMask[4]) = 0;
60 void writeColor(int index, Pointer<Byte> &cBuffer, Int &i, Vector4s &current, Int &sMask, Int &zMask, Int &cMask);
62 void writeColor(int index, Pointer<Byte> &cBuffer, Int &i, Vector4f &oC, Int &sMask, Int &zMask, Int &cMask);
70 void stencilTest(Pointer<Byte> &sBuffer, int q, Int &x, Int &sMask, Int &cMask);
72 void stencilOperation(Byte8 &newValue, Byte8 &bufferValue, StencilOperation stencilPassOperation, StencilOperation 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 &cMask);
82 void writeStencil(Pointer<Byte> &sBuffer, int q, Int &x, Int &sMask, Int &zMask, Int &cMask);
H A 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 occlusion += *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, In argument
388 depthTest(Pointer<Byte> &zBuffer, int q, Int &x, Float4 &z, Int &sMask, Int &zMask, Int &cMask) depthTest() argument
730 writeStencil(Pointer<Byte> &sBuffer, int q, Int &x, Int &sMask, Int &zMask, Int &cMask) writeStencil() argument
796 stencilOperation(Byte8 &newValue, Byte8 &bufferValue, StencilOperation stencilPassOperation, StencilOperation stencilZFailOperation, StencilOperation stencilFailOperation, bool CCW, Int &zMask, Int &sMask) stencilOperation() argument
1385 writeColor(int index, Pointer<Byte> &cBuffer, Int &x, Vector4s &current, Int &sMask, Int &zMask, Int &cMask) writeColor() argument
2228 writeColor(int index, Pointer<Byte> &cBuffer, Int &x, Vector4f &oC, Int &sMask, Int &zMask, Int &cMask) writeColor() argument
[all...]
H A DPixelPipeline.hpp33 virtual void rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMask[4]);
H A DPixelProgram.hpp35 virtual void rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMask[4]);
H A DPixelPipeline.cpp302 void PixelPipeline::rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMask[4])
351 writeColor(0, buffer, x, color, sMask[q], zMask[q], cMask[q]);
371 writeColor(0, buffer, x, color, sMask[q], zMask[q], cMask[q]);
H A DPixelProgram.cpp644 void PixelProgram::rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMask[4]) in rasterOperation() argument
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()
/third_party/skia/src/pdf/
H A DSkPDFBitmap.cpp75 SkPDFIndirectReference sMask, in emit_image_stream()
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()
70 emit_image_stream(SkPDFDocument* doc, SkPDFIndirectReference ref, T writeStream, SkISize size, const char* colorSpace, SkPDFIndirectReference sMask, int length, bool isJpeg) emit_image_stream() argument
H A DSkPDFGraphicState.cpp119 SkPDFIndirectReference SkPDFGraphicState::GetSMaskGraphicState(SkPDFIndirectReference sMask, in GetSMaskGraphicState() argument
131 sMaskDict->insertRef("G", sMask); in GetSMaskGraphicState()
H A DSkPDFGraphicState.h35 * @param sMask The form xobject to use as a soft mask.
36 * @param invert Indicates if the alpha of the sMask should be inverted.
37 * @param sMaskMode Whether to use alpha or luminosity for the sMask.
41 SkPDFIndirectReference GetSMaskGraphicState(SkPDFIndirectReference sMask,
H A DSkPDFDevice.h147 SkPDFIndirectReference sMask,
H A DSkPDFDevice.cpp1117 SkPDFIndirectReference sMask, in drawFormXObjectWithMask()
1120 SkASSERT(sMask); in drawFormXObjectWithMask()
1128 sMask, invertClip, SkPDFGraphicState::kAlpha_SMaskMode, in drawFormXObjectWithMask()
1116 drawFormXObjectWithMask(SkPDFIndirectReference xObject, SkPDFIndirectReference sMask, SkBlendMode mode, bool invertClip) drawFormXObjectWithMask() argument

Completed in 15 milliseconds