| 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 void OnRegisterTransferBuffer(int32 id, | 160 void OnRegisterTransferBuffer(int32 id, |
| 161 base::SharedMemoryHandle transfer_buffer, | 161 base::SharedMemoryHandle transfer_buffer, |
| 162 uint32 size); | 162 uint32 size); |
| 163 void OnDestroyTransferBuffer(int32 id); | 163 void OnDestroyTransferBuffer(int32 id); |
| 164 void OnGetTransferBuffer(int32 id, IPC::Message* reply_message); | 164 void OnGetTransferBuffer(int32 id, IPC::Message* reply_message); |
| 165 | 165 |
| 166 void OnCreateVideoDecoder( | 166 void OnCreateVideoDecoder( |
| 167 media::VideoCodecProfile profile, | 167 media::VideoCodecProfile profile, |
| 168 IPC::Message* reply_message); | 168 IPC::Message* reply_message); |
| 169 | 169 |
| 170 void OnCreateSurfaceCapturer(IPC::Message* reply_message); |
| 171 |
| 170 void OnSetSurfaceVisible(bool visible); | 172 void OnSetSurfaceVisible(bool visible); |
| 171 | 173 |
| 172 void OnDiscardBackbuffer(); | 174 void OnDiscardBackbuffer(); |
| 173 void OnEnsureBackbuffer(); | 175 void OnEnsureBackbuffer(); |
| 174 | 176 |
| 175 void OnRetireSyncPoint(uint32 sync_point); | 177 void OnRetireSyncPoint(uint32 sync_point); |
| 176 bool OnWaitSyncPoint(uint32 sync_point); | 178 bool OnWaitSyncPoint(uint32 sync_point); |
| 177 void OnSyncPointRetired(); | 179 void OnSyncPointRetired(); |
| 178 void OnSignalSyncPoint(uint32 sync_point, uint32 id); | 180 void OnSignalSyncPoint(uint32 sync_point, uint32 id); |
| 179 void OnSignalSyncPointAck(uint32 id); | 181 void OnSignalSyncPointAck(uint32 id); |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 size_t active_url_hash_; | 254 size_t active_url_hash_; |
| 253 | 255 |
| 254 size_t total_gpu_memory_; | 256 size_t total_gpu_memory_; |
| 255 | 257 |
| 256 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); | 258 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); |
| 257 }; | 259 }; |
| 258 | 260 |
| 259 } // namespace content | 261 } // namespace content |
| 260 | 262 |
| 261 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ | 263 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ |
| OLD | NEW |