Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrTextureParamsAdjuster.cpp37 GrSurfaceDesc rtDesc = inputTexture->desc(); in copy_on_gpu() local
38 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 …]
DGrYUVProvider.cpp112 GrSurfaceDesc rtDesc = desc; in refAsTexture() local
113 rtDesc.fFlags = rtDesc.fFlags | kRenderTarget_GrSurfaceFlag; in refAsTexture()
115 SkAutoTUnref<GrTexture> result(ctx->textureProvider()->createTexture(rtDesc, SkBudgeted::kYes, in refAsTexture()
/external/skia/tests/
DGLProgramsTest.cpp370 GrSurfaceDesc rtDesc; in ProgramUnitTest() local
371 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()