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

Unified Diff: content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc

Issue 2643623004: content: Add overdraw feedback support for X11 ChromeOS builds. (Closed)
Patch Set: add todo 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: content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc
diff --git a/content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc b/content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc
index 517ed066cb927cd4fda91ff93667848df486d0b7..98fb73f9b0806fc70ab5f93c965a41e7daae2a19 100644
--- a/content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc
+++ b/content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc
@@ -31,11 +31,11 @@ GpuSurfacelessBrowserCompositorOutputSurface::
gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager)
: GpuBrowserCompositorOutputSurface(std::move(context),
update_vsync_parameters_callback,
- std::move(overlay_candidate_validator)),
+ std::move(overlay_candidate_validator),
+ true /* support_stencil */),
gpu_memory_buffer_manager_(gpu_memory_buffer_manager) {
capabilities_.uses_default_gl_framebuffer = false;
capabilities_.flipped_output_surface = true;
- capabilities_.supports_stencil = true;
// Set |max_frames_pending| to 2 for surfaceless, which aligns scheduling
// more closely with the previous surfaced behavior.
// With a surface, swap buffer ack used to return early, before actually

Powered by Google App Engine
This is Rietveld 408576698