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

Unified Diff: cc/resources/resource_provider.h

Issue 2560253003: Delay Activation/Draw in smoothness mode.
Patch Set: more unit tests Created 4 years 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 | « cc/raster/zero_copy_raster_buffer_provider.cc ('k') | cc/resources/resource_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/resource_provider.h
diff --git a/cc/resources/resource_provider.h b/cc/resources/resource_provider.h
index 38d086ded899777379b128abdf11d89ead00f17a..72a3366dd3525ab636f499d7c768af1c686ccfae 100644
--- a/cc/resources/resource_provider.h
+++ b/cc/resources/resource_provider.h
@@ -162,6 +162,12 @@ class CC_EXPORT ResourceProvider
void GenerateSyncTokenForResource(ResourceId resource_id);
void GenerateSyncTokenForResources(const ResourceIdArray& resource_ids);
+ // Gets the sync token for the indicated resource.
+ gpu::SyncToken GetSyncTokenForResource(ResourceId resource_id);
+
+ // Gets the most recent sync token from the indicated resources.
+ gpu::SyncToken GetSyncTokenForResources(const ResourceIdArray& resource_ids);
+
// Creates accounting for a child. Returns a child ID.
int CreateChild(const ReturnCallback& return_callback);
« no previous file with comments | « cc/raster/zero_copy_raster_buffer_provider.cc ('k') | cc/resources/resource_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698