Don't apply android device clip restriction, only show the viz of it.
Bug: skia:9758 Change-Id: I4bd45075791a0c33096901cd94555b2898c7b6fe Reviewed-on: https://skia-review.googlesource.com/c/skia/+/265142 Reviewed-by: Kevin Lubick <kjlubick@google.com> Commit-Queue: Nathaniel Nifong <nifong@google.com>
This commit is contained in:
parent
e4c67024da
commit
ce5ad452f6
@ -118,10 +118,6 @@ void DebugCanvas::drawTo(SkCanvas* originalCanvas, int index, int m) {
|
||||
DebugPaintFilterCanvas filterCanvas(originalCanvas);
|
||||
SkCanvas* finalCanvas = fOverdrawViz ? &filterCanvas : originalCanvas;
|
||||
|
||||
if (!fAndroidClip.isEmpty()) {
|
||||
finalCanvas->clipRect(fAndroidClip);
|
||||
}
|
||||
|
||||
// If we have a GPU backend we can also visualize the op information
|
||||
GrAuditTrail* at = nullptr;
|
||||
if (fDrawGpuOpBounds || m != -1) {
|
||||
|
Loading…
Reference in New Issue
Block a user