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

Side by Side Diff: cc/surfaces/onscreen_display_client.h

Issue 1177383005: cc: Add command line for frame production throttle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hope to be final patch Created 5 years, 5 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 unified diff | Download patch
« no previous file with comments | « cc/output/renderer_settings.cc ('k') | cc/surfaces/onscreen_display_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_SURFACES_ONSCREEN_DISPLAY_CLIENT_H_ 5 #ifndef CC_SURFACES_ONSCREEN_DISPLAY_CLIENT_H_
6 #define CC_SURFACES_ONSCREEN_DISPLAY_CLIENT_H_ 6 #define CC_SURFACES_ONSCREEN_DISPLAY_CLIENT_H_
7 7
8 #include "cc/surfaces/display_client.h" 8 #include "cc/surfaces/display_client.h"
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 protected: 54 protected:
55 scoped_ptr<OutputSurface> output_surface_; 55 scoped_ptr<OutputSurface> output_surface_;
56 scoped_ptr<Display> display_; 56 scoped_ptr<Display> display_;
57 scoped_ptr<SyntheticBeginFrameSource> synthetic_frame_source_; 57 scoped_ptr<SyntheticBeginFrameSource> synthetic_frame_source_;
58 scoped_ptr<BackToBackBeginFrameSource> unthrottled_frame_source_; 58 scoped_ptr<BackToBackBeginFrameSource> unthrottled_frame_source_;
59 scoped_ptr<DisplayScheduler> scheduler_; 59 scoped_ptr<DisplayScheduler> scheduler_;
60 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; 60 scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
61 SurfaceDisplayOutputSurface* surface_display_output_surface_; 61 SurfaceDisplayOutputSurface* surface_display_output_surface_;
62 bool output_surface_lost_; 62 bool output_surface_lost_;
63 bool disable_gpu_vsync_; 63 bool disable_display_vsync_;
64 64
65 private: 65 private:
66 DISALLOW_COPY_AND_ASSIGN(OnscreenDisplayClient); 66 DISALLOW_COPY_AND_ASSIGN(OnscreenDisplayClient);
67 }; 67 };
68 68
69 } // namespace cc 69 } // namespace cc
70 70
71 #endif // CC_SURFACES_ONSCREEN_DISPLAY_CLIENT_H_ 71 #endif // CC_SURFACES_ONSCREEN_DISPLAY_CLIENT_H_
OLDNEW
« no previous file with comments | « cc/output/renderer_settings.cc ('k') | cc/surfaces/onscreen_display_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698