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

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

Issue 1427543002: Modified old wait sync point functions to also accept new sync tokens. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Folded sync_point into sync_tokens Created 5 years, 1 month 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
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 "gpu/command_buffer/common/sync_token.h"
13 #include "ui/gfx/geometry/rect.h" 14 #include "ui/gfx/geometry/rect.h"
14 #include "ui/gfx/geometry/size.h" 15 #include "ui/gfx/geometry/size.h"
15 16
16 namespace cc { 17 namespace cc {
17 18
18 class CC_EXPORT GLFrameData { 19 class CC_EXPORT GLFrameData {
19 public: 20 public:
20 GLFrameData(); 21 GLFrameData();
21 ~GLFrameData(); 22 ~GLFrameData();
22 23
23 gpu::Mailbox mailbox; 24 gpu::Mailbox mailbox;
24 uint32 sync_point; 25 gpu::SyncToken sync_token;
25 gfx::Size size; 26 gfx::Size size;
26 gfx::Rect sub_buffer_rect; 27 gfx::Rect sub_buffer_rect;
27 }; 28 };
28 29
29 } // namespace cc 30 } // namespace cc
30 31
31 #endif // CC_OUTPUT_GL_FRAME_DATA_H_ 32 #endif // CC_OUTPUT_GL_FRAME_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698