Searched refs:dstDesc (Results 1 – 2 of 2) sorted by relevance
250 GrSurfaceDesc dstDesc; in NewFromYUVTexturesCopy() local252 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 …]
66 GrSurfaceDesc dstDesc = baseDesc; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local67 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()