LibWeb: Increase SkSurface's generation id when it's modified by WebGL

Skia is not aware of surface modifications done by WebGL, so we need to
manually increase generation id whenver WebGL invokes a writing
function.
This commit is contained in:
Aliaksandr Kalenik 2024-11-29 23:15:43 +01:00 committed by Alexander Kalenik
commit 46cbbda944
Notes: github-actions[bot] 2024-12-03 22:37:09 +00:00
5 changed files with 17 additions and 0 deletions

View file

@ -34,6 +34,8 @@ public:
void read_into_bitmap(Bitmap&);
void write_from_bitmap(Bitmap&);
void notify_content_will_change();
IntSize size() const;
IntRect rect() const;