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

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

Issue 2752393002: gpu: Add SequenceId for identifying sync point sequences. (Closed)
Patch Set: piman's review 3 Created 3 years, 9 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
« no previous file with comments | « gpu/command_buffer/tests/gl_manager.cc ('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_IPC_IN_PROCESS_COMMAND_BUFFER_H_ 5 #ifndef GPU_IPC_IN_PROCESS_COMMAND_BUFFER_H_
6 #define GPU_IPC_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
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 class GLShareGroup; 44 class GLShareGroup;
45 class GLSurface; 45 class GLSurface;
46 } 46 }
47 47
48 namespace gfx { 48 namespace gfx {
49 class Size; 49 class Size;
50 } 50 }
51 51
52 namespace gpu { 52 namespace gpu {
53 53
54 class SyncPointClient; 54 class SyncPointClientState;
55 class SyncPointOrderData; 55 class SyncPointOrderData;
56 class SyncPointManager; 56 class SyncPointManager;
57 struct GpuProcessHostedCALayerTreeParamsMac; 57 struct GpuProcessHostedCALayerTreeParamsMac;
58 58
59 namespace gles2 { 59 namespace gles2 {
60 struct ContextCreationAttribHelper; 60 struct ContextCreationAttribHelper;
61 class FramebufferCompletenessCache; 61 class FramebufferCompletenessCache;
62 class GLES2Decoder; 62 class GLES2Decoder;
63 class MailboxManager; 63 class MailboxManager;
64 class ProgramCache; 64 class ProgramCache;
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 // creation): 269 // creation):
270 bool waiting_for_sync_point_ = false; 270 bool waiting_for_sync_point_ = false;
271 271
272 scoped_refptr<base::SingleThreadTaskRunner> origin_task_runner_; 272 scoped_refptr<base::SingleThreadTaskRunner> origin_task_runner_;
273 scoped_refptr<TransferBufferManagerInterface> transfer_buffer_manager_; 273 scoped_refptr<TransferBufferManagerInterface> transfer_buffer_manager_;
274 std::unique_ptr<CommandExecutor> executor_; 274 std::unique_ptr<CommandExecutor> executor_;
275 std::unique_ptr<gles2::GLES2Decoder> decoder_; 275 std::unique_ptr<gles2::GLES2Decoder> decoder_;
276 scoped_refptr<gl::GLContext> context_; 276 scoped_refptr<gl::GLContext> context_;
277 scoped_refptr<gl::GLSurface> surface_; 277 scoped_refptr<gl::GLSurface> surface_;
278 scoped_refptr<SyncPointOrderData> sync_point_order_data_; 278 scoped_refptr<SyncPointOrderData> sync_point_order_data_;
279 std::unique_ptr<SyncPointClient> sync_point_client_; 279 scoped_refptr<SyncPointClientState> sync_point_client_state_;
280 base::Closure context_lost_callback_; 280 base::Closure context_lost_callback_;
281 // Used to throttle PerformDelayedWorkOnGpuThread. 281 // Used to throttle PerformDelayedWorkOnGpuThread.
282 bool delayed_work_pending_; 282 bool delayed_work_pending_;
283 ImageFactory* image_factory_; 283 ImageFactory* image_factory_;
284 284
285 // Members accessed on the client thread: 285 // Members accessed on the client thread:
286 GpuControlClient* gpu_control_client_; 286 GpuControlClient* gpu_control_client_;
287 #if DCHECK_IS_ON() 287 #if DCHECK_IS_ON()
288 bool context_lost_; 288 bool context_lost_;
289 #endif 289 #endif
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 base::WeakPtr<InProcessCommandBuffer> gpu_thread_weak_ptr_; 328 base::WeakPtr<InProcessCommandBuffer> gpu_thread_weak_ptr_;
329 base::WeakPtrFactory<InProcessCommandBuffer> client_thread_weak_ptr_factory_; 329 base::WeakPtrFactory<InProcessCommandBuffer> client_thread_weak_ptr_factory_;
330 base::WeakPtrFactory<InProcessCommandBuffer> gpu_thread_weak_ptr_factory_; 330 base::WeakPtrFactory<InProcessCommandBuffer> gpu_thread_weak_ptr_factory_;
331 331
332 DISALLOW_COPY_AND_ASSIGN(InProcessCommandBuffer); 332 DISALLOW_COPY_AND_ASSIGN(InProcessCommandBuffer);
333 }; 333 };
334 334
335 } // namespace gpu 335 } // namespace gpu
336 336
337 #endif // GPU_IPC_IN_PROCESS_COMMAND_BUFFER_H_ 337 #endif // GPU_IPC_IN_PROCESS_COMMAND_BUFFER_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/tests/gl_manager.cc ('k') | gpu/ipc/in_process_command_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698