commit | 4013db8e081644b14aba5ab7f3ae08daaddb4405 | [log] [tgz] |
---|---|---|
author | Brian Osman <brianosman@google.com> | Thu Feb 15 13:33:26 2018 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Feb 15 19:14:32 2018 +0000 |
tree | 4f4f343434bf8e8be1d8f27fa544a3e44a17a0fc | |
parent | 3708f024b1118a73f0e6b3080234311c6647663b [diff] |
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>