/third_party/skia/tests/ |
D | GrMipMappedTest.cpp | 49 for (auto mipmapped : {GrMipmapped::kNo, GrMipmapped::kYes}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 92 REPORTER_ASSERT(reporter, (mipmapped == GrMipmapped::kYes) == image->hasMipmaps()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 108 if (mipmapped == GrMipmapped::kYes) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 109 REPORTER_ASSERT(reporter, GrMipmapped::kYes == texture->mipmapped()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 116 REPORTER_ASSERT(reporter, GrMipmapped::kNo == texture->mipmapped()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 130 for (auto betMipmapped : {GrMipmapped::kNo, GrMipmapped::kYes}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 131 for (auto requestMipmapped : {GrMipmapped::kNo, GrMipmapped::kYes}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 136 REPORTER_ASSERT(reporter, (betMipmapped == GrMipmapped::kYes) == image->hasMipmaps()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 198 if (requestMipmapped == GrMipmapped::kYes && betMipmapped == GrMipmapped::kNo) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 214 if (requestMipmapped == GrMipmapped::kYes && betMipmapped == GrMipmapped::kNo) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | CompressedBackendAllocationTest.cpp | 59 GrMipmapped mipMapped, in check_compressed_mipmaps() 82 if (mipMapped == GrMipmapped::kYes) { in check_compressed_mipmaps() 145 GrMipmapped)> create, in test_compressed_color_init() 148 GrMipmapped mipMapped) { in test_compressed_color_init() 187 GrMipmapped mipMapped) { in make_compressed_data() 191 if (mipMapped == GrMipmapped::kYes) { in make_compressed_data() 198 mipMapped == GrMipmapped::kYes); in make_compressed_data() 205 GrMipmapped::kNo, &data[mipMapOffsets[level]], levelColors[level]); in make_compressed_data() 220 GrMipmapped)> create, in test_compressed_data_init() 222 GrMipmapped mipMapped) { in test_compressed_data_init() [all …]
|
D | BackendAllocationTest.cpp | 43 GrMipmapped, in test_wrapping() argument 46 GrMipmapped mipMapped, in test_wrapping() 312 GrMipmapped, in test_color_init() argument 316 GrMipmapped mipmapped, in test_color_init() 325 if (mipmapped == GrMipmapped::kYes) { in test_color_init() 434 GrMipmapped mipmapped, in make_pixmaps() 439 int numMipLevels = mipmapped == GrMipmapped::kYes ? 6 : 1; in make_pixmaps() 474 GrMipmapped mipmapped, in test_pixmap_init() 503 if (mipmapped == GrMipmapped::kYes) { in test_pixmap_init() 610 for (auto mipmapped : {GrMipmapped::kNo, GrMipmapped::kYes}) { in color_type_backend_allocation_test() [all …]
|
D | MtlBackendAllocationTest.mm | 22 GrMipmapped, 25 GrMipmapped, 32 GrMipmapped, 36 GrMipmapped, 101 for (auto mipMapped : { GrMipmapped::kNo, GrMipmapped::kYes }) { 102 if (GrMipmapped::kYes == mipMapped && !mtlCaps->mipmapSupport()) { 119 GrMipmapped mipMapped, 159 GrMipmapped mipMapped,
|
/third_party/skia/tools/gpu/ |
D | YUVUtils.h | 40 GrMipmapped = GrMipmapped::kNo, 43 GrMipmapped = GrMipmapped::kNo, 56 GrMipmapped fMipmapped; 65 bool reset(sk_sp<SkData> data, GrMipmapped, sk_sp<SkColorSpace>); 66 bool reset(SkYUVAPixmaps pixmaps, GrMipmapped, sk_sp<SkColorSpace>);
|
D | BackendSurfaceFactory.h | 26 GrMipmapped = GrMipmapped::kNo, 36 GrMipmapped = GrMipmapped::kNo,
|
D | ManagedBackendTexture.h | 44 GrMipmapped = GrMipmapped::kNo, 50 GrMipmapped, 56 GrMipmapped,
|
D | ManagedBackendTexture.cpp | 64 GrMipmapped mipmapped, in MakeFromInfo() 73 GrMipmapped mipmapped, in MakeFromBitmap() 86 GrMipmapped mipmapped, in MakeFromPixmap() 92 if (mipmapped == GrMipmapped::kYes) { in MakeFromPixmap()
|
/third_party/skia/src/gpu/ |
D | GrTextureProxy.h | 35 GrMipmapped mipmapped() const; 38 SkASSERT((GrMipmapped::kNo == fMipmapped) == in mipmapsAreDirty() 40 return GrMipmapped::kYes == fMipmapped && GrMipmapStatus::kValid != fMipmapStatus; in mipmapsAreDirty() 43 SkASSERT(GrMipmapped::kYes == fMipmapped); in markMipmapsDirty() 47 SkASSERT(GrMipmapped::kYes == fMipmapped); in markMipmapsClean() 53 GrMipmapped proxyMipmapped() const { return fMipmapped; } in proxyMipmapped() 117 GrMipmapped, 139 GrMipmapped, 169 GrMipmapped fMipmapped;
|
D | GrRecordingContextPriv.h | 125 GrMipmapped, 144 GrMipmapped = GrMipmapped::kNo, 156 GrMipmapped = GrMipmapped::kNo, 172 GrMipmapped, 187 GrMipmapped = GrMipmapped::kNo,
|
D | SkGr.cpp | 111 auto copy = GrSurfaceProxy::Copy(ctx, std::move(baseProxy), origin, GrMipmapped::kYes, in GrCopyBaseMipMapToTextureProxy() 129 static GrMipmapped adjust_mipmapped(GrMipmapped mipmapped, in adjust_mipmapped() 133 return GrMipmapped::kNo; in adjust_mipmapped() 149 GrMipmapped mipmapped, in make_bmp_proxy() 164 SkASSERT(!proxy || mipmapped == GrMipmapped::kNo || proxy->mipmapped() == GrMipmapped::kYes); in make_bmp_proxy() 171 GrMipmapped mipmapped) { in GrMakeCachedBitmapProxyView() 204 SkASSERT(mipmapped == GrMipmapped::kNo || proxy->mipmapped() == GrMipmapped::kYes); in GrMakeCachedBitmapProxyView() 209 if (mipmapped == GrMipmapped::kNo || proxy->mipmapped() == GrMipmapped::kYes) { in GrMakeCachedBitmapProxyView() 237 GrMipmapped mipmapped, in GrMakeUncachedBitmapProxyView() 248 SkASSERT(mipmapped == GrMipmapped::kNo || proxy->mipmapped() == GrMipmapped::kYes); in GrMakeUncachedBitmapProxyView() [all …]
|
D | GrAttachment.h | 40 GrMipmapped mipmapped() const { return fMipmapped; } in mipmapped() 55 GrMipmapped mipmapped, 67 GrMipmapped mipmapped, 74 GrMipmapped mipmapped, GrProtected isProtected, 99 GrMipmapped fMipmapped;
|
D | GrYUVATextureProxies.cpp | 53 fMipmapped = GrMipmapped::kYes; in GrYUVATextureProxies() 61 if (proxies[i]->asTextureProxy()->mipmapped() == GrMipmapped::kNo) { in GrYUVATextureProxies() 62 fMipmapped = GrMipmapped::kNo; in GrYUVATextureProxies() 80 fMipmapped = GrMipmapped::kYes; in GrYUVATextureProxies() 90 if (views[i].proxy()->asTextureProxy()->mipmapped() == GrMipmapped::kNo) { in GrYUVATextureProxies() 91 fMipmapped = GrMipmapped::kNo; in GrYUVATextureProxies()
|
D | GrGpu.cpp | 112 GrMipmapped mipMapped = mipLevelCount > 1 ? GrMipmapped::kYes : GrMipmapped::kNo; in createTextureCommon() 157 GrMipmapped mipMapped, in createTexture() 161 if (mipMapped == GrMipmapped::kYes) { in createTexture() 176 if (tex && mipMapped == GrMipmapped::kYes && levelClearMask) { in createTexture() 254 GrMipmapped mipMapped, in createCompressedTexture() 280 mipMapped == GrMipmapped::kYes)) { in createCompressedTexture() 583 SkASSERT(texture->mipmapped() == GrMipmapped::kYes); in regenerateMipMapLevels() 807 GrMipmapped mipMapped, in CompressedDataIsCorrect() 813 mipMapped == GrMipmapped::kYes); in CompressedDataIsCorrect() 820 GrMipmapped mipMapped, in createBackendTexture() [all …]
|
D | GrResourceProvider.cpp | 51 GrMipmapped mipmapped, in createTexture() 61 if (mipmapped == GrMipmapped::kYes) { in createTexture() 118 GrMipmapped mipmapped, in getExactScratch() 155 GrMipmapped::kNo, textureType)) { in createTexture() 173 GrMipmapped::kNo, in createTexture() 182 GrMipmapped mipmapped, in createCompressedTexture() 198 GrMipmapped mipmapped, in createTexture() 285 GrMipmapped::kNo, textureType)) { in createApproxTexture() 292 renderTargetSampleCnt, GrMipmapped::kNo, in createApproxTexture() 302 GrMipmapped::kNo, in createApproxTexture() [all …]
|
D | GrProxyProvider.h | 79 GrMipmapped, 90 GrMipmapped, 102 GrMipmapped, 150 GrMipmapped fMipmapped; 162 GrMipmapped); 177 GrMipmapped,
|
D | GrProxyProvider.cpp | 173 GrMipmapped::kNo, in testingOnly_createInstantiatedProxy() 285 GrMipmapped mipMapped, in createProxyFromBitmap() 289 SkASSERT(fit == SkBackingFit::kExact || mipMapped == GrMipmapped::kNo); in createProxyFromBitmap() 300 GrMipmapped::kYes == mipMapped ? "MipMap " : "", in createProxyFromBitmap() 316 if (mipMapped == GrMipmapped::kNo || in createProxyFromBitmap() 353 SkASSERT(desc.fMipmapped == GrMipmapped::kNo); in createNonMippedProxyFromBitmap() 368 format, dims, GrMipmapped::kNo, GrMipmapStatus::kNotAllocated, in createNonMippedProxyFromBitmap() 424 format, dims, GrMipmapped::kYes, GrMipmapStatus::kValid, GrInternalSurfaceFlags::kNone, in createMippedProxyFromBitmap() 440 GrMipmapped mipMapped, in createProxy() 458 if (GrMipmapped::kYes == mipMapped) { in createProxy() [all …]
|
D | GrBackendTextureImageGenerator.cpp | 99 GrMipmapped mipMapped, in onGenerateTexture() 158 GrMipmapped textureIsMipMapped = fBackendTexture.hasMipmaps() ? GrMipmapped::kYes in onGenerateTexture() 159 : GrMipmapped::kNo; in onGenerateTexture() 221 (mipMapped == GrMipmapped::kNo || proxy->mipmapped() == GrMipmapped::kYes)) { in onGenerateTexture()
|
D | GrProgramInfo.cpp | 33 this->pipeline().visitProxies([](GrSurfaceProxy* proxy, GrMipmapped) { in checkAllInstantiated() argument 45 if (te.samplerState().mipmapped() == GrMipmapped::kYes && in checkMSAAAndMIPSAreResolved() 49 SkASSERT(tex->mipmapped() != GrMipmapped::kYes || !tex->mipmapsAreDirty()); in checkMSAAAndMIPSAreResolved()
|
/third_party/skia/bench/ |
D | CreateBackendTextureBench.cpp | 16 GrMipmapped fMipmapped; 19 CreateBackendTextureBench(GrMipmapped mipMapped) : fMipmapped(mipMapped) { in CreateBackendTextureBench() 20 fName.printf("create_backend_texture%s", mipMapped == GrMipmapped::kYes ? "_mipped" : ""); in CreateBackendTextureBench() 56 DEF_BENCH(return new CreateBackendTextureBench(GrMipmapped::kNo);) 57 DEF_BENCH(return new CreateBackendTextureBench(GrMipmapped::kYes);)
|
/third_party/skia/gm/ |
D | exoticformats.cpp | 28 GrMipmapped fMipmapped; 119 imageInfo->fMipmapped = GrMipmapped::kNo; in load_ktx() 125 imageInfo->fMipmapped = GrMipmapped::kYes; in load_ktx() 137 imageInfo->fMipmapped == GrMipmapped::kYes); in load_ktx() 260 imageInfo->fMipmapped = GrMipmapped::kNo; in load_dds() 266 imageInfo->fMipmapped = GrMipmapped::kYes; in load_dds() 270 imageInfo->fMipmapped = GrMipmapped::kNo; in load_dds() 291 imageInfo->fMipmapped == GrMipmapped::kYes); in load_dds() 350 SkASSERT(info.fMipmapped == GrMipmapped::kNo); in loadImages() 365 SkASSERT(info.fMipmapped == GrMipmapped::kNo); in loadImages()
|
/third_party/skia/tools/fiddle/ |
D | fiddle_main.h | 42 GrMipmapped mipMapping, in DrawOptions() 46 GrMipmapped offScreenMipMapping) in DrawOptions() 77 GrMipmapped fMipMapping; 84 GrMipmapped fOffScreenMipMapping; // only applicable if the offscreen is also textureable
|
/third_party/skia/src/image/ |
D | SkImage_Gpu.cpp | 123 inline GrMipmapped SkImage_Gpu::ProxyChooser::mipmapped() const { in mipmapped() 125 GrMipmapped mipmapped = fStableProxy->asTextureProxy()->mipmapped(); in mipmapped() 194 GrMipmapped mm = volatileSrc.proxy()->asTextureProxy()->mipmapped(); in MakeWithVolatileSrc() 231 bool SkImage_Gpu::onHasMipmaps() const { return fChooser.mipmapped() == GrMipmapped::kYes; } in onHasMipmaps() 307 auto [view, _] = this->asView(dContext, GrMipmapped(this->hasMipmaps())); in onMakeColorTypeAndColorSpace() 501 GrMipmapped mipMapped, in MakeTextureFromCompressed() 536 GrMipmapped mipmapped, in makeTextureImage() 542 mipmapped = GrMipmapped::kNo; in makeTextureImage() 550 if (this->isTextureBacked() && (mipmapped == GrMipmapped::kNo || this->hasMipmaps())) { in makeTextureImage() 563 SkASSERT(mipmapped == GrMipmapped::kNo || in makeTextureImage() [all …]
|
/third_party/skia/src/core/ |
D | SkPictureImageGenerator.cpp | 28 GrMipmapped, GrImageTexGenPolicy) override; 100 GrMipmapped mipmapped, in onGenerateTexture() 110 &props, mipmapped == GrMipmapped::kYes); in onGenerateTexture() 125 SkASSERT(mipmapped == GrMipmapped::kNo || in onGenerateTexture() 126 view.asTextureProxy()->mipmapped() == GrMipmapped::kYes); in onGenerateTexture()
|
/third_party/skia/include/gpu/ |
D | GrYUVABackendTextures.h | 36 GrMipmapped, 50 GrMipmapped mipmapped() const { return fMipmapped; } in mipmapped() 75 GrMipmapped fMipmapped = GrMipmapped::kNo;
|