aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/SkGrPixelRef.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpu/SkGrPixelRef.h')
-rw-r--r--include/gpu/SkGrPixelRef.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/gpu/SkGrPixelRef.h b/include/gpu/SkGrPixelRef.h
index 7e6a9d02ed..9a81be67de 100644
--- a/include/gpu/SkGrPixelRef.h
+++ b/include/gpu/SkGrPixelRef.h
@@ -41,11 +41,9 @@ class SK_API SkGrPixelRef : public SkROLockPixelsPixelRef {
public:
SK_DECLARE_INST_COUNT(SkGrPixelRef)
/**
- * Constructs a pixel ref around a GrSurface. If the caller has locked the GrSurface in the
- * cache and would like the pixel ref to unlock it in its destructor then transferCacheLock
- * should be set to true.
+ * Constructs a pixel ref around a GrSurface.
*/
- SkGrPixelRef(const SkImageInfo&, GrSurface*, bool transferCacheLock = false);
+ SkGrPixelRef(const SkImageInfo&, GrSurface*);
virtual ~SkGrPixelRef();
// override from SkPixelRef
@@ -58,8 +56,6 @@ protected:
private:
GrSurface* fSurface;
- bool fUnlock; // if true the pixel ref owns a texture cache lock on fSurface
-
typedef SkROLockPixelsPixelRef INHERITED;
};