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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 | 229 |
230 bool PpapiCommandBufferProxy::CanWaitUnverifiedSyncToken( | 230 bool PpapiCommandBufferProxy::CanWaitUnverifiedSyncToken( |
231 const gpu::SyncToken* sync_token) { | 231 const gpu::SyncToken* sync_token) { |
232 return false; | 232 return false; |
233 } | 233 } |
234 | 234 |
235 int32_t PpapiCommandBufferProxy::GetExtraCommandBufferData() const { | 235 int32_t PpapiCommandBufferProxy::GetExtraCommandBufferData() const { |
236 return 0; | 236 return 0; |
237 } | 237 } |
238 | 238 |
239 uint32_t PpapiCommandBufferProxy::InsertSyncPoint() { | |
240 NOTREACHED(); | |
241 return 0; | |
242 } | |
243 | |
244 uint32_t PpapiCommandBufferProxy::InsertFutureSyncPoint() { | |
245 NOTREACHED(); | |
246 return 0; | |
247 } | |
248 | |
249 void PpapiCommandBufferProxy::RetireSyncPoint(uint32_t sync_point) { | |
250 NOTREACHED(); | |
251 } | |
252 | |
253 void PpapiCommandBufferProxy::SignalSyncPoint(uint32_t sync_point, | |
254 const base::Closure& callback) { | |
255 NOTREACHED(); | |
256 } | |
257 | |
258 void PpapiCommandBufferProxy::SignalQuery(uint32_t query, | 239 void PpapiCommandBufferProxy::SignalQuery(uint32_t query, |
259 const base::Closure& callback) { | 240 const base::Closure& callback) { |
260 NOTREACHED(); | 241 NOTREACHED(); |
261 } | 242 } |
262 | 243 |
263 gpu::Capabilities PpapiCommandBufferProxy::GetCapabilities() { | 244 gpu::Capabilities PpapiCommandBufferProxy::GetCapabilities() { |
264 return capabilities_; | 245 return capabilities_; |
265 } | 246 } |
266 | 247 |
267 int32_t PpapiCommandBufferProxy::CreateImage(ClientBuffer buffer, | 248 int32_t PpapiCommandBufferProxy::CreateImage(ClientBuffer buffer, |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 message->set_unblock(true); | 321 message->set_unblock(true); |
341 Send(message); | 322 Send(message); |
342 | 323 |
343 flush_info_->flush_pending = false; | 324 flush_info_->flush_pending = false; |
344 flush_info_->resource.SetHostResource(0, 0); | 325 flush_info_->resource.SetHostResource(0, 0); |
345 flushed_fence_sync_release_ = pending_fence_sync_release_; | 326 flushed_fence_sync_release_ = pending_fence_sync_release_; |
346 } | 327 } |
347 | 328 |
348 } // namespace proxy | 329 } // namespace proxy |
349 } // namespace ppapi | 330 } // namespace ppapi |
OLD | NEW |