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

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: Fix NaClMessageScannerTest 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
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 d354cefbdddae2521ba8fba55b3bac398255fe75..bd783ec4565fdb6ca06a2449dead811c1f01003e 100644
--- a/mojo/examples/pepper_container_app/graphics_3d_resource.cc
+++ b/mojo/examples/pepper_container_app/graphics_3d_resource.cc
@@ -91,7 +91,9 @@ gpu::CommandBuffer::State Graphics3DResource::GetState() {
return GetErrorState();
}
-int32_t Graphics3DResource::CreateTransferBuffer(uint32_t size) {
+int32_t Graphics3DResource::CreateTransferBuffer(uint32_t size,
+ int* shm_handle,
+ uint32_t* shm_size) {
NOTIMPLEMENTED();
return PP_FALSE;
}
@@ -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;

Powered by Google App Engine
This is Rietveld 408576698