Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d7816b61 authored by Derek Sollenberger's avatar Derek Sollenberger Committed by Android (Google) Code Review
Browse files

Merge "Pass sampling or nothing to surface.draw" into sc-dev

parents 7cf75f0b 27bf51dc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -561,7 +561,7 @@ public:
                return;
            }
            c->concat(invertedMatrix);
            mLayerSurface->draw(c, deviceBounds.fLeft, deviceBounds.fTop, nullptr);
            mLayerSurface->draw(c, deviceBounds.fLeft, deviceBounds.fTop);
        } else {
            c->drawDrawable(drawable.get());
        }
+1 −1
Original line number Diff line number Diff line
@@ -194,7 +194,7 @@ void GLFunctorDrawable::onDraw(SkCanvas* canvas) {
        canvas->concat(invertedMatrix);

        const SkIRect deviceBounds = canvas->getDeviceClipBounds();
        tmpSurface->draw(canvas, deviceBounds.fLeft, deviceBounds.fTop, nullptr);
        tmpSurface->draw(canvas, deviceBounds.fLeft, deviceBounds.fTop);
    }
}