Landing Recent QUIC changes until 8/19/2015 17:00 UTC.
[chromium-blink-merge.git] / cc / output / gl_frame_data.h
blobd633d74c49e948655bad35956eaf2c6926723d9c
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.
5 #ifndef CC_OUTPUT_GL_FRAME_DATA_H_
6 #define CC_OUTPUT_GL_FRAME_DATA_H_
8 #include <string>
10 #include "base/basictypes.h"
11 #include "cc/base/cc_export.h"
12 #include "gpu/command_buffer/common/mailbox.h"
13 #include "ui/gfx/geometry/rect.h"
14 #include "ui/gfx/geometry/size.h"
16 namespace cc {
18 class CC_EXPORT GLFrameData {
19 public:
20 GLFrameData();
21 ~GLFrameData();
23 gpu::Mailbox mailbox;
24 uint32 sync_point;
25 gfx::Size size;
26 gfx::Rect sub_buffer_rect;
29 } // namespace cc
31 #endif // CC_OUTPUT_GL_FRAME_DATA_H_