Home
last modified time | relevance | path

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

12345678

/third_party/flutter/skia/tests/
DProxyTest.cpp48 SkBackingFit fit, in check_rendertarget()
66 if (SkBackingFit::kExact == fit) { in check_rendertarget()
82 SkBackingFit fit) { in check_texture()
97 if (SkBackingFit::kExact == fit) { in check_texture()
119 for (auto fit : { SkBackingFit::kExact, SkBackingFit::kApprox }) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
139 if (SkBackingFit::kApprox == fit) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
178 if (SkBackingFit::kApprox == fit) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
248 kExpectedNumSamples, SkBackingFit::kExact, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
278 supportedNumSamples, SkBackingFit::kExact, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
302 supportedNumSamples, SkBackingFit::kExact, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
DTextureProxyTest.cpp41 GrProxyProvider* proxyProvider, SkBackingFit fit) { in deferred_tex()
56 GrProxyProvider* proxyProvider, SkBackingFit fit) { in deferred_texRT()
72 GrProxyProvider* proxyProvider, SkBackingFit fit) { in wrapped()
82 GrProxyProvider* proxyProvider, SkBackingFit fit) { in wrapped_with_key()
101 static sk_sp<GrTextureProxy> create_wrapped_backend(GrContext* context, SkBackingFit fit, in create_wrapped_backend()
283 SkBackingFit::kExact); in invalidation_and_instantiation_test()
317 for (auto fit : { SkBackingFit::kExact, SkBackingFit::kApprox }) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DResourceAllocatorTest.cpp28 SkBackingFit fFit;
155 const SkBackingFit kE = SkBackingFit::kExact; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
156 const SkBackingFit kA = SkBackingFit::kApprox; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
281 SkBackingFit fit = p.fFit; in make_lazy()
284 if (fit == SkBackingFit::kApprox) { in make_lazy()
307 texParams.fFit = SkBackingFit::kExact; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
320 rtParams.fFit = SkBackingFit::kApprox; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
364 SkBackingFit::kExact, 1, kTopLeft_GrSurfaceOrigin, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DProxyConversionTest.cpp46 origin, SkBackingFit::kExact, in make_offscreen_rt()
56 SkBackingFit::kExact, SkBudgeted::kYes, in make_texture()
144 SkBackingFit::kApprox, SkBudgeted::kYes, GrProtected::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
158 SkBackingFit::kApprox, SkBudgeted::kYes, GrProtected::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
171 format, desc, GrRenderable::kNo, 1, kTopLeft_GrSurfaceOrigin, SkBackingFit::kApprox, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/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()
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()
DWrappedSurfaceCopyOnWriteTest.cpp92 SkBackingFit::kExact, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
99 SkBackingFit::kExact, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
138 auto dst = dContext->priv().makeSFC(ii, SkBackingFit::kExact); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
147 auto temp = dContext->priv().makeSFC(ii, SkBackingFit::kExact); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/flutter/skia/src/gpu/
DGrProxyProvider.h68 sk_sp<SkImage> srcImage, int sampleCnt, SkBudgeted, SkBackingFit,
92 SkBackingFit, SkBudgeted, GrProtected,
97 int renderTargetSampleCnt, GrSurfaceOrigin origin, SkBackingFit fit,
174 SkBackingFit, SkBudgeted, GrProtected,
180 GrMipMapsStatus, GrInternalSurfaceFlags, SkBackingFit,
186 GrMipMapsStatus, SkBackingFit, SkBudgeted, GrProtected);
196 SkBackingFit, SkBudgeted, GrProtected,
260 SkBackingFit fit,
270 SkBackingFit fit,
DGrSurfaceProxy.cpp32 static bool is_valid_fully_lazy(const GrSurfaceDesc& desc, SkBackingFit fit) { in is_valid_fully_lazy()
36 SkBackingFit::kApprox == fit; in is_valid_fully_lazy()
56 const GrSwizzle& textureSwizzle, SkBackingFit fit, in GrSurfaceProxy()
89 const GrSwizzle& textureSwizzle, SkBackingFit fit) in GrSurfaceProxy()
151 SkASSERT(SkBackingFit::kExact == fFit); in createSurfaceImpl()
180 if (SkBackingFit::kApprox == fFit) { in createSurfaceImpl()
320 if (SkBackingFit::kExact == fFit) { in worstCaseWidth()
332 if (SkBackingFit::kExact == fFit) { in worstCaseHeight()
350 SkBackingFit fit, in Copy()
398 GrMipMapped mipMapped, SkBackingFit fit, in Copy()
[all …]
DGrSurfaceProxy.h307 SkIRect srcRect, SkBackingFit, SkBudgeted,
312 SkBackingFit, SkBudgeted);
335 SkBackingFit fit, SkBudgeted budgeted, GrProtected isProtected, in GrSurfaceProxy()
345 const GrSwizzle& textureSwizzle, SkBackingFit, SkBudgeted, GrProtected,
350 SkBackingFit);
406 SkBackingFit fFit; // always kApprox for lazy-callback resources
DSkGr.h204 SkBackingFit fit = SkBackingFit::kExact);
211 SkBackingFit fit = SkBackingFit::kExact);
DGrProxyProvider.cpp136 SkBackingFit fit, in testingOnly_createInstantiatedProxy()
160 if (SkBackingFit::kApprox == fit) { in testingOnly_createInstantiatedProxy()
182 SkBackingFit fit, in testingOnly_createInstantiatedProxy()
264 SkBackingFit fit, in createTextureProxy()
351 GrMipMapped::kYes, SkBackingFit::kExact, budgeted, isProtected, in createMipMapProxy()
386 SkBackingFit::kExact); in createProxyFromBitmap()
442 GrMipMapsStatus::kValid, SkBackingFit::kExact, SkBudgeted::kYes, GrProtected::kNo); in createProxyFromBitmap()
484 SkBackingFit fit, in createProxy()
561 GrMipMapsStatus::kNotAllocated, SkBackingFit::kExact, SkBudgeted::kYes, in createCompressedTextureProxy()
801 SkBackingFit fit, in createLazyProxy()
[all …]
DGrRecordingContext.cpp169 SkBackingFit fit, in makeDeferredTextureContext()
212 SkBackingFit fit, in makeDeferredRenderTargetContext()
289 SkBackingFit fit, in makeDeferredRenderTargetContextWithFallback()
339 SkBackingFit fit, in makeDeferredTextureContext()
355 SkBackingFit fit, in makeDeferredRenderTargetContext()
372 SkBackingFit fit, in makeDeferredRenderTargetContextWithFallback()
DGrRecordingContextPriv.h68 SkBackingFit,
85 SkBackingFit fit,
104 SkBackingFit fit,
DGrRenderTargetProxy.cpp25 const GrSwizzle& outputSwizzle, SkBackingFit fit, in GrRenderTargetProxy()
39 SkBackingFit fit, SkBudgeted budgeted, GrProtected isProtected, in GrRenderTargetProxy()
52 : INHERITED(std::move(surf), origin, textureSwizzle, SkBackingFit::kExact) in GrRenderTargetProxy()
/third_party/skia/src/gpu/
DGrRecordingContextPriv.h123 SkBackingFit,
140 SkBackingFit = SkBackingFit::kExact,
154 SkBackingFit = SkBackingFit::kExact,
169 SkBackingFit,
185 SkBackingFit = SkBackingFit::kExact,
DGrSurfaceProxy.cpp29 static bool is_valid_lazy(const SkISize& dimensions, SkBackingFit fit) { in is_valid_lazy()
34 return ((dimensions.fWidth < 0 && dimensions.fHeight < 0 && SkBackingFit::kApprox == fit) || in is_valid_lazy()
46 SkBackingFit fit, in GrSurfaceProxy()
66 SkBackingFit fit, in GrSurfaceProxy()
86 SkBackingFit fit, in GrSurfaceProxy()
109 SkASSERT(mipMapped == GrMipmapped::kNo || fFit == SkBackingFit::kExact); in createSurfaceImpl()
114 if (SkBackingFit::kApprox == fFit) { in createSurfaceImpl()
236 if (SkBackingFit::kExact == fFit) { in backingStoreDimensions()
244 return fFit == SkBackingFit::kExact || in isFunctionallyExact()
265 SkBackingFit fit, in Copy()
[all …]
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()
DGrProxyProvider.h80 SkBackingFit,
91 SkBackingFit,
180 SkBackingFit,
193 SkBackingFit,
258 SkBackingFit fit,
267 SkBackingFit fit,
289 sk_sp<GrTextureProxy> createNonMippedProxyFromBitmap(const SkBitmap&, SkBackingFit, SkBudgeted);
DGrTextureProxy.cpp24 SkBackingFit fit, in GrTextureProxy()
49 SkBackingFit fit, in GrTextureProxy()
73 : INHERITED(std::move(surf), SkBackingFit::kExact, useAllocator) in GrTextureProxy()
197 SkBackingFit fit; in callbackDesc()
199 fit = SkBackingFit::kApprox; in callbackDesc()
202 fit = this->isFunctionallyExact() ? SkBackingFit::kExact : SkBackingFit::kApprox; in callbackDesc()
DGrSurfaceProxy.h68 SkBackingFit fFit;
323 SkBackingFit,
333 SkBackingFit,
368 SkBackingFit,
377 SkBackingFit,
388 SkBackingFit,
436 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()
DGrProxyProvider.cpp139 SkBackingFit fit, in testingOnly_createInstantiatedProxy()
160 if (SkBackingFit::kApprox == fit) { in testingOnly_createInstantiatedProxy()
189 SkBackingFit fit, in testingOnly_createInstantiatedProxy()
286 SkBackingFit fit, in createProxyFromBitmap()
289 SkASSERT(fit == SkBackingFit::kExact || mipMapped == GrMipmapped::kNo); in createProxyFromBitmap()
341 SkBackingFit fit, in createNonMippedProxyFromBitmap()
425 SkBackingFit::kExact, budgeted, GrProtected::kNo, UseAllocator::kYes); in createMippedProxyFromBitmap()
441 SkBackingFit fit, in createProxy()
518 SkBackingFit::kExact, SkBudgeted::kYes, GrProtected::kNo, UseAllocator::kYes); in createCompressedTextureProxy()
752 SkBackingFit::kExact, in CreatePromiseProxy()
[all …]
/third_party/flutter/skia/include/private/
DGrRecordingContext.h72 SkBackingFit,
89 SkBackingFit fit,
108 SkBackingFit fit,

12345678