Home
last modified time | relevance | path

Searched refs:GrRenderable (Results 1 – 25 of 126) sorted by relevance

123456

/external/skia/tests/
DBackendAllocationTest.cpp34 GrRenderable)> create, in test_wrapping()
35 GrColorType grColorType, GrMipMapped mipMapped, GrRenderable renderable) { in test_wrapping()
44 GrRenderable::kYes == renderable ? "yes" : "no"); in test_wrapping()
59 if (GrRenderable::kYes == renderable && context->colorTypeSupportedAsSurface(skColorType)) { in test_wrapping()
211 SkColorType skColorType, GrRenderable renderable, in check_base_readbacks()
259 if (GrRenderable::kYes == renderable && context->colorTypeSupportedAsSurface(skColorType)) { in check_base_readbacks()
282 GrRenderable)> create, in test_color_init()
284 GrMipMapped mipMapped, GrRenderable renderable) { in test_color_init()
414 GrRenderable)> create, in test_pixmap_init()
416 GrRenderable renderable) { in test_pixmap_init()
[all …]
DProxyTest.cpp124 auto format = caps.getDefaultBackendFormat(ct, GrRenderable::kYes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
135 dims, format, GrRenderable::kYes, numSamples, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
139 dims, format, GrRenderable::kYes, numSamples, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
144 format, dims, swizzle, GrRenderable::kYes, numSamples, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
171 dims, format, GrRenderable::kNo, numSamples, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
175 dims, format, GrRenderable::kNo, numSamples, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
180 format, dims, swizzle, GrRenderable::kNo, numSamples, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
237 auto beFormat = caps.getDefaultBackendFormat(grColorType, GrRenderable::kYes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
266 GrMipMapped::kNo, GrRenderable::kYes, GrProtected::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
286 GrMipMapped::kNo, GrRenderable::kYes, GrProtected::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
DGrSurfaceTest.cpp34 GrRenderable::kYes); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
36 resourceProvider->createTexture(kDesc, format, GrRenderable::kYes, 1, GrMipMapped::kNo, in DEF_GPUTEST_FOR_MOCK_CONTEXT()
49 resourceProvider->createTexture(kDesc, format, GrRenderable::kNo, 1, GrMipMapped::kNo, in DEF_GPUTEST_FOR_MOCK_CONTEXT()
57 SkColors::kTransparent, GrMipMapped::kNo, GrRenderable::kNo, GrProtected::kNo); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
85 const GrBackendFormat& format, GrRenderable renderable, in DEF_GPUTEST_FOR_ALL_CONTEXTS()
89 if (renderable == GrRenderable::kYes) { in DEF_GPUTEST_FOR_ALL_CONTEXTS()
135 GrRenderable::kNo, resourceProvider); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
148 combo.fFormat, kDims, swizzle, GrRenderable::kNo, 1, GrMipMapped::kYes, 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()
[all …]
DProxyConversionTest.cpp43 return provider->testingOnly_createInstantiatedProxy(dimensions, colorType, GrRenderable::kYes, in make_offscreen_rt()
51 GrRenderable renderable) { in make_texture()
96 make_texture(proxyProvider, kSize, kColorType, GrRenderable::kYes)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
111 make_texture(proxyProvider, kSize, kColorType, GrRenderable::kNo)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
132 GrRenderable::kYes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
137 format, kDims, swizzle, GrRenderable::kYes, 1, GrMipMapped::kNo, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
151 format, kDims, swizzle, GrRenderable::kYes, 1, GrMipMapped::kNo, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
165 format, kDims, swizzle, GrRenderable::kNo, 1, GrMipMapped::kNo, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DCopySurfaceTest.cpp75 for (auto sRenderable : {GrRenderable::kYes, GrRenderable::kNo}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
76 for (auto dRenderable : {GrRenderable::kYes, GrRenderable::kNo}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
97 kBGRA_8888_SkColorType, GrRenderable::kNo).isValid()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
120 } else if (dRenderable == GrRenderable::kYes) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
153 if (sOrigin != dOrigin && dRenderable == GrRenderable::kNo) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DMtlBackendAllocationTest.mm19 GrRenderable)> create,
20 GrColorType colorType, GrMipMapped mipMapped, GrRenderable renderable);
26 GrRenderable)> create,
28 GrMipMapped mipMapped, GrRenderable renderable);
92 for (auto renderable : { GrRenderable::kNo, GrRenderable::kYes }) {
94 if (GrRenderable::kYes == renderable) {
106 GrRenderable renderable) {
142 GrRenderable renderable) {
DGrUploadPixelsTests.cpp24 GrRenderable renderable) { in basic_texture_test()
95 basic_texture_test(reporter, ctxInfo.grContext(), kRGBA_8888_SkColorType, GrRenderable::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
96 basic_texture_test(reporter, ctxInfo.grContext(), kRGBA_8888_SkColorType, GrRenderable::kYes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
99 basic_texture_test(reporter, ctxInfo.grContext(), kBGRA_8888_SkColorType, GrRenderable::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
100 basic_texture_test(reporter, ctxInfo.grContext(), kBGRA_8888_SkColorType, GrRenderable::kYes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DLazyProxyTest.cpp84 GrRenderable::kNo); in Op()
97 kDimensions, format, GrRenderable::kNo, 1, GrMipMapped::kNo, in Op()
103 format, readSwizzle, GrRenderable::kNo, 1, GrProtected::kNo, in Op()
134 ctx->priv().caps()->getDefaultBackendFormat(kColorType, GrRenderable::kYes); in ClipFP()
143 format, readSwizzle, GrRenderable::kYes, 1, GrProtected::kNo, in ClipFP()
232 GrRenderable::kNo);
235 GrRenderable::kNo, 1, GrMipMapped::kNo,
277 readSwizzle, GrRenderable::kNo, 1, GrMipMapped::kNo,
335 GrRenderable::kNo); in LazyFailedInstantiationTestOp()
346 return {rp->createTexture(desc, format, GrRenderable::kNo, 1, GrMipMapped::kNo, in LazyFailedInstantiationTestOp()
[all …]
DGrTestingBackendTextureUploadTest.cpp15 GrRenderable renderable, bool doDataUpload, GrMipMapped mipMapped) { in testing_only_texture_test()
64 if (GrRenderable::kYes == renderable) { in testing_only_texture_test()
92 for (auto renderable: { GrRenderable::kYes, GrRenderable::kNo }) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DTextureProxyTest.cpp37 GrBackendFormat format = caps->getDefaultBackendFormat(kColorType, GrRenderable::kNo); in deferred_tex()
41 proxyProvider->createProxy(format, kSize, swizzle, GrRenderable::kNo, 1, in deferred_tex()
52 GrBackendFormat format = caps->getDefaultBackendFormat(kColorType, GrRenderable::kYes); in deferred_texRT()
56 proxyProvider->createProxy(format, kSize, swizzle, GrRenderable::kYes, 1, in deferred_texRT()
66 kSize, kColorType, GrRenderable::kNo, 1, fit, SkBudgeted::kYes, GrProtected::kNo); in wrapped()
85 kSize, kColorType, GrRenderable::kNo, 1, fit, SkBudgeted::kYes, GrProtected::kNo); in wrapped_with_key()
97 proxyProvider->caps()->getDefaultBackendFormat(kColorType, GrRenderable::kYes); in create_wrapped_backend()
100 resourceProvider->createTexture(kSize, format, GrRenderable::kNo, 1, GrMipMapped::kNo, in create_wrapped_backend()
DGrMipMappedTest.cpp41 for (auto renderable : {GrRenderable::kNo, GrRenderable::kYes}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
51 if (GrRenderable::kYes == renderable) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
94 if (GrRenderable::kYes == renderable) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
119 SkColors::kTransparent, mipMapped, GrRenderable::kNo, GrProtected::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
263 SkColors::kTransparent, mipMapped, GrRenderable::kYes, GrProtected::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
353 mipmapView.proxy()->backendFormat(), {1, 1}, mipmapView.swizzle(), GrRenderable::kYes, in draw_mipmap_into_new_render_target()
388 kRGBA_8888_SkColorType, GrRenderable::kYes);
399 format, {4, 4}, swizzle, GrRenderable::kYes, 1, GrMipMapped::kYes,
DProxyRefTest.cpp28 GrRenderable::kYes); in make_deferred()
31 GrRenderable::kYes, 1, GrMipMapped::kNo, in make_deferred()
39 {kWidthHeight, kWidthHeight}, GrColorType::kRGBA_8888, GrRenderable::kYes, 1, in make_wrapped()
DResourceAllocatorTest.cpp25 GrRenderable fRenderable;
52 GrMipMapped::kNo, GrRenderable::kNo, in make_backend()
134 constexpr GrRenderable kRT = GrRenderable::kYes; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
135 constexpr GrRenderable kNotRT = GrRenderable::kNo; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
166 auto beFormat = caps->getDefaultBackendFormat(GrColorType::kRGBA_8888, GrRenderable::kYes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
302 64, GrRenderable::kNo, GrColorType::kRGBA_8888, SkBackingFit::kExact, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
362 params.fRenderable = GrRenderable::kYes; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DPromiseImageTest.cpp172 SkColors::kTransparent, GrMipMapped::kNo, GrRenderable::kYes, GrProtected::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
247 GrRenderable::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
249 GrRenderable::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
257 SkColors::kTransparent, GrMipMapped::kNo, GrRenderable::kNo, GrProtected::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
361 SkColors::kTransparent, GrMipMapped::kNo, GrRenderable::kNo, GrProtected::kNo); in DEF_GPUTEST()
400 SkColors::kTransparent, GrMipMapped::kNo, GrRenderable::kNo, GrProtected::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
424 GrRenderable::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
426 {100, 100}, format, GrRenderable::kNo, 1, GrMipMapped::kNo, SkBudgeted::kYes, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
468 SkColors::kTransparent, GrMipMapped::kNo, GrRenderable::kYes, GrProtected::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/src/gpu/
DGrTexture.cpp88 GrRenderable renderable = GrRenderable::kNo; in computeScratchKey()
91 renderable = GrRenderable::kYes; in computeScratchKey()
103 GrRenderable renderable, in ComputeScratchKey()
111 SkASSERT(1 == sampleCnt || renderable == GrRenderable::kYes); in ComputeScratchKey()
DGrContext.cpp272 GrRenderable::kNo); in colorTypeSupportedAsImage()
279 GrRenderable::kYes); in maxSurfaceSampleCountForColorType()
372 GrRenderable renderable, in createBackendTexture()
390 GrRenderable renderable, in createBackendTexture()
423 const GrBackendFormat format = this->defaultBackendFormat(c.colorType(), GrRenderable::kYes); in createBackendTexture()
430 GrRenderable::kYes, in createBackendTexture()
455 const GrBackendFormat format = this->defaultBackendFormat(c.colorType(), GrRenderable::kYes); in createBackendTexture()
462 GrRenderable::kYes, in createBackendTexture()
472 GrRenderable renderable, in createBackendTexture()
492 GrRenderable renderable, in createBackendTexture()
[all …]
DGrResourceProvider.h64 GrRenderable renderable,
71 GrRenderable renderable,
85 GrRenderable renderable,
100 GrRenderable,
317 GrRenderable,
328 GrRenderable,
DGrProxyProvider.h78 GrRenderable,
160 GrRenderable,
192 GrRenderable,
243 GrRenderable renderable,
252 GrRenderable renderable,
DGrRenderTargetProxy.cpp34 : INHERITED(format, dimensions, GrRenderable::kYes, textureSwizzle, fit, budgeted, in GrRenderTargetProxy()
51 : INHERITED(std::move(callback), format, dimensions, GrRenderable::kYes, textureSwizzle, in GrRenderTargetProxy()
83 if (!this->instantiateImpl(resourceProvider, fSampleCnt, GrRenderable::kYes, GrMipMapped::kNo, in instantiate()
104 GrRenderable::kYes, GrMipMapped::kNo); in createSurface()
DGrSurfaceProxy.cpp49 GrRenderable renderable, in GrSurfaceProxy()
73 GrRenderable renderable, in GrSurfaceProxy()
124 GrRenderable renderable, in createSurfaceImpl()
179 GrRenderable renderable, GrMipMapped mipMapped, in instantiateImpl()
213 GrRenderable renderable = GrRenderable::kNo; in computeScratchKey()
216 renderable = GrRenderable::kYes; in computeScratchKey()
307 GrRenderable::kNo, 1, mipMapped, in Copy()
DGrProxyProvider.cpp119 GrRenderable renderable, in testingOnly_createInstantiatedProxy()
159 GrRenderable renderable, in testingOnly_createInstantiatedProxy()
272 GrBackendFormat format = this->caps()->getDefaultBackendFormat(grCT, GrRenderable::kNo); in createProxyFromBitmap()
314 dims, format, colorType, GrRenderable::kNo, 1, SkBudgeted::kYes, fit, in createNonMippedProxyFromBitmap()
317 format, dims, swizzle, GrRenderable::kNo, 1, GrMipMapped::kNo, in createNonMippedProxyFromBitmap()
360 dims, format, colorType, GrRenderable::kNo, 1, SkBudgeted::kYes, in createMippedProxyFromBitmap()
363 format, dims, readSwizzle, GrRenderable::kNo, 1, GrMipMapped::kYes, in createMippedProxyFromBitmap()
379 GrRenderable renderable, in createProxy()
414 if (renderable == GrRenderable::kYes) { in createProxy()
454 format, dimensions, GrSwizzle(), GrRenderable::kNo, 1, mipMapped, mipMapsStatus, in createCompressedTextureProxy()
[all …]
DGrTextureRenderTargetProxy.cpp35 : GrSurfaceProxy(format, dimensions, GrRenderable::kYes, texSwizzle, fit, budgeted, in GrTextureRenderTargetProxy()
59 : GrSurfaceProxy(std::move(callback), format, dimensions, GrRenderable::kYes, texSwizzle, in GrTextureRenderTargetProxy()
123 if (!this->instantiateImpl(resourceProvider, this->numSamples(), GrRenderable::kYes, in instantiate()
140 GrRenderable::kYes, this->mipMapped()); in createSurface()
DGrTextureProxy.cpp29 : INHERITED(format, dimensions, GrRenderable::kNo, textureSwizzle, fit, budgeted, in GrTextureProxy()
50 : INHERITED(std::move(callback), format, dimensions, GrRenderable::kNo, texSwizzle, fit, in GrTextureProxy()
95 if (!this->instantiateImpl(resourceProvider, 1, GrRenderable::kNo, fMipMapped, in instantiate()
106 sk_sp<GrSurface> surface = this->createSurfaceImpl(resourceProvider, 1, GrRenderable::kNo, in createSurface()
/external/skia/include/gpu/
DGrContext.h397 GrBackendFormat defaultBackendFormat(SkColorType ct, GrRenderable renderable) const { in defaultBackendFormat()
423 GrRenderable,
435 GrRenderable,
455 GrRenderable,
469 GrRenderable,
494 GrRenderable, GrProtected);
498 GrRenderable renderable, in createBackendTexture()
/external/skia/src/gpu/dawn/
DGrDawnTexture.cpp27 GrRenderable renderable, int sampleCnt, in Make()
30 bool renderTarget = renderable == GrRenderable::kYes; in Make()
86 GrRenderable renderable, in MakeWrapped()
97 if (GrRenderable::kYes == renderable) { in MakeWrapped()

123456