commit | 167ab9198025e577efe033612d2e009633abb54b | [log] [tgz] |
---|---|---|
author | egdaniel <egdaniel@google.com> | Mon May 09 11:03:48 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Mon May 09 11:03:48 2016 -0700 |
tree | 71386614fe8350b9c453d4cec30430e7605e60d3 | |
parent | fe8a8392217072fdd5505edc3876a9698608ada1 [diff] |
Allow 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 Review-Url: https://codereview.chromium.org/1955893002