Index: src/gpu/GrTextureParamsAdjuster.h |
diff --git a/src/gpu/GrTextureParamsAdjuster.h b/src/gpu/GrTextureParamsAdjuster.h |
index c244aaf2df4b1ab2db1032ae4c75e613fa5360c7..bc08c71af5959e3053fadb414c0cfee05e0a1fff 100644 |
--- a/src/gpu/GrTextureParamsAdjuster.h |
+++ b/src/gpu/GrTextureParamsAdjuster.h |
@@ -43,10 +43,6 @@ public: |
GrTexture* refTextureForParams(GrContext*, const GrTextureParams&); |
protected: |
- /** If the original is a inherently texture that can be returned for "free" then return it |
- without ref'ing it. Otherwise, return null. */ |
- virtual GrTexture* peekOriginalTexture() = 0; |
- |
/** |
* Return the maker's "original" texture. It is the responsibility of the maker |
* to make this efficient ... if the texture is being generated, the maker must handle |
@@ -66,9 +62,8 @@ protected: |
* Return a new (uncached) texture that is the stretch of the maker's original. |
* |
* The base-class handles general logic for this, and only needs access to the following |
- * methods: |
- * - onRefOriginalTexture() |
- * - onGetROBitmap() |
+ * method: |
+ * - refOriginalTexture() |
* |
* Subclass may override this if they can handle creating the texture more directly than |
* by copying. |
@@ -82,13 +77,6 @@ protected: |
*/ |
virtual void didCacheCopy(const GrUniqueKey& copyKey) = 0; |
- /** |
- * Some GPUs are unreliable w/ very small texture sizes. If we run into that case, this |
- * method will be called (in service of onGenerateParamsTexture) to return a raster version |
- * of the original texture. |
- */ |
- virtual bool getROBitmap(SkBitmap*) = 0; |
- |
/** Helper for creating a key for a copy from an original key. */ |
static void MakeCopyKeyFromOrigKey(const GrUniqueKey& origKey, |
const CopyParams& copyParams, |