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

Unified Diff: cc/output/renderer_pixeltest.cc

Issue 2612023002: cc: Implement overdraw feedback debugging feature. (Closed)
Patch Set: fix typo in comment 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
Index: cc/output/renderer_pixeltest.cc
diff --git a/cc/output/renderer_pixeltest.cc b/cc/output/renderer_pixeltest.cc
index d9decc1c7b59abf34739d5444277c6e27d800ac2..af03b59daceae83a6238373fc0020cf83c4669d5 100644
--- a/cc/output/renderer_pixeltest.cc
+++ b/cc/output/renderer_pixeltest.cc
@@ -2195,7 +2195,8 @@ class ExternalStencilPixelTest : public GLRendererPixelTest {
void ClearBackgroundToGreen() {
GLES2Interface* gl = output_surface_->context_provider()->ContextGL();
output_surface_->EnsureBackbuffer();
- output_surface_->Reshape(device_viewport_size_, 1, gfx::ColorSpace(), true);
+ output_surface_->Reshape(device_viewport_size_, 1, gfx::ColorSpace(), true,
+ false);
gl->ClearColor(0.f, 1.f, 0.f, 1.f);
gl->Clear(GL_COLOR_BUFFER_BIT);
}
@@ -2204,7 +2205,8 @@ class ExternalStencilPixelTest : public GLRendererPixelTest {
// Set two quadrants of the stencil buffer to 1.
GLES2Interface* gl = output_surface_->context_provider()->ContextGL();
output_surface_->EnsureBackbuffer();
- output_surface_->Reshape(device_viewport_size_, 1, gfx::ColorSpace(), true);
+ output_surface_->Reshape(device_viewport_size_, 1, gfx::ColorSpace(), true,
+ false);
gl->ClearStencil(0);
gl->Clear(GL_STENCIL_BUFFER_BIT);
gl->Enable(GL_SCISSOR_TEST);

Powered by Google App Engine
This is Rietveld 408576698