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

Unified Diff: content/renderer/pepper/pepper_compositor_host.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: format Created 5 years, 1 month 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: content/renderer/pepper/pepper_compositor_host.h
diff --git a/content/renderer/pepper/pepper_compositor_host.h b/content/renderer/pepper/pepper_compositor_host.h
index cd17aef4c9f4737f7f1c2f8db8c571e1b13fd1de..a954ffb034ac7acc4ce20bbcd8a09ba3bba64dcf 100644
--- a/content/renderer/pepper/pepper_compositor_host.h
+++ b/content/renderer/pepper/pepper_compositor_host.h
@@ -21,6 +21,10 @@ class Layer;
class SharedBitmap;
} // namespace cc
+namespace gpu {
+struct SyncToken;
+} // namespace gpu
+
namespace content {
class PepperPluginInstanceImpl;
@@ -47,10 +51,10 @@ class PepperCompositorHost : public ppapi::host::ResourceHost {
void ImageReleased(int32_t id,
scoped_ptr<base::SharedMemory> shared_memory,
scoped_ptr<cc::SharedBitmap> bitmap,
- uint32_t sync_point,
+ const gpu::SyncToken& sync_token,
bool is_lost);
void ResourceReleased(int32_t id,
- uint32_t sync_point,
+ const gpu::SyncToken& sync_token,
bool is_lost);
void SendCommitLayersReplyIfNecessary();
void UpdateLayer(const scoped_refptr<cc::Layer>& layer,
« no previous file with comments | « content/renderer/media/video_capture_message_filter_unittest.cc ('k') | content/renderer/pepper/pepper_compositor_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698