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

Side by Side Diff: gpu/ipc/service/gpu_command_buffer_stub.h

Issue 2286063003: gpu: Move GpuWatchdogThread into //gpu/ipc/service from content. (Closed)
Patch Set: tot merge Created 4 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
« no previous file with comments | « gpu/ipc/service/gpu_channel_manager.cc ('k') | gpu/ipc/service/gpu_command_buffer_stub.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 (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_IPC_SERVICE_GPU_COMMAND_BUFFER_STUB_H_ 5 #ifndef GPU_IPC_SERVICE_GPU_COMMAND_BUFFER_STUB_H_
6 #define GPU_IPC_SERVICE_GPU_COMMAND_BUFFER_STUB_H_ 6 #define GPU_IPC_SERVICE_GPU_COMMAND_BUFFER_STUB_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 } 46 }
47 } 47 }
48 48
49 struct GPUCreateCommandBufferConfig; 49 struct GPUCreateCommandBufferConfig;
50 struct GpuCommandBufferMsg_CreateImage_Params; 50 struct GpuCommandBufferMsg_CreateImage_Params;
51 struct GpuCommandBufferMsg_SwapBuffersCompleted_Params; 51 struct GpuCommandBufferMsg_SwapBuffersCompleted_Params;
52 52
53 namespace gpu { 53 namespace gpu {
54 54
55 class GpuChannel; 55 class GpuChannel;
56 class GpuWatchdog; 56 class GpuWatchdogThread;
57 struct WaitForCommandState; 57 struct WaitForCommandState;
58 58
59 class GPU_EXPORT GpuCommandBufferStub 59 class GPU_EXPORT GpuCommandBufferStub
60 : public IPC::Listener, 60 : public IPC::Listener,
61 public IPC::Sender, 61 public IPC::Sender,
62 public base::SupportsWeakPtr<GpuCommandBufferStub> { 62 public base::SupportsWeakPtr<GpuCommandBufferStub> {
63 public: 63 public:
64 class DestructionObserver { 64 class DestructionObserver {
65 public: 65 public:
66 // Called in Destroy(), before the context/surface are released. 66 // Called in Destroy(), before the context/surface are released.
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 250
251 std::unique_ptr<WaitForCommandState> wait_for_token_; 251 std::unique_ptr<WaitForCommandState> wait_for_token_;
252 std::unique_ptr<WaitForCommandState> wait_for_get_offset_; 252 std::unique_ptr<WaitForCommandState> wait_for_get_offset_;
253 253
254 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); 254 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub);
255 }; 255 };
256 256
257 } // namespace gpu 257 } // namespace gpu
258 258
259 #endif // GPU_IPC_SERVICE_GPU_COMMAND_BUFFER_STUB_H_ 259 #endif // GPU_IPC_SERVICE_GPU_COMMAND_BUFFER_STUB_H_
OLDNEW
« no previous file with comments | « gpu/ipc/service/gpu_channel_manager.cc ('k') | gpu/ipc/service/gpu_command_buffer_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698