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

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

Issue 205193006: gpu: Remove map_image field from gpu::Capabilities. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move TODO Created 6 years, 9 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') | ppapi/shared_impl/ppb_graphics_3d_shared.cc » ('j') | 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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 237
238 void PpapiCommandBufferProxy::SetSurfaceVisible(bool visible) { 238 void PpapiCommandBufferProxy::SetSurfaceVisible(bool visible) {
239 NOTREACHED(); 239 NOTREACHED();
240 } 240 }
241 241
242 void PpapiCommandBufferProxy::SendManagedMemoryStats( 242 void PpapiCommandBufferProxy::SendManagedMemoryStats(
243 const gpu::ManagedMemoryStats& stats) { 243 const gpu::ManagedMemoryStats& stats) {
244 NOTREACHED(); 244 NOTREACHED();
245 } 245 }
246 246
247 gpu::Capabilities PpapiCommandBufferProxy::GetCapabilities() {
248 // TODO(boliu): Need to implement this to use cc in Pepper. Tracked in
249 // crbug.com/325391.
250 return gpu::Capabilities();
251 }
252
253 gfx::GpuMemoryBuffer* PpapiCommandBufferProxy::CreateGpuMemoryBuffer( 247 gfx::GpuMemoryBuffer* PpapiCommandBufferProxy::CreateGpuMemoryBuffer(
254 size_t width, 248 size_t width,
255 size_t height, 249 size_t height,
256 unsigned internalformat, 250 unsigned internalformat,
257 int32* id) { 251 int32* id) {
258 NOTREACHED(); 252 NOTREACHED();
259 return NULL; 253 return NULL;
260 } 254 }
261 255
262 void PpapiCommandBufferProxy::DestroyGpuMemoryBuffer(int32 id) { 256 void PpapiCommandBufferProxy::DestroyGpuMemoryBuffer(int32 id) {
(...skipping 20 matching lines...) Expand all
283 last_state_ = state; 277 last_state_ = state;
284 } 278 }
285 } else { 279 } else {
286 last_state_.error = gpu::error::kLostContext; 280 last_state_.error = gpu::error::kLostContext;
287 ++last_state_.generation; 281 ++last_state_.generation;
288 } 282 }
289 } 283 }
290 284
291 } // namespace proxy 285 } // namespace proxy
292 } // namespace ppapi 286 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/ppapi_command_buffer_proxy.h ('k') | ppapi/shared_impl/ppb_graphics_3d_shared.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698