Lines Matching refs:fSurface
107 fSurface = SkSafeRef(surface->asTexture()); in SkGrPixelRef()
108 if (NULL == fSurface) { in SkGrPixelRef()
109 fSurface = SkSafeRef(surface); in SkGrPixelRef()
112 if (fSurface) { in SkGrPixelRef()
113 SkASSERT(info.width() <= fSurface->width()); in SkGrPixelRef()
114 SkASSERT(info.height() <= fSurface->height()); in SkGrPixelRef()
119 SkSafeUnref(fSurface); in ~SkGrPixelRef()
123 if (fSurface) { in getTexture()
124 return fSurface->asTexture(); in getTexture()
131 if (NULL == fSurface) { in deepCopy()
141 return copy_to_new_texture_pixelref(fSurface->asTexture(), dstCT, dstPT, subset); in deepCopy()
155 if (NULL == fSurface || fSurface->wasDestroyed()) { in onReadPixels()
180 bool readPixelsOk = fSurface->readPixels(bounds.fLeft, bounds.fTop, in onReadPixels()