Searched refs:yuvTex (Results 1 – 1 of 1) sorted by relevance
55 SkAutoTUnref<GrTexture> yuvTex; in GrTextureToYUVPlanes() local77 yuvTex.reset(context->textureProvider()->createApproxTexture(yuvDesc)); in GrTextureToYUVPlanes()78 if (!yuvTex) { in GrTextureToYUVPlanes()119 if (yuvTex) { in GrTextureToYUVPlanes()120 SkAutoTUnref<GrDrawContext> dc(context->drawContext(yuvTex->asRenderTarget())); in GrTextureToYUVPlanes()169 if (yuvTex) { in GrTextureToYUVPlanes()174 if (!yuvTex->readPixels(0, 0, yuvSize.fWidth, yuvSize.fHeight, in GrTextureToYUVPlanes()