/external/skia/tests/graphite/ |
D | ImageProviderTest.cpp | 24 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 …]
|
D | RecorderTest.cpp | 15 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()
|
D | BackendTextureTest.cpp | 38 /*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()
|
D | MutableImagesTest.cpp | 28 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()
|
D | TextureProxyTest.cpp | 32 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/ |
D | ImageUtils.cpp | 42 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()
|
D | TextureUtils.cpp | 34 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()
|
D | YUVATextureProxies.h | 41 Mipmapped mipmapped() const { return fMipmapped; } in mipmapped() 62 Mipmapped fMipmapped = Mipmapped::kNo;
|
D | YUVATextureProxies.cpp | 26 fMipmapped = Mipmapped::kYes; in YUVATextureProxies() 34 if (views[i].proxy()->mipmapped() == Mipmapped::kNo) { in YUVATextureProxies() 35 fMipmapped = Mipmapped::kNo; in YUVATextureProxies()
|
D | Surface_Graphite.h | 27 Mipmapped = Mipmapped::kNo, 40 sk_sp<SkImage> onMakeImageCopy(const SkIRect* subset, Mipmapped) override;
|
D | TextureProxyView.h | 50 skgpu::Mipmapped mipmapped() const { in mipmapped() 54 return skgpu::Mipmapped::kNo; in mipmapped() 88 Mipmapped);
|
/external/skia/src/gpu/ganesh/ |
D | GrTextureProxy.h | 48 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;
|
D | GrSurfaceProxyView.h | 31 enum class Mipmapped : bool; 60 skgpu::Mipmapped mipmapped() const; 86 skgpu::Mipmapped mipmapped, 94 skgpu::Mipmapped mipmapped,
|
D | GrResourceProvider.h | 53 enum class Mipmapped : bool; 97 skgpu::Mipmapped mipmapped, 114 skgpu::Mipmapped mipmapped, 146 skgpu::Mipmapped, 157 skgpu::Mipmapped, 386 skgpu::Mipmapped,
|
D | GrRenderTargetProxy.cpp | 98 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()
|
D | GrTextureProxy.cpp | 32 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()
|
D | GrSamplerState.h | 63 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()
|
D | GrSurfaceProxyView.cpp | 20 skgpu::Mipmapped GrSurfaceProxyView::mipmapped() const { in mipmapped() 65 skgpu::Mipmapped mipmapped, in Copy() 77 skgpu::Mipmapped mipmapped, in Copy()
|
/external/skia/tools/gpu/ |
D | BackendSurfaceFactory.h | 30 skgpu::Mipmapped = skgpu::Mipmapped::kNo, 40 skgpu::Mipmapped = skgpu::Mipmapped::kNo,
|
/external/skia/include/gpu/graphite/dawn/ |
D | DawnTypes.h | 18 Mipmapped fMipmapped = Mipmapped::kNo; 27 Mipmapped mipmapped, in DawnTextureInfo()
|
/external/skia/src/gpu/graphite/dawn/ |
D | DawnTypesPriv.cpp | 18 fMipmapped = texture.GetMipLevelCount() > 1 ? Mipmapped::kYes : Mipmapped::kNo; in DawnTextureInfo() 26 Mipmapped mipmapped) { in DawnTextureSpecToTextureInfo()
|
/external/skia/include/gpu/graphite/vk/ |
D | VulkanGraphiteTypes.h | 18 Mipmapped fMipmapped = Mipmapped::kNo; 43 Mipmapped mipmapped, in VulkanTextureInfo()
|
/external/skia/include/gpu/graphite/mtl/ |
D | MtlTypes.h | 42 skgpu::Mipmapped fMipmapped = skgpu::Mipmapped::kNo; 54 skgpu::Mipmapped mipmapped, in MtlTextureInfo()
|
/external/skia/src/image/ |
D | SkImage_GpuBase.cpp | 135 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/ |
D | MtlTypesPriv.mm | 19 fMipmapped = mtlTex.mipmapLevelCount > 1 ? Mipmapped::kYes : Mipmapped::kNo; 29 Mipmapped mipmapped) {
|