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

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

Issue 11227033: Move a bunch of code in content\common (as well as a few left in renderer) to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 years, 2 months 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 | Annotate | Revision Log
« 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 "ppapi/proxy/ppapi_messages.h" 7 #include "ppapi/proxy/ppapi_messages.h"
8 #include "ppapi/proxy/proxy_channel.h" 8 #include "ppapi/proxy/proxy_channel.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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 NOTIMPLEMENTED(); 69 NOTIMPLEMENTED();
70 } 70 }
71 71
72 bool PpapiCommandBufferProxy::SignalSyncPoint(uint32 sync_point, 72 bool PpapiCommandBufferProxy::SignalSyncPoint(uint32 sync_point,
73 const base::Closure& callback) { 73 const base::Closure& callback) {
74 NOTIMPLEMENTED(); 74 NOTIMPLEMENTED();
75 return false; 75 return false;
76 } 76 }
77 77
78 void PpapiCommandBufferProxy::SetMemoryAllocationChangedCallback( 78 void PpapiCommandBufferProxy::SetMemoryAllocationChangedCallback(
79 const base::Callback<void(const GpuMemoryAllocationForRenderer&)>& 79 const base::Callback<void(
80 callback) { 80 const content::GpuMemoryAllocationForRenderer&)>& callback) {
81 NOTIMPLEMENTED(); 81 NOTIMPLEMENTED();
82 } 82 }
83 83
84 bool PpapiCommandBufferProxy::SetParent( 84 bool PpapiCommandBufferProxy::SetParent(
85 CommandBufferProxy* parent_command_buffer, 85 CommandBufferProxy* parent_command_buffer,
86 uint32 parent_texture_id) { 86 uint32 parent_texture_id) {
87 // TODO(fsamuel): Need a proper implementation of this to support offscreen 87 // TODO(fsamuel): Need a proper implementation of this to support offscreen
88 // contexts in the guest renderer (WebGL, canvas, etc). 88 // contexts in the guest renderer (WebGL, canvas, etc).
89 NOTIMPLEMENTED(); 89 NOTIMPLEMENTED();
90 return false; 90 return false;
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 last_state_ = state; 289 last_state_ = state;
290 } 290 }
291 } else { 291 } else {
292 last_state_.error = gpu::error::kLostContext; 292 last_state_.error = gpu::error::kLostContext;
293 ++last_state_.generation; 293 ++last_state_.generation;
294 } 294 }
295 } 295 }
296 296
297 } // namespace proxy 297 } // namespace proxy
298 } // namespace ppapi 298 } // 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