diff options
author | Brian Osman <brianosman@google.com> | 2018-02-15 13:33:26 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-02-15 19:14:32 +0000 |
commit | 4013db8e081644b14aba5ab7f3ae08daaddb4405 (patch) | |
tree | 4f4f343434bf8e8be1d8f27fa544a3e44a17a0fc /tests/GrPipelineDynamicStateTest.cpp | |
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>
Diffstat (limited to 'tests/GrPipelineDynamicStateTest.cpp')
0 files changed, 0 insertions, 0 deletions