Searched refs:asTexture (Results 1 – 9 of 9) sorted by relevance
109 fSurface = surface->asTexture(); in SkGrPixelRef()123 GrTexture* texture = fSurface->asTexture(); in ~SkGrPixelRef()133 return (SkGpuTexture*) fSurface->asTexture(); in getTexture()149 return copyToTexturePixelRef(fSurface->asTexture(), dstConfig, subset); in deepCopy()
71 GrAssert(fRenderTarget->asTexture() == this); in releaseRenderTarget()
1352 GrTexture* src = target->asTexture(); in readRenderTargetPixels()1559 if (NULL != target->asTexture() && !(kUnpremul_PixelOpsFlag & flags)) { in writeRenderTargetPixels()1560 this->writeTexturePixels(target->asTexture(), in writeRenderTargetPixels()
198 GrSurface* surface = fRenderTarget->asTexture(); in initFromRenderTarget()444 GrTexture* texture = fRenderTarget->asTexture(); in bindDeviceAsTexture()
57 virtual GrTexture* asTexture() = 0;58 virtual const GrTexture* asTexture() const = 0;
35 virtual GrTexture* asTexture() SK_OVERRIDE { return fTexture; } in asTexture() function36 virtual const GrTexture* asTexture() const SK_OVERRIDE { return fTexture; } in asTexture() function
71 virtual GrTexture* asTexture() SK_OVERRIDE { return this; } in asTexture() function72 virtual const GrTexture* asTexture() const SK_OVERRIDE { return this; } in asTexture() function
78 return SkImage::NewTexture(rt->asTexture()); in onNewImageShapshot()93 if (rt->asTexture() == SkTextureImageGetTexture(image)) { in onCopyOnWrite()108 fDevice->context()->copyTexture(rt->asTexture(), tex->asRenderTarget()); in onCopyOnWrite()
1079 GrAssert(rt->asTexture()); in createStencilBufferForRenderTarget()