blob: d633d74c49e948655bad35956eaf2c6926723d9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
// Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CC_OUTPUT_GL_FRAME_DATA_H_
#define CC_OUTPUT_GL_FRAME_DATA_H_
#include <string>
#include "base/basictypes.h"
#include "cc/base/cc_export.h"
#include "gpu/command_buffer/common/mailbox.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/size.h"
namespace cc {
class CC_EXPORT GLFrameData {
public:
GLFrameData();
~GLFrameData();
gpu::Mailbox mailbox;
uint32 sync_point;
gfx::Size size;
gfx::Rect sub_buffer_rect;
};
} // namespace cc
#endif // CC_OUTPUT_GL_FRAME_DATA_H_
|