Improve Vulkan Android surface lifecycle (#4323)

This commit is contained in:
Adrian Cojocaru
2026-06-05 19:59:36 +03:00
committed by GitHub
parent a770b79551
commit 269d1bc910
7 changed files with 52 additions and 37 deletions

View File

@@ -27,6 +27,9 @@ public:
// Ensures the current context is not cleaned up when destroyed
virtual void markContextLost();
virtual bool createSurface(ANativeWindow*) { return false; }
virtual void destroySurface() {}
virtual void resizeFramebuffer(int width, int height);
virtual PremultipliedImage readFramebuffer();