/external/skia/src/gpu/ |
D | GrUserStencilSettings.h | 187 uint16_t flags(bool hasStencilClip) const { in flags() 188 return fCWFlags[hasStencilClip] & fCCWFlags[hasStencilClip]; in flags() 190 bool isDisabled(bool hasStencilClip) const { in isDisabled() 191 return this->flags(hasStencilClip) & kDisabled_StencilFlag; in isDisabled() 193 bool testAlwaysPasses(bool hasStencilClip) const { in testAlwaysPasses() 194 return this->flags(hasStencilClip) & kTestAlwaysPasses_StencilFlag; in testAlwaysPasses() 196 bool isTwoSided(bool hasStencilClip) const { in isTwoSided() 197 return !(this->flags(hasStencilClip) & kSingleSided_StencilFlag); in isTwoSided() 199 bool usesWrapOp(bool hasStencilClip) const { in usesWrapOp() 200 return !(this->flags(hasStencilClip) & kNoWrapOps_StencilFlag); in usesWrapOp() [all …]
|
D | GrStencilSettings.cpp | 27 void GrStencilSettings::reset(const GrUserStencilSettings& user, bool hasStencilClip, in reset() argument 29 uint16_t cwFlags = user.fCWFlags[hasStencilClip]; in reset() 31 SkASSERT(cwFlags == user.fCCWFlags[hasStencilClip]); in reset() 34 fCWFace.reset(user.fCWFace, hasStencilClip, numStencilBits); in reset() 39 uint16_t ccwFlags = user.fCCWFlags[hasStencilClip]; in reset() 45 fCWFace.reset(user.fCWFace, hasStencilClip, numStencilBits); in reset() 50 fCCWFace.reset(user.fCCWFace, hasStencilClip, numStencilBits); in reset() 171 void GrStencilSettings::Face::reset(const GrUserStencilSettings::Face& user, bool hasStencilClip, in reset() argument 200 if (!hasStencilClip || user.fTest > kLastClippedStencilTest) { in reset()
|
D | GrStencilClip.h | 32 bool hasStencilClip() const { return SK_InvalidGenID != fStencilStackID; } in hasStencilClip() function 45 if (this->hasStencilClip()) { in apply() 53 if (this->hasStencilClip()) { in preApply()
|
D | GrAppliedClip.h | 44 bool hasStencilClip() const { return SkClipStack::kInvalidGenID != fStencilStackID; } in hasStencilClip() function 75 return fScissorState.enabled() || this->hasStencilClip() || fWindowRectsState.enabled(); in doesClip() 110 bool hasStencilClip() const { return fHardClip.hasStencilClip(); } in hasStencilClip() function
|
D | GrStencilSettings.h | 51 GrStencilSettings(const GrUserStencilSettings& user, bool hasStencilClip, int numStencilBits) { in GrStencilSettings() argument 52 this->reset(user, hasStencilClip, numStencilBits); in GrStencilSettings() 59 void reset(const GrUserStencilSettings&, bool hasStencilClip, int numStencilBits);
|
D | GrProgramInfo.cpp | 16 stencil.reset(*fUserStencilSettings, this->pipeline().hasStencilClip(), 8); in nonGLStencilSettings()
|
D | GrProgramInfo.h | 60 fPipeline->hasStencilClip(); in isStencilEnabled()
|
D | GrPipeline.h | 179 bool hasStencilClip() const { in hasStencilClip() function
|
D | GrPipeline.cpp | 23 if (hardClip.hasStencilClip()) { in GrPipeline()
|
D | GrOpsRenderPass.cpp | 79 if (stencil->isTwoSided(programInfo.pipeline().hasStencilClip())) { in bindPipeline()
|
/external/skqp/src/gpu/ |
D | GrUserStencilSettings.h | 185 uint16_t flags(bool hasStencilClip) const { in flags() 186 return fFrontFlags[hasStencilClip] & fBackFlags[hasStencilClip]; in flags() 188 bool isDisabled(bool hasStencilClip) const { in isDisabled() 189 return this->flags(hasStencilClip) & kDisabled_StencilFlag; in isDisabled() 191 bool isTwoSided(bool hasStencilClip) const { in isTwoSided() 192 return !(this->flags(hasStencilClip) & kSingleSided_StencilFlag); in isTwoSided() 194 bool usesWrapOp(bool hasStencilClip) const { in usesWrapOp() 195 return !(this->flags(hasStencilClip) & kNoWrapOps_StencilFlag); in usesWrapOp() 217 constexpr static bool TestAlwaysPasses(bool hasStencilClip) { in TestAlwaysPasses() 218 return (!hasStencilClip && GrUserStencilTest::kAlwaysIfInClip == Test) || in TestAlwaysPasses() [all …]
|
D | GrStencilClip.h | 30 bool hasStencilClip() const { return SK_InvalidGenID != fStencilStackID; } in hasStencilClip() function 34 return !this->hasStencilClip() && fFixedClip.quickContains(rect); in quickContains() 40 return !this->hasStencilClip() && fFixedClip.isRRect(rtBounds, rr, aa); in isRRect() 46 if (this->hasStencilClip()) { in apply()
|
D | GrAppliedClip.h | 31 bool hasStencilClip() const { return SkClipStack::kInvalidGenID != fStencilStackID; } in hasStencilClip() function 58 return fScissorState.enabled() || this->hasStencilClip() || fWindowRectsState.enabled(); in doesClip() 86 bool hasStencilClip() const { return fHardClip.hasStencilClip(); } in hasStencilClip() function
|
D | GrStencilSettings.cpp | 27 void GrStencilSettings::reset(const GrUserStencilSettings& user, bool hasStencilClip, in reset() argument 29 uint16_t frontFlags = user.fFrontFlags[hasStencilClip]; in reset() 31 SkASSERT(frontFlags == user.fBackFlags[hasStencilClip]); in reset() 34 fFront.reset(user.fFront, hasStencilClip, numStencilBits); in reset() 39 uint16_t backFlags = user.fBackFlags[hasStencilClip]; in reset() 45 fFront.reset(user.fFront, hasStencilClip, numStencilBits); in reset() 50 fBack.reset(user.fBack, hasStencilClip, numStencilBits); in reset() 171 void GrStencilSettings::Face::reset(const GrUserStencilSettings::Face& user, bool hasStencilClip, in reset() argument 200 if (!hasStencilClip || user.fTest > kLastClippedStencilTest) { in reset()
|
D | GrStencilSettings.h | 51 GrStencilSettings(const GrUserStencilSettings& user, bool hasStencilClip, int numStencilBits) { in GrStencilSettings() argument 52 this->reset(user, hasStencilClip, numStencilBits); in GrStencilSettings() 59 void reset(const GrUserStencilSettings&, bool hasStencilClip, int numStencilBits);
|
D | GrPipeline.cpp | 25 if (appliedClip.hasStencilClip()) { in GrPipeline()
|
D | GrPipeline.h | 174 bool hasStencilClip() const { in hasStencilClip() function
|
D | GrRenderTargetContext.cpp | 833 appliedClip.hasStencilClip(), in stencilPath() 1957 appliedClip.hasStencilClip()) { in addDrawOp()
|
/external/skqp/src/gpu/ops/ |
D | GrStencilPathOp.h | 27 bool hasStencilClip, 48 bool hasStencilClip, in GrStencilPathOp() argument 55 , fHasStencilClip(hasStencilClip) in GrStencilPathOp()
|
D | GrStencilPathOp.cpp | 21 bool hasStencilClip, in Make() argument 27 hasStencilClip, scissor, path); in Make()
|
D | GrDrawPathOp.cpp | 59 bool stencilClip = appliedClip && appliedClip->hasStencilClip(); in init_stencil_pass_settings()
|
/external/skqp/src/gpu/vk/ |
D | GrVkPipelineStateCache.cpp | 92 stencil.reset(*pipeline.getUserStencil(), pipeline.hasStencilClip(), in refPipelineState()
|
/external/skia/src/gpu/tessellate/ |
D | GrPathInnerTriangulateOp.cpp | 124 } else if (!fPipelineForFills->hasStencilClip()) { in prePreparePrograms()
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlPipelineState.mm | 116 fStencil.reset(*pipeline.getUserStencil(), pipeline.hasStencilClip(),
|
/external/skia/tests/ |
D | GrClipStackTest.cpp | 1900 REPORTER_ASSERT(r, !out.hardClip().hasStencilClip(), "Clip should not need stencil"); in DEF_TEST()
|