Home
last modified time | relevance | path

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

1234

/external/skia/src/gpu/
DGrRenderTargetProxy.cpp49 SkASSERT(SkToBool(kRenderTarget_GrSurfaceFlag & desc.fFlags)); in GrRenderTargetProxy()
69 static constexpr GrSurfaceDescFlags kDescFlags = kRenderTarget_GrSurfaceFlag; in instantiate()
81 static constexpr GrSurfaceDescFlags kDescFlags = kRenderTarget_GrSurfaceFlag; in createSurface()
DGrProxyProvider.cpp228 if (SkToBool(descFlags & kRenderTarget_GrSurfaceFlag)) { in createTextureProxy()
235 if (SkToBool(descFlags & kRenderTarget_GrSurfaceFlag)) { in createTextureProxy()
413 if (desc.fFlags & kRenderTarget_GrSurfaceFlag) { in createProxy()
418 if (copyDesc.fFlags & kRenderTarget_GrSurfaceFlag) { in createProxy()
676 if (SkToBool(kRenderTarget_GrSurfaceFlag & desc.fFlags)) { in createLazyProxy()
684 SkToBool(kRenderTarget_GrSurfaceFlag & desc.fFlags) in createLazyProxy()
704 SkASSERT(SkToBool(kRenderTarget_GrSurfaceFlag & desc.fFlags)); in createLazyRenderTargetProxy()
744 desc.fFlags = kRenderTarget_GrSurfaceFlag; in MakeFullyLazyProxy()
DGrTextureRenderTargetProxy.cpp82 static constexpr GrSurfaceDescFlags kDescFlags = kRenderTarget_GrSurfaceFlag; in instantiate()
102 static constexpr GrSurfaceDescFlags kDescFlags = kRenderTarget_GrSurfaceFlag; in createSurface()
DGrResourceProvider.cpp171 (fGpu->caps()->reuseScratchTextures() || (desc.fFlags & kRenderTarget_GrSurfaceFlag))) { in createApproxTexture()
193 (fGpu->caps()->reuseScratchTextures() || (desc.fFlags & kRenderTarget_GrSurfaceFlag))) { in refScratchTexture()
200 } else if (!(desc.fFlags & kRenderTarget_GrSurfaceFlag)) { in refScratchTexture()
DGrRenderTarget.cpp28 SkASSERT(desc.fFlags & kRenderTarget_GrSurfaceFlag); in GrRenderTarget()
DGrTexture.cpp118 SkToBool(desc.fFlags & kRenderTarget_GrSurfaceFlag), desc.fSampleCnt, in ComputeScratchKey()
/external/skqp/src/gpu/
DGrRenderTargetProxy.cpp48 SkASSERT(SkToBool(kRenderTarget_GrSurfaceFlag & desc.fFlags)); in GrRenderTargetProxy()
68 static constexpr GrSurfaceDescFlags kDescFlags = kRenderTarget_GrSurfaceFlag; in instantiate()
80 static constexpr GrSurfaceDescFlags kDescFlags = kRenderTarget_GrSurfaceFlag; in createSurface()
DGrProxyProvider.cpp216 if (SkToBool(descFlags & kRenderTarget_GrSurfaceFlag)) { in createTextureProxy()
223 if (SkToBool(descFlags & kRenderTarget_GrSurfaceFlag)) { in createTextureProxy()
398 if (desc.fFlags & kRenderTarget_GrSurfaceFlag) { in createProxy()
403 if (copyDesc.fFlags & kRenderTarget_GrSurfaceFlag) { in createProxy()
638 if (SkToBool(kRenderTarget_GrSurfaceFlag & desc.fFlags)) { in createLazyProxy()
646 SkToBool(kRenderTarget_GrSurfaceFlag & desc.fFlags) in createLazyProxy()
664 SkASSERT(SkToBool(kRenderTarget_GrSurfaceFlag & desc.fFlags)); in createLazyRenderTargetProxy()
696 desc.fFlags = kRenderTarget_GrSurfaceFlag; in MakeFullyLazyProxy()
DGrTextureRenderTargetProxy.cpp82 static constexpr GrSurfaceDescFlags kDescFlags = kRenderTarget_GrSurfaceFlag; in instantiate()
102 static constexpr GrSurfaceDescFlags kDescFlags = kRenderTarget_GrSurfaceFlag; in createSurface()
DGrResourceProvider.cpp190 (fGpu->caps()->reuseScratchTextures() || (desc.fFlags & kRenderTarget_GrSurfaceFlag))) { in createApproxTexture()
212 (fGpu->caps()->reuseScratchTextures() || (desc.fFlags & kRenderTarget_GrSurfaceFlag))) { in refScratchTexture()
219 } else if (!(desc.fFlags & kRenderTarget_GrSurfaceFlag)) { in refScratchTexture()
DGrRenderTarget.cpp26 SkASSERT(desc.fFlags & kRenderTarget_GrSurfaceFlag); in GrRenderTarget()
DGrTexture.cpp118 SkToBool(desc.fFlags & kRenderTarget_GrSurfaceFlag), desc.fSampleCnt, in ComputeScratchKey()
/external/skqp/src/gpu/mock/
DGrMockGpu.cpp99 if (desc.fFlags & kRenderTarget_GrSurfaceFlag) { in onCreateTexture()
131 desc.fFlags = kRenderTarget_GrSurfaceFlag; in onWrapRenderableBackendTexture()
153 desc.fFlags = kRenderTarget_GrSurfaceFlag; in onWrapBackendRenderTarget()
168 desc.fFlags = kRenderTarget_GrSurfaceFlag; in onWrapBackendTextureAsRenderTarget()
/external/skia/src/gpu/mock/
DGrMockGpu.cpp99 if (desc.fFlags & kRenderTarget_GrSurfaceFlag) { in onCreateTexture()
131 desc.fFlags = kRenderTarget_GrSurfaceFlag; in onWrapRenderableBackendTexture()
153 desc.fFlags = kRenderTarget_GrSurfaceFlag; in onWrapBackendRenderTarget()
168 desc.fFlags = kRenderTarget_GrSurfaceFlag; in onWrapBackendTextureAsRenderTarget()
/external/skia/tests/
DProxyConversionTest.cpp46 SkASSERT(kRenderTarget_GrSurfaceFlag == desc.fFlags); in make_offscreen_rt()
65 desc.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
135 desc.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DTraceMemoryDumpTest.cpp141 sd.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
163 sd.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DProxyRefTest.cpp66 desc.fFlags = kRenderTarget_GrSurfaceFlag; in make_deferred()
79 desc.fFlags = kRenderTarget_GrSurfaceFlag; in make_wrapped()
DGrSurfaceTest.cpp31 desc.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST_FOR_NULLGL_CONTEXT()
133 desc.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST_FOR_ALL_CONTEXTS()
174 desc.fFlags |= rt ? kRenderTarget_GrSurfaceFlag : kNone_GrSurfaceFlags; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
373 desc.fFlags = renderable ? kRenderTarget_GrSurfaceFlag : kNone_GrSurfaceFlags; in make_normal_texture()
455 desc.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST()
DVkMakeCopyPipelineTest.cpp122 surfDesc.fFlags = kRenderTarget_GrSurfaceFlag; in test()
/external/skqp/tests/
DProxyConversionTest.cpp46 SkASSERT(kRenderTarget_GrSurfaceFlag == desc.fFlags); in make_offscreen_rt()
65 desc.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
135 desc.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DProxyRefTest.cpp66 desc.fFlags = kRenderTarget_GrSurfaceFlag; in make_deferred()
79 desc.fFlags = kRenderTarget_GrSurfaceFlag; in make_wrapped()
DTraceMemoryDumpTest.cpp141 sd.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
163 sd.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DGrSurfaceTest.cpp31 desc.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST_FOR_NULLGL_CONTEXT()
131 desc.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST_FOR_ALL_CONTEXTS()
172 desc.fFlags |= rt ? kRenderTarget_GrSurfaceFlag : kNone_GrSurfaceFlags; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
390 desc.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST()
461 desc.fFlags = kRenderTarget_GrSurfaceFlag; in DEF_GPUTEST()
/external/skqp/tools/gpu/
DProxyUtils.cpp64 desc.fFlags = isRT ? kRenderTarget_GrSurfaceFlag : kNone_GrSurfaceFlags; in MakeTextureProxyFromData()
/external/skia/tools/gpu/
DProxyUtils.cpp66 desc.fFlags = isRT ? kRenderTarget_GrSurfaceFlag : kNone_GrSurfaceFlags; in MakeTextureProxyFromData()

1234