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

Side by Side Diff: gpu/command_buffer/client/share_group.h

Issue 9836126: Add ShareGroup stub (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 8 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 | « gpu/command_buffer/client/ref_counted.h ('k') | gpu/command_buffer/client/share_group.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 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.
4
5 #ifndef GPU_COMMAND_BUFFER_CLIENT_SHARE_GROUP_H_
6 #define GPU_COMMAND_BUFFER_CLIENT_SHARE_GROUP_H_
7
8 #include "../client/ref_counted.h"
9 #include "gles2_impl_export.h"
10
11 namespace gpu {
12 namespace gles2 {
13
14 // ShareGroup manages shared resources for contexts that are sharing resources.
15 class GLES2_IMPL_EXPORT ShareGroup
16 : public gpu::RefCountedThreadSafe<ShareGroup> {
17 public:
18 typedef scoped_refptr<ShareGroup> Ref;
19
20 ShareGroup();
21 ~ShareGroup();
22
23 bool Initialize();
24
25 private:
26 DISALLOW_COPY_AND_ASSIGN(ShareGroup);
27 };
28
29 } // namespace gles2
30 } // namespace gpu
31
32 #endif // GPU_COMMAND_BUFFER_CLIENT_SHARE_GROUP_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/ref_counted.h ('k') | gpu/command_buffer/client/share_group.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698