Everywhere: Pass backing store into Navigable::paint()

...instead of Gfx::Bitmap, which makes it possible to access and
directly paint into IOSurface on macOS.
This commit is contained in:
Aliaksandr Kalenik 2024-06-25 16:43:39 +02:00 committed by Alexander Kalenik
commit c62cc915df
Notes: sideshowbarker 2024-07-17 02:56:25 +09:00
18 changed files with 145 additions and 30 deletions

View file

@ -76,7 +76,7 @@ public:
virtual CSS::PreferredMotion preferred_motion() const override { return m_host_page->client().preferred_motion(); }
virtual void request_file(FileRequest) override { }
virtual void paint_next_frame() override { }
virtual void paint(DevicePixelRect const&, Gfx::Bitmap&, Web::PaintOptions = {}) override { }
virtual void paint(DevicePixelRect const&, Painting::BackingStore&, Web::PaintOptions = {}) override { }
virtual void schedule_repaint() override { }
virtual bool is_ready_to_paint() const override { return true; }