| Index: include/gpu/GrTextureProvider.h
|
| diff --git a/include/gpu/GrTextureProvider.h b/include/gpu/GrTextureProvider.h
|
| index efecc963588d2894be29c80e9fe2ee4a735f2630..3cbd88cbdf59b4a9083cb37b95febc56f04ee942 100644
|
| --- a/include/gpu/GrTextureProvider.h
|
| +++ b/include/gpu/GrTextureProvider.h
|
| @@ -12,6 +12,7 @@
|
| #include "GrTypes.h"
|
|
|
| class GrSingleOwner;
|
| +class GrTextureProxy;
|
|
|
| class SK_API GrTextureProvider {
|
| public:
|
| @@ -53,9 +54,13 @@ public:
|
| this->assignUniqueKeyToResource(key, texture);
|
| }
|
|
|
| + void assignUniqueKeyToDeferredTexture(const GrUniqueKey& key, GrTextureProxy* texture);
|
| +
|
| /** Finds a texture by unique key. If the texture is found it is ref'ed and returned. */
|
| GrTexture* findAndRefTextureByUniqueKey(const GrUniqueKey& key);
|
|
|
| + GrTextureProxy* findAndRefTextureProxyByUniqueKey(const GrUniqueKey& key);
|
| +
|
| /**
|
| * Determines whether a texture is associated with the unique key. If the texture is found it
|
| * will not be locked or returned. This call does not affect the priority of the resource for
|
|
|