Searched refs:backdrop (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaPipeline.cpp | 430 const Rect backdrop = nodeBounds(*nodes[0]); in renderFrameImpl() local 435 content.translate(backdrop.left, backdrop.top); in renderFrameImpl() 436 if (!content.contains(backdrop) && !nodes[0]->nothingToDraw()) { in renderFrameImpl() 444 if (content.right < backdrop.right) { in renderFrameImpl() 447 canvas->clipRect(SkRect::MakeLTRB(content.right, backdrop.top, backdrop.right, in renderFrameImpl() 448 backdrop.bottom)); in renderFrameImpl() 451 if (content.bottom < backdrop.bottom) { in renderFrameImpl() 456 backdrop.bottom)); in renderFrameImpl() 462 if (!backdrop.isEmpty()) { in renderFrameImpl() 464 float dx = backdrop.left - contentDrawBounds.left; in renderFrameImpl() [all …]
|
/frameworks/base/libs/hwui/ |
D | RecordingCanvas.cpp | 122 SaveLayer(const SkRect* bounds, const SkPaint* paint, const SkImageFilter* backdrop, in SaveLayer() 130 this->backdrop = sk_ref_sp(backdrop); in SaveLayer() 135 sk_sp<const SkImageFilter> backdrop; member 138 c->saveLayer({maybe_unset(bounds), &paint, backdrop.get(), flags}); in draw() 799 const SkImageFilter* backdrop, SkCanvas::SaveLayerFlags flags) { in saveLayer() argument 800 this->push<SaveLayer>(0, bounds, paint, backdrop, flags); in saveLayer()
|