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

Unified Diff: ppapi/thunk/ppb_graphics_3d_thunk.cc

Issue 1586883002: Converted Ppapi post swap buffer sync point to use sync tokens. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed some .get() booleans Created 4 years, 11 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
« no previous file with comments | « ppapi/thunk/ppb_graphics_3d_api.h ('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_thunk.cc
diff --git a/ppapi/thunk/ppb_graphics_3d_thunk.cc b/ppapi/thunk/ppb_graphics_3d_thunk.cc
index 437ad44b0b29c6c58b93ae56b1241d49039c42c6..a42ddd102128eee6d912554e272da7739c7fdbc2 100644
--- a/ppapi/thunk/ppb_graphics_3d_thunk.cc
+++ b/ppapi/thunk/ppb_graphics_3d_thunk.cc
@@ -6,6 +6,7 @@
#include <stdint.h>
+#include "gpu/command_buffer/common/sync_token.h"
#include "ppapi/c/pp_completion_callback.h"
#include "ppapi/c/pp_errors.h"
#include "ppapi/c/ppb_graphics_3d.h"
@@ -84,7 +85,8 @@ int32_t SwapBuffers(PP_Resource context,
EnterResource<PPB_Graphics3D_API> enter(context, callback, true);
if (enter.failed())
return enter.retval();
- return enter.SetResult(enter.object()->SwapBuffers(enter.callback()));
+ return enter.SetResult(enter.object()->SwapBuffers(enter.callback(),
+ gpu::SyncToken()));
}
const PPB_Graphics3D_1_0 g_ppb_graphics3d_thunk_1_0 = {&GetAttribMaxValue,
« no previous file with comments | « ppapi/thunk/ppb_graphics_3d_api.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698