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

Side by Side Diff: cc/output/output_surface_frame.h

Issue 2374183006: Remove GLFrameData from CompositorFrame. (Closed)
Patch Set: Rebase + fix includes. Created 4 years, 2 months 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
(Empty)
1 // Copyright 2016 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_OUTPUT_SURFACE_FRAME_H_
6 #define CC_OUTPUT_OUTPUT_SURFACE_FRAME_H_
7
8 #include <vector>
9
10 #include "cc/base/cc_export.h"
11 #include "ui/events/latency_info.h"
12 #include "ui/gfx/geometry/rect.h"
13 #include "ui/gfx/geometry/size.h"
14
15 namespace cc {
16
17 class CC_EXPORT OutputSurfaceFrame {
18 public:
19 OutputSurfaceFrame();
20 OutputSurfaceFrame(const OutputSurfaceFrame& other);
danakj 2016/10/04 21:58:40 copy constructors should come with operator=, but
kylechar 2016/10/05 13:45:54 Good point about move-only, done.
21 ~OutputSurfaceFrame();
22
23 gfx::Size size;
24 gfx::Rect sub_buffer_rect;
25 std::vector<ui::LatencyInfo> latency_info;
26 };
27
28 } // namespace cc
29
30 #endif // CC_OUTPUT_OUTPUT_SURFACE_FRAME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698