OLD | NEW |
---|---|
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_GL_FRAME_DATA_H_ | 5 #ifndef CC_GL_FRAME_DATA_H_ |
6 #define CC_GL_FRAME_DATA_H_ | 6 #define CC_GL_FRAME_DATA_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "cc/cc_export.h" | 11 #include "cc/cc_export.h" |
12 #include "cc/transferable_resource.h" | 12 #include "cc/transferable_resource.h" |
13 #include "ui/gfx/size.h" | |
13 | 14 |
14 namespace cc { | 15 namespace cc { |
15 | 16 |
16 class CC_EXPORT GLFrameData { | 17 class CC_EXPORT GLFrameData { |
17 public: | 18 public: |
18 GLFrameData(); | 19 GLFrameData(); |
19 ~GLFrameData(); | 20 ~GLFrameData(); |
20 | 21 |
21 Mailbox mailbox; | 22 Mailbox mailbox; |
22 uint32 sync_point; | 23 uint32 sync_point; |
24 gfx::Size size; | |
piman
2013/01/18 02:14:11
I think this is redundant with the metadata's view
| |
23 }; | 25 }; |
24 | 26 |
25 } // namespace cc | 27 } // namespace cc |
26 | 28 |
27 #endif // CC_GL_FRAME_DATA_H_ | 29 #endif // CC_GL_FRAME_DATA_H_ |
OLD | NEW |