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

Commit 71195ab5 authored by Leon Scroggins III's avatar Leon Scroggins III
Browse files

Fix the Skia roll - implement onWritePixels

Test: None

https://skia-review.googlesource.com/c/skia/+/105623 added a new
abstract method to SkSurface_Base, so these subclasses needs to
implement it. Implementation is empty just to get the roll fixed.

Change-Id: Ib6029acf40feb47a572cd6e18678b08a6f38fe4b
parent a5ffafbf
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -471,6 +471,7 @@ RENDERTHREAD_SKIA_PIPELINE_TEST(RenderNodeDrawable, projectionHwLayer) {
        sk_sp<SkSurface> onNewSurface(const SkImageInfo&) override { return nullptr; }
        void onCopyOnWrite(ContentChangeMode) override {}
        int* mDrawCounter;
        void onWritePixels(const SkPixmap&, int x, int y) {}
    };

    auto receiverBackground = TestUtils::createSkiaNode(
+1 −0
Original line number Diff line number Diff line
@@ -250,6 +250,7 @@ public:
    sk_sp<SkImage> onNewImageSnapshot() override { return nullptr; }
    T* canvas() { return static_cast<T*>(getCanvas()); }
    void onCopyOnWrite(ContentChangeMode) override {}
    void onWritePixels(const SkPixmap&, int x, int y) override {}
};
}