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

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: Moved check to FakeRendererGL. 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..f6e46611d9d893c6abf00faf4f60acd521f4c539 100644
--- a/cc/gl_renderer.h
+++ b/cc/gl_renderer.h
@@ -87,6 +87,9 @@ protected:
virtual void ensureScissorTestDisabled() OVERRIDE;
virtual void finishDrawingQuadList() OVERRIDE;
+protected:
+ bool isScissorEnabledForTesting() { return m_isScissorEnabled; }
danakj 2013/01/29 00:00:46 const method
+
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