Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/pipeline/skia/
DRenderNodeDrawable.cpp89 static void clipOutline(const Outline& outline, SkCanvas* canvas, const SkRect* pendingClip) { in clipOutline() argument
97 if (pendingClip) { in clipOutline()
98 canvas->clipRect(*pendingClip); in clipOutline()
109 if (pendingClip && !pendingClip->contains(rect)) { in clipOutline()
110 canvas->clipRect(*pendingClip); in clipOutline()
114 if (pendingClip) { in clipOutline()
115 (void)rect.intersect(*pendingClip); in clipOutline()
432 const SkRect* pendingClip = nullptr; in setViewProperties() local
439 pendingClip = &clipRect; in setViewProperties()
445 clipOutline(properties.getOutline(), canvas, pendingClip); in setViewProperties()
[all …]