Home
last modified time | relevance | path

Searched refs:GrReducedClip (Results 1 – 8 of 8) sorted by relevance

/external/skia/tests/
DClipStackTest.cpp20 typedef GrReducedClip::ElementList ElementList;
21 typedef GrReducedClip::InitialState InitialState;
1015 SkAlignedSTStorage<1, GrReducedClip> storage; in test_reduced_clip_stack()
1016 memset(storage.get(), 0, sizeof(GrReducedClip)); in test_reduced_clip_stack()
1022 const GrReducedClip* reduced = new (storage.get()) GrReducedClip(stack, queryBounds); in test_reduced_clip_stack()
1046 if (GrReducedClip::InitialState::kAllOut == reduced->initialState()) { in test_reduced_clip_stack()
1069 reduced->~GrReducedClip(); in test_reduced_clip_stack()
1088 SkAlignedSTStorage<1, GrReducedClip> storage; in test_reduced_clip_stack_genid()
1089 memset(storage.get(), 0, sizeof(GrReducedClip)); in test_reduced_clip_stack_genid()
1091 const GrReducedClip* reduced = new (storage.get()) GrReducedClip(stack, bounds); in test_reduced_clip_stack_genid()
[all …]
/external/skia/src/gpu/
DGrClipStackClip.h50 sk_sp<GrTextureProxy> createAlphaClipMask(GrContext*, const GrReducedClip&) const;
53 sk_sp<GrTextureProxy> createSoftwareClipMask(GrContext*, const GrReducedClip&) const;
58 const GrReducedClip&);
DGrReducedClip.cpp33 GrReducedClip::GrReducedClip(const SkClipStack& stack, const SkRect& queryBounds, in GrReducedClip() function in GrReducedClip
107 void GrReducedClip::walkStack(const SkClipStack& stack, const SkRect& queryBounds, in walkStack()
116 kAllIn = (int)GrReducedClip::InitialState::kAllIn, in walkStack()
117 kAllOut = (int)GrReducedClip::InitialState::kAllOut in walkStack()
432 fInitialState = static_cast<GrReducedClip::InitialState>(initialTriState); in walkStack()
443 void GrReducedClip::addInteriorWindowRectangles(int maxWindowRectangles) { in addInteriorWindowRectangles()
500 inline void GrReducedClip::addWindowRectangle(const SkRect& elementInteriorRect, bool elementIsAA) { in addWindowRectangle()
512 inline bool GrReducedClip::intersectIBounds(const SkIRect& irect) { in intersectIBounds()
587 bool GrReducedClip::drawAlphaClipMask(GrRenderTargetContext* rtc) const { in drawAlphaClipMask()
691 bool GrReducedClip::drawStencilClipMask(GrContext* context, in drawStencilClipMask()
DGrReducedClip.h22 class SK_API GrReducedClip {
24 GrReducedClip(const SkClipStack&, const SkRect& queryBounds, int maxWindowRectangles = 0);
DGrClipStackClip.cpp26 typedef GrReducedClip::InitialState InitialState;
27 typedef GrReducedClip::ElementList ElementList;
150 const GrReducedClip& reducedClip) { in UseSWOnlyPath()
262 const GrReducedClip reducedClip(*fStack, devBounds, in apply()
385 const GrReducedClip& reducedClip) const { in createAlphaClipMask()
423 const GrReducedClip& reducedClip) const { in createSoftwareClipMask()
/external/skia/gm/
Dwindowrectangles.cpp127 void visualizeAlphaMask(GrContext*, GrRenderTargetContext*, const GrReducedClip&, GrPaint&&);
128 void visualizeStencilMask(GrContext*, GrRenderTargetContext*, const GrReducedClip&, GrPaint&&);
188 const GrReducedClip reducedClip(stack, SkRect::Make(kCoverRect), kNumWindows); in onCoverClipStack()
201 const GrReducedClip& reducedClip, GrPaint&& paint) { in visualizeAlphaMask()
235 const GrReducedClip& reducedClip, in visualizeStencilMask()
/external/skia/gn/
Dgpu.gni159 "$_src/gpu/GrReducedClip.cpp",
160 "$_src/gpu/GrReducedClip.h",
/external/skia/
DAndroid.bp414 "src/gpu/GrReducedClip.cpp",