Home
last modified time | relevance | path

Searched refs:Mipmapped (Results 1 – 25 of 90) sorted by relevance

1234

/external/skia/tests/graphite/
DImageProviderTest.cpp24 using Mipmapped = skgpu::Mipmapped; typedef
58 sk_sp<SkImage> create_raster(Mipmapped mipmapped) { in create_raster()
72 if (mipmapped == Mipmapped::kYes) { in create_raster()
81 return create_raster(Mipmapped::kNo); in create_raster_backed_image_no_mipmaps()
86 return create_raster(Mipmapped::kYes); in create_raster_backed_image_with_mipmaps()
91 sk_sp<SkImage> raster = create_raster(Mipmapped::kNo); in create_gpu_backed_image_no_mipmaps()
92 return raster->makeTextureImage(recorder, { Mipmapped::kNo }); in create_gpu_backed_image_no_mipmaps()
97 sk_sp<SkImage> raster = create_raster(Mipmapped::kYes); in create_gpu_backed_image_with_mipmaps()
98 return raster->makeTextureImage(recorder, { Mipmapped::kYes }); in create_gpu_backed_image_with_mipmaps()
161 Mipmapped mipmapped, in check_img()
[all …]
DRecorderTest.cpp15 using Mipmapped = skgpu::Mipmapped; typedef
26 Mipmapped::kNo, in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
41 Mipmapped::kNo, in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
47 Mipmapped::kNo, in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
53 Mipmapped::kNo, in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
DBackendTextureTest.cpp38 /*mipmapped=*/Mipmapped::kNo, in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
100 /*mipmapped=*/Mipmapped::kNo, in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
129 /*mipmapped=*/Mipmapped::kNo, in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
160 for (Mipmapped mipmapped : { Mipmapped::kYes, Mipmapped::kNo }) { in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
177 REPORTER_ASSERT(reporter, image->hasMipmaps() == (mipmapped == Mipmapped::kYes)); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
198 /*mipmapped=*/Mipmapped::kNo, in DEF_GRAPHITE_TEST_FOR_VULKAN_CONTEXT()
DMutableImagesTest.cpp28 using Mipmapped = skgpu::Mipmapped; typedef
109 fImgDrawSurface = SkSurface::MakeGraphite(fRecorder, ii, Mipmapped::kNo); in init()
214 fWithMips ? Mipmapped::kYes in init()
215 : Mipmapped::kNo, in init()
299 fWithMips ? Mipmapped::kYes in init()
300 : Mipmapped::kNo, in init()
425 fWithMips ? Mipmapped::kYes : Mipmapped::kNo); in init()
DTextureProxyTest.cpp32 kValidColorType, Mipmapped::kNo, Protected::kNo, Renderable::kNo); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
50 Mipmapped::kNo, in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
58 Mipmapped::kNo, in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
68 Mipmapped::kNo, in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
159 Mipmapped::kNo, in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
/external/skia/src/gpu/graphite/
DImageUtils.cpp42 skgpu::Mipmapped mipmapped = (sampling.mipmap != SkMipmapMode::kNone) in GetGraphiteBacked()
43 ? skgpu::Mipmapped::kYes : skgpu::Mipmapped::kNo; in GetGraphiteBacked()
45 if (imageIn->dimensions().area() <= 1 && mipmapped == skgpu::Mipmapped::kYes) { in GetGraphiteBacked()
46 mipmapped = skgpu::Mipmapped::kNo; in GetGraphiteBacked()
56 if (mipmapped == skgpu::Mipmapped::kYes && !result->hasMipmaps()) { in GetGraphiteBacked()
57 mipmapped = skgpu::Mipmapped::kNo; in GetGraphiteBacked()
DTextureUtils.cpp34 Mipmapped mipmapped, in MakeBitmapProxyView()
41 mipmapped = Mipmapped::kNo; in MakeBitmapProxyView()
69 int mipLevelCount = (mipmapped == Mipmapped::kYes) ? in MakeBitmapProxyView()
109 SkASSERT(mipmapped == Mipmapped::kNo || proxy->mipmapped() == Mipmapped::kYes); in MakeBitmapProxyView()
143 SkASSERT(requiredProps.fMipmapped == skgpu::Mipmapped::kNo || in MakeFromBitmap()
144 view.proxy()->mipmapped() == skgpu::Mipmapped::kYes); in MakeFromBitmap()
DYUVATextureProxies.h41 Mipmapped mipmapped() const { return fMipmapped; } in mipmapped()
62 Mipmapped fMipmapped = Mipmapped::kNo;
DYUVATextureProxies.cpp26 fMipmapped = Mipmapped::kYes; in YUVATextureProxies()
34 if (views[i].proxy()->mipmapped() == Mipmapped::kNo) { in YUVATextureProxies()
35 fMipmapped = Mipmapped::kNo; in YUVATextureProxies()
DSurface_Graphite.h27 Mipmapped = Mipmapped::kNo,
40 sk_sp<SkImage> onMakeImageCopy(const SkIRect* subset, Mipmapped) override;
DTextureProxyView.h50 skgpu::Mipmapped mipmapped() const { in mipmapped()
54 return skgpu::Mipmapped::kNo; in mipmapped()
88 Mipmapped);
/external/skia/src/gpu/ganesh/
DGrTextureProxy.h48 skgpu::Mipmapped mipmapped() const;
51 SkASSERT((skgpu::Mipmapped::kNo == fMipmapped) == in mipmapsAreDirty()
53 return skgpu::Mipmapped::kYes == fMipmapped && GrMipmapStatus::kValid != fMipmapStatus; in mipmapsAreDirty()
56 SkASSERT(skgpu::Mipmapped::kYes == fMipmapped); in markMipmapsDirty()
60 SkASSERT(skgpu::Mipmapped::kYes == fMipmapped); in markMipmapsClean()
66 skgpu::Mipmapped proxyMipmapped() const { return fMipmapped; } in proxyMipmapped()
127 skgpu::Mipmapped,
150 skgpu::Mipmapped,
183 skgpu::Mipmapped fMipmapped;
DGrSurfaceProxyView.h31 enum class Mipmapped : bool;
60 skgpu::Mipmapped mipmapped() const;
86 skgpu::Mipmapped mipmapped,
94 skgpu::Mipmapped mipmapped,
DGrResourceProvider.h53 enum class Mipmapped : bool;
97 skgpu::Mipmapped mipmapped,
114 skgpu::Mipmapped mipmapped,
146 skgpu::Mipmapped,
157 skgpu::Mipmapped,
386 skgpu::Mipmapped,
DGrRenderTargetProxy.cpp98 skgpu::Mipmapped::kNo, nullptr)) { in instantiate()
136 GrRenderable::kYes, skgpu::Mipmapped::kNo); in createSurface()
154 colorSamplesPerPixel, skgpu::Mipmapped::kNo, in onUninstantiatedGpuMemorySize()
175 skgpu::Mipmapped::kNo, in callbackDesc()
DGrTextureProxy.cpp32 skgpu::Mipmapped mipmapped, in GrTextureProxy()
58 skgpu::Mipmapped mipmapped, in GrTextureProxy()
166 skgpu::Mipmapped GrTextureProxy::mipmapped() const { in mipmapped()
240 SkASSERT(skgpu::Mipmapped::kNo == this->proxyMipmapped() || in onValidateSurface()
241 skgpu::Mipmapped::kYes == surface->asTexture()->mipmapped()); in onValidateSurface()
DGrSamplerState.h63 skgpu::Mipmapped viewIsMipped) { in Aniso()
69 sampler.fMipmapMode = viewIsMipped == skgpu::Mipmapped::kYes ? MipmapMode::kLinear in Aniso()
98 constexpr skgpu::Mipmapped mipmapped() const { in mipmapped()
99 return skgpu::Mipmapped(fMipmapMode != MipmapMode::kNone); in mipmapped()
DGrSurfaceProxyView.cpp20 skgpu::Mipmapped GrSurfaceProxyView::mipmapped() const { in mipmapped()
65 skgpu::Mipmapped mipmapped, in Copy()
77 skgpu::Mipmapped mipmapped, in Copy()
/external/skia/tools/gpu/
DBackendSurfaceFactory.h30 skgpu::Mipmapped = skgpu::Mipmapped::kNo,
40 skgpu::Mipmapped = skgpu::Mipmapped::kNo,
/external/skia/include/gpu/graphite/dawn/
DDawnTypes.h18 Mipmapped fMipmapped = Mipmapped::kNo;
27 Mipmapped mipmapped, in DawnTextureInfo()
/external/skia/src/gpu/graphite/dawn/
DDawnTypesPriv.cpp18 fMipmapped = texture.GetMipLevelCount() > 1 ? Mipmapped::kYes : Mipmapped::kNo; in DawnTextureInfo()
26 Mipmapped mipmapped) { in DawnTextureSpecToTextureInfo()
/external/skia/include/gpu/graphite/vk/
DVulkanGraphiteTypes.h18 Mipmapped fMipmapped = Mipmapped::kNo;
43 Mipmapped mipmapped, in VulkanTextureInfo()
/external/skia/include/gpu/graphite/mtl/
DMtlTypes.h42 skgpu::Mipmapped fMipmapped = skgpu::Mipmapped::kNo;
54 skgpu::Mipmapped mipmapped, in MtlTextureInfo()
/external/skia/src/image/
DSkImage_GpuBase.cpp135 auto [view, ct] = this->asView(dContext, skgpu::Mipmapped::kNo); in getROPixels()
163 auto [view, ct] = this->asView(direct, skgpu::Mipmapped::kNo); in onMakeSubset()
170 skgpu::Mipmapped::kNo, in onMakeSubset()
221 auto [view, ct] = this->asView(dContext, skgpu::Mipmapped::kNo); in onReadPixels()
250 skgpu::Mipmapped mipmapped, in MakePromiseImageLazyProxy()
261 if (mipmapped == skgpu::Mipmapped::kYes && in MakePromiseImageLazyProxy()
/external/skia/src/gpu/graphite/mtl/
DMtlTypesPriv.mm19 fMipmapped = mtlTex.mipmapLevelCount > 1 ? Mipmapped::kYes : Mipmapped::kNo;
29 Mipmapped mipmapped) {

1234