| 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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 bool PpapiCommandBufferProxy::IsFenceSyncReleased(uint64_t release) { | 207 bool PpapiCommandBufferProxy::IsFenceSyncReleased(uint64_t release) { |
| 208 NOTIMPLEMENTED(); | 208 NOTIMPLEMENTED(); |
| 209 return false; | 209 return false; |
| 210 } | 210 } |
| 211 | 211 |
| 212 void PpapiCommandBufferProxy::SignalSyncToken(const gpu::SyncToken& sync_token, | 212 void PpapiCommandBufferProxy::SignalSyncToken(const gpu::SyncToken& sync_token, |
| 213 const base::Closure& callback) { | 213 const base::Closure& callback) { |
| 214 NOTIMPLEMENTED(); | 214 NOTIMPLEMENTED(); |
| 215 } | 215 } |
| 216 | 216 |
| 217 void PpapiCommandBufferProxy::WaitSyncTokenHint( |
| 218 const gpu::SyncToken& sync_token) { |
| 219 // TODO(sunnyps): Forward sync token dependency hints to the renderer. |
| 220 } |
| 221 |
| 217 bool PpapiCommandBufferProxy::CanWaitUnverifiedSyncToken( | 222 bool PpapiCommandBufferProxy::CanWaitUnverifiedSyncToken( |
| 218 const gpu::SyncToken* sync_token) { | 223 const gpu::SyncToken& sync_token) { |
| 219 return false; | 224 return false; |
| 220 } | 225 } |
| 221 | 226 |
| 222 int32_t PpapiCommandBufferProxy::GetExtraCommandBufferData() const { | 227 int32_t PpapiCommandBufferProxy::GetExtraCommandBufferData() const { |
| 223 return 0; | 228 return 0; |
| 224 } | 229 } |
| 225 | 230 |
| 226 void PpapiCommandBufferProxy::SignalQuery(uint32_t query, | 231 void PpapiCommandBufferProxy::SignalQuery(uint32_t query, |
| 227 const base::Closure& callback) { | 232 const base::Closure& callback) { |
| 228 NOTREACHED(); | 233 NOTREACHED(); |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 message->set_unblock(true); | 309 message->set_unblock(true); |
| 305 Send(message); | 310 Send(message); |
| 306 | 311 |
| 307 flush_info_->flush_pending = false; | 312 flush_info_->flush_pending = false; |
| 308 flush_info_->resource.SetHostResource(0, 0); | 313 flush_info_->resource.SetHostResource(0, 0); |
| 309 flushed_fence_sync_release_ = pending_fence_sync_release_; | 314 flushed_fence_sync_release_ = pending_fence_sync_release_; |
| 310 } | 315 } |
| 311 | 316 |
| 312 } // namespace proxy | 317 } // namespace proxy |
| 313 } // namespace ppapi | 318 } // namespace ppapi |
| OLD | NEW |