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

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

Issue 2488413003: Mus: ImageTransportSurface should not depend on GpuChannelManager (Closed)
Patch Set: Fix windows compile issue 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/service/child_window_surface_win.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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 std::unique_ptr<base::SharedMemory> shared_state_shm); 83 std::unique_ptr<base::SharedMemory> shared_state_shm);
84 84
85 ~GpuCommandBufferStub() override; 85 ~GpuCommandBufferStub() override;
86 86
87 // IPC::Listener implementation: 87 // IPC::Listener implementation:
88 bool OnMessageReceived(const IPC::Message& message) override; 88 bool OnMessageReceived(const IPC::Message& message) override;
89 89
90 // IPC::Sender implementation: 90 // IPC::Sender implementation:
91 bool Send(IPC::Message* msg) override; 91 bool Send(IPC::Message* msg) override;
92 92
93 // PassThroughImageTransportSuraceDelegate implementation: 93 // ImageTransportSurfaceDelegate implementation:
94 #if defined(OS_WIN)
95 void DidCreateAcceleratedSurfaceChildWindow(
96 SurfaceHandle parent_window,
97 SurfaceHandle child_window) override;
98 #endif
94 void DidSwapBuffersComplete(SwapBuffersCompleteParams params) override; 99 void DidSwapBuffersComplete(SwapBuffersCompleteParams params) override;
95 const gles2::FeatureInfo* GetFeatureInfo() const override; 100 const gles2::FeatureInfo* GetFeatureInfo() const override;
96 void SetLatencyInfoCallback(const LatencyInfoCallback& callback) override; 101 void SetLatencyInfoCallback(const LatencyInfoCallback& callback) override;
97 void UpdateVSyncParameters(base::TimeTicks timebase, 102 void UpdateVSyncParameters(base::TimeTicks timebase,
98 base::TimeDelta interval) override; 103 base::TimeDelta interval) override;
99 104
100 gles2::MemoryTracker* GetMemoryTracker() const; 105 gles2::MemoryTracker* GetMemoryTracker() const;
101 106
102 // Whether this command buffer can currently handle IPC messages. 107 // Whether this command buffer can currently handle IPC messages.
103 bool IsScheduled(); 108 bool IsScheduled();
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 255
251 std::unique_ptr<WaitForCommandState> wait_for_token_; 256 std::unique_ptr<WaitForCommandState> wait_for_token_;
252 std::unique_ptr<WaitForCommandState> wait_for_get_offset_; 257 std::unique_ptr<WaitForCommandState> wait_for_get_offset_;
253 258
254 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); 259 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub);
255 }; 260 };
256 261
257 } // namespace gpu 262 } // namespace gpu
258 263
259 #endif // GPU_IPC_SERVICE_GPU_COMMAND_BUFFER_STUB_H_ 264 #endif // GPU_IPC_SERVICE_GPU_COMMAND_BUFFER_STUB_H_
OLDNEW
« no previous file with comments | « gpu/ipc/service/child_window_surface_win.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