Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4631)

Unified Diff: cc/gl_renderer.h

Issue 12036091: Fixes a bug when the framebuffer is cleared with invalid scissor rect (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/gl_renderer.h
diff --git a/cc/gl_renderer.h b/cc/gl_renderer.h
index e356427fb2e29748a6b4b9d010a4c9ce02dcf904..4bb3d0baf088469f34806cf0ce38f00655f71e9f 100644
--- a/cc/gl_renderer.h
+++ b/cc/gl_renderer.h
@@ -87,6 +87,9 @@ protected:
virtual void ensureScissorTestDisabled() OVERRIDE;
virtual void finishDrawingQuadList() OVERRIDE;
+public:
+ void enableScissorForTesting() { ensureScissorTestEnabled(); }
+
private:
static void toGLMatrix(float*, const gfx::Transform&);
static ManagedMemoryPolicy::PriorityCutoff priorityCutoff(WebKit::WebGraphicsMemoryAllocation::PriorityCutoff);
« no previous file with comments | « cc/direct_renderer.cc ('k') | cc/gl_renderer_unittest.cc » ('j') | cc/gl_renderer_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698