Home
last modified time | relevance | path

Searched refs:asTexture (Results 1 – 9 of 9) sorted by relevance

/external/skia/src/gpu/
DSkGrPixelRef.cpp109 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()
DGrTexture.cpp71 GrAssert(fRenderTarget->asTexture() == this); in releaseRenderTarget()
DGrContext.cpp1352 GrTexture* src = target->asTexture(); in readRenderTargetPixels()
1559 if (NULL != target->asTexture() && !(kUnpremul_PixelOpsFlag & flags)) { in writeRenderTargetPixels()
1560 this->writeTexturePixels(target->asTexture(), in writeRenderTargetPixels()
DSkGpuDevice.cpp198 GrSurface* surface = fRenderTarget->asTexture(); in initFromRenderTarget()
444 GrTexture* texture = fRenderTarget->asTexture(); in bindDeviceAsTexture()
/external/skia/include/gpu/
DGrSurface.h57 virtual GrTexture* asTexture() = 0;
58 virtual const GrTexture* asTexture() const = 0;
DGrRenderTarget.h35 virtual GrTexture* asTexture() SK_OVERRIDE { return fTexture; } in asTexture() function
36 virtual const GrTexture* asTexture() const SK_OVERRIDE { return fTexture; } in asTexture() function
DGrTexture.h71 virtual GrTexture* asTexture() SK_OVERRIDE { return this; } in asTexture() function
72 virtual const GrTexture* asTexture() const SK_OVERRIDE { return this; } in asTexture() function
/external/skia/src/image/
DSkSurface_Gpu.cpp78 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()
/external/skia/src/gpu/gl/
DGrGpuGL.cpp1079 GrAssert(rt->asTexture()); in createStencilBufferForRenderTarget()