Descriptioncc: Add CopyResource function to ResourceProvider API.
This provides an efficient mechanism for copying a resource.
Source and destination resources must have matching dimensions
and format. Source resource can be backed by an image but
destination cannot. CopyResource creates the appropritate read
lock fence to prevent unsafe access to source image before
the operation has completed.
Also moves the toggle of frame based read lock fences out of
the ResourcePool to not conflict with the read lock fences needed
for CopyResource.
BUG=269808
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=263761
Patch Set 1 #
Total comments: 13
Patch Set 2 : address review feedback #
Messages
Total messages: 15 (0 generated)
|