/external/swiftshader/src/Pipeline/ |
PixelRoutine.hpp | 48 virtual void rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMask[4]) = 0; 58 void writeColor(int index, Pointer<Byte> &cBuffer, Int &i, Vector4s ¤t, Int &sMask, Int &zMask, Int &cMask); 60 void writeColor(int index, Pointer<Byte> &cBuffer, Int &i, Vector4f &oC, Int &sMask, Int &zMask, Int &cMask); 68 void stencilTest(Pointer<Byte> &sBuffer, int q, Int &x, Int &sMask, Int &cMask); 70 void stencilOperation(Byte8 &newValue, Byte8 &bufferValue, VkStencilOp stencilPassOperation, VkStencilOp stencilZFailOperation, VkStencilOp stencilFailOperation, bool CCW, Int &zMask, Int &sMask); 72 Bool depthTest(Pointer<Byte> &zBuffer, int q, Int &x, Float4 &z, Int &sMask, Int &zMask, Int &cMask); 80 void writeStencil(Pointer<Byte> &sBuffer, int q, Int &x, Int &sMask, Int &zMask, Int &cMask);
|
PixelRoutine.cpp | 60 Int sMask[4]; // Stencil mask 65 sMask[q] = cMask[q]; 70 stencilTest(sBuffer, q, x, sMask[q], cMask[q]); 99 depthPass = depthPass || depthTest(zBuffer, q, x, z[q], sMask[q], zMask[q], cMask[q]); 218 sMask[q] &= cMask[q]; 229 depthPass = depthPass || depthTest(zBuffer, q, x, z[q], sMask[q], zMask[q], cMask[q]); 247 occlusion += *Pointer<UInt>(constants + OFFSET(Constants,occlusionCount) + 4 * (zMask[q] & sMask[q])); 258 rasterOperation(f, cBuffer, x, sMask, zMask, cMask); 272 writeStencil(sBuffer, q, x, sMask[q], zMask[q], cMask[q]); 299 void PixelRoutine::stencilTest(Pointer<Byte> &sBuffer, int q, Int &x, Int &sMask, Int &cMask [all...] |
PixelProgram.hpp | 54 virtual void rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMask[4]);
|
PixelProgram.cpp | 614 void PixelProgram::rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMask[4]) 664 writeColor(index, buffer, x, color, sMask[q], zMask[q], cMask[q]); 697 writeColor(index, buffer, x, color, sMask[q], zMask[q], cMask[q]); [all...] |
/external/swiftshader/src/Shader/ |
PixelRoutine.hpp | 48 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 ¤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); 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);
|
PixelRoutine.cpp | 60 Int sMask[4]; // Stencil mask 65 sMask[q] = cMask[q]; 70 stencilTest(sBuffer, q, x, sMask[q], cMask[q]); 99 depthPass = depthPass || depthTest(zBuffer, q, x, z[q], sMask[q], zMask[q], cMask[q]); 218 sMask[q] &= cMask[q]; 229 depthPass = depthPass || depthTest(zBuffer, q, x, z[q], sMask[q], zMask[q], cMask[q]); 247 occlusion += *Pointer<UInt>(constants + OFFSET(Constants,occlusionCount) + 4 * (zMask[q] & sMask[q])); 258 rasterOperation(f, cBuffer, x, sMask, zMask, cMask); 272 writeStencil(sBuffer, q, x, sMask[q], zMask[q], cMask[q]); 299 void PixelRoutine::stencilTest(Pointer<Byte> &sBuffer, int q, Int &x, Int &sMask, Int &cMask [all...] |
PixelPipeline.hpp | 33 virtual void rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMask[4]);
|
PixelProgram.hpp | 54 virtual void rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMask[4]);
|
PixelPipeline.cpp | 302 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]); [all...] |
PixelProgram.cpp | 615 void PixelProgram::rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMask[4]) 674 writeColor(index, buffer, x, color, sMask[q], zMask[q], cMask[q]); 709 writeColor(index, buffer, x, color, sMask[q], zMask[q], cMask[q]); [all...] |
/external/skia/src/pdf/ |
SkPDFGraphicState.h | 35 * @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,
|
SkPDFBitmap.cpp | 74 SkPDFIndirectReference sMask, 82 if (sMask) { 83 pdfDict.insertRef("SMask", sMask); 141 SkPDFIndirectReference sMask; 143 sMask = doc->reserveRef(); 153 SkASSERT(sMask.fValue = -1); 190 pm.info().dimensions(), colorSpace, sMask, length, false); 192 do_deflated_alpha(pm, doc, sMask);
|
SkPDFGraphicState.cpp | 117 SkPDFIndirectReference SkPDFGraphicState::GetSMaskGraphicState(SkPDFIndirectReference sMask, 129 sMaskDict->insertRef("G", sMask); 138 result.insertObject("SMask", std::move(sMaskDict));
|
SkPDFDevice.h | 198 SkPDFIndirectReference sMask,
|
SkPDFDevice.cpp | 790 tmp.insertName("SMask", "None"); [all...] |
/external/skqp/src/pdf/ |
SkPDFGraphicState.h | 35 * @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,
|
SkPDFBitmap.cpp | 74 SkPDFIndirectReference sMask, 82 if (sMask) { 83 pdfDict.insertRef("SMask", sMask); 141 SkPDFIndirectReference sMask; 143 sMask = doc->reserveRef(); 153 SkASSERT(sMask.fValue = -1); 190 pm.info().dimensions(), colorSpace, sMask, length, false); 192 do_deflated_alpha(pm, doc, sMask);
|
SkPDFGraphicState.cpp | 117 SkPDFIndirectReference SkPDFGraphicState::GetSMaskGraphicState(SkPDFIndirectReference sMask, 129 sMaskDict->insertRef("G", sMask); 138 result.insertObject("SMask", std::move(sMaskDict));
|
SkPDFDevice.h | 202 SkPDFIndirectReference sMask,
|
SkPDFDevice.cpp | 790 tmp.insertName("SMask", "None"); [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_depth.c | 743 const GLuint sMask = (~writeMask) & 0xff; 750 if (sMask != 0) { 752 sRow[j * 2 + 1] = (sRow[j * 2 + 1] & sMask) | sClear;
|