Home
last modified time | relevance | path

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

123456

/external/skia/tests/
DBackendAllocationTest.cpp43 GrRenderable)> create, in test_wrapping()
46 GrRenderable renderable) { in test_wrapping()
55 GrRenderable::kYes == renderable ? "yes" : "no"); in test_wrapping()
80 if (GrRenderable::kYes == renderable && dContext->colorTypeSupportedAsSurface(skColorType)) { in test_wrapping()
244 GrRenderable renderableTexture, in check_base_readbacks()
265 for (GrRenderable renderableCtx : {GrRenderable::kNo, GrRenderable::kYes}) { in check_base_readbacks()
266 if (renderableCtx == GrRenderable::kYes && renderableTexture == GrRenderable::kNo) { in check_base_readbacks()
270 if (renderableCtx == GrRenderable::kYes) { in check_base_readbacks()
299 (renderableCtx == GrRenderable::kYes ? "GrSurfaceFillContext" in check_base_readbacks()
312 GrRenderable)> create, in test_color_init()
[all …]
DProxyTest.cpp129 auto format = caps.getDefaultBackendFormat(ct, GrRenderable::kYes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
139 dims, format, GrRenderable::kYes, numSamples, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
143 dims, format, GrRenderable::kYes, numSamples, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
148 format, dims, GrRenderable::kYes, numSamples, GrMipmapped::kNo, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
175 dims, format, GrRenderable::kNo, numSamples, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
179 dims, format, GrRenderable::kNo, numSamples, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
184 format, dims, GrRenderable::kNo, numSamples, GrMipmapped::kNo, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
241 auto beFormat = caps.getDefaultBackendFormat(grColorType, GrRenderable::kYes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
273 GrRenderable::kYes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
301 GrRenderable::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
DProxyConversionTest.cpp43 return provider->testingOnly_createInstantiatedProxy(dimensions, colorType, GrRenderable::kYes, in make_offscreen_rt()
51 GrRenderable renderable) { in make_texture()
97 make_texture(proxyProvider, kSize, kColorType, GrRenderable::kYes)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
112 make_texture(proxyProvider, kSize, kColorType, GrRenderable::kNo)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
133 GrRenderable::kYes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
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()
DGrSurfaceTest.cpp37 GrRenderable::kYes); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
39 resourceProvider->createTexture(kDesc, format, GrRenderable::kYes, 1, GrMipmapped::kNo, in DEF_GPUTEST_FOR_MOCK_CONTEXT()
52 resourceProvider->createTexture(kDesc, format, GrRenderable::kNo, 1, GrMipmapped::kNo, in DEF_GPUTEST_FOR_MOCK_CONTEXT()
60 SkColors::kTransparent, GrMipmapped::kNo, GrRenderable::kNo, GrProtected::kNo); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
88 const GrBackendFormat& format, GrRenderable renderable, in DEF_GPUTEST_FOR_ALL_CONTEXTS()
92 if (renderable == GrRenderable::kYes) { in DEF_GPUTEST_FOR_ALL_CONTEXTS()
132 GrRenderable::kNo, resourceProvider); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
143 combo.fFormat, kDims, GrRenderable::kNo, 1, GrMipmapped::kYes, in DEF_GPUTEST_FOR_ALL_CONTEXTS()
156 kDims, combo.fFormat, GrRenderable::kYes, 1, GrMipmapped::kNo, SkBudgeted::kNo, in DEF_GPUTEST_FOR_ALL_CONTEXTS()
169 kDims, combo.fFormat, GrRenderable::kYes, 2, GrMipmapped::kNo, SkBudgeted::kNo, in DEF_GPUTEST_FOR_ALL_CONTEXTS()
[all …]
DCopySurfaceTest.cpp76 for (auto sRenderable : {GrRenderable::kYes, GrRenderable::kNo}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
77 for (auto dRenderable : {GrRenderable::kYes, GrRenderable::kNo}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
98 kBGRA_8888_SkColorType, GrRenderable::kNo).isValid()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
117 } else if (dRenderable == GrRenderable::kYes) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
147 if (sOrigin != dOrigin && dRenderable == GrRenderable::kNo) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DMtlBackendAllocationTest.mm23 GrRenderable)> create,
26 GrRenderable);
33 GrRenderable)> create,
37 GrRenderable);
106 for (auto renderable : { GrRenderable::kNo, GrRenderable::kYes }) {
108 if (GrRenderable::kYes == renderable) {
120 GrRenderable renderable) {
160 GrRenderable renderable) {
DProxyRefTest.cpp30 GrRenderable::kYes); in make_deferred()
31 return proxyProvider->createProxy(format, {kWidthHeight, kWidthHeight}, GrRenderable::kYes, 1, in make_deferred()
40 {kWidthHeight, kWidthHeight}, GrColorType::kRGBA_8888, GrRenderable::kYes, 1, in make_wrapped()
DTextureProxyTest.cpp46 GrBackendFormat format = caps->getDefaultBackendFormat(kColorType, GrRenderable::kNo); in deferred_tex()
49 proxyProvider->createProxy(format, kSize, GrRenderable::kNo, 1, GrMipmapped::kNo, fit, in deferred_tex()
62 GrBackendFormat format = caps->getDefaultBackendFormat(kColorType, GrRenderable::kYes); in deferred_texRT()
65 proxyProvider->createProxy(format, kSize, GrRenderable::kYes, 1, GrMipmapped::kNo, fit, in deferred_texRT()
75 kSize, kColorType, GrRenderable::kNo, 1, fit, SkBudgeted::kYes, GrProtected::kNo); in wrapped()
94 kSize, kColorType, GrRenderable::kNo, 1, fit, SkBudgeted::kYes, GrProtected::kNo); in wrapped_with_key()
107 GrRenderable::kNo, in create_wrapped_backend()
DTextureBindingsResetTest.cpp78 auto format = gpu->caps()->getDefaultBackendFormat(GrColorType::kRGBA_8888, GrRenderable::kNo); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
79 auto tex = gpu->createTexture(kDims, format, GrRenderable::kNo, 1, GrMipmapped::kNo, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
107 SkColors::kTransparent, GrMipmapped::kNo, GrRenderable::kNo, GrProtected::kNo); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
139 dContext->createBackendTexture(10, 10, format, GrMipmapped::kNo, GrRenderable::kNo); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DLazyProxyTest.cpp80 GrRenderable::kNo); in Op()
98 format, GrRenderable::kNo, 1, GrProtected::kNo, *proxyProvider->caps(), in Op()
136 ctx->priv().caps()->getDefaultBackendFormat(kColorType, GrRenderable::kYes); in ClipFP()
146 format, GrRenderable::kYes, 1, GrProtected::kNo, *proxyProvider->caps(), in ClipFP()
233 GrRenderable::kNo);
236 GrRenderable::kNo, 1, GrMipmapped::kNo,
332 GrRenderable::kNo); in LazyFailedInstantiationTestOp()
DPromiseImageTest.cpp135 SkColors::kTransparent, GrMipmapped::kNo, GrRenderable::kYes, GrProtected::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
238 GrRenderable::kNo); in DEF_GPUTEST()
285 SkColors::kTransparent, GrMipmapped::kNo, GrRenderable::kNo, GrProtected::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
314 GrRenderable::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
316 {100, 100}, format, GrRenderable::kNo, 1, GrMipmapped::kNo, SkBudgeted::kYes, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
355 dContext->defaultBackendFormat(kRGBA_8888_SkColorType, GrRenderable::kYes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/tools/gpu/
DBackendTextureImageFactory.h28 GrRenderable,
36 GrRenderable = GrRenderable::kNo,
DManagedBackendTexture.h45 GrRenderable = GrRenderable::kNo,
51 GrRenderable,
57 GrRenderable,
DManagedBackendTexture.cpp65 GrRenderable renderable, in MakeFromInfo()
74 GrRenderable renderable, in MakeFromBitmap()
87 GrRenderable renderable, in MakeFromPixmap()
DBackendTextureImageFactory.cpp20 GrRenderable renderable, in MakeBackendTextureImage()
44 GrRenderable renderable, in MakeBackendTextureImage()
/external/skia/src/gpu/
DGrTexture.cpp91 GrRenderable renderable = GrRenderable::kNo; in computeScratchKey()
94 renderable = GrRenderable::kYes; in computeScratchKey()
105 GrRenderable renderable, in ComputeScratchKey()
113 SkASSERT(1 == sampleCnt || renderable == GrRenderable::kYes); in ComputeScratchKey()
DGrResourceProvider.h65 GrRenderable renderable,
72 GrRenderable renderable,
86 GrRenderable renderable,
101 GrRenderable,
115 GrRenderable,
320 GrRenderable,
DGrProxyProvider.h87 GrRenderable,
204 GrRenderable,
255 GrRenderable renderable,
264 GrRenderable renderable,
DGrSurfaceContext.h56 GrRenderable = GrRenderable::kNo,
67 GrRenderable = GrRenderable::kNo,
DGrRenderTargetProxy.cpp82 if (!this->instantiateImpl(resourceProvider, fSampleCnt, GrRenderable::kYes, GrMipmapped::kNo, in instantiate()
121 GrRenderable::kYes, GrMipmapped::kNo); in createSurface()
158 GrRenderable::kYes, in callbackDesc()
DGrSurfaceProxy.cpp109 GrRenderable renderable, in createSurfaceImpl()
168 GrRenderable renderable, GrMipmapped mipMapped, in instantiateImpl()
202 GrRenderable renderable = GrRenderable::kNo; in computeScratchKey()
205 renderable = GrRenderable::kYes; in computeScratchKey()
286 GrRenderable::kNo, in Copy()
DGrResourceProvider.cpp46 GrRenderable renderable, in createTexture()
94 GrRenderable renderable, in getExactScratch()
112 GrRenderable renderable, in createTexture()
161 GrRenderable renderable, in createTexture()
223 GrRenderable renderable, in createApproxTexture()
268 GrRenderable renderable, in findAndRefScratchTexture()
280 if (fGpu->caps()->reuseScratchTextures() || renderable == GrRenderable::kYes) { in findAndRefScratchTexture()
564 if (!fCaps->validateSurfaceParams(dimensions, format, GrRenderable::kYes, sampleCnt, in makeMSAAAttachment()
584 SkASSERT(fCaps->validateSurfaceParams(dimensions, format, GrRenderable::kYes, sampleCnt, in refScratchMSAAAttachment()
/external/skia/src/gpu/dawn/
DGrDawnTexture.cpp24 GrRenderable renderable, int sampleCnt, in Make()
27 bool renderTarget = renderable == GrRenderable::kYes; in Make()
76 GrRenderable renderable, int sampleCnt, in MakeWrapped()
82 if (GrRenderable::kYes == renderable) { in MakeWrapped()
DGrDawnTexture.h19 wgpu::TextureFormat format, GrRenderable, int sampleCnt,
22 static sk_sp<GrDawnTexture> MakeWrapped(GrDawnGpu*, SkISize dimensions, GrRenderable,
/external/skia/include/gpu/
DGrDirectContext.h446 GrRenderable,
460 GrRenderable,
476 GrRenderable,
496 GrRenderable,
523 GrRenderable,
533 GrRenderable renderable,
544 GrRenderable renderable,
557 GrRenderable renderable,

123456