Home
last modified time | relevance | path

Searched refs:kRenderTarget_GrSurfaceFlag (Results 1 – 25 of 54) sorted by relevance

123

/external/skia/src/gpu/
DGrTexture.cpp48 SkASSERT(!SkToBool(fDesc.fFlags & kRenderTarget_GrSurfaceFlag)); in onGpuMemorySize()
57 SkASSERT(0 != (fDesc.fFlags & kRenderTarget_GrSurfaceFlag)); in validateDesc()
60 SkASSERT(0 == (fDesc.fFlags & kRenderTarget_GrSurfaceFlag)); in validateDesc()
74 bool renderTarget = 0 != (desc.fFlags & kRenderTarget_GrSurfaceFlag); in resolve_origin()
DGrTextureProvider.cpp38 if ((desc.fFlags & kRenderTarget_GrSurfaceFlag) && in createTexture()
87 if (fGpu->caps()->reuseScratchTextures() || (desc->fFlags & kRenderTarget_GrSurfaceFlag)) { in refScratchTexture()
101 } else if (!(desc->fFlags & kRenderTarget_GrSurfaceFlag)) { in refScratchTexture()
DGrTextureToYUVPlanes.cpp74 yuvDesc.fFlags = kRenderTarget_GrSurfaceFlag; in GrTextureToYUVPlanes()
84 yDesc.fFlags = kRenderTarget_GrSurfaceFlag; in GrTextureToYUVPlanes()
95 uvDesc.fFlags = kRenderTarget_GrSurfaceFlag; in GrTextureToYUVPlanes()
105 uvDesc.fFlags = kRenderTarget_GrSurfaceFlag; in GrTextureToYUVPlanes()
DGrYUVProvider.cpp113 rtDesc.fFlags = rtDesc.fFlags | kRenderTarget_GrSurfaceFlag; in refAsTexture()
DGrSurface.cpp20 bool isRenderTarget = SkToBool(desc.fFlags & kRenderTarget_GrSurfaceFlag); in WorseCaseSize()
DSkGrPixelRef.cpp77 desc.fFlags = kRenderTarget_GrSurfaceFlag; in copy_to_new_texture_pixelref()
/external/skia/tests/
DSpecialSurfaceTest.cpp86 desc.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
99 desc.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DCopySurfaceTest.cpp59 for (auto sFlags: {kRenderTarget_GrSurfaceFlag, kNone_GrSurfaceFlags}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
60 for (auto dFlags: {kRenderTarget_GrSurfaceFlag, kNone_GrSurfaceFlags}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DReadWriteAlphaTest.cpp44 desc.fFlags = rt ? kRenderTarget_GrSurfaceFlag : kNone_GrSurfaceFlags; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
140 desc.fFlags = rt ? kRenderTarget_GrSurfaceFlag : kNone_GrSurfaceFlags; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DClipBoundsTest.cpp22 desc.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DGLProgramsTest.cpp158 texDesc.fFlags = kRenderTarget_GrSurfaceFlag; in random_render_target()
308 dummyDesc.fFlags = kRenderTarget_GrSurfaceFlag; in ProgramUnitTest()
373 rtDesc.fFlags = kRenderTarget_GrSurfaceFlag; in ProgramUnitTest()
DGrTextureMipMapInvalidationTest.cpp25 desc.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST_FOR_NULL_CONTEXT()
DRectangleTextureTest.cpp60 copyDstDesc.fFlags = kRenderTarget_GrSurfaceFlag; in test_copy_surface_src()
81 copySrcDesc.fFlags = kRenderTarget_GrSurfaceFlag; in test_copy_surface_dst()
DVkClearTests.cpp55 surfDesc.fFlags = kRenderTarget_GrSurfaceFlag; in basic_clear_test()
110 surfDesc.fFlags = kRenderTarget_GrSurfaceFlag; in sub_clear_test()
DGrSurfaceTest.cpp24 desc.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST_FOR_NULL_CONTEXT()
DFloatingPointTextureTest.cpp42 desc.fFlags = kRenderTarget_GrSurfaceFlag; in runFPTest()
DRecordReplaceDrawTest.cpp122 desc.fFlags = kRenderTarget_GrSurfaceFlag; in test_replacements()
DVkUploadPixelsTests.cpp77 surfDesc.fFlags = renderTarget ? kRenderTarget_GrSurfaceFlag : kNone_GrSurfaceFlags; in basic_texture_test()
DEGLImageTest.cpp75 copyDesc.fFlags = kRenderTarget_GrSurfaceFlag; in test_copy_surface()
DSRGBReadWritePixelsTest.cpp158 desc.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/include/gpu/
DGrTypes.h398 kRenderTarget_GrSurfaceFlag = 0x1, enumerator
573 kRenderTarget_GrBackendTextureFlag = kRenderTarget_GrSurfaceFlag,
/external/skia/src/core/
DSkSpecialImage.cpp142 desc.fFlags = kRenderTarget_GrSurfaceFlag; in onNewSurface()
289 desc.fFlags = kRenderTarget_GrSurfaceFlag; in onNewSurface()
DSkSpecialSurface.cpp166 if (!context || !SkToBool(desc.fFlags & kRenderTarget_GrSurfaceFlag)) { in NewRenderTarget()
/external/skia/gm/
Dtexdata.cpp67 desc.fFlags = i ? kRenderTarget_GrSurfaceFlag :
/external/skia/src/image/
DSkSurface_Gpu.cpp89 desc.fFlags = desc.fFlags & ~kRenderTarget_GrSurfaceFlag; in onNewImageSnapshot()

123