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

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

Issue 2670213005: Hook ANGLE_request_extension up to the passthrough cmd decoder. (Closed)
Patch Set: Fix extension check. Created 3 years, 10 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
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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 29 matching lines...) Expand all
40 class PathManager; 40 class PathManager;
41 class ProgramManager; 41 class ProgramManager;
42 class ProgressReporter; 42 class ProgressReporter;
43 class SamplerManager; 43 class SamplerManager;
44 class ShaderManager; 44 class ShaderManager;
45 class TextureManager; 45 class TextureManager;
46 class MemoryTracker; 46 class MemoryTracker;
47 struct DisallowedFeatures; 47 struct DisallowedFeatures;
48 struct PassthroughResources; 48 struct PassthroughResources;
49 49
50 DisallowedFeatures AdjustDisallowedFeatures(
51 ContextType context_type,
52 const DisallowedFeatures& disallowed_features);
53
50 // A Context Group helps manage multiple GLES2Decoders that share 54 // A Context Group helps manage multiple GLES2Decoders that share
51 // resources. 55 // resources.
52 class GPU_EXPORT ContextGroup : public base::RefCounted<ContextGroup> { 56 class GPU_EXPORT ContextGroup : public base::RefCounted<ContextGroup> {
53 public: 57 public:
54 ContextGroup( 58 ContextGroup(
55 const GpuPreferences& gpu_preferences, 59 const GpuPreferences& gpu_preferences,
56 const scoped_refptr<MailboxManager>& mailbox_manager, 60 const scoped_refptr<MailboxManager>& mailbox_manager,
57 const scoped_refptr<MemoryTracker>& memory_tracker, 61 const scoped_refptr<MemoryTracker>& memory_tracker,
58 const scoped_refptr<ShaderTranslatorCache>& shader_translator_cache, 62 const scoped_refptr<ShaderTranslatorCache>& shader_translator_cache,
59 const scoped_refptr<FramebufferCompletenessCache>& 63 const scoped_refptr<FramebufferCompletenessCache>&
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 // using in-process command buffer. 306 // using in-process command buffer.
303 ProgressReporter* progress_reporter_; 307 ProgressReporter* progress_reporter_;
304 308
305 DISALLOW_COPY_AND_ASSIGN(ContextGroup); 309 DISALLOW_COPY_AND_ASSIGN(ContextGroup);
306 }; 310 };
307 311
308 } // namespace gles2 312 } // namespace gles2
309 } // namespace gpu 313 } // namespace gpu
310 314
311 #endif // GPU_COMMAND_BUFFER_SERVICE_CONTEXT_GROUP_H_ 315 #endif // GPU_COMMAND_BUFFER_SERVICE_CONTEXT_GROUP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698