/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
H A D | PixelRoutine.hpp | 46 virtual void applyShader(Int cMask[4]) = 0; 47 virtual Bool alphaTest(Int cMask[4]) = 0; 48 virtual void rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMask[4]) = 0; 50 virtual void quad(Pointer<Byte> cBuffer[4], Pointer<Byte> &zBuffer, Pointer<Byte> &sBuffer, Int cMask[4], Int &x); 53 void alphaToCoverage(Int cMask[4], Float4 &alpha); 60 void writeColor(int index, Pointer<Byte> &cBuffer, Int &i, Vector4s ¤t, 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); 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); [all...] |
H A D | PixelPipeline.hpp | 31 virtual void applyShader(Int cMask[4]); 32 virtual Bool alphaTest(Int cMask[4]); 33 virtual void rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMask[4]); 86 void TEXKILL(Int cMask[4], Float4 &u, Float4 &v, Float4 &s); 87 void TEXKILL(Int cMask[4], Vector4s &dst);
|
H A D | PixelProgram.hpp | 33 virtual void applyShader(Int cMask[4]); 34 virtual Bool alphaTest(Int cMask[4]); 35 virtual void rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMask[4]); 95 void TEXKILL(Int cMask[4], Vector4f &src, unsigned char mask); 103 void DISCARD(Int cMask[4], const Shader::Instruction *instruction);
|
H A D | PixelRoutine.cpp | 51 void PixelRoutine::quad(Pointer<Byte> cBuffer[RENDERTARGETS], Pointer<Byte> &zBuffer, Pointer<Byte> &sBuffer, Int cMask[4], Int &x) in quad() argument 64 zMask[q] = cMask[q]; in quad() 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() 121 XXXX += *Pointer<Float4>(constants + OFFSET(Constants,sampleX[q]) + 16 * cMask[q]); in quad() 122 YYYY += *Pointer<Float4>(constants + OFFSET(Constants,sampleY[q]) + 16 * cMask[q]); in quad() 123 WWWW += *Pointer<Float4>(constants + OFFSET(Constants,weight) + 16 * cMask[q]); in quad() 205 applyShader(cMask); in quad() 211 alphaPass = alphaTest(cMask); in quad() 299 stencilTest(Pointer<Byte> &sBuffer, int q, Int &x, Int &sMask, Int &cMask) stencilTest() argument 388 depthTest(Pointer<Byte> &zBuffer, int q, Int &x, Float4 &z, Int &sMask, Int &zMask, Int &cMask) depthTest() argument 568 alphaToCoverage(Int cMask[4], Float4 &alpha) alphaToCoverage() argument 730 writeStencil(Pointer<Byte> &sBuffer, int q, Int &x, Int &sMask, Int &zMask, Int &cMask) writeStencil() argument 1385 writeColor(int index, Pointer<Byte> &cBuffer, Int &x, Vector4s ¤t, 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 D | PixelPipeline.cpp | 61 void PixelPipeline::applyShader(Int cMask[4]) in applyShader() argument 148 TEXKILL(cMask, x, y, z); in applyShader() 154 TEXKILL(cMask, x, y, z); in applyShader() 158 TEXKILL(cMask, rs[dst.index]); in applyShader() 266 Bool PixelPipeline::alphaTest(Int cMask[4]) 281 cMask[q] &= aMask; 288 alphaToCoverage(cMask, alpha); 292 Int pass = cMask[0]; 296 pass = pass | cMask[q]; 302 void PixelPipeline::rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMask[ [all...] |
H A D | PixelProgram.cpp | 98 void PixelProgram::applyShader(Int cMask[4]) in applyShader() argument 324 case Shader::OPCODE_TEXKILL: TEXKILL(cMask, d, dst.mask); break; in applyShader() 333 case Shader::OPCODE_DISCARD: DISCARD(cMask, instruction); break; in applyShader() 608 Bool PixelProgram::alphaTest(Int cMask[4]) in alphaTest() argument 625 cMask[q] &= aMask; in alphaTest() 630 alphaToCoverage(cMask, c[0].w); in alphaTest() 634 Int pass = cMask[0]; in alphaTest() 638 pass = pass | cMask[q]; in alphaTest() 644 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[ in rasterOperation() 1324 TEXKILL(Int cMask[4], Vector4f &src, unsigned char mask) TEXKILL() argument 1347 DISCARD(Int cMask[4], const Shader::Instruction *instruction) DISCARD() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | PixelProgram.hpp | 34 virtual void setBuiltins(Int &x, Int &y, Float4 (&z)[4], Float4 &w, Int cMask[4], const SampleSet &samples); 35 virtual void executeShader(Int cMask[4], Int sMask[4], Int zMask[4], const SampleSet &samples); 36 virtual Bool alphaTest(Int cMask[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); 46 static Int4 maskAny(Int cMask[4], const SampleSet &samples); 47 static Int4 maskAny(Int cMask[4], Int sMask[4], Int zMask[4], const SampleSet &samples);
|
H A D | PixelRoutine.hpp | 47 virtual void setBuiltins(Int &x, Int &y, Float4 (&z)[4], Float4 &w, Int cMask[4], const SampleSet &samples) = 0; 48 virtual void executeShader(Int cMask[4], Int sMask[4], Int zMask[4], const SampleSet &samples) = 0; 49 virtual Bool alphaTest(Int cMask[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; 52 void quad(Pointer<Byte> cBuffer[4], Pointer<Byte> &zBuffer, Pointer<Byte> &sBuffer, Int cMask[4], Int &x, Int &y) override; 55 void alphaToCoverage(Int cMask[4], const Float4 &alpha, const SampleSet &samples); 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 ¤t, const Int &sMask, const Int &zMask, const Int &cMask); 73 Bool depthTest(const Pointer<Byte> &zBuffer, int q, const Int &x, const Float4 &z, const Int &sMask, Int &zMask, const Int &cMask); 74 void depthBoundsTest(const Pointer<Byte> &zBuffer, int q, const Int &x, Int &zMask, Int &cMask); [all...] |
H A D | PixelProgram.cpp | 34 // Union all cMask and return it as 4 booleans 35 Int4 PixelProgram::maskAny(Int cMask[4], const SampleSet &samples) in maskAny() argument 41 maskUnion |= cMask[q]; in maskAny() 52 // 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() 70 void PixelProgram::setBuiltins(Int &x, Int &y, Float4 (&z)[4], Float4 &w, Int cMask[4], const SampleSet &samples) in setBuiltins() argument 98 routine.helperInvocation = ~maskAny(cMask, samples); in setBuiltins() 139 void PixelProgram::executeShader(Int cMask[4], Int sMask[4], Int zMask[4], const SampleSet &samples) in executeShader() argument 164 inputSampleMask |= Int4(1 << q) & CmpNEQ(Int4(cMask[ in executeShader() 250 alphaTest(Int cMask[4], const SampleSet &samples) alphaTest() argument 268 blendColor(Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMask[4], const SampleSet &samples) blendColor() argument [all...] |
H A D | PixelRoutine.cpp | 78 void PixelRoutine::quad(Pointer<Byte> cBuffer[MAX_COLOR_BUFFERS], Pointer<Byte> &zBuffer, Pointer<Byte> &sBuffer, Int cMask[4], Int &x, Int &y) in quad() argument 97 zMask[q] = cMask[q]; in quad() 98 sMask[q] = cMask[q]; in quad() 137 depthPass = depthPass || depthTest(zBuffer, q, x, z[q], sMask[q], zMask[q], cMask[q]); in quad() 138 depthBoundsTest(zBuffer, q, x, zMask[q], cMask[q]); in quad() 161 XXXX += *Pointer<Float4>(constants + OFFSET(Constants, sampleX[q]) + 16 * cMask[q]); in quad() 162 YYYY += *Pointer<Float4>(constants + OFFSET(Constants, sampleY[q]) + 16 * cMask[q]); in quad() 163 WWWW += *Pointer<Float4>(constants + OFFSET(Constants, weight) + 16 * cMask[q]); in quad() 237 setBuiltins(x, y, unclampedZ, w, cMask, samples); in quad() 251 cMask[ in quad() 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 637 depthBoundsTest(const Pointer<Byte> &zBuffer, int q, const Int &x, Int &zMask, Int &cMask) depthBoundsTest() argument 669 alphaToCoverage(Int cMask[4], const Float4 &alpha, const SampleSet &samples) alphaToCoverage() 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 1239 writeColor(int index, const Pointer<Byte> &cBuffer, const Int &x, Vector4s ¤t, 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/Device/ |
H A D | QuadRasterizer.cpp | 194 Int cMask[4]; in If() local 202 cMask[q] = SignMask(PackSigned(mask, mask)) & 0x0000000F; in If() 206 quad(cBuffer, zBuffer, sBuffer, cMask, x, y); in If()
|
H A D | QuadRasterizer.hpp | 45 virtual void quad(Pointer<Byte> cBuffer[4], Pointer<Byte> &zBuffer, Pointer<Byte> &sBuffer, Int cMask[4], Int &x, Int &y) = 0;
|
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
H A D | QuadRasterizer.hpp | 51 virtual void quad(Pointer<Byte> cBuffer[4], Pointer<Byte> &zBuffer, Pointer<Byte> &sBuffer, Int cMask[4], Int &x) = 0;
|
H A D | QuadRasterizer.cpp | 282 Int cMask[4]; 287 cMask[q] = SignMask(PackSigned(mask, mask)) & 0x0000000F; 290 quad(cBuffer, zBuffer, sBuffer, cMask, x);
|
/third_party/sqlite/src/ |
H A D | sqlite3.c | 157427 Bitmask cMask; global() local 157483 Bitmask cMask; global() local [all...] |