Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/
DGrTexture.cpp45 SkASSERT(0 != (fDesc.fFlags & kRenderTarget_GrSurfaceFlag)); in validateDesc()
48 SkASSERT(0 == (fDesc.fFlags & kRenderTarget_GrSurfaceFlag)); in validateDesc()
62 bool renderTarget = 0 != (desc.fFlags & kRenderTarget_GrSurfaceFlag); in resolve_origin()
DGrSurfaceProxy.cpp76 if (caps.reuseScratchTextures() || fDesc.fFlags & kRenderTarget_GrSurfaceFlag) { in worstCaseWidth()
92 if (caps.reuseScratchTextures() || fDesc.fFlags & kRenderTarget_GrSurfaceFlag) { in worstCaseHeight()
179 bool willBeRT = SkToBool(desc.fFlags & kRenderTarget_GrSurfaceFlag); in MakeDeferred()
DGrResourceProvider.cpp70 if ((desc.fFlags & kRenderTarget_GrSurfaceFlag) && in createMipMappedTexture()
145 if (fGpu->caps()->reuseScratchTextures() || (desc->fFlags & kRenderTarget_GrSurfaceFlag)) { in refScratchTexture()
158 } else if (!(desc->fFlags & kRenderTarget_GrSurfaceFlag)) { in refScratchTexture()
DGrRenderTargetProxy.cpp47 SkASSERT(fDesc.fFlags & GrSurfaceFlags::kRenderTarget_GrSurfaceFlag); in instantiate()
DGrPreFlushResourceProvider.cpp18 tmpDesc.fFlags |= kRenderTarget_GrSurfaceFlag; in makeRenderTargetContext()
DGrSurface.cpp33 bool isRenderTarget = SkToBool(desc.fFlags & kRenderTarget_GrSurfaceFlag); in WorstCaseSize()
DGrContext.cpp788 desc.fFlags = kRenderTarget_GrSurfaceFlag; in makeRenderTargetContext()
825 desc.fFlags = kRenderTarget_GrSurfaceFlag; in makeDeferredRenderTargetContext()
/external/skia/tests/
DProxyConversionTest.cpp40 SkASSERT(kRenderTarget_GrSurfaceFlag == desc.fFlags); in make_wrapped_offscreen_rt()
61 desc.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
124 desc.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DTestUtils.cpp77 for (auto flags : { kNone_GrSurfaceFlags, kRenderTarget_GrSurfaceFlag }) { in test_copy_from_surface()
107 for (auto flags : { kNone_GrSurfaceFlags, kRenderTarget_GrSurfaceFlag }) { in test_copy_to_surface()
DCopySurfaceTest.cpp65 for (auto sFlags: {kRenderTarget_GrSurfaceFlag, kNone_GrSurfaceFlags}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
66 for (auto dFlags: {kRenderTarget_GrSurfaceFlag, kNone_GrSurfaceFlags}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DProxyRefTest.cpp70 desc.fFlags = kRenderTarget_GrSurfaceFlag; in make_deferred()
81 desc.fFlags = kRenderTarget_GrSurfaceFlag; in make_wrapped()
DVkClearTests.cpp56 surfDesc.fFlags = kRenderTarget_GrSurfaceFlag; in basic_clear_test()
112 surfDesc.fFlags = kRenderTarget_GrSurfaceFlag; in sub_clear_test()
DGrSurfaceTest.cpp26 desc.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST_FOR_NULLGL_CONTEXT()
DPreFlushCallbackTest.cpp320 desc.fFlags = kRenderTarget_GrSurfaceFlag; in preFlush()
480 desc.fFlags |= kRenderTarget_GrSurfaceFlag;
493 desc.fFlags = kRenderTarget_GrSurfaceFlag; in pre_create_atlas()
DProxyTest.cpp128 desc.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
251 desc.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DFloatingPointTextureTest.cpp49 desc.fFlags = kRenderTarget_GrSurfaceFlag; in runFPTest()
DVkUploadPixelsTests.cpp76 surfDesc.fFlags = renderTarget ? kRenderTarget_GrSurfaceFlag : kNone_GrSurfaceFlags; in basic_texture_test()
DResourceCacheTest.cpp38 desc.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
97 smallDesc.fFlags = kRenderTarget_GrSurfaceFlag;
134 bigDesc.fFlags = kRenderTarget_GrSurfaceFlag;
1570 tex = make_normal_texture(provider, kRenderTarget_GrSurfaceFlag, kSize, kSize, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1575 tex = make_normal_texture(provider, kRenderTarget_GrSurfaceFlag, kSize, kSize, 4); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1587 tex = make_mipmap_texture(provider, kRenderTarget_GrSurfaceFlag, kSize, kSize, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1592 tex = make_mipmap_texture(provider, kRenderTarget_GrSurfaceFlag, kSize, kSize, 4); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DReadWriteAlphaTest.cpp150 desc.fFlags = rt ? kRenderTarget_GrSurfaceFlag : kNone_GrSurfaceFlags; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DSRGBReadWritePixelsTest.cpp160 desc.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DIntTextureTest.cpp258 intRTDesc.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/include/gpu/
DGrTypes.h587 kRenderTarget_GrSurfaceFlag = 0x1, enumerator
714 kRenderTarget_GrBackendTextureFlag = kRenderTarget_GrSurfaceFlag,
/external/skia/src/gpu/vk/
DGrVkTexture.cpp190 bool renderTarget = SkToBool(fDesc.fFlags & kRenderTarget_GrSurfaceFlag); in reallocForMipmap()
DGrVkCaps.cpp63 desc->fFlags = kRenderTarget_GrSurfaceFlag; in initDescForDstCopy()
/external/skia/src/image/
DSkSurface_Gpu.cpp109 desc.fFlags = desc.fFlags & ~kRenderTarget_GrSurfaceFlag; in onNewImageSnapshot()

12