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

Side by Side Diff: gpu/ipc/in_process_command_buffer.h

Issue 2493913002: Mus: Move InProcessCommandBuffer and GLInProcessContext to gpu/ipc (Closed)
Patch Set: Fixed casts on windows Created 4 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
« no previous file with comments | « gpu/ipc/gl_in_process_context_export.h ('k') | gpu/ipc/in_process_command_buffer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_IPC_IN_PROCESS_COMMAND_BUFFER_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_IN_PROCESS_COMMAND_BUFFER_H_ 6 #define GPU_IPC_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
11 #include <map> 11 #include <map>
12 #include <memory> 12 #include <memory>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/atomic_sequence_num.h" 15 #include "base/atomic_sequence_num.h"
16 #include "base/callback.h" 16 #include "base/callback.h"
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 142
143 // Queues a task to run as soon as possible. 143 // Queues a task to run as soon as possible.
144 virtual void ScheduleTask(const base::Closure& task) = 0; 144 virtual void ScheduleTask(const base::Closure& task) = 0;
145 145
146 // Schedules |callback| to run at an appropriate time for performing delayed 146 // Schedules |callback| to run at an appropriate time for performing delayed
147 // work. 147 // work.
148 virtual void ScheduleDelayedWork(const base::Closure& task) = 0; 148 virtual void ScheduleDelayedWork(const base::Closure& task) = 0;
149 149
150 virtual bool UseVirtualizedGLContexts() = 0; 150 virtual bool UseVirtualizedGLContexts() = 0;
151 virtual scoped_refptr<gles2::ShaderTranslatorCache> 151 virtual scoped_refptr<gles2::ShaderTranslatorCache>
152 shader_translator_cache() = 0; 152 shader_translator_cache() = 0;
153 virtual scoped_refptr<gles2::FramebufferCompletenessCache> 153 virtual scoped_refptr<gles2::FramebufferCompletenessCache>
154 framebuffer_completeness_cache() = 0; 154 framebuffer_completeness_cache() = 0;
155 virtual SyncPointManager* sync_point_manager() = 0; 155 virtual SyncPointManager* sync_point_manager() = 0;
156 const GpuPreferences& gpu_preferences(); 156 const GpuPreferences& gpu_preferences();
157 const GpuDriverBugWorkarounds& gpu_driver_bug_workarounds(); 157 const GpuDriverBugWorkarounds& gpu_driver_bug_workarounds();
158 scoped_refptr<gl::GLShareGroup> share_group(); 158 scoped_refptr<gl::GLShareGroup> share_group();
159 scoped_refptr<gles2::MailboxManager> mailbox_manager(); 159 scoped_refptr<gles2::MailboxManager> mailbox_manager();
160 gpu::gles2::ProgramCache* program_cache(); 160 gpu::gles2::ProgramCache* program_cache();
161 161
162 private: 162 private:
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 305
306 SyncPointManager* sync_point_manager_; // Non-owning. 306 SyncPointManager* sync_point_manager_; // Non-owning.
307 scoped_refptr<gpu::gles2::ShaderTranslatorCache> shader_translator_cache_; 307 scoped_refptr<gpu::gles2::ShaderTranslatorCache> shader_translator_cache_;
308 scoped_refptr<gpu::gles2::FramebufferCompletenessCache> 308 scoped_refptr<gpu::gles2::FramebufferCompletenessCache>
309 framebuffer_completeness_cache_; 309 framebuffer_completeness_cache_;
310 DISALLOW_COPY_AND_ASSIGN(GpuInProcessThread); 310 DISALLOW_COPY_AND_ASSIGN(GpuInProcessThread);
311 }; 311 };
312 312
313 } // namespace gpu 313 } // namespace gpu
314 314
315 #endif // GPU_COMMAND_BUFFER_SERVICE_IN_PROCESS_COMMAND_BUFFER_H_ 315 #endif // GPU_IPC_IN_PROCESS_COMMAND_BUFFER_H_
OLDNEW
« no previous file with comments | « gpu/ipc/gl_in_process_context_export.h ('k') | gpu/ipc/in_process_command_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698