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

Unified Diff: cc/output/gl_renderer_unittest.cc

Issue 2612023002: cc: Implement overdraw feedback debugging feature. (Closed)
Patch Set: make sure overdraw_feedback_ is initialized and reset properly Created 3 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
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | cc/output/output_surface.h » ('j') | 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 dc5a6aaac89a88c4242055fff3c1dc7c7819de4f..2d2214d5f310c4e19ca4d25a08a8503649a92e26 100644
--- a/cc/output/gl_renderer_unittest.cc
+++ b/cc/output/gl_renderer_unittest.cc
@@ -1484,11 +1484,12 @@ class MockOutputSurface : public OutputSurface {
MOCK_METHOD0(EnsureBackbuffer, void());
MOCK_METHOD0(DiscardBackbuffer, void());
- MOCK_METHOD4(Reshape,
+ MOCK_METHOD5(Reshape,
void(const gfx::Size& size,
float scale_factor,
const gfx::ColorSpace& color_space,
- bool has_alpha));
+ bool has_alpha,
+ bool use_stencil));
MOCK_METHOD0(BindFramebuffer, void());
MOCK_METHOD0(GetFramebufferCopyTextureFormat, GLenum());
MOCK_METHOD1(SwapBuffers_, void(OutputSurfaceFrame& frame)); // NOLINT
@@ -1544,7 +1545,7 @@ class MockOutputSurfaceTest : public GLRendererTest {
EXPECT_CALL(*output_surface_, EnsureBackbuffer()).WillRepeatedly(Return());
EXPECT_CALL(*output_surface_,
- Reshape(viewport_size, device_scale_factor, _, transparent))
+ Reshape(viewport_size, device_scale_factor, _, transparent, _))
.Times(1);
EXPECT_CALL(*output_surface_, BindFramebuffer()).Times(1);
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | cc/output/output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698