Home
last modified time | relevance | path

Searched refs:SkBackingFit (Results 1 – 25 of 198) sorted by relevance

12345678

/external/skqp/tests/
DProxyTest.cpp45 SkBackingFit fit, in check_rendertarget()
63 if (SkBackingFit::kExact == fit) { in check_rendertarget()
81 SkBackingFit fit) { in check_texture()
96 if (SkBackingFit::kExact == fit) { in check_texture()
119 for (auto fit : { SkBackingFit::kExact, SkBackingFit::kApprox }) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
123 if (GrPixelConfigIsCompressed(config) && SkBackingFit::kApprox == fit) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
142 if (SkBackingFit::kApprox == fit) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
177 if (SkBackingFit::kApprox == fit) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
236 kExpectedNumSamples, SkBackingFit::kExact, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
267 supportedNumSamples, SkBackingFit::kExact, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
DTextureProxyTest.cpp42 GrProxyProvider* proxyProvider, SkBackingFit fit) { in deferred_tex()
56 GrProxyProvider* proxyProvider, SkBackingFit fit) { in deferred_texRT()
69 GrProxyProvider* proxyProvider, SkBackingFit fit) { in wrapped()
80 GrProxyProvider* proxyProvider, SkBackingFit fit) { in wrapped_with_key()
100 static sk_sp<GrTextureProxy> create_wrapped_backend(GrContext* context, SkBackingFit fit, in create_wrapped_backend()
276 SkBackingFit::kExact); in invalidation_and_instantiation_test()
310 for (auto fit : { SkBackingFit::kExact, SkBackingFit::kApprox }) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DResourceAllocatorTest.cpp28 SkBackingFit fFit;
164 const SkBackingFit kE = SkBackingFit::kExact; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
165 const SkBackingFit kA = SkBackingFit::kApprox; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
302 SkBackingFit fit = p.fFit; in make_lazy()
307 if (fit == SkBackingFit::kApprox) { in make_lazy()
327 texParams.fFit = SkBackingFit::kExact; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
339 texParams.fFit = rtParams.fFit = SkBackingFit::kApprox; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DProxyConversionTest.cpp48 return provider->testingOnly_createInstantiatedProxy(desc, origin, SkBackingFit::kExact, in make_offscreen_rt()
55 return provider->testingOnly_createInstantiatedProxy(desc, origin, SkBackingFit::kExact, in make_texture()
145 format, desc, kBottomLeft_GrSurfaceOrigin, SkBackingFit::kApprox, SkBudgeted::kYes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
158 format, desc, kBottomLeft_GrSurfaceOrigin, SkBackingFit::kApprox, SkBudgeted::kYes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
173 format, desc, kTopLeft_GrSurfaceOrigin, SkBackingFit::kApprox, SkBudgeted::kYes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/src/gpu/
DGrProxyProvider.h69 sk_sp<SkImage> srcImage, GrSurfaceDescFlags, int sampleCnt, SkBudgeted, SkBackingFit,
91 GrMipMapped, SkBackingFit, SkBudgeted,
96 GrSurfaceOrigin origin, SkBackingFit fit, SkBudgeted budgeted,
166 GrInternalSurfaceFlags, SkBackingFit, SkBudgeted,
171 GrInternalSurfaceFlags, SkBackingFit, SkBudgeted);
175 SkBackingFit, SkBudgeted);
184 SkBackingFit,
253 SkBackingFit, SkBudgeted);
DGrSurfaceProxy.cpp29 static bool is_valid_fully_lazy(const GrSurfaceDesc& desc, SkBackingFit fit) { in is_valid_fully_lazy()
34 SkBackingFit::kApprox == fit; in is_valid_fully_lazy()
53 GrSurfaceOrigin origin, SkBackingFit fit, in GrSurfaceProxy()
83 GrSurfaceProxy::GrSurfaceProxy(sk_sp<GrSurface> surface, GrSurfaceOrigin origin, SkBackingFit fit) in GrSurfaceProxy()
156 SkASSERT(SkBackingFit::kExact == fFit); in createSurfaceImpl()
177 if (SkBackingFit::kApprox == fFit) { in createSurfaceImpl()
307 if (SkBackingFit::kExact == fFit) { in worstCaseWidth()
319 if (SkBackingFit::kExact == fFit) { in worstCaseHeight()
339 SkBackingFit fit, in Copy()
370 GrMipMapped mipMapped, SkBackingFit fit, in Copy()
[all …]
DSkGr.h200 SkBackingFit fit = SkBackingFit::kExact);
207 SkBackingFit fit = SkBackingFit::kExact);
DGrProxyProvider.cpp184 SkBackingFit fit, in createTextureProxy()
283 return this->createProxy(format, desc, origin, GrMipMapped::kYes, SkBackingFit::kExact, in createMipMapProxy()
307 SkBackingFit::kExact); in createMipMapProxyFromBitmap()
362 format, desc, kTopLeft_GrSurfaceOrigin, GrMipMapped::kYes, SkBackingFit::kExact, in createMipMapProxyFromBitmap()
383 SkBackingFit fit, in createProxy()
434 format, desc, kTopLeft_GrSurfaceOrigin, GrMipMapped::kNo, SkBackingFit::kExact, in createProxy()
599 SkBackingFit fit, in createLazyProxy()
611 SkBackingFit fit, in createLazyProxy()
626 SkBackingFit fit, in createLazyProxy()
656 const TextureInfo* textureInfo, SkBackingFit fit, SkBudgeted budgeted) { in createLazyRenderTargetProxy()
[all …]
DGrRenderTargetProxy.cpp24 SkBackingFit fit, SkBudgeted budgeted, in GrRenderTargetProxy()
41 GrSurfaceOrigin origin, SkBackingFit fit, in GrRenderTargetProxy()
54 : INHERITED(std::move(surf), origin, SkBackingFit::kExact) in GrRenderTargetProxy()
/external/skia/tests/
DProxyTest.cpp48 SkBackingFit fit, in check_rendertarget()
66 if (SkBackingFit::kExact == fit) { in check_rendertarget()
81 SkBackingFit fit) { in check_texture()
124 for (auto fit : {SkBackingFit::kExact, SkBackingFit::kApprox}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
137 if (SkBackingFit::kApprox == fit) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
173 if (SkBackingFit::kApprox == fit) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
235 kExpectedNumSamples, SkBackingFit::kExact, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
262 supportedNumSamples, SkBackingFit::kExact, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
290 supportedNumSamples, SkBackingFit::kExact, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
318 SkBackingFit::kExact); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
DProxyConversionTest.cpp44 1, SkBackingFit::kExact, SkBudgeted::kYes, in make_offscreen_rt()
53 SkBackingFit::kExact, SkBudgeted::kYes, in make_texture()
136 format, kDims, GrRenderable::kYes, 1, GrMipmapped::kNo, SkBackingFit::kApprox, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
150 format, kDims, GrRenderable::kYes, 1, GrMipmapped::kNo, SkBackingFit::kApprox, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
164 format, kDims, GrRenderable::kNo, 1, GrMipmapped::kNo, SkBackingFit::kApprox, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DWrappedSurfaceCopyOnWriteTest.cpp88 SkBackingFit::kExact, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
96 SkBackingFit::kExact, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
134 SkBackingFit::kExact, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
148 SkBackingFit::kExact, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DTextureProxyTest.cpp43 SkBackingFit fit) { in deferred_tex()
59 SkBackingFit fit) { in deferred_texRT()
73 GrProxyProvider* proxyProvider, SkBackingFit fit) { in wrapped()
82 GrProxyProvider* proxyProvider, SkBackingFit fit) { in wrapped_with_key()
302 SkBackingFit::kExact); in invalidation_and_instantiation_test()
347 for (auto fit : { SkBackingFit::kExact, SkBackingFit::kApprox }) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/src/gpu/
DGrSurfaceProxy.cpp31 static bool is_valid_lazy(const SkISize& dimensions, SkBackingFit fit) { in is_valid_lazy()
36 return ((dimensions.fWidth < 0 && dimensions.fHeight < 0 && SkBackingFit::kApprox == fit) || in is_valid_lazy()
48 SkBackingFit fit, in GrSurfaceProxy()
68 SkBackingFit fit, in GrSurfaceProxy()
88 SkBackingFit fit, in GrSurfaceProxy()
111 SkASSERT(mipMapped == GrMipmapped::kNo || fFit == SkBackingFit::kExact); in createSurfaceImpl()
116 if (SkBackingFit::kApprox == fFit) { in createSurfaceImpl()
225 if (SkBackingFit::kExact == fFit) { in backingStoreDimensions()
233 return fFit == SkBackingFit::kExact || in isFunctionallyExact()
254 SkBackingFit fit, in Copy()
[all …]
DGrProxyProvider.h79 SkBackingFit,
90 SkBackingFit,
179 SkBackingFit,
192 SkBackingFit,
257 SkBackingFit fit,
266 SkBackingFit fit,
288 sk_sp<GrTextureProxy> createNonMippedProxyFromBitmap(const SkBitmap&, SkBackingFit, SkBudgeted);
DGrTextureRenderTargetProxy.cpp31 SkBackingFit fit, in GrTextureRenderTargetProxy()
54 SkBackingFit fit, in GrTextureRenderTargetProxy()
79 : GrSurfaceProxy(surf, SkBackingFit::kExact, useAllocator) in GrTextureRenderTargetProxy()
154 SkBackingFit fit; in callbackDesc()
156 fit = SkBackingFit::kApprox; in callbackDesc()
159 fit = this->isFunctionallyExact() ? SkBackingFit::kExact : SkBackingFit::kApprox; in callbackDesc()
DGrTextureProxy.cpp23 SkBackingFit fit, in GrTextureProxy()
48 SkBackingFit fit, in GrTextureProxy()
72 : INHERITED(std::move(surf), SkBackingFit::kExact, useAllocator) in GrTextureProxy()
190 SkBackingFit fit; in callbackDesc()
192 fit = SkBackingFit::kApprox; in callbackDesc()
195 fit = this->isFunctionallyExact() ? SkBackingFit::kExact : SkBackingFit::kApprox; in callbackDesc()
DGrSurfaceProxy.h70 SkBackingFit fFit;
320 SkBackingFit,
330 SkBackingFit,
362 SkBackingFit,
371 SkBackingFit,
382 SkBackingFit,
430 SkBackingFit fFit; // always kApprox for lazy-callback resources
DGrRenderTargetProxy.cpp31 SkBackingFit fit, in GrRenderTargetProxy()
45 SkBackingFit fit, in GrRenderTargetProxy()
60 : INHERITED(std::move(surf), SkBackingFit::kExact, useAllocator) in GrRenderTargetProxy()
157 SkBackingFit::kExact, in callbackDesc()
DGrSurfaceFillContext.h55 SkBackingFit = SkBackingFit::kExact,
69 SkBackingFit = SkBackingFit::kExact,
85 SkBackingFit,
DGrProxyProvider.cpp124 SkBackingFit fit, in testingOnly_createInstantiatedProxy()
145 if (SkBackingFit::kApprox == fit) { in testingOnly_createInstantiatedProxy()
164 SkBackingFit fit, in testingOnly_createInstantiatedProxy()
259 SkBackingFit fit, in createProxyFromBitmap()
262 SkASSERT(fit == SkBackingFit::kExact || mipMapped == GrMipmapped::kNo); in createProxyFromBitmap()
314 SkBackingFit fit, in createNonMippedProxyFromBitmap()
382 SkBackingFit::kExact, budgeted, GrProtected::kNo, UseAllocator::kYes); in createMippedProxyFromBitmap()
398 SkBackingFit fit, in createProxy()
471 SkBackingFit::kExact, SkBudgeted::kYes, GrProtected::kNo, UseAllocator::kYes); in createCompressedTextureProxy()
697 SkBackingFit::kExact, in CreatePromiseProxy()
[all …]
DGrSurfaceContext.h54 SkBackingFit = SkBackingFit::kExact,
65 SkBackingFit = SkBackingFit::kExact,
/external/skqp/include/private/
DGrTextureProxy.h91 GrTextureProxy(const GrBackendFormat&, const GrSurfaceDesc& srcDesc, GrMipMapped, SkBackingFit,
96 GrMipMapped, SkBackingFit, SkBudgeted, GrInternalSurfaceFlags);
109 const GrSurfaceDesc& desc, GrSurfaceOrigin, GrMipMapped, SkBackingFit,
DGrSurfaceProxy.h400 SkBackingFit, SkBudgeted);
403 static sk_sp<GrTextureProxy> Copy(GrContext*, GrSurfaceProxy* src, GrMipMapped, SkBackingFit,
423 GrSurfaceOrigin origin, SkBackingFit fit, in GrSurfaceProxy()
435 SkBackingFit, SkBudgeted, GrInternalSurfaceFlags);
438 GrSurfaceProxy(sk_sp<GrSurface>, GrSurfaceOrigin, SkBackingFit);
484 SkBackingFit fFit; // always kApprox for lazy-callback resources
/external/skqp/src/core/
DSkGpuBlurUtils.h48 SkBackingFit fit = SkBackingFit::kApprox);

12345678