Home
last modified time | relevance | path

Searched refs:GrMipmapped (Results 1 – 25 of 213) sorted by relevance

123456789

/external/skia/tools/gpu/
DYUVUtils.h28 GrMipmapped = GrMipmapped::kNo,
31 GrMipmapped = GrMipmapped::kNo,
44 GrMipmapped fMipmapped;
53 bool reset(sk_sp<SkData> data, GrMipmapped, sk_sp<SkColorSpace>);
54 bool reset(SkYUVAPixmaps pixmaps, GrMipmapped, sk_sp<SkColorSpace>);
DBackendSurfaceFactory.h26 GrMipmapped = GrMipmapped::kNo,
36 GrMipmapped = GrMipmapped::kNo,
DManagedBackendTexture.h44 GrMipmapped = GrMipmapped::kNo,
50 GrMipmapped,
56 GrMipmapped,
DManagedBackendTexture.cpp64 GrMipmapped mipmapped, in MakeFromInfo()
73 GrMipmapped mipmapped, in MakeFromBitmap()
86 GrMipmapped mipmapped, in MakeFromPixmap()
92 if (mipmapped == GrMipmapped::kYes) { in MakeFromPixmap()
/external/skia/tests/
DGrMipMappedTest.cpp49 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()
197 if (requestMipmapped == GrMipmapped::kYes && betMipmapped == GrMipmapped::kNo) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
212 if (requestMipmapped == GrMipmapped::kYes && betMipmapped == GrMipmapped::kNo) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
DCompressedBackendAllocationTest.cpp59 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 …]
DBackendAllocationTest.cpp42 GrMipmapped, in test_wrapping() argument
45 GrMipmapped mipMapped, in test_wrapping()
311 GrMipmapped, in test_color_init() argument
315 GrMipmapped mipmapped, in test_color_init()
324 if (mipmapped == GrMipmapped::kYes) { in test_color_init()
441 GrMipmapped mipmapped, in make_pixmaps()
446 int numMipLevels = mipmapped == GrMipmapped::kYes ? 6 : 1; in make_pixmaps()
481 GrMipmapped mipmapped, in test_pixmap_init()
510 if (mipmapped == GrMipmapped::kYes) { in test_pixmap_init()
616 for (auto mipmapped : {GrMipmapped::kNo, GrMipmapped::kYes}) { in color_type_backend_allocation_test()
[all …]
DMtlBackendAllocationTest.mm22 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,
/external/skia/src/gpu/
DGrTextureProxy.h34 GrMipmapped mipmapped() const;
37 SkASSERT((GrMipmapped::kNo == fMipmapped) == in mipmapsAreDirty()
39 return GrMipmapped::kYes == fMipmapped && GrMipmapStatus::kValid != fMipmapStatus; in mipmapsAreDirty()
42 SkASSERT(GrMipmapped::kYes == fMipmapped); in markMipmapsDirty()
46 SkASSERT(GrMipmapped::kYes == fMipmapped); in markMipmapsClean()
52 GrMipmapped proxyMipmapped() const { return fMipmapped; } in proxyMipmapped()
113 GrMipmapped,
135 GrMipmapped,
165 GrMipmapped fMipmapped;
DGrAttachment.h40 GrMipmapped mipmapped() const { return fMipmapped; } in mipmapped()
55 GrMipmapped mipmapped,
66 GrMipmapped mipmapped,
72 GrMipmapped mipmapped, GrProtected isProtected) in GrAttachment()
94 GrMipmapped fMipmapped;
DGrYUVATextureProxies.cpp53 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()
DSkGr.cpp109 auto copy = GrSurfaceProxy::Copy(ctx, std::move(baseProxy), origin, GrMipmapped::kYes, in GrCopyBaseMipMapToTextureProxy()
127 static GrMipmapped adjust_mipmapped(GrMipmapped mipmapped, in adjust_mipmapped()
131 return GrMipmapped::kNo; in adjust_mipmapped()
147 GrMipmapped mipmapped, in make_bmp_proxy()
162 SkASSERT(!proxy || mipmapped == GrMipmapped::kNo || proxy->mipmapped() == GrMipmapped::kYes); in make_bmp_proxy()
169 GrMipmapped mipmapped) { in GrMakeCachedBitmapProxyView()
202 SkASSERT(mipmapped == GrMipmapped::kNo || proxy->mipmapped() == GrMipmapped::kYes); in GrMakeCachedBitmapProxyView()
207 if (mipmapped == GrMipmapped::kNo || proxy->mipmapped() == GrMipmapped::kYes) { in GrMakeCachedBitmapProxyView()
235 GrMipmapped mipmapped, in GrMakeUncachedBitmapProxyView()
246 SkASSERT(mipmapped == GrMipmapped::kNo || proxy->mipmapped() == GrMipmapped::kYes); in GrMakeUncachedBitmapProxyView()
DGrProxyProvider.h78 GrMipmapped,
89 GrMipmapped,
101 GrMipmapped,
149 GrMipmapped fMipmapped;
161 GrMipmapped);
176 GrMipmapped,
DGrGpu.cpp113 GrMipmapped mipMapped = mipLevelCount > 1 ? GrMipmapped::kYes : GrMipmapped::kNo; in createTextureCommon()
153 GrMipmapped mipMapped, in createTexture()
157 if (mipMapped == GrMipmapped::kYes) { in createTexture()
165 if (tex && mipMapped == GrMipmapped::kYes && levelClearMask) { in createTexture()
231 GrMipmapped mipMapped, in createCompressedTexture()
253 mipMapped == GrMipmapped::kYes)) { in createCompressedTexture()
538 SkASSERT(texture->mipmapped() == GrMipmapped::kYes); in regenerateMipMapLevels()
760 GrMipmapped mipMapped, in CompressedDataIsCorrect()
766 mipMapped == GrMipmapped::kYes); in CompressedDataIsCorrect()
773 GrMipmapped mipMapped, in createBackendTexture()
[all …]
DGrProxyProvider.cpp150 GrMipmapped::kNo, budgeted, isProtected); in testingOnly_createInstantiatedProxy()
258 GrMipmapped mipMapped, in createProxyFromBitmap()
262 SkASSERT(fit == SkBackingFit::kExact || mipMapped == GrMipmapped::kNo); in createProxyFromBitmap()
273 GrMipmapped::kYes == mipMapped ? "MipMap " : "", in createProxyFromBitmap()
289 if (mipMapped == GrMipmapped::kNo || in createProxyFromBitmap()
326 SkASSERT(desc.fMipmapped == GrMipmapped::kNo); in createNonMippedProxyFromBitmap()
333 format, dims, GrMipmapped::kNo, GrMipmapStatus::kNotAllocated, in createNonMippedProxyFromBitmap()
381 format, dims, GrMipmapped::kYes, GrMipmapStatus::kValid, GrInternalSurfaceFlags::kNone, in createMippedProxyFromBitmap()
397 GrMipmapped mipMapped, in createProxy()
415 if (GrMipmapped::kYes == mipMapped) { in createProxy()
[all …]
DGrProgramInfo.cpp32 this->pipeline().visitProxies([](GrSurfaceProxy* proxy, GrMipmapped) { in checkAllInstantiated() argument
44 if (te.samplerState().mipmapped() == GrMipmapped::kYes && in checkMSAAAndMIPSAreResolved()
48 SkASSERT(tex->mipmapped() != GrMipmapped::kYes || !tex->mipmapsAreDirty()); in checkMSAAAndMIPSAreResolved()
DGrResourceProvider.cpp49 GrMipmapped mipmapped, in createTexture()
59 if (mipmapped == GrMipmapped::kYes) { in createTexture()
97 GrMipmapped mipmapped, in getExactScratch()
129 GrMipmapped::kNo)) { in createTexture()
141 budgeted, GrMipmapped::kNo, isProtected, &mipLevel); in createTexture()
148 GrMipmapped mipmapped, in createCompressedTexture()
163 GrMipmapped mipmapped, in createTexture()
237 GrMipmapped::kNo)) { in createApproxTexture()
244 renderTargetSampleCnt, GrMipmapped::kNo, in createApproxTexture()
250 GrMipmapped::kNo, SkBudgeted::kYes, isProtected); in createApproxTexture()
[all …]
DGrSurface.cpp21 GrMipmapped mipMapped, in ComputeSize()
38 mipMapped == GrMipmapped::kYes); in ComputeSize()
47 if (GrMipmapped::kYes == mipMapped) { in ComputeSize()
DGrTexture.h50 GrMipmapped mipmapped() const { in mipmapped()
51 return GrMipmapped(fMipmapStatus != GrMipmapStatus::kNotAllocated); in mipmapped()
62 GrMipmapped,
/external/skia/bench/
DCreateBackendTextureBench.cpp16 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);)
/external/skia/tools/fiddle/
Dfiddle_main.h42 GrMipmapped mipMapping, in DrawOptions()
46 GrMipmapped offScreenMipMapping) in DrawOptions()
77 GrMipmapped fMipMapping;
84 GrMipmapped fOffScreenMipMapping; // only applicable if the offscreen is also textureable
/external/skia/gm/
Dexoticformats.cpp28 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()
/external/skia/include/gpu/
DGrYUVABackendTextures.h36 GrMipmapped,
50 GrMipmapped mipmapped() const { return fMipmapped; } in mipmapped()
75 GrMipmapped fMipmapped = GrMipmapped::kNo;
/external/skia/src/core/
DSkPictureImageGenerator.cpp29 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()
/external/skia/src/image/
DSkImage_Gpu.cpp122 inline GrMipmapped SkImage_Gpu::ProxyChooser::mipmapped() const { in mipmapped()
124 GrMipmapped mipmapped = fStableProxy->asTextureProxy()->mipmapped(); in mipmapped()
193 GrMipmapped mm = volatileSrc.proxy()->asTextureProxy()->mipmapped(); in MakeWithVolatileSrc()
230 bool SkImage_Gpu::onHasMipmaps() const { return fChooser.mipmapped() == GrMipmapped::kYes; } in onHasMipmaps()
307 auto [view, _] = this->asView(direct, GrMipmapped(this->hasMipmaps())); in onMakeColorTypeAndColorSpace()
505 GrMipmapped mipMapped, in MakeTextureFromCompressed()
537 GrMipmapped mipmapped, in makeTextureImage()
543 mipmapped = GrMipmapped::kNo; in makeTextureImage()
551 if (this->isTextureBacked() && (mipmapped == GrMipmapped::kNo || this->hasMipmaps())) { in makeTextureImage()
564 SkASSERT(mipmapped == GrMipmapped::kNo || in makeTextureImage()
[all …]

123456789