skia2/tools/sk_app/mac
Brian Osman 4013db8e08 Fix flicker when changing backend on Mac viewer
Tie the SDL GL context to the Window, not the context. Deleting the context
causes the window to render a frame of black - this keeps the context alive
along with the window, so that never happens.

Change-Id: Id4df18a6f2fe09f617ec2ff1809d000f18f547ba
Reviewed-on: https://skia-review.googlesource.com/107941
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2018-02-15 19:14:32 +00:00
..
GLWindowContext_mac.cpp Fix flicker when changing backend on Mac viewer 2018-02-15 19:14:32 +00:00
main_mac.cpp Remove SampleApp and convert HelloWorld to sk_app 2017-11-21 18:37:19 +00:00
RasterWindowContext_mac.cpp Fix flicker when changing backend on Mac viewer 2018-02-15 19:14:32 +00:00
Window_mac.cpp Fix flicker when changing backend on Mac viewer 2018-02-15 19:14:32 +00:00
Window_mac.h Fix flicker when changing backend on Mac viewer 2018-02-15 19:14:32 +00:00
WindowContextFactory_mac.h Fix flicker when changing backend on Mac viewer 2018-02-15 19:14:32 +00:00