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

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

Issue 16730003: Aura: Support --enable-partial-swap with --composite-to-mailbox (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address sievers@s comments. Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | cc/output/gl_renderer.h » ('j') | cc/output/gl_renderer.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_OUTPUT_GL_FRAME_DATA_H_ 5 #ifndef CC_OUTPUT_GL_FRAME_DATA_H_
6 #define CC_OUTPUT_GL_FRAME_DATA_H_ 6 #define CC_OUTPUT_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/base/cc_export.h" 11 #include "cc/base/cc_export.h"
12 #include "gpu/command_buffer/common/mailbox.h" 12 #include "gpu/command_buffer/common/mailbox.h"
13 #include "ui/gfx/rect.h"
13 #include "ui/gfx/size.h" 14 #include "ui/gfx/size.h"
14 15
15 namespace cc { 16 namespace cc {
16 17
17 class CC_EXPORT GLFrameData { 18 class CC_EXPORT GLFrameData {
18 public: 19 public:
19 GLFrameData(); 20 GLFrameData();
20 ~GLFrameData(); 21 ~GLFrameData();
21 22
22 gpu::Mailbox mailbox; 23 gpu::Mailbox mailbox;
23 uint32 sync_point; 24 uint32 sync_point;
24 gfx::Size size; 25 gfx::Size size;
26 gfx::Rect damage_rect;
25 }; 27 };
26 28
27 } // namespace cc 29 } // namespace cc
28 30
29 #endif // CC_OUTPUT_GL_FRAME_DATA_H_ 31 #endif // CC_OUTPUT_GL_FRAME_DATA_H_
OLDNEW
« no previous file with comments | « no previous file | cc/output/gl_renderer.h » ('j') | cc/output/gl_renderer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698