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

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

Issue 1894313002: Removed implementation of CHROMIUM_subscribe_uniform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missed a couple more mus/ references Created 4 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_IN_PROCESS_COMMAND_BUFFER_H_ 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_IN_PROCESS_COMMAND_BUFFER_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_IN_PROCESS_COMMAND_BUFFER_H_ 6 #define GPU_COMMAND_BUFFER_SERVICE_IN_PROCESS_COMMAND_BUFFER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 30 matching lines...) Expand all
41 class GLContext; 41 class GLContext;
42 class GLShareGroup; 42 class GLShareGroup;
43 class GLSurface; 43 class GLSurface;
44 class Size; 44 class Size;
45 } 45 }
46 46
47 namespace gpu { 47 namespace gpu {
48 class SyncPointClient; 48 class SyncPointClient;
49 class SyncPointOrderData; 49 class SyncPointOrderData;
50 class SyncPointManager; 50 class SyncPointManager;
51 class ValueStateMap;
52 51
53 namespace gles2 { 52 namespace gles2 {
54 class FramebufferCompletenessCache; 53 class FramebufferCompletenessCache;
55 class GLES2Decoder; 54 class GLES2Decoder;
56 class MailboxManager; 55 class MailboxManager;
57 class ProgramCache; 56 class ProgramCache;
58 class ShaderTranslatorCache; 57 class ShaderTranslatorCache;
59 class SubscriptionRefSet;
60 } 58 }
61 59
62 class CommandBufferServiceBase; 60 class CommandBufferServiceBase;
63 class GpuMemoryBufferManager; 61 class GpuMemoryBufferManager;
64 class CommandExecutor; 62 class CommandExecutor;
65 class ImageFactory; 63 class ImageFactory;
66 class TransferBufferManagerInterface; 64 class TransferBufferManagerInterface;
67 65
68 // This class provides a thread-safe interface to the global GPU service (for 66 // This class provides a thread-safe interface to the global GPU service (for
69 // example GPU thread) when being run in single process mode. 67 // example GPU thread) when being run in single process mode.
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 virtual bool UseVirtualizedGLContexts() = 0; 149 virtual bool UseVirtualizedGLContexts() = 0;
152 virtual scoped_refptr<gles2::ShaderTranslatorCache> 150 virtual scoped_refptr<gles2::ShaderTranslatorCache>
153 shader_translator_cache() = 0; 151 shader_translator_cache() = 0;
154 virtual scoped_refptr<gles2::FramebufferCompletenessCache> 152 virtual scoped_refptr<gles2::FramebufferCompletenessCache>
155 framebuffer_completeness_cache() = 0; 153 framebuffer_completeness_cache() = 0;
156 virtual SyncPointManager* sync_point_manager() = 0; 154 virtual SyncPointManager* sync_point_manager() = 0;
157 const GpuPreferences& gpu_preferences(); 155 const GpuPreferences& gpu_preferences();
158 const GpuDriverBugWorkarounds& gpu_driver_bug_workarounds(); 156 const GpuDriverBugWorkarounds& gpu_driver_bug_workarounds();
159 scoped_refptr<gfx::GLShareGroup> share_group(); 157 scoped_refptr<gfx::GLShareGroup> share_group();
160 scoped_refptr<gles2::MailboxManager> mailbox_manager(); 158 scoped_refptr<gles2::MailboxManager> mailbox_manager();
161 scoped_refptr<gles2::SubscriptionRefSet> subscription_ref_set();
162 scoped_refptr<gpu::ValueStateMap> pending_valuebuffer_state();
163 gpu::gles2::ProgramCache* program_cache(); 159 gpu::gles2::ProgramCache* program_cache();
164 160
165 private: 161 private:
166 const GpuPreferences gpu_preferences_; 162 const GpuPreferences gpu_preferences_;
167 const GpuDriverBugWorkarounds gpu_driver_bug_workarounds_; 163 const GpuDriverBugWorkarounds gpu_driver_bug_workarounds_;
168 scoped_refptr<gfx::GLShareGroup> share_group_; 164 scoped_refptr<gfx::GLShareGroup> share_group_;
169 scoped_refptr<gles2::MailboxManager> mailbox_manager_; 165 scoped_refptr<gles2::MailboxManager> mailbox_manager_;
170 scoped_refptr<gles2::SubscriptionRefSet> subscription_ref_set_;
171 scoped_refptr<gpu::ValueStateMap> pending_valuebuffer_state_;
172 std::unique_ptr<gpu::gles2::ProgramCache> program_cache_; 166 std::unique_ptr<gpu::gles2::ProgramCache> program_cache_;
173 }; 167 };
174 168
175 private: 169 private:
176 struct InitializeOnGpuThreadParams { 170 struct InitializeOnGpuThreadParams {
177 bool is_offscreen; 171 bool is_offscreen;
178 gfx::AcceleratedWidget window; 172 gfx::AcceleratedWidget window;
179 const gfx::Size& size; 173 const gfx::Size& size;
180 const std::vector<int32_t>& attribs; 174 const std::vector<int32_t>& attribs;
181 gfx::GpuPreference gpu_preference; 175 gfx::GpuPreference gpu_preference;
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 SyncPointManager* sync_point_manager_; // Non-owning. 308 SyncPointManager* sync_point_manager_; // Non-owning.
315 scoped_refptr<gpu::gles2::ShaderTranslatorCache> shader_translator_cache_; 309 scoped_refptr<gpu::gles2::ShaderTranslatorCache> shader_translator_cache_;
316 scoped_refptr<gpu::gles2::FramebufferCompletenessCache> 310 scoped_refptr<gpu::gles2::FramebufferCompletenessCache>
317 framebuffer_completeness_cache_; 311 framebuffer_completeness_cache_;
318 DISALLOW_COPY_AND_ASSIGN(GpuInProcessThread); 312 DISALLOW_COPY_AND_ASSIGN(GpuInProcessThread);
319 }; 313 };
320 314
321 } // namespace gpu 315 } // namespace gpu
322 316
323 #endif // GPU_COMMAND_BUFFER_SERVICE_IN_PROCESS_COMMAND_BUFFER_H_ 317 #endif // GPU_COMMAND_BUFFER_SERVICE_IN_PROCESS_COMMAND_BUFFER_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gpu_switches.cc ('k') | gpu/command_buffer/service/in_process_command_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698