diff options
author | kkinnunen <kkinnunen@nvidia.com> | 2015-02-10 22:27:48 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-10 22:27:48 -0800 |
commit | 9e33d1dbccee9b13ac001dfc3094a503f9e84e9d (patch) | |
tree | bb84810ce1122c5d0d7cd37f259c74245f03e20d /bench/TextBench.cpp | |
parent | 3632f8473a7842b6f1351694d9b4071a66529224 (diff) |
debugger: Abandon context when Qt changes it without notice
Qt changes the context on many conditions. Abandon GrContext
in these cases.
Also call GrContext::resetContext during Qt GL paint callback,
the GL state may be touched by Qt.
Fixes the bug where changing between gpu and msaa would start
erroring in framebuffer binds, if the .skp had many layers.
Review URL: https://codereview.chromium.org/915573002
Diffstat (limited to 'bench/TextBench.cpp')
0 files changed, 0 insertions, 0 deletions