DescriptionAllow gpu ResourceHandle class to be shared for multiple purposes
Currently this class was just used for resource handles when building up
a shader. However, I want to now use this class for things like objects
owned/held by the GrVkResourceProvider which are used by other classes.
An example of this will be for GrVkRenderTargets to hold a handle to a
collection of compatible render passes without having to own/hold onto
the render passes themselves.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1955893002
Committed: https://skia.googlesource.com/skia/+/167ab9198025e577efe033612d2e009633abb54b
Patch Set 1 #Patch Set 2 : Add file #
Total comments: 4
Patch Set 3 : Use subclass to add some type safety" #
Total comments: 1
Patch Set 4 : cleanup #Patch Set 5 : Updated ot use struct #
Total comments: 1
Patch Set 6 : review nit #
Total comments: 9
Patch Set 7 : review updates #Patch Set 8 : #Patch Set 9 : #
Messages
Total messages: 25 (8 generated)
|