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

Unified Diff: cc/output/output_surface.h

Issue 1435133004: cc: Clean up max frames/swaps pending usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 1 month 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 | « blimp/client/compositor/blimp_output_surface.cc ('k') | cc/scheduler/scheduler.h » ('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 26c2ffebc29199a83f058fbbd11c5feb9314b3d6..2176455266b98164d2f9ae0740e90af942a2721e 100644
--- a/cc/output/output_surface.h
+++ b/cc/output/output_surface.h
@@ -45,10 +45,6 @@ class OutputSurfaceClient;
// surface (on the compositor thread) and go back to step 1.
class CC_EXPORT OutputSurface : public base::trace_event::MemoryDumpProvider {
public:
- enum {
- DEFAULT_MAX_FRAMES_PENDING = 2
- };
-
OutputSurface(const scoped_refptr<ContextProvider>& context_provider,
const scoped_refptr<ContextProvider>& worker_context_provider,
scoped_ptr<SoftwareOutputDevice> software_device);
@@ -67,7 +63,7 @@ class CC_EXPORT OutputSurface : public base::trace_event::MemoryDumpProvider {
struct Capabilities {
Capabilities()
: delegated_rendering(false),
- max_frames_pending(0),
+ max_frames_pending(1),
adjust_deadline_for_parent(true),
uses_default_gl_framebuffer(true),
flipped_output_surface(false),
« no previous file with comments | « blimp/client/compositor/blimp_output_surface.cc ('k') | cc/scheduler/scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698