Skia AA and no AA bypass intermediate surface

This commit is contained in:
Yousef Khadadeh 2026-04-09 01:05:52 +03:00
parent 4b2ecf2fe6
commit 37c105bf5e
5 changed files with 39 additions and 66 deletions

View file

@ -58,8 +58,8 @@ class MainProgram {
sk_sp<GrDirectContext> ctx;
#endif
sk_sp<SkSurface> intermediateSurface;
SkCanvas* intermediateCanvas;
sk_sp<SkSurface> nativeSurface;
sk_sp<SkSurface> intermediateSurfaceMSAA;
SDL_Window* sdlWindow;
bool canCreateSurfaces = false;