OLD | NEW |
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 CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ | 5 #ifndef CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ |
6 #define CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ | 6 #define CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 media::VideoCodecProfile profile, | 164 media::VideoCodecProfile profile, |
165 IPC::Message* reply_message); | 165 IPC::Message* reply_message); |
166 void OnDestroyVideoDecoder(int32 decoder_route_id); | 166 void OnDestroyVideoDecoder(int32 decoder_route_id); |
167 | 167 |
168 void OnSetSurfaceVisible(bool visible); | 168 void OnSetSurfaceVisible(bool visible); |
169 | 169 |
170 void OnDiscardBackbuffer(); | 170 void OnDiscardBackbuffer(); |
171 void OnEnsureBackbuffer(); | 171 void OnEnsureBackbuffer(); |
172 | 172 |
173 void OnRetireSyncPoint(uint32 sync_point); | 173 void OnRetireSyncPoint(uint32 sync_point); |
174 void OnWaitSyncPoint(uint32 sync_point); | 174 bool OnWaitSyncPoint(uint32 sync_point); |
175 void OnSyncPointRetired(); | 175 void OnSyncPointRetired(); |
176 void OnSignalSyncPoint(uint32 sync_point, uint32 id); | 176 void OnSignalSyncPoint(uint32 sync_point, uint32 id); |
177 void OnSignalSyncPointAck(uint32 id); | 177 void OnSignalSyncPointAck(uint32 id); |
178 | 178 |
179 void OnReceivedClientManagedMemoryStats(const GpuManagedMemoryStats& stats); | 179 void OnReceivedClientManagedMemoryStats(const GpuManagedMemoryStats& stats); |
180 void OnSetClientHasMemoryAllocationChangedCallback(bool has_callback); | 180 void OnSetClientHasMemoryAllocationChangedCallback(bool has_callback); |
181 | 181 |
182 void OnReschedule(); | 182 void OnReschedule(); |
183 | 183 |
184 void OnCommandProcessed(); | 184 void OnCommandProcessed(); |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 size_t active_url_hash_; | 252 size_t active_url_hash_; |
253 | 253 |
254 size_t total_gpu_memory_; | 254 size_t total_gpu_memory_; |
255 | 255 |
256 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); | 256 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); |
257 }; | 257 }; |
258 | 258 |
259 } // namespace content | 259 } // namespace content |
260 | 260 |
261 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ | 261 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ |
OLD | NEW |