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

Unified Diff: ppapi/thunk/ppb_graphics_3d_api.h

Issue 782583003: List sync points to wait on in AsyncFlush message Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « ppapi/proxy/ppb_graphics_3d_proxy.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f75f660c68b64e08310560e96cc262c00015bda0..af173b837b79b34bed881223968aeb3eb31f2fff 100644
--- a/ppapi/thunk/ppb_graphics_3d_api.h
+++ b/ppapi/thunk/ppb_graphics_3d_api.h
@@ -34,7 +34,8 @@ class PPAPI_THUNK_EXPORT PPB_Graphics3D_API {
virtual scoped_refptr<gpu::Buffer> CreateTransferBuffer(uint32_t size,
int32_t* id) = 0;
virtual PP_Bool DestroyTransferBuffer(int32_t id) = 0;
- virtual PP_Bool Flush(int32_t put_offset) = 0;
+ virtual PP_Bool Flush(int32_t put_offset,
+ const std::vector<uint32>& sync_points) = 0;
virtual gpu::CommandBuffer::State WaitForTokenInRange(int32_t start,
int32_t end) = 0;
virtual gpu::CommandBuffer::State WaitForGetOffsetInRange(int32_t start,
« no previous file with comments | « 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