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 #include "ppapi/proxy/ppapi_command_buffer_proxy.h" | 5 #include "ppapi/proxy/ppapi_command_buffer_proxy.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/numerics/safe_conversions.h" | 9 #include "base/numerics/safe_conversions.h" |
10 #include "ppapi/proxy/ppapi_messages.h" | 10 #include "ppapi/proxy/ppapi_messages.h" |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 void PpapiCommandBufferProxy::SignalSyncToken(const gpu::SyncToken& sync_token, | 216 void PpapiCommandBufferProxy::SignalSyncToken(const gpu::SyncToken& sync_token, |
217 const base::Closure& callback) { | 217 const base::Closure& callback) { |
218 NOTIMPLEMENTED(); | 218 NOTIMPLEMENTED(); |
219 } | 219 } |
220 | 220 |
221 bool PpapiCommandBufferProxy::CanWaitUnverifiedSyncToken( | 221 bool PpapiCommandBufferProxy::CanWaitUnverifiedSyncToken( |
222 const gpu::SyncToken* sync_token) { | 222 const gpu::SyncToken* sync_token) { |
223 return false; | 223 return false; |
224 } | 224 } |
225 | 225 |
| 226 int32_t PpapiCommandBufferProxy::CreateFence(ClientFence fence) { |
| 227 NOTIMPLEMENTED(); |
| 228 return -1; |
| 229 } |
| 230 |
| 231 void PpapiCommandBufferProxy::DestroyFence(int32_t id) { |
| 232 NOTIMPLEMENTED(); |
| 233 } |
| 234 |
226 int32_t PpapiCommandBufferProxy::GetExtraCommandBufferData() const { | 235 int32_t PpapiCommandBufferProxy::GetExtraCommandBufferData() const { |
227 return 0; | 236 return 0; |
228 } | 237 } |
229 | 238 |
230 void PpapiCommandBufferProxy::SignalQuery(uint32_t query, | 239 void PpapiCommandBufferProxy::SignalQuery(uint32_t query, |
231 const base::Closure& callback) { | 240 const base::Closure& callback) { |
232 NOTREACHED(); | 241 NOTREACHED(); |
233 } | 242 } |
234 | 243 |
235 void PpapiCommandBufferProxy::SetGpuControlClient(gpu::GpuControlClient*) { | 244 void PpapiCommandBufferProxy::SetGpuControlClient(gpu::GpuControlClient*) { |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 message->set_unblock(true); | 326 message->set_unblock(true); |
318 Send(message); | 327 Send(message); |
319 | 328 |
320 flush_info_->flush_pending = false; | 329 flush_info_->flush_pending = false; |
321 flush_info_->resource.SetHostResource(0, 0); | 330 flush_info_->resource.SetHostResource(0, 0); |
322 flushed_fence_sync_release_ = pending_fence_sync_release_; | 331 flushed_fence_sync_release_ = pending_fence_sync_release_; |
323 } | 332 } |
324 | 333 |
325 } // namespace proxy | 334 } // namespace proxy |
326 } // namespace ppapi | 335 } // namespace ppapi |
OLD | NEW |