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

Side by Side Diff: cc/output/begin_frame_args.h

Issue 1165853002: Pipe impl_latency_takes_priority_ to the RenderScheduler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test Created 5 years, 6 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 | « no previous file | cc/output/begin_frame_args.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_OUTPUT_BEGIN_FRAME_ARGS_H_ 5 #ifndef CC_OUTPUT_BEGIN_FRAME_ARGS_H_
6 #define CC_OUTPUT_BEGIN_FRAME_ARGS_H_ 6 #define CC_OUTPUT_BEGIN_FRAME_ARGS_H_
7 7
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 76
77 bool IsValid() const { return interval >= base::TimeDelta(); } 77 bool IsValid() const { return interval >= base::TimeDelta(); }
78 78
79 scoped_refptr<base::trace_event::ConvertableToTraceFormat> AsValue() const; 79 scoped_refptr<base::trace_event::ConvertableToTraceFormat> AsValue() const;
80 void AsValueInto(base::trace_event::TracedValue* dict) const; 80 void AsValueInto(base::trace_event::TracedValue* dict) const;
81 81
82 base::TimeTicks frame_time; 82 base::TimeTicks frame_time;
83 base::TimeTicks deadline; 83 base::TimeTicks deadline;
84 base::TimeDelta interval; 84 base::TimeDelta interval;
85 BeginFrameArgsType type; 85 BeginFrameArgsType type;
86 bool on_critical_path;
86 87
87 private: 88 private:
88 BeginFrameArgs(base::TimeTicks frame_time, 89 BeginFrameArgs(base::TimeTicks frame_time,
89 base::TimeTicks deadline, 90 base::TimeTicks deadline,
90 base::TimeDelta interval, 91 base::TimeDelta interval,
91 BeginFrameArgsType type); 92 BeginFrameArgsType type);
92 }; 93 };
93 94
94 } // namespace cc 95 } // namespace cc
95 96
96 #endif // CC_OUTPUT_BEGIN_FRAME_ARGS_H_ 97 #endif // CC_OUTPUT_BEGIN_FRAME_ARGS_H_
OLDNEW
« no previous file with comments | « no previous file | cc/output/begin_frame_args.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698