Home
last modified time | relevance | path

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

/external/skia/src/image/
DSkImage_Gpu.cpp250 GrSurfaceDesc dstDesc; in NewFromYUVTexturesCopy() local
252 dstDesc.fFlags = kRenderTarget_GrSurfaceFlag; in NewFromYUVTexturesCopy()
253 dstDesc.fOrigin = origin; in NewFromYUVTexturesCopy()
254 dstDesc.fWidth = yuvSizes[0].fWidth; in NewFromYUVTexturesCopy()
255 dstDesc.fHeight = yuvSizes[0].fHeight; in NewFromYUVTexturesCopy()
256 dstDesc.fConfig = kRGBA_8888_GrPixelConfig; in NewFromYUVTexturesCopy()
257 dstDesc.fSampleCnt = 0; in NewFromYUVTexturesCopy()
259 SkAutoTUnref<GrTexture> dst(ctx->textureProvider()->createTexture(dstDesc, SkBudgeted::kYes)); in NewFromYUVTexturesCopy()
269 const SkRect rect = SkRect::MakeWH(SkIntToScalar(dstDesc.fWidth), in NewFromYUVTexturesCopy()
270 SkIntToScalar(dstDesc.fHeight)); in NewFromYUVTexturesCopy()
[all …]
/external/skia/tests/
DCopySurfaceTest.cpp66 GrSurfaceDesc dstDesc = baseDesc; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
67 dstDesc.fOrigin = dOrigin; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
68 dstDesc.fFlags = dFlags; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
75 context->textureProvider()->createTexture(dstDesc, SkBudgeted::kNo, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()