Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: ppapi/proxy/ppapi_command_buffer_proxy.cc

Issue 1469863003: Cleanup SurfaceVisibility code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase.. Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ppapi/proxy/ppapi_command_buffer_proxy.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « ppapi/proxy/ppapi_command_buffer_proxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698