Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Unified Diff: include/gpu/GrTextureProvider.h

Issue 2215323003: Start using RenderTargetProxy (omnibus) (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/gpu/GrRenderTargetContext.h ('k') | include/private/GrSurfaceProxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « include/gpu/GrRenderTargetContext.h ('k') | include/private/GrSurfaceProxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698