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

Unified Diff: mojo/examples/pepper_container_app/graphics_3d_resource.cc

Issue 215803002: Remove CommandBuffer::GetTransferBuffer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/examples/pepper_container_app/graphics_3d_resource.h ('k') | mojo/gles2/command_buffer_client_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/examples/pepper_container_app/graphics_3d_resource.cc
diff --git a/mojo/examples/pepper_container_app/graphics_3d_resource.cc b/mojo/examples/pepper_container_app/graphics_3d_resource.cc
index 6f053596938431013f46777661a5284fa72bcc8d..b41776f7782130936f4b13c599535a001cdd57b2 100644
--- a/mojo/examples/pepper_container_app/graphics_3d_resource.cc
+++ b/mojo/examples/pepper_container_app/graphics_3d_resource.cc
@@ -91,9 +91,11 @@ gpu::CommandBuffer::State Graphics3DResource::GetState() {
return GetErrorState();
}
-int32_t Graphics3DResource::CreateTransferBuffer(uint32_t size) {
+scoped_refptr<gpu::Buffer> Graphics3DResource::CreateTransferBuffer(
+ uint32_t size,
+ int32* id) {
NOTIMPLEMENTED();
- return PP_FALSE;
+ return NULL;
}
PP_Bool Graphics3DResource::DestroyTransferBuffer(int32_t id) {
@@ -101,13 +103,6 @@ PP_Bool Graphics3DResource::DestroyTransferBuffer(int32_t id) {
return PP_FALSE;
}
-PP_Bool Graphics3DResource::GetTransferBuffer(int32_t id,
- int* shm_handle,
- uint32_t* shm_size) {
- NOTIMPLEMENTED();
- return PP_FALSE;
-}
-
PP_Bool Graphics3DResource::Flush(int32_t put_offset) {
NOTIMPLEMENTED();
return PP_FALSE;
« no previous file with comments | « mojo/examples/pepper_container_app/graphics_3d_resource.h ('k') | mojo/gles2/command_buffer_client_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698