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

Unified Diff: cc/gl_compositor_frame.cc

Issue 11316128: Send compositor frame IPC with metadata. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Clean up and rebase to 173167 Created 8 years 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
Index: cc/gl_compositor_frame.cc
diff --git a/cc/util.h b/cc/gl_compositor_frame.cc
similarity index 57%
copy from cc/util.h
copy to cc/gl_compositor_frame.cc
index 6da3a697c4ac3396602903d7ac75d85fad4e7abd..6964cb4f1b3f58438a980b94c08ea4201fcc67a0 100644
--- a/cc/util.h
+++ b/cc/gl_compositor_frame.cc
@@ -2,17 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CC_UTIL_H_
-#define CC_UTIL_H_
+#include "cc/gl_compositor_frame.h"
namespace cc {
-template<typename T>
-T RoundUp(T n, T mul)
-{
- return ((n + mul - 1) / mul) * mul;
+GLCompositorFrame::GLCompositorFrame()
+ : sync_point(0) {
piman 2012/12/14 22:02:22 nit: indent = 4
aelias_OOO_until_Jul13 2012/12/15 00:06:17 Done.
+ type = GL;
}
-} // namespace cc
+GLCompositorFrame::~GLCompositorFrame() {}
-#endif // CC_UTIL_H_
+} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698