Home
last modified time | relevance | path

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

/external/skia/src/image/
DSkImage_Gpu.cpp139 GrSurfaceDesc dstDesc; in NewFromTextureCopy() local
141 dstDesc.fFlags = kRenderTarget_GrSurfaceFlag; in NewFromTextureCopy()
142 dstDesc.fOrigin = srcDesc.fOrigin; in NewFromTextureCopy()
143 dstDesc.fWidth = srcDesc.fWidth; in NewFromTextureCopy()
144 dstDesc.fHeight = srcDesc.fHeight; in NewFromTextureCopy()
145 dstDesc.fConfig = srcDesc.fConfig; in NewFromTextureCopy()
146 dstDesc.fSampleCnt = srcDesc.fSampleCnt; in NewFromTextureCopy()
149 dstDesc, isBudgeted, NULL, 0)); in NewFromTextureCopy()
154 const SkIRect srcR = SkIRect::MakeWH(dstDesc.fWidth, dstDesc.fHeight); in NewFromTextureCopy()
159 return SkNEW_ARGS(SkImage_Gpu, (dstDesc.fWidth, dstDesc.fHeight, at, dst, sampleCount, in NewFromTextureCopy()