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

Unified Diff: ppapi/proxy/ppb_graphics_3d_proxy.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/ppapi_messages.h ('k') | ppapi/proxy/ppb_graphics_3d_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_graphics_3d_proxy.h
diff --git a/ppapi/proxy/ppb_graphics_3d_proxy.h b/ppapi/proxy/ppb_graphics_3d_proxy.h
index 848281e0280c61985e44c43d1162788a7660c507..bd7c54b9a0dded8a2464776d45750f68bc7db17d 100644
--- a/ppapi/proxy/ppb_graphics_3d_proxy.h
+++ b/ppapi/proxy/ppb_graphics_3d_proxy.h
@@ -42,7 +42,8 @@ class PPAPI_PROXY_EXPORT Graphics3D : public PPB_Graphics3D_Shared {
// Graphics3DTrusted API. These are not implemented in the proxy.
virtual PP_Bool SetGetBuffer(int32_t shm_id) override;
- virtual PP_Bool Flush(int32_t put_offset) override;
+ virtual PP_Bool Flush(int32_t put_offset,
+ const std::vector<uint32_t>& sync_points) override;
virtual scoped_refptr<gpu::Buffer> CreateTransferBuffer(uint32_t size,
int32* id) override;
virtual PP_Bool DestroyTransferBuffer(int32_t id) override;
@@ -100,7 +101,9 @@ class PPB_Graphics3D_Proxy : public InterfaceProxy {
int32 end,
gpu::CommandBuffer::State* state,
bool* success);
- void OnMsgAsyncFlush(const HostResource& context, int32 put_offset);
+ void OnMsgAsyncFlush(const HostResource& context,
+ int32 put_offset,
+ const std::vector<uint32>& sync_points);
void OnMsgCreateTransferBuffer(
const HostResource& context,
uint32 size,
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/proxy/ppb_graphics_3d_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698