| Index: cc/resources/resource_provider.h
|
| diff --git a/cc/resources/resource_provider.h b/cc/resources/resource_provider.h
|
| index 50003c425ab5dd49e509e0b1d888dfe1ea860640..4cb75141f0265ea980847a7cbda056fc1003c067 100644
|
| --- a/cc/resources/resource_provider.h
|
| +++ b/cc/resources/resource_provider.h
|
| @@ -163,7 +163,7 @@ class CC_EXPORT ResourceProvider
|
|
|
| // Sets whether resources need sync points set on them when returned to this
|
| // child. Defaults to true.
|
| - void SetChildNeedsSyncPoints(int child, bool needs_sync_points);
|
| + void SetChildNeedsSyncTokens(int child, bool needs_sync_tokens);
|
|
|
| // Gets the child->parent resource ID map.
|
| const ResourceIdMap& GetChildToParentMap(int child) const;
|
| @@ -182,7 +182,7 @@ class CC_EXPORT ResourceProvider
|
| // declaring which resources are in use. Use DeclareUsedResourcesFromChild
|
| // after calling this method to do that. All calls to ReceiveFromChild should
|
| // be followed by a DeclareUsedResourcesFromChild.
|
| - // NOTE: if the sync_point is set on any TransferableResource, this will
|
| + // NOTE: if the sync_token is set on any TransferableResource, this will
|
| // wait on it.
|
| void ReceiveFromChild(
|
| int child, const TransferableResourceArray& transferable_resources);
|
| @@ -195,7 +195,7 @@ class CC_EXPORT ResourceProvider
|
|
|
| // Receives resources from the parent, moving them from mailboxes. Resource
|
| // IDs passed are in the child namespace.
|
| - // NOTE: if the sync_point is set on any TransferableResource, this will
|
| + // NOTE: if the sync_token is set on any TransferableResource, this will
|
| // wait on it.
|
| void ReceiveReturnsFromParent(
|
| const ReturnedResourceArray& transferable_resources);
|
| @@ -413,7 +413,7 @@ class CC_EXPORT ResourceProvider
|
| // Indicates if this resource may be used for a hardware overlay plane.
|
| bool IsOverlayCandidate(ResourceId id);
|
|
|
| - void WaitSyncPointIfNeeded(ResourceId id);
|
| + void WaitSyncTokenIfNeeded(ResourceId id);
|
|
|
| static GLint GetActiveTextureUnit(gpu::gles2::GLES2Interface* gl);
|
|
|
| @@ -509,7 +509,7 @@ class CC_EXPORT ResourceProvider
|
| ResourceIdMap parent_to_child_map;
|
| ReturnCallback return_callback;
|
| bool marked_for_deletion;
|
| - bool needs_sync_points;
|
| + bool needs_sync_tokens;
|
| };
|
| typedef base::hash_map<int, Child> ChildMap;
|
|
|
|
|