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

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: Fix mock gpu video accelerator factory 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..5f395727b7a39ecd31af9f68dd1971945e2dc420 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,11 @@ 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,
+ uint32_t sync_point,
+ const gpu::SyncToken& sync_token,
+ bool is_lost);
void ResetLayersInternal(bool is_aborted);

Powered by Google App Engine
This is Rietveld 408576698