aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/SkGpuDevice.h
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-28 12:34:17 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-28 12:34:17 +0000
commita292112154f803feb9f5cc002bbfab559f7cb633 (patch)
treead0e10be899398b34764f8f7c0d63df4172a483d /include/gpu/SkGpuDevice.h
parent97af1a64ae6bdddd346d8babfd9f188279dd6644 (diff)
Remove SkGpuDevice::fTexture, use new pixel ref class name
Review URL: https://codereview.appspot.com/6474068/ git-svn-id: http://skia.googlecode.com/svn/trunk@5307 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/gpu/SkGpuDevice.h')
-rw-r--r--include/gpu/SkGpuDevice.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/gpu/SkGpuDevice.h b/include/gpu/SkGpuDevice.h
index c2fc186a95..f04be622f1 100644
--- a/include/gpu/SkGpuDevice.h
+++ b/include/gpu/SkGpuDevice.h
@@ -132,9 +132,8 @@ private:
GrClipData fClipData;
// state for our offscreen render-target
- // TODO: remove 'fCached' and let fTexture automatically return to the cache
- bool fCached; // is fTexture in the cache
- GrTexture* fTexture;
+ // TODO: remove 'fCached' and automatically return to the cache
+ bool fCached; // is fRenderTarget->asTexture() in the cache
GrRenderTarget* fRenderTarget;
bool fNeedClear;
bool fNeedPrepareRenderTarget;