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

Unified Diff: cc/output/gl_renderer.h

Issue 2693023002: Use SwapBuffersWithBounds on Chromecast (Closed)
Patch Set: danakj nits Created 3 years, 10 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/direct_renderer.cc ('k') | cc/output/gl_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/gl_renderer.h
diff --git a/cc/output/gl_renderer.h b/cc/output/gl_renderer.h
index 2a0ce1c5e849757b6c803628ba52b1f4102a4f7d..36130768a548eec5b4db7fe59fbf2a210e5c110b 100644
--- a/cc/output/gl_renderer.h
+++ b/cc/output/gl_renderer.h
@@ -337,6 +337,8 @@ class CC_EXPORT GLRenderer : public DirectRenderer {
bool use_sync_query_ = false;
bool use_blend_equation_advanced_ = false;
bool use_blend_equation_advanced_coherent_ = false;
+ bool use_occlusion_query_ = false;
+ bool use_swap_with_bounds_ = false;
// Some overlays require that content is copied from a render pass into an
// overlay resource. This means the GLRenderer needs its own ResourcePool.
@@ -355,7 +357,6 @@ class CC_EXPORT GLRenderer : public DirectRenderer {
BoundGeometry bound_geometry_;
ColorLUTCache color_lut_cache_;
- bool use_occlusion_query_;
unsigned offscreen_stencil_renderbuffer_id_ = 0;
gfx::Size offscreen_stencil_renderbuffer_size_;
« no previous file with comments | « cc/output/direct_renderer.cc ('k') | cc/output/gl_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698