| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CC_OUTPUT_GL_FRAME_DATA_H_ | |
| 6 #define CC_OUTPUT_GL_FRAME_DATA_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 #include "base/basictypes.h" | |
| 11 #include "gpu/command_buffer/common/mailbox.h" | |
| 12 #include "ui/gfx/geometry/rect.h" | |
| 13 #include "ui/gfx/geometry/size.h" | |
| 14 | |
| 15 namespace cc { | |
| 16 | |
| 17 class GLFrameData { | |
| 18 public: | |
| 19 GLFrameData(); | |
| 20 ~GLFrameData(); | |
| 21 | |
| 22 gpu::Mailbox mailbox; | |
| 23 uint32 sync_point; | |
| 24 gfx::Size size; | |
| 25 gfx::Rect sub_buffer_rect; | |
| 26 }; | |
| 27 | |
| 28 } // namespace cc | |
| 29 | |
| 30 #endif // CC_OUTPUT_GL_FRAME_DATA_H_ | |
| OLD | NEW |