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

Unified Diff: cc/output/output_surface.h

Issue 669813003: Update from chromium https://crrev.com/301725/ (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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/renderer_pixeltest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/output_surface.h
diff --git a/cc/output/output_surface.h b/cc/output/output_surface.h
index 2cc43a3687c99bf0165399ac018c362b98370db0..0a0d456e78e319f7bc1e96536422326654a28c27 100644
--- a/cc/output/output_surface.h
+++ b/cc/output/output_surface.h
@@ -63,7 +63,8 @@ class CC_EXPORT OutputSurface {
deferred_gl_initialization(false),
draw_and_swap_full_viewport_every_frame(false),
adjust_deadline_for_parent(true),
- uses_default_gl_framebuffer(true) {}
+ uses_default_gl_framebuffer(true),
+ flipped_output_surface(false) {}
bool delegated_rendering;
int max_frames_pending;
bool deferred_gl_initialization;
@@ -74,6 +75,8 @@ class CC_EXPORT OutputSurface {
// Whether this output surface renders to the default OpenGL zero
// framebuffer or to an offscreen framebuffer.
bool uses_default_gl_framebuffer;
+ // Whether this OutputSurface is flipped or not.
+ bool flipped_output_surface;
};
const Capabilities& capabilities() const {
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | cc/output/renderer_pixeltest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698