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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_UTIL_H_ 5 #include "cc/gl_compositor_frame.h"
6 #define CC_UTIL_H_
7 6
8 namespace cc { 7 namespace cc {
9 8
10 template<typename T> 9 GLCompositorFrame::GLCompositorFrame()
11 T RoundUp(T n, T mul) 10 : sync_point(0) {
piman 2012/12/14 22:02:22 nit: indent = 4
aelias_OOO_until_Jul13 2012/12/15 00:06:17 Done.
12 { 11 type = GL;
13 return ((n + mul - 1) / mul) * mul;
14 } 12 }
15 13
14 GLCompositorFrame::~GLCompositorFrame() {}
15
16 } // namespace cc 16 } // namespace cc
17
18 #endif // CC_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698