Home
last modified time | relevance | path

Searched refs:GrUserStencilOp (Results 1 – 25 of 26) sorted by relevance

12

/external/skqp/src/gpu/
DGrUserStencilSettings.h78 enum class GrUserStencilOp : uint8_t { enum
101 constexpr static GrUserStencilOp kLastUserOnlyStencilOp = GrUserStencilOp::kDecMaybeClamp;
102 constexpr static GrUserStencilOp kLastClipOnlyStencilOp = GrUserStencilOp::kInvertClipBit;
103 constexpr static int kGrUserStencilOpCount = 1 + (int)GrUserStencilOp::kZeroClipAndUserBits;
112 typedef GrTStencilFaceSettings<GrUserStencilTest, GrUserStencilOp> Face;
114 template<GrUserStencilTest, GrUserStencilOp PassOp, GrUserStencilOp FailOp> struct Attrs;
118 GrUserStencilOp PassOp, GrUserStencilOp FailOp, uint16_t WriteMask> struct Init {};
123 GrUserStencilOp FtPassOp, GrUserStencilOp BkPassOp,
124 GrUserStencilOp FtFailOp, GrUserStencilOp BkFailOp,
128 GrUserStencilOp PassOp, GrUserStencilOp FailOp, uint16_t WriteMask>
[all …]
DGrStencilSettings.cpp18 GrUserStencilOp::kKeep,
19 GrUserStencilOp::kKeep,
157 GR_STATIC_ASSERT(0 == (int)GrUserStencilOp::kKeep);
158 GR_STATIC_ASSERT(1 == (int)GrUserStencilOp::kZero);
159 GR_STATIC_ASSERT(2 == (int)GrUserStencilOp::kReplace);
160 GR_STATIC_ASSERT(3 == (int)GrUserStencilOp::kInvert);
161 GR_STATIC_ASSERT(4 == (int)GrUserStencilOp::kIncWrap);
162 GR_STATIC_ASSERT(5 == (int)GrUserStencilOp::kDecWrap);
163 GR_STATIC_ASSERT(6 == (int)GrUserStencilOp::kIncMaybeClamp);
164 GR_STATIC_ASSERT(7 == (int)GrUserStencilOp::kDecMaybeClamp);
[all …]
DGrDrawOpTest.cpp27 GrUserStencilOp::kKeep, in GrGetRandomStencil()
28 GrUserStencilOp::kKeep, in GrGetRandomStencil()
36 GrUserStencilOp::kReplace, in GrGetRandomStencil()
37 GrUserStencilOp::kReplace, in GrGetRandomStencil()
45 GrUserStencilOp::kIncWrap, in GrGetRandomStencil()
46 GrUserStencilOp::kInvert, in GrGetRandomStencil()
DGrPathRendering.cpp27 GrUserStencilOp::kIncWrap, in GetStencilPassSettings()
28 GrUserStencilOp::kIncWrap, in GetStencilPassSettings()
39 GrUserStencilOp::kInvert, in GetStencilPassSettings()
40 GrUserStencilOp::kInvert, in GetStencilPassSettings()
DGrPathRenderer.cpp107 GrUserStencilOp::kReplace, in onStencilPath()
108 GrUserStencilOp::kReplace, in onStencilPath()
DGrReducedClip.cpp775 GrUserStencilOp::kReplace, in drawAlphaClipMask()
776 GrUserStencilOp::kReplace, in drawAlphaClipMask()
789 GrUserStencilOp::kZero, in drawAlphaClipMask()
790 GrUserStencilOp::kZero, in drawAlphaClipMask()
888 GrUserStencilOp::kIncMaybeClamp, in drawStencilClipMask()
889 GrUserStencilOp::kIncMaybeClamp, in drawStencilClipMask()
/external/skia/src/gpu/
DGrUserStencilSettings.h79 enum class GrUserStencilOp : uint8_t { enum
102 constexpr static GrUserStencilOp kLastUserOnlyStencilOp = GrUserStencilOp::kDecMaybeClamp;
103 constexpr static GrUserStencilOp kLastClipOnlyStencilOp = GrUserStencilOp::kInvertClipBit;
104 constexpr static int kGrUserStencilOpCount = 1 + (int)GrUserStencilOp::kZeroClipAndUserBits;
113 typedef GrTStencilFaceSettings<GrUserStencilTest, GrUserStencilOp> Face;
115 template<GrUserStencilTest, GrUserStencilOp PassOp, GrUserStencilOp FailOp> struct Attrs;
119 GrUserStencilOp PassOp, GrUserStencilOp FailOp, uint16_t WriteMask> struct Init {};
124 GrUserStencilOp CWPassOp, GrUserStencilOp CCWPassOp,
125 GrUserStencilOp CWFailOp, GrUserStencilOp CCWFailOp,
129 GrUserStencilOp PassOp, GrUserStencilOp FailOp, uint16_t WriteMask>
[all …]
DGrStencilMaskHelper.cpp30 GrUserStencilOp::kSetClipAndReplaceUserBits,
31 GrUserStencilOp::kZeroClipAndUserBits,
40 GrUserStencilOp::kSetClipAndReplaceUserBits,
41 GrUserStencilOp::kZeroClipAndUserBits,
52 GrUserStencilOp::kSetClipAndReplaceUserBits,
53 GrUserStencilOp::kZeroClipAndUserBits,
64 GrUserStencilOp::kSetClipAndReplaceUserBits,
65 GrUserStencilOp::kZeroClipAndUserBits,
76 GrUserStencilOp::kSetClipAndReplaceUserBits,
77 GrUserStencilOp::kKeep,
[all …]
DGrStencilSettings.cpp18 GrUserStencilOp::kKeep,
19 GrUserStencilOp::kKeep,
157 static_assert(0 == (int)GrUserStencilOp::kKeep);
158 static_assert(1 == (int)GrUserStencilOp::kZero);
159 static_assert(2 == (int)GrUserStencilOp::kReplace);
160 static_assert(3 == (int)GrUserStencilOp::kInvert);
161 static_assert(4 == (int)GrUserStencilOp::kIncWrap);
162 static_assert(5 == (int)GrUserStencilOp::kDecWrap);
163 static_assert(6 == (int)GrUserStencilOp::kIncMaybeClamp);
164 static_assert(7 == (int)GrUserStencilOp::kDecMaybeClamp);
[all …]
DGrDrawOpTest.cpp27 GrUserStencilOp::kKeep, in GrGetRandomStencil()
28 GrUserStencilOp::kKeep, in GrGetRandomStencil()
36 GrUserStencilOp::kReplace, in GrGetRandomStencil()
37 GrUserStencilOp::kReplace, in GrGetRandomStencil()
45 GrUserStencilOp::kIncWrap, in GrGetRandomStencil()
46 GrUserStencilOp::kInvert, in GrGetRandomStencil()
DGrPathRenderer.cpp104 GrUserStencilOp::kReplace, in onStencilPath()
105 GrUserStencilOp::kReplace, in onStencilPath()
DGrReducedClip.cpp832 GrUserStencilOp::kReplace, in drawAlphaClipMask()
833 GrUserStencilOp::kReplace, in drawAlphaClipMask()
846 GrUserStencilOp::kZero, in drawAlphaClipMask()
847 GrUserStencilOp::kZero, in drawAlphaClipMask()
/external/skqp/src/gpu/ops/
DGrPathStencilSettings.h23 GrUserStencilOp::kInvert,
24 GrUserStencilOp::kKeep,
34 GrUserStencilOp::kZero,
35 GrUserStencilOp::kZero,
45 GrUserStencilOp::kZero,
46 GrUserStencilOp::kZero,
57 GrUserStencilOp::kIncWrap, GrUserStencilOp::kDecWrap,
58 GrUserStencilOp::kKeep, GrUserStencilOp::kKeep,
67 GrUserStencilOp::kZero,
68 GrUserStencilOp::kZero,
[all …]
DGrDrawPathOp.cpp39 GrUserStencilOp::kZero, in pipelineInitArgs()
40 GrUserStencilOp::kKeep, in pipelineInitArgs()
DGrStencilAndCoverPathRenderer.cpp135 GrUserStencilOp::kKeep, in onDrawPath()
136 GrUserStencilOp::kZero, in onDrawPath()
/external/skia/src/gpu/ops/
DGrPathStencilSettings.h23 GrUserStencilOp::kInvert,
24 GrUserStencilOp::kKeep,
34 GrUserStencilOp::kZero,
35 GrUserStencilOp::kZero,
45 GrUserStencilOp::kZero,
46 GrUserStencilOp::kZero,
57 GrUserStencilOp::kIncWrap, GrUserStencilOp::kDecWrap,
58 GrUserStencilOp::kKeep, GrUserStencilOp::kKeep,
67 GrUserStencilOp::kZero,
68 GrUserStencilOp::kZero,
[all …]
/external/skia/src/gpu/tessellate/
DGrPathInnerTriangulateOp.cpp136 GrUserStencilOp::kKeep, GrUserStencilOp::kKeep, in prePreparePrograms()
137 GrUserStencilOp::kIncWrap, GrUserStencilOp::kDecWrap, in prePreparePrograms()
145 GrUserStencilOp::kKeep, in prePreparePrograms()
147 GrUserStencilOp::kZero, in prePreparePrograms()
163 GrUserStencilOp::kKeep, in prePreparePrograms()
164 GrUserStencilOp::kKeep, in prePreparePrograms()
174 GrUserStencilOp::kIncWrap, GrUserStencilOp::kDecWrap, in prePreparePrograms()
175 GrUserStencilOp::kKeep, GrUserStencilOp::kKeep, in prePreparePrograms()
186 GrUserStencilOp::kZero, in prePreparePrograms()
187 GrUserStencilOp::kKeep, in prePreparePrograms()
DGrStencilPathShader.h51 GrUserStencilOp::kIncWrap, GrUserStencilOp::kDecWrap, in StencilPassSettings()
52 GrUserStencilOp::kKeep, GrUserStencilOp::kKeep, in StencilPassSettings()
61 GrUserStencilOp::kInvert, in StencilPassSettings()
62 GrUserStencilOp::kKeep, in StencilPassSettings()
DGrStrokeTessellateOp.cpp134 GrUserStencilOp::kZero,
135 GrUserStencilOp::kReplace,
146 GrUserStencilOp::kZero,
147 GrUserStencilOp::kReplace,
DGrFillPathShader.h50 GrUserStencilOp::kZero, in TestAndResetStencilSettings()
51 GrUserStencilOp::kKeep, in TestAndResetStencilSettings()
DGrTessellationPathRenderer.cpp385 GrUserStencilOp::kKeep,
386 GrUserStencilOp::kKeep,
394 GrUserStencilOp::kZero,
395 GrUserStencilOp::kKeep,
/external/skqp/src/android/
DSkAndroidFrameworkUtils.cpp48 GrUserStencilOp::kReplace, in clipWithStencil()
49 GrUserStencilOp::kReplace, in clipWithStencil()
/external/skia/src/gpu/ccpr/
DGrCCPerFlushResources.cpp105 GrUserStencilOp::kZero, in draw_stencil_to_coverage()
106 GrUserStencilOp::kKeep, in draw_stencil_to_coverage()
118 GrUserStencilOp::kKeep, in draw_stencil_to_coverage()
119 GrUserStencilOp::kKeep, in draw_stencil_to_coverage()
/external/skqp/gm/
Dwindowrectangles.cpp251 GrUserStencilOp::kSetClipBit, in stencilCheckerboard()
252 GrUserStencilOp::kKeep, in stencilCheckerboard()
/external/skia/gm/
Dwindowrectangles.cpp286 GrUserStencilOp::kSetClipBit, in stencilCheckerboard()
287 GrUserStencilOp::kKeep, in stencilCheckerboard()

12