Searched refs:kRenderTarget_GrSurfaceFlag (Results 1 – 25 of 54) sorted by relevance
123
48 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()
38 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()
74 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()
113 rtDesc.fFlags = rtDesc.fFlags | kRenderTarget_GrSurfaceFlag; in refAsTexture()
20 bool isRenderTarget = SkToBool(desc.fFlags & kRenderTarget_GrSurfaceFlag); in WorseCaseSize()
77 desc.fFlags = kRenderTarget_GrSurfaceFlag; in copy_to_new_texture_pixelref()
86 desc.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()99 desc.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
59 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()
44 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()
22 desc.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
158 texDesc.fFlags = kRenderTarget_GrSurfaceFlag; in random_render_target()308 dummyDesc.fFlags = kRenderTarget_GrSurfaceFlag; in ProgramUnitTest()373 rtDesc.fFlags = kRenderTarget_GrSurfaceFlag; in ProgramUnitTest()
25 desc.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST_FOR_NULL_CONTEXT()
60 copyDstDesc.fFlags = kRenderTarget_GrSurfaceFlag; in test_copy_surface_src()81 copySrcDesc.fFlags = kRenderTarget_GrSurfaceFlag; in test_copy_surface_dst()
55 surfDesc.fFlags = kRenderTarget_GrSurfaceFlag; in basic_clear_test()110 surfDesc.fFlags = kRenderTarget_GrSurfaceFlag; in sub_clear_test()
24 desc.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST_FOR_NULL_CONTEXT()
42 desc.fFlags = kRenderTarget_GrSurfaceFlag; in runFPTest()
122 desc.fFlags = kRenderTarget_GrSurfaceFlag; in test_replacements()
77 surfDesc.fFlags = renderTarget ? kRenderTarget_GrSurfaceFlag : kNone_GrSurfaceFlags; in basic_texture_test()
75 copyDesc.fFlags = kRenderTarget_GrSurfaceFlag; in test_copy_surface()
158 desc.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
398 kRenderTarget_GrSurfaceFlag = 0x1, enumerator573 kRenderTarget_GrBackendTextureFlag = kRenderTarget_GrSurfaceFlag,
142 desc.fFlags = kRenderTarget_GrSurfaceFlag; in onNewSurface()289 desc.fFlags = kRenderTarget_GrSurfaceFlag; in onNewSurface()
166 if (!context || !SkToBool(desc.fFlags & kRenderTarget_GrSurfaceFlag)) { in NewRenderTarget()
67 desc.fFlags = i ? kRenderTarget_GrSurfaceFlag :
89 desc.fFlags = desc.fFlags & ~kRenderTarget_GrSurfaceFlag; in onNewImageSnapshot()