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

Unified Diff: ppapi/proxy/ppb_graphics_3d_proxy.cc

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.h ('k') | ppapi/thunk/ppb_graphics_3d_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_graphics_3d_proxy.cc
diff --git a/ppapi/proxy/ppb_graphics_3d_proxy.cc b/ppapi/proxy/ppb_graphics_3d_proxy.cc
index 7cd2b88bcdb27155f68e2921bd21f7a9b4a5bf68..cb9e9af53c02d2894b19644f36e603e379f10ce8 100644
--- a/ppapi/proxy/ppb_graphics_3d_proxy.cc
+++ b/ppapi/proxy/ppb_graphics_3d_proxy.cc
@@ -72,7 +72,8 @@ PP_Bool Graphics3D::SetGetBuffer(int32_t /* transfer_buffer_id */) {
return PP_FALSE;
}
-PP_Bool Graphics3D::Flush(int32_t put_offset) {
+PP_Bool Graphics3D::Flush(int32_t put_offset,
+ const std::vector<uint32>& sync_points) {
return PP_FALSE;
}
@@ -291,11 +292,13 @@ void PPB_Graphics3D_Proxy::OnMsgWaitForGetOffsetInRange(
*success = true;
}
-void PPB_Graphics3D_Proxy::OnMsgAsyncFlush(const HostResource& context,
- int32 put_offset) {
+void PPB_Graphics3D_Proxy::OnMsgAsyncFlush(
+ const HostResource& context,
+ int32 put_offset,
+ const std::vector<uint32>& sync_points) {
EnterHostFromHostResource<PPB_Graphics3D_API> enter(context);
if (enter.succeeded())
- enter.object()->Flush(put_offset);
+ enter.object()->Flush(put_offset, sync_points);
}
void PPB_Graphics3D_Proxy::OnMsgCreateTransferBuffer(
« no previous file with comments | « ppapi/proxy/ppb_graphics_3d_proxy.h ('k') | ppapi/thunk/ppb_graphics_3d_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698