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

Unified Diff: cc/output/gl_renderer_unittest.cc

Issue 2516063002: Always restore GL scissor box in GLRenderer::RestoreGLState() (Closed)
Patch Set: fix tests for real (why do you want me to suffer, GetIntegerv?) Created 4 years, 1 month 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
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/gl_renderer_unittest.cc
diff --git a/cc/output/gl_renderer_unittest.cc b/cc/output/gl_renderer_unittest.cc
index d9456b38a2dff99bc009d2de3a22e832ae144bb1..a2d28af49e03a85cd203d212eb0fe6ba26676618 100644
--- a/cc/output/gl_renderer_unittest.cc
+++ b/cc/output/gl_renderer_unittest.cc
@@ -1908,6 +1908,7 @@ class GLRendererPartialSwapTest : public GLRendererTest {
EXPECT_CALL(*gl, Disable(GL_STENCIL_TEST)).InSequence(seq);
EXPECT_CALL(*gl, Enable(GL_BLEND)).InSequence(seq);
EXPECT_CALL(*gl, Disable(GL_SCISSOR_TEST)).InSequence(seq);
+ EXPECT_CALL(*gl, Scissor(0, 0, 0, 0)).InSequence(seq);
// Partial frame, we should use a scissor to swap only that part when
// partial swap is enabled.
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698