moz-skia/debugger
commit-bot@chromium.org fae599b4a6 Avoid black flashes when resizing debugger window using MSAA
Avoid black flashes when resizing debugger window using MSAA. Clear the
stencil buffer always after resize. Also reset the GrContext state
when Qt calls resizeGL -- we do not know what GL state Qt changes.

Remove setting of white background to SkGLWidget, it is not
effective. QGLWidget does not respect the stylesheet.

Also move the initial stencil clearing before GrContext is created
in order to preserve GrContext state consistent with actual GL
state.

R=robertphillips@google.com

Author: kkinnunen@nvidia.com

Review URL: https://codereview.chromium.org/192433003

git-svn-id: http://skia.googlecode.com/svn/trunk@13721 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-03-10 16:04:47 +00:00
..
QT Avoid black flashes when resizing debugger window using MSAA 2014-03-10 16:04:47 +00:00
SkDebugger.cpp Remove offsetcanvas from debugger 2013-05-23 13:21:18 +00:00
SkDebugger.h The new "mega" viz mode both adds visualization and forces all drawing to the visible canvas (by replacing the active saveLayers with saves). 2014-03-03 16:32:17 +00:00
debuggermain.cpp Add data() to all QString::toASCII Qt calls to help out Linux compiler 2013-01-28 19:25:43 +00:00