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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 | 221 |
222 bool PpapiCommandBufferProxy::CanWaitUnverifiedSyncToken( | 222 bool PpapiCommandBufferProxy::CanWaitUnverifiedSyncToken( |
223 const gpu::SyncToken& sync_token) { | 223 const gpu::SyncToken& sync_token) { |
224 return false; | 224 return false; |
225 } | 225 } |
226 | 226 |
227 int32_t PpapiCommandBufferProxy::GetExtraCommandBufferData() const { | 227 int32_t PpapiCommandBufferProxy::GetExtraCommandBufferData() const { |
228 return 0; | 228 return 0; |
229 } | 229 } |
230 | 230 |
| 231 void PpapiCommandBufferProxy::AddLatencyInfo( |
| 232 const std::vector<ui::LatencyInfo>& latency_info) {} |
| 233 |
231 void PpapiCommandBufferProxy::SignalQuery(uint32_t query, | 234 void PpapiCommandBufferProxy::SignalQuery(uint32_t query, |
232 const base::Closure& callback) { | 235 const base::Closure& callback) { |
233 NOTREACHED(); | 236 NOTREACHED(); |
234 } | 237 } |
235 | 238 |
236 void PpapiCommandBufferProxy::SetGpuControlClient(gpu::GpuControlClient*) { | 239 void PpapiCommandBufferProxy::SetGpuControlClient(gpu::GpuControlClient*) { |
237 // TODO(piman): The lost context callback skips past here and goes directly | 240 // TODO(piman): The lost context callback skips past here and goes directly |
238 // to the plugin instance. Make it more uniform and use the GpuControlClient. | 241 // to the plugin instance. Make it more uniform and use the GpuControlClient. |
239 } | 242 } |
240 | 243 |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 message->set_unblock(true); | 312 message->set_unblock(true); |
310 Send(message); | 313 Send(message); |
311 | 314 |
312 flush_info_->flush_pending = false; | 315 flush_info_->flush_pending = false; |
313 flush_info_->resource.SetHostResource(0, 0); | 316 flush_info_->resource.SetHostResource(0, 0); |
314 flushed_fence_sync_release_ = pending_fence_sync_release_; | 317 flushed_fence_sync_release_ = pending_fence_sync_release_; |
315 } | 318 } |
316 | 319 |
317 } // namespace proxy | 320 } // namespace proxy |
318 } // namespace ppapi | 321 } // namespace ppapi |
OLD | NEW |