Home
last modified time | relevance | path

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

/external/swiftshader/src/Pipeline/
DPixelRoutine.hpp49 virtual void applyShader(Int cMask[4], Int sMask[4], Int zMask[4], int sampleId) = 0;
51 …virtual void rasterOperation(Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMa…
60 …dex, const Pointer<Byte> &cBuffer, const Int &x, Vector4f &oC, const Int &sMask, const Int &zMask,…
62 …const Pointer<Byte> &cBuffer, const Int &x, Vector4s &current, const Int &sMask, const Int &zMask,…
70 void stencilTest(const Pointer<Byte> &sBuffer, int q, const Int &x, Int &sMask, const Int &cMask);
72 …onst PixelProcessor::States::StencilOpState &ops, bool isBack, const Int &zMask, const Int &sMask);
74 … Pointer<Byte> &zBuffer, int q, const Int &x, const Float4 &z, const Int &sMask, Int &zMask, const…
82 …void writeStencil(Pointer<Byte> &sBuffer, int q, const Int &x, const Int &sMask, const Int &zMask,…
89 … Pointer<Byte> &zBuffer, int q, const Int &x, const Float4 &z, const Int &sMask, Int &zMask, const…
90 … Pointer<Byte> &zBuffer, int q, const Int &x, const Float4 &z, const Int &sMask, Int &zMask, const…
DPixelProgram.hpp38 virtual void applyShader(Int cMask[4], Int sMask[4], Int zMask[4], int sampleId);
40 …virtual void rasterOperation(Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMa…
50 Int4 maskAny(Int cMask[4], Int sMask[4], Int zMask[4]) const;
51 Int4 maskAny(Int cMask, Int sMask, Int zMask) const;
DPixelProgram.cpp43 Int4 PixelProgram::maskAny(Int cMask[4], Int sMask[4], Int zMask[4]) const in maskAny()
46 Int maskUnion = cMask[0] & sMask[0] & zMask[0]; in maskAny()
49 maskUnion |= (cMask[i] & sMask[i] & zMask[i]); in maskAny()
60 Int4 PixelProgram::maskAny(Int cMask, Int sMask, Int zMask) const in maskAny() argument
62 Int maskUnion = cMask & sMask & zMask; in maskAny()
136 void PixelProgram::applyShader(Int cMask[4], Int sMask[4], Int zMask[4], int sampleId) in applyShader()
192 …sk = (sampleId >= 0) ? maskAny(cMask[sampleId], sMask[sampleId], zMask[sampleId]) : maskAny(cMask,… in applyShader()
266 void PixelProgram::rasterOperation(Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], In… in rasterOperation()
308 writeColor(index, buffer, x, color, sMask[q], zMask[q], cMask[q]); in rasterOperation()
349 writeColor(index, buffer, x, color, sMask[q], zMask[q], cMask[q]); in rasterOperation()
DPixelRoutine.cpp63 Int sMask[4]; // Stencil mask in quad() local
99 sMask[q] = cMask[q]; in quad()
104 stencilTest(sBuffer, q, x, sMask[q], cMask[q]); in quad()
143 depthPass = depthPass || depthTest(zBuffer, q, x, z[q], sMask[q], zMask[q], cMask[q]); in quad()
289 applyShader(cMask, earlyFragTests ? sMask : cMask, earlyDepthTest ? zMask : cMask, sampleId); in quad()
299 sMask[q] &= cMask[q]; in quad()
309 depthPass = depthPass || depthTest(zBuffer, q, x, z[q], sMask[q], zMask[q], cMask[q]); in quad()
323 …usion += *Pointer<UInt>(constants + OFFSET(Constants, occlusionCount) + 4 * (zMask[q] & sMask[q])); in quad()
328 rasterOperation(cBuffer, x, sMask, zMask, cMask, sampleId); in quad()
337 writeStencil(sBuffer, q, x, sMask[q], zMask[q], cMask[q]); in quad()
[all …]
/external/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()
/external/skqp/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.h202 SkPDFIndirectReference sMask,
DSkPDFDevice.cpp1464 SkPDFIndirectReference sMask, in drawFormXObjectWithMask() argument
1467 SkASSERT(sMask); in drawFormXObjectWithMask()
1475 sMask, invertClip, SkPDFGraphicState::kAlpha_SMaskMode, in drawFormXObjectWithMask()
/external/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.cpp117 SkPDFIndirectReference SkPDFGraphicState::GetSMaskGraphicState(SkPDFIndirectReference sMask, in GetSMaskGraphicState() argument
129 sMaskDict->insertRef("G", sMask); in GetSMaskGraphicState()
DSkPDFGraphicState.h41 SkPDFIndirectReference GetSMaskGraphicState(SkPDFIndirectReference sMask,
DSkPDFDevice.h149 SkPDFIndirectReference sMask,
DSkPDFDevice.cpp1111 SkPDFIndirectReference sMask, in drawFormXObjectWithMask() argument
1114 SkASSERT(sMask); in drawFormXObjectWithMask()
1122 sMask, invertClip, SkPDFGraphicState::kAlpha_SMaskMode, in drawFormXObjectWithMask()
/external/llvm-project/llvm/test/CodeGen/Hexagon/
Dv60-vsel1.ll40 %sMask.049 = phi <16 x i32> [ %8, %for.body.lr.ph ], [ %2, %for.body ]
42 %15 = tail call <16 x i32> @llvm.hexagon.V6.vand(<16 x i32> undef, <16 x i32> %sMask.049)
/external/mesa3d/src/mesa/swrast/
Ds_depth.c739 const GLuint sMask = (~writeMask) & 0xff; in _swrast_clear_depth_stencil_buffer() local
746 if (sMask != 0) { in _swrast_clear_depth_stencil_buffer()
748 sRow[j * 2 + 1] = (sRow[j * 2 + 1] & sMask) | sClear; in _swrast_clear_depth_stencil_buffer()