mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 01:29:17 +00:00
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:
parent
e2e54dccc3
commit
46cbbda944
Notes:
github-actions[bot]
2024-12-03 22:37:09 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: 46cbbda944
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2688
Reviewed-by: https://github.com/ADKaster ✅
5 changed files with 17 additions and 0 deletions
|
@ -15,6 +15,7 @@ class OpenGLContext {
|
|||
public:
|
||||
static OwnPtr<OpenGLContext> create(NonnullRefPtr<Gfx::SkiaBackendContext>);
|
||||
|
||||
void notify_content_will_change();
|
||||
void clear_buffer_to_default_values();
|
||||
void allocate_painting_surface_if_needed();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue