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

Unified Diff: ppapi/thunk/ppb_graphics_3d_api.h

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: ppapi/thunk/ppb_graphics_3d_api.h
diff --git a/ppapi/thunk/ppb_graphics_3d_api.h b/ppapi/thunk/ppb_graphics_3d_api.h
index a88b4abbbe30f81882852ace634e7102815b1610..cc0f70b972946523df03f2f7a478400db9e4bfe5 100644
--- a/ppapi/thunk/ppb_graphics_3d_api.h
+++ b/ppapi/thunk/ppb_graphics_3d_api.h
@@ -32,11 +32,10 @@ class PPAPI_THUNK_EXPORT PPB_Graphics3D_API {
// Graphics3DTrusted API.
virtual PP_Bool SetGetBuffer(int32_t shm_id) = 0;
virtual gpu::CommandBuffer::State GetState() = 0;
- virtual int32_t CreateTransferBuffer(uint32_t size) = 0;
+ virtual int32_t CreateTransferBuffer(uint32_t size,
+ int* shm_handle,
+ uint32_t* shm_size) = 0;
virtual PP_Bool DestroyTransferBuffer(int32_t id) = 0;
- virtual PP_Bool GetTransferBuffer(int32_t id,
- int* shm_handle,
- uint32_t* shm_size) = 0;
virtual PP_Bool Flush(int32_t put_offset) = 0;
virtual gpu::CommandBuffer::State WaitForTokenInRange(int32_t start,
int32_t end) = 0;
« ppapi/proxy/ppapi_command_buffer_proxy.cc ('K') | « ppapi/proxy/ppb_graphics_3d_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698