Home
last modified time | relevance | path

Searched refs:SkBudgeted (Results 1 – 25 of 344) sorted by relevance

12345678910>>...14

/external/skqp/src/gpu/
DGrProxyProvider.h69 sk_sp<SkImage> srcImage, GrSurfaceDescFlags, int sampleCnt, SkBudgeted, SkBackingFit,
80 GrSurfaceOrigin, SkBudgeted);
91 GrMipMapped, SkBackingFit, SkBudgeted,
96 GrSurfaceOrigin origin, SkBackingFit fit, SkBudgeted budgeted,
166 GrInternalSurfaceFlags, SkBackingFit, SkBudgeted,
171 GrInternalSurfaceFlags, SkBackingFit, SkBudgeted);
175 SkBackingFit, SkBudgeted);
185 SkBudgeted);
253 SkBackingFit, SkBudgeted);
DGrContextPriv.h60 SkBudgeted,
240 SkBudgeted = SkBudgeted::kYes);
257 SkBudgeted budgeted = SkBudgeted::kYes);
DGrProxyProvider.cpp183 SkBudgeted budgeted, in createTextureProxy()
276 SkBudgeted budgeted) { in createMipMapProxy()
306 return this->createTextureProxy(baseLevel, kNone_GrSurfaceFlags, 1, SkBudgeted::kYes, in createMipMapProxyFromBitmap()
359 return resourceProvider->createTexture(desc, SkBudgeted::kYes, texels.get(), in createMipMapProxyFromBitmap()
363 SkBudgeted::kYes); in createMipMapProxyFromBitmap()
384 SkBudgeted budgeted, in createProxy()
432 return resourceProvider->createTexture(desc, SkBudgeted::kYes, &texels, 1); in createProxy()
435 SkBudgeted::kYes); in createProxy()
600 SkBudgeted budgeted) { in createLazyProxy()
612 SkBudgeted budgeted) { in createLazyProxy()
[all …]
DGrResourceProvider.h86 sk_sp<GrTexture> createTexture(const GrSurfaceDesc&, SkBudgeted, Flags = Flags::kNone);
88 sk_sp<GrTexture> createTexture(const GrSurfaceDesc&, SkBudgeted, const GrMipLevel texels[],
92 sk_sp<GrTexture> createTexture(const GrSurfaceDesc&, SkBudgeted, SkBackingFit,
273 sk_sp<GrTexture> getExactScratch(const GrSurfaceDesc&, SkBudgeted, Flags);
/external/skqp/tests/
DResourceCacheTest.cpp43 auto surface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
98 int size, int sampleCount, SkBudgeted budgeted) { in create_RT_with_SB()
129 sk_sp<GrRenderTarget> smallRT0 = create_RT_with_SB(resourceProvider, 4, 1, SkBudgeted::kYes);
134 sk_sp<GrRenderTarget> smallRT1 = create_RT_with_SB(resourceProvider, 4, 1, SkBudgeted::kYes);
142 sk_sp<GrRenderTarget> smallRT2 = create_RT_with_SB(resourceProvider, 4, 1, SkBudgeted::kNo);
150 sk_sp<GrRenderTarget> bigRT = create_RT_with_SB(resourceProvider, 400, 1, SkBudgeted::kNo);
161 smallSampleCount, SkBudgeted::kNo);
177 SkBudgeted::kNo);
190 SkBudgeted::kNo);
266 TestResource(GrGpu* gpu, SkBudgeted budgeted = SkBudgeted::kYes, size_t size = kDefaultSize) in TestResource()
[all …]
DGrSurfaceTest.cpp36 sk_sp<GrSurface> texRT1 = resourceProvider->createTexture(desc, SkBudgeted::kNo); in DEF_GPUTEST_FOR_NULLGL_CONTEXT()
48 sk_sp<GrTexture> tex1 = resourceProvider->createTexture(desc, SkBudgeted::kNo); in DEF_GPUTEST_FOR_NULLGL_CONTEXT()
115 sk_sp<GrSurface> tex = resourceProvider->createTexture(desc, SkBudgeted::kNo); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
126 proxyProvider->createMipMapProxy(format, desc, origin, SkBudgeted::kNo); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
132 tex = resourceProvider->createTexture(desc, SkBudgeted::kNo); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
139 tex = resourceProvider->createTexture(desc, SkBudgeted::kNo); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
180 desc, origin, fit, SkBudgeted::kYes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
216 format, desc, origin, GrMipMapped::kNo, fit, SkBudgeted::kYes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
311 SkBudgeted::kYes, SkBackingFit::kExact); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
385 return context->contextPriv().resourceProvider()->createTexture(desc, SkBudgeted::kNo); in DEF_GPUTEST()
[all …]
DGrTextureMipMapInvalidationTest.cpp30 auto surf1 = SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, info, 0, in DEF_GPUTEST_FOR_NULLGL_CONTEXT()
33 auto surf2 = SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, info); in DEF_GPUTEST_FOR_NULLGL_CONTEXT()
67 ctx, SkBudgeted::kYes, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
93 surf = SkSurface::MakeRenderTarget(ctx, SkBudgeted::kYes, singlePixelInfo, 1, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DProxyTest.cpp31 SkBudgeted budgeted) { in check_surface()
120 for (auto budgeted : { SkBudgeted::kYes, SkBudgeted::kNo }) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
233 backendRT.pixelConfig(), SkBudgeted::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
264 backendRT.pixelConfig(), SkBudgeted::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
285 backendTex.pixelConfig(), SkBudgeted::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
311 backendTex.pixelConfig(), SkBudgeted::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
338 backendTex.pixelConfig(), SkBudgeted::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
372 format, desc, kBottomLeft_GrSurfaceOrigin, fit, SkBudgeted::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DProxyConversionTest.cpp49 SkBudgeted::kYes); in make_offscreen_rt()
56 SkBudgeted::kYes); 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()
DImageNewShaderTest.cpp110 auto sourceSurface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info)); in gpu_to_gpu()
111 auto destinationSurface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info)); in gpu_to_gpu()
119 auto sourceSurface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info)); in gpu_to_raster()
129 auto destinationSurface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info)); in raster_to_gpu()
/external/skia/tests/
DResourceCacheTest.cpp38 auto surface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
91 int size, int sampleCount, SkBudgeted budgeted) { in create_RT_with_SB()
124 sk_sp<GrRenderTarget> smallRT0 = create_RT_with_SB(resourceProvider, 4, 1, SkBudgeted::kYes);
129 sk_sp<GrRenderTarget> smallRT1 = create_RT_with_SB(resourceProvider, 4, 1, SkBudgeted::kYes);
137 sk_sp<GrRenderTarget> smallRT2 = create_RT_with_SB(resourceProvider, 4, 1, SkBudgeted::kNo);
145 sk_sp<GrRenderTarget> bigRT = create_RT_with_SB(resourceProvider, 400, 1, SkBudgeted::kNo);
156 smallSampleCount, SkBudgeted::kNo);
165 SkBudgeted::kNo);
177 SkBudgeted::kNo);
257 TestResource(GrGpu* gpu, SkBudgeted budgeted = SkBudgeted::kYes, size_t size = kDefaultSize) in TestResource()
[all …]
DProxyTest.cpp32 SkBudgeted budgeted) { in check_surface()
120 for (auto budgeted : {SkBudgeted::kYes, SkBudgeted::kNo}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
228 check_surface(reporter, sProxy.get(), kWidthHeight, kWidthHeight, SkBudgeted::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
256 check_surface(reporter, sProxy.get(), kWidthHeight, kWidthHeight, SkBudgeted::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
274 check_surface(reporter, sProxy.get(), kWidthHeight, kWidthHeight, SkBudgeted::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
296 check_surface(reporter, sProxy.get(), kWidthHeight, kWidthHeight, SkBudgeted::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
319 check_surface(reporter, sProxy.get(), kWidthHeight, kWidthHeight, SkBudgeted::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
350 SkBudgeted::kNo, GrProtected::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DGrTextureMipMapInvalidationTest.cpp34 auto surf1 = SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, info, 0, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
37 auto surf2 = SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, info); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
71 ctx, SkBudgeted::kYes, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
97 surf = SkSurface::MakeRenderTarget(ctx, SkBudgeted::kYes, singlePixelInfo, 1, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DProxyConversionTest.cpp44 1, SkBackingFit::kExact, SkBudgeted::kYes, in make_offscreen_rt()
53 SkBackingFit::kExact, SkBudgeted::kYes, in make_texture()
138 SkBackingFit::kApprox, SkBudgeted::kYes, GrProtected::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
152 SkBackingFit::kApprox, SkBudgeted::kYes, GrProtected::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
166 SkBackingFit::kApprox, SkBudgeted::kYes, GrProtected::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DImageNewShaderTest.cpp110 auto sourceSurface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info)); in gpu_to_gpu()
111 auto destinationSurface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info)); in gpu_to_gpu()
119 auto sourceSurface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info)); in gpu_to_raster()
129 auto destinationSurface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info)); in raster_to_gpu()
DGrSurfaceTest.cpp37 SkBudgeted::kNo, GrProtected::kNo); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
50 SkBudgeted::kNo, GrProtected::kNo); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
97 return rp->createCompressedTexture(dimensions, format, SkBudgeted::kNo, in DEF_GPUTEST_FOR_ALL_CONTEXTS()
101 SkBudgeted::kNo, GrProtected::kNo); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
149 SkBackingFit::kExact, SkBudgeted::kNo, GrProtected::kNo); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
161 kDims, combo.fFormat, GrRenderable::kYes, 1, GrMipMapped::kNo, SkBudgeted::kNo, in DEF_GPUTEST_FOR_ALL_CONTEXTS()
174 kDims, combo.fFormat, GrRenderable::kYes, 2, GrMipMapped::kNo, SkBudgeted::kNo, in DEF_GPUTEST_FOR_ALL_CONTEXTS()
270 SkBudgeted::kYes, GrProtected::kNo); in DEF_GPUTEST()
307 kUnknown_SkAlphaType, nullptr, fit, SkBudgeted::kYes); in DEF_GPUTEST()
479 desc, format, renderable, 1, GrMipMapped::kNo, SkBudgeted::kNo, GrProtected::kNo); in make_normal_texture()
[all …]
/external/skia/src/gpu/
DGrProxyProvider.h82 SkBudgeted,
91 SkBudgeted,
166 SkBudgeted,
180 SkBudgeted,
246 SkBudgeted budgeted,
255 SkBudgeted budgeted,
DGrSurfaceProxy.h238 SkBudgeted isBudgeted() const { return fBudgeted; } in isBudgeted()
304 SkIRect srcRect, SkBackingFit, SkBudgeted,
309 GrColorType srcColorType, GrMipMapped, SkBackingFit, SkBudgeted);
331 SkBudgeted,
342 SkBudgeted,
404 mutable SkBudgeted fBudgeted; // always kYes for lazy-callback resources
DGrResourceProvider.h74 SkBudgeted budgeted,
87 SkBudgeted budgeted,
102 SkBudgeted,
113 SkBudgeted,
330 SkBudgeted,
/external/skqp/src/gpu/mtl/
DGrMtlTextureRenderTarget.h17 SkBudgeted,
43 SkBudgeted budgeted,
50 SkBudgeted budgeted,
/external/skia/src/gpu/mtl/
DGrMtlTextureRenderTarget.h17 SkBudgeted,
45 SkBudgeted budgeted,
53 SkBudgeted budgeted,
/external/skqp/src/gpu/vk/
DGrVkTextureRenderTarget.h29 static sk_sp<GrVkTextureRenderTarget> MakeNewTextureRenderTarget(GrVkGpu*, SkBudgeted,
59 SkBudgeted budgeted,
72 SkBudgeted budgeted,
/external/skqp/include/private/
DGrTextureProxy.h92 SkBudgeted, const void* srcData, size_t srcRowBytes, GrInternalSurfaceFlags);
96 GrMipMapped, SkBackingFit, SkBudgeted, GrInternalSurfaceFlags);
110 SkBudgeted, GrInternalSurfaceFlags);
/external/skia/src/gpu/vk/
DGrVkTextureRenderTarget.h29 static sk_sp<GrVkTextureRenderTarget> MakeNewTextureRenderTarget(GrVkGpu*, SkBudgeted,
61 SkBudgeted budgeted,
75 SkBudgeted budgeted,
/external/skqp/include/core/
DSkSurface.h305 static sk_sp<SkSurface> MakeRenderTarget(GrContext* context, SkBudgeted budgeted,
333 static sk_sp<SkSurface> MakeRenderTarget(GrContext* context, SkBudgeted budgeted, in MakeRenderTarget()
354 static sk_sp<SkSurface> MakeRenderTarget(GrContext* context, SkBudgeted budgeted, in MakeRenderTarget()
373 SkBudgeted budgeted);

12345678910>>...14