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

Side by Side Diff: gpu/command_buffer/service/context_group.h

Issue 23660006: FeatureInfo: Remove allowed_extensions and init workarounds early (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android_webview build Created 7 years, 3 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 GPU_COMMAND_BUFFER_SERVICE_CONTEXT_GROUP_H_ 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_CONTEXT_GROUP_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_CONTEXT_GROUP_H_ 6 #define GPU_COMMAND_BUFFER_SERVICE_CONTEXT_GROUP_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 MailboxManager* mailbox_manager, 47 MailboxManager* mailbox_manager,
48 ImageManager* image_manager, 48 ImageManager* image_manager,
49 MemoryTracker* memory_tracker, 49 MemoryTracker* memory_tracker,
50 StreamTextureManager* stream_texture_manager, 50 StreamTextureManager* stream_texture_manager,
51 bool bind_generates_resource); 51 bool bind_generates_resource);
52 52
53 // This should only be called by GLES2Decoder. This must be paired with a 53 // This should only be called by GLES2Decoder. This must be paired with a
54 // call to destroy if it succeeds. 54 // call to destroy if it succeeds.
55 bool Initialize( 55 bool Initialize(
56 GLES2Decoder* decoder, 56 GLES2Decoder* decoder,
57 const DisallowedFeatures& disallowed_features, 57 const DisallowedFeatures& disallowed_features);
58 const char* allowed_features);
59 58
60 // Destroys all the resources when called for the last context in the group. 59 // Destroys all the resources when called for the last context in the group.
61 // It should only be called by GLES2Decoder. 60 // It should only be called by GLES2Decoder.
62 void Destroy(GLES2Decoder* decoder, bool have_context); 61 void Destroy(GLES2Decoder* decoder, bool have_context);
63 62
64 MailboxManager* mailbox_manager() const { 63 MailboxManager* mailbox_manager() const {
65 return mailbox_manager_.get(); 64 return mailbox_manager_.get();
66 } 65 }
67 66
68 ImageManager* image_manager() const { 67 ImageManager* image_manager() const {
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 225
227 DISALLOW_COPY_AND_ASSIGN(ContextGroup); 226 DISALLOW_COPY_AND_ASSIGN(ContextGroup);
228 }; 227 };
229 228
230 } // namespace gles2 229 } // namespace gles2
231 } // namespace gpu 230 } // namespace gpu
232 231
233 #endif // GPU_COMMAND_BUFFER_SERVICE_CONTEXT_GROUP_H_ 232 #endif // GPU_COMMAND_BUFFER_SERVICE_CONTEXT_GROUP_H_
234 233
235 234
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/buffer_manager_unittest.cc ('k') | gpu/command_buffer/service/context_group.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698