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 "base/numerics/safe_conversions.h" | 7 #include "base/numerics/safe_conversions.h" |
8 #include "ppapi/proxy/ppapi_messages.h" | 8 #include "ppapi/proxy/ppapi_messages.h" |
9 #include "ppapi/shared_impl/api_id.h" | 9 #include "ppapi/shared_impl/api_id.h" |
10 #include "ppapi/shared_impl/host_resource.h" | 10 #include "ppapi/shared_impl/host_resource.h" |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 void PpapiCommandBufferProxy::SignalSyncPoint(uint32 sync_point, | 241 void PpapiCommandBufferProxy::SignalSyncPoint(uint32 sync_point, |
242 const base::Closure& callback) { | 242 const base::Closure& callback) { |
243 NOTREACHED(); | 243 NOTREACHED(); |
244 } | 244 } |
245 | 245 |
246 void PpapiCommandBufferProxy::SignalQuery(uint32 query, | 246 void PpapiCommandBufferProxy::SignalQuery(uint32 query, |
247 const base::Closure& callback) { | 247 const base::Closure& callback) { |
248 NOTREACHED(); | 248 NOTREACHED(); |
249 } | 249 } |
250 | 250 |
251 void PpapiCommandBufferProxy::SetSurfaceVisible(bool visible) { | |
252 NOTREACHED(); | |
253 } | |
254 | |
255 gpu::Capabilities PpapiCommandBufferProxy::GetCapabilities() { | 251 gpu::Capabilities PpapiCommandBufferProxy::GetCapabilities() { |
256 return capabilities_; | 252 return capabilities_; |
257 } | 253 } |
258 | 254 |
259 int32 PpapiCommandBufferProxy::CreateImage(ClientBuffer buffer, | 255 int32 PpapiCommandBufferProxy::CreateImage(ClientBuffer buffer, |
260 size_t width, | 256 size_t width, |
261 size_t height, | 257 size_t height, |
262 unsigned internalformat) { | 258 unsigned internalformat) { |
263 NOTREACHED(); | 259 NOTREACHED(); |
264 return -1; | 260 return -1; |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 message->set_unblock(true); | 328 message->set_unblock(true); |
333 Send(message); | 329 Send(message); |
334 | 330 |
335 flush_info_->flush_pending = false; | 331 flush_info_->flush_pending = false; |
336 flush_info_->resource.SetHostResource(0, 0); | 332 flush_info_->resource.SetHostResource(0, 0); |
337 flushed_fence_sync_release_ = pending_fence_sync_release_; | 333 flushed_fence_sync_release_ = pending_fence_sync_release_; |
338 } | 334 } |
339 | 335 |
340 } // namespace proxy | 336 } // namespace proxy |
341 } // namespace ppapi | 337 } // namespace ppapi |
OLD | NEW |