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

Unified Diff: ppapi/proxy/compositor_layer_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_layer_resource.h
diff --git a/ppapi/proxy/compositor_layer_resource.h b/ppapi/proxy/compositor_layer_resource.h
index dc6024fe1594c88fff30cf5c694d7c396e5fc0b9..8d4dfd3eb9570297d60cd5ec161c7debf79be58b 100644
--- a/ppapi/proxy/compositor_layer_resource.h
+++ b/ppapi/proxy/compositor_layer_resource.h
@@ -12,6 +12,10 @@
#include "ppapi/shared_impl/scoped_pp_resource.h"
#include "ppapi/thunk/ppb_compositor_layer_api.h"
+namespace gpu {
+struct SyncToken;
+}
+
namespace ppapi {
namespace proxy {
@@ -22,7 +26,8 @@ class PPAPI_PROXY_EXPORT CompositorLayerResource
public thunk::PPB_CompositorLayer_API {
public:
// Release callback for texture or image layer.
- typedef base::Callback<void(int32_t, uint32_t, bool)> ReleaseCallback;
+ typedef base::Callback<void(int32_t, const gpu::SyncToken&, bool)>
+ ReleaseCallback;
CompositorLayerResource(Connection connection,
PP_Instance instance,

Powered by Google App Engine
This is Rietveld 408576698