Searched refs:rtDesc (Results 1 – 3 of 3) sorted by relevance
37 GrSurfaceDesc rtDesc = inputTexture->desc(); in copy_on_gpu() local38 rtDesc.fFlags = rtDesc.fFlags | kRenderTarget_GrSurfaceFlag; in copy_on_gpu()39 rtDesc.fWidth = copyParams.fWidth; in copy_on_gpu()40 rtDesc.fHeight = copyParams.fHeight; in copy_on_gpu()41 rtDesc.fConfig = GrMakePixelConfigUncompressed(rtDesc.fConfig); in copy_on_gpu()45 if (!caps->isConfigRenderable(rtDesc.fConfig, false)) { in copy_on_gpu()46 if (GrPixelConfigIsAlphaOnly(rtDesc.fConfig)) { in copy_on_gpu()48 rtDesc.fConfig = kAlpha_8_GrPixelConfig; in copy_on_gpu()50 rtDesc.fConfig = kSkia8888_GrPixelConfig; in copy_on_gpu()55 (kRGB_GrColorComponentFlags & GrPixelConfigComponentMask(rtDesc.fConfig))) { in copy_on_gpu()[all …]
112 GrSurfaceDesc rtDesc = desc; in refAsTexture() local113 rtDesc.fFlags = rtDesc.fFlags | kRenderTarget_GrSurfaceFlag; in refAsTexture()115 SkAutoTUnref<GrTexture> result(ctx->textureProvider()->createTexture(rtDesc, SkBudgeted::kYes, in refAsTexture()
370 GrSurfaceDesc rtDesc; in ProgramUnitTest() local371 rtDesc.fWidth = kRenderTargetWidth; in ProgramUnitTest()372 rtDesc.fHeight = kRenderTargetHeight; in ProgramUnitTest()373 rtDesc.fFlags = kRenderTarget_GrSurfaceFlag; in ProgramUnitTest()374 rtDesc.fConfig = kRGBA_8888_GrPixelConfig; in ProgramUnitTest()376 context->textureProvider()->createTexture(rtDesc, SkBudgeted::kNo)->asRenderTarget()); in ProgramUnitTest()