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

Unified Diff: ppapi/proxy/compositor_resource.h

Issue 1427543002: Modified old wait sync point functions to also accept new sync tokens. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Folded sync_point into sync_tokens Created 5 years, 2 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/proxy/compositor_resource.h
diff --git a/ppapi/proxy/compositor_resource.h b/ppapi/proxy/compositor_resource.h
index 0d3161ddeda383302f1d222aeebe185751b02da7..49ccf3d3873dc3d5935d14c89cc89045446e47d6 100644
--- a/ppapi/proxy/compositor_resource.h
+++ b/ppapi/proxy/compositor_resource.h
@@ -13,6 +13,10 @@
#include "ppapi/shared_impl/proxy_lock.h"
#include "ppapi/thunk/ppb_compositor_api.h"
+namespace gpu {
+struct SyncToken;
+}
+
namespace ppapi {
namespace proxy {
@@ -44,11 +48,10 @@ class PPAPI_PROXY_EXPORT CompositorResource
// IPC msg handlers:
void OnPluginMsgCommitLayersReply(const ResourceMessageReplyParams& params);
- void OnPluginMsgReleaseResource(
- const ResourceMessageReplyParams& params,
- int32_t id,
- uint32_t sync_point,
- bool is_lost);
+ void OnPluginMsgReleaseResource(const ResourceMessageReplyParams& params,
+ int32_t id,
+ const gpu::SyncToken& sync_token,
+ bool is_lost);
void ResetLayersInternal(bool is_aborted);

Powered by Google App Engine
This is Rietveld 408576698