Home
last modified time | relevance | path

Searched refs:mipMapped (Results 1 – 25 of 108) sorted by relevance

12345

/external/skia/tests/
DCompressedBackendAllocationTest.cpp59 GrMipmapped mipMapped, in check_compressed_mipmaps() argument
82 if (mipMapped == GrMipmapped::kYes) { in check_compressed_mipmaps()
148 GrMipmapped mipMapped) { in test_compressed_color_init() argument
149 GrBackendTexture backendTex = create(dContext, color, mipMapped); in test_compressed_color_init()
161 check_compressed_mipmaps(dContext, img, compression, expectedColors, mipMapped, in test_compressed_color_init()
177 check_compressed_mipmaps(dContext, img, compression, expectedNewColors, mipMapped, reporter, in test_compressed_color_init()
187 GrMipmapped mipMapped) { in make_compressed_data() argument
191 if (mipMapped == GrMipmapped::kYes) { in make_compressed_data()
198 mipMapped == GrMipmapped::kYes); in make_compressed_data()
222 GrMipmapped mipMapped) { in test_compressed_data_init() argument
[all …]
DMtlBackendAllocationTest.mm101 for (auto mipMapped : { GrMipmapped::kNo, GrMipmapped::kYes }) {
102 if (GrMipmapped::kYes == mipMapped && !mtlCaps->mipmapSupport()) {
119 GrMipmapped mipMapped,
124 mipMapped,
129 test_wrapping(dContext, reporter, uninitCreateMtd, combo.fColorType, mipMapped,
159 GrMipmapped mipMapped,
166 mipMapped,
171 combo.fColor, mipMapped, renderable);
DBackendAllocationTest.cpp45 GrMipmapped mipMapped, in test_wrapping() argument
51 sk_sp<ManagedBackendTexture> mbet = create(dContext, mipMapped, renderable); in test_wrapping()
110 REPORTER_ASSERT(reporter, mipMapped == proxy->proxyMipmapped()); in test_wrapping()
112 REPORTER_ASSERT(reporter, mipMapped == proxy->mipmapped()); in test_wrapping()
825 for (auto mipMapped : {GrMipmapped::kNo, GrMipmapped::kYes}) { in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
826 if (GrMipmapped::kYes == mipMapped && in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
840 GrMipmapped mipMapped, in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
845 mipMapped, in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
851 mipMapped, renderable); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
891 combo.fColor, mipMapped, renderable); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
[all …]
/external/skqp/tests/
DGrMipMappedTest.cpp39 for (auto mipMapped : {GrMipMapped::kNo, GrMipMapped::kYes}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
45 nullptr, kSize, kSize, GrColorType::kRGBA_8888, isRT, mipMapped); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
84 if (GrMipMapped::kYes == mipMapped) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
85 REPORTER_ASSERT(reporter, GrMipMapped::kYes == texture->texturePriv().mipMapped()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
92 REPORTER_ASSERT(reporter, GrMipMapped::kNo == texture->texturePriv().mipMapped()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
108 for (auto mipMapped : {GrMipMapped::kNo, GrMipMapped::kYes}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
111 nullptr, kSize, kSize, GrColorType::kRGBA_8888, false, mipMapped); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
182 if (willUseMips && GrMipMapped::kNo == mipMapped) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
197 if (willUseMips && GrMipMapped::kNo == mipMapped) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
234 GrMipMapped mipMapped = willUseMips ? GrMipMapped::kYes : GrMipMapped::kNo; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
[all …]
/external/skqp/src/gpu/
DGrTextureProxy.cpp20 GrMipMapped mipMapped, SkBackingFit fit, SkBudgeted budgeted, in GrTextureProxy() argument
24 , fMipMapped(mipMapped) in GrTextureProxy()
32 GrSurfaceOrigin origin, GrMipMapped mipMapped, in GrTextureProxy() argument
36 , fMipMapped(mipMapped) in GrTextureProxy()
43 GrSurfaceOrigin origin, GrMipMapped mipMapped, SkBackingFit fit, in GrTextureProxy() argument
47 , fMipMapped(mipMapped) in GrTextureProxy()
54 , fMipMapped(fTarget->asTexture()->texturePriv().mipMapped()) in GrTextureProxy()
130 GrMipMapped GrTextureProxy::mipMapped() const { in mipMapped() function in GrTextureProxy
132 return this->peekTexture()->texturePriv().mipMapped(); in mipMapped()
176 GrMipMapped::kYes == surface->asTexture()->texturePriv().mipMapped()); in onValidateSurface()
DGrTextureRenderTargetProxy.cpp25 GrMipMapped mipMapped, in GrTextureRenderTargetProxy() argument
32 , GrTextureProxy(format, desc, origin, mipMapped, fit, budgeted, surfaceFlags) {} in GrTextureRenderTargetProxy()
40 GrMipMapped mipMapped, in GrTextureRenderTargetProxy() argument
50 , GrTextureProxy(LazyInstantiateCallback(), lazyType, format, desc, origin, mipMapped, in GrTextureRenderTargetProxy()
87 kDescFlags, this->mipMapped(), key.isValid() ? &key : nullptr)) { in instantiate()
106 this->mipMapped()); in createSurface()
121 GrMipMapped::kYes == surface->asTexture()->texturePriv().mipMapped()); in onValidateSurface()
DGrSurfaceProxy.cpp133 GrMipMapped mipMapped) const { in createSurfaceImpl()
155 if (GrMipMapped::kYes == mipMapped) { in createSurfaceImpl()
174 SkASSERT(GrMipMapped::kYes == surface->asTexture()->texturePriv().mipMapped()); in createSurfaceImpl()
229 GrMipMapped mipMapped, const GrUniqueKey* uniqueKey) { in instantiateImpl() argument
239 descFlags, mipMapped); in instantiateImpl()
270 GrMipMapped mipMapped = GrMipMapped::kNo; in computeScratchKey() local
272 mipMapped = tp->mipMapped(); in computeScratchKey()
279 mipMapped, key); in computeScratchKey()
337 GrMipMapped mipMapped, in Copy() argument
357 format, dstDesc, src->origin(), mipMapped, fit, budgeted)); in Copy()
[all …]
DGrTexture.cpp35 this->texturePriv().mipMapped(), false); in onGpuMemorySize()
88 this->texturePriv().mipMapped(), key); in computeScratchKey()
94 GrMipMapped mipMapped, GrScratchKey* key) { in ComputeScratchKey() argument
107 SkASSERT(static_cast<int>(mipMapped) <= 1); in ComputeScratchKey()
112 builder[2] = config | (static_cast<uint8_t>(mipMapped) << 5) | (sampleCnt << 6) | (flags << 14); in ComputeScratchKey()
DGrBackendTextureImageGenerator.cpp134 GrMipMapped mipMapped = fBackendTexture.hasMipMaps() ? GrMipMapped::kYes : GrMipMapped::kNo; in onGenerateTexture() local
185 format, desc, fSurfaceOrigin, mipMapped, GrInternalSurfaceFlags::kReadOnly, in onGenerateTexture()
194 (!willNeedMipMaps || GrMipMapped::kYes == proxy->mipMapped())) { in onGenerateTexture()
201 GrMipMapped mipMapped = willNeedMipMaps ? GrMipMapped::kYes : GrMipMapped::kNo; in onGenerateTexture() local
211 proxy->config(), nullptr, 1, mipMapped, proxy->origin(), nullptr, in onGenerateTexture()
DGrProxyProvider.cpp382 GrMipMapped mipMapped, in createProxy() argument
386 if (GrMipMapped::kYes == mipMapped) { in createProxy()
390 mipMapped = GrMipMapped::kNo; in createProxy()
394 if (!this->caps()->validateSurfaceDesc(desc, mipMapped)) { in createProxy()
407 origin, mipMapped, in createProxy()
411 return sk_sp<GrTextureProxy>(new GrTextureProxy(format, copyDesc, origin, mipMapped, in createProxy()
598 GrMipMapped mipMapped, in createLazyProxy() argument
601 return this->createLazyProxy(std::move(callback), format, desc, origin, mipMapped, in createLazyProxy()
609 GrMipMapped mipMapped, in createLazyProxy() argument
616 return this->createLazyProxy(std::move(callback), format, desc, origin, mipMapped, surfaceFlags, in createLazyProxy()
[all …]
DGrBitmapTextureMaker.cpp44 if (proxy && (!willBeMipped || GrMipMapped::kYes == proxy->mipMapped())) { in refOriginalTextureProxy()
60 if (!willBeMipped || GrMipMapped::kYes == proxy->mipMapped()) { in refOriginalTextureProxy()
73 SkASSERT(GrMipMapped::kNo == proxy->mipMapped()); in refOriginalTextureProxy()
/external/skia/src/gpu/
DGrSurfaceProxy.cpp110 GrMipmapped mipMapped) const { in createSurfaceImpl()
111 SkASSERT(mipMapped == GrMipmapped::kNo || fFit == SkBackingFit::kExact); in createSurfaceImpl()
121 mipMapped, fBudgeted, fIsProtected); in createSurfaceImpl()
168 GrRenderable renderable, GrMipmapped mipMapped, in instantiateImpl() argument
179 mipMapped); in instantiateImpl()
210 GrMipmapped mipMapped = GrMipmapped::kNo; in computeScratchKey() local
212 mipMapped = tp->mipmapped(); in computeScratchKey()
216 renderable, sampleCount, mipMapped, fIsProtected, key); in computeScratchKey()
252 GrMipmapped mipMapped, in Copy() argument
288 mipMapped, in Copy()
[all …]
DGrDirectContext.cpp457 GrMipmapped mipMapped, in createBackendTexture() argument
466 mipMapped, isProtected); in createBackendTexture()
471 GrMipmapped mipMapped, in createBackendTexture() argument
480 return this->createBackendTexture(width, height, format, mipMapped, renderable, isProtected); in createBackendTexture()
486 GrMipmapped mipMapped, in create_and_clear_backend_texture() argument
493 mipMapped, isProtected); in create_and_clear_backend_texture()
552 GrMipmapped mipMapped, in createBackendTexture() argument
567 mipMapped, in createBackendTexture()
577 GrMipmapped mipMapped, in createBackendTexture() argument
599 mipMapped, in createBackendTexture()
[all …]
DGrGpu.cpp113 GrMipmapped mipMapped = mipLevelCount > 1 ? GrMipmapped::kYes : GrMipmapped::kNo; in createTextureCommon() local
115 mipMapped)) { in createTextureCommon()
153 GrMipmapped mipMapped, in createTexture() argument
157 if (mipMapped == GrMipmapped::kYes) { in createTexture()
165 if (tex && mipMapped == GrMipmapped::kYes && levelClearMask) { in createTexture()
231 GrMipmapped mipMapped, in createCompressedTexture() argument
253 mipMapped == GrMipmapped::kYes)) { in createCompressedTexture()
256 return this->onCreateCompressedTexture(dimensions, format, budgeted, mipMapped, isProtected, in createCompressedTexture()
760 GrMipmapped mipMapped, in CompressedDataIsCorrect() argument
766 mipMapped == GrMipmapped::kYes); in CompressedDataIsCorrect()
[all …]
DGrProxyProvider.cpp258 GrMipmapped mipMapped, in createProxyFromBitmap() argument
262 SkASSERT(fit == SkBackingFit::kExact || mipMapped == GrMipmapped::kNo); in createProxyFromBitmap()
273 GrMipmapped::kYes == mipMapped ? "MipMap " : "", in createProxyFromBitmap()
289 if (mipMapped == GrMipmapped::kNo || in createProxyFromBitmap()
397 GrMipmapped mipMapped, in createProxy() argument
415 if (GrMipmapped::kYes == mipMapped) { in createProxy()
419 mipMapped = GrMipmapped::kNo; in createProxy()
424 mipMapped)) { in createProxy()
427 GrMipmapStatus mipmapStatus = (GrMipmapped::kYes == mipMapped) in createProxy()
437 *caps, format, dimensions, renderTargetSampleCnt, mipMapped, mipmapStatus, fit, in createProxy()
[all …]
DGrSurface.cpp21 GrMipmapped mipMapped, in ComputeSize() argument
38 mipMapped == GrMipmapped::kYes); in ComputeSize()
47 if (GrMipmapped::kYes == mipMapped) { in ComputeSize()
DGrSurfaceProxyView.h93 GrMipmapped mipMapped, in Copy() argument
100 mipMapped, in Copy()
109 GrMipmapped mipMapped, in Copy() argument
115 mipMapped, in Copy()
DGrTextureRenderTargetProxy.cpp29 GrMipmapped mipMapped, in GrTextureRenderTargetProxy() argument
41 , GrTextureProxy(format, dimensions, mipMapped, mipmapStatus, fit, budgeted, isProtected, in GrTextureRenderTargetProxy()
52 GrMipmapped mipMapped, in GrTextureRenderTargetProxy() argument
67 , GrTextureProxy(LazyInstantiateCallback(), format, dimensions, mipMapped, mipmapStatus, in GrTextureRenderTargetProxy()
DGrTexture.cpp107 GrMipmapped mipMapped, in ComputeScratchKey() argument
115 SkASSERT(static_cast<uint32_t>(mipMapped) <= 1); in ComputeScratchKey()
127 builder[4] = (static_cast<uint32_t>(mipMapped) << 0) in ComputeScratchKey()
/external/skia/bench/
DCreateBackendTextureBench.cpp19 CreateBackendTextureBench(GrMipmapped mipMapped) : fMipmapped(mipMapped) { in CreateBackendTextureBench() argument
20 fName.printf("create_backend_texture%s", mipMapped == GrMipmapped::kYes ? "_mipped" : ""); in CreateBackendTextureBench()
/external/skia/tools/gpu/
DBackendSurfaceFactory.cpp22 GrMipmapped mipMapped, in MakeBackendTextureSurface() argument
32 mipMapped, in MakeBackendTextureSurface()
55 GrMipmapped mipMapped, in MakeBackendTextureSurface() argument
60 dContext, ii, origin, sampleCnt, mipMapped, isProtected, props); in MakeBackendTextureSurface()
/external/skia/src/gpu/mock/
DGrMockGpu.cpp129 GrMipmapped mipMapped, in onCreateCompressedTexture() argument
142 GrMipmapStatus mipmapStatus = (mipMapped == GrMipmapped::kYes) in onCreateCompressedTexture()
224 GrMipmapped mipMapped, in onCreateBackendTexture() argument
239 return GrBackendTexture(dimensions.width(), dimensions.height(), mipMapped, info); in onCreateBackendTexture()
243 SkISize dimensions, const GrBackendFormat& format, GrMipmapped mipMapped, in onCreateCompressedBackendTexture() argument
257 return GrBackendTexture(dimensions.width(), dimensions.height(), mipMapped, info); in onCreateCompressedBackendTexture()
/external/skqp/src/image/
DSkImage_Gpu.cpp339 GrMipMapped mipMapped) { in create_image_from_producer() argument
340 sk_sp<GrTextureProxy> proxy(producer->refTextureProxy(mipMapped)); in create_image_from_producer()
349 GrMipMapped mipMapped) const { in makeTextureImage()
359 if (GrMipMapped::kNo == mipMapped || proxy->mipMapped() == mipMapped) { in makeTextureImage()
365 this->uniqueID(), mipMapped); in makeTextureImage()
371 this->uniqueID(), mipMapped); in makeTextureImage()
377 this->uniqueID(), mipMapped); in makeTextureImage()
388 GrMipMapped mipMapped, in MakePromiseTexture() argument
427 mipMapped, textureFulfillProc, textureReleaseProc, in MakePromiseTexture()
/external/skia/src/core/
DSkCompressedDataUtils.h31 SkTArray<size_t>* individualMipOffsets, bool mipMapped);
38 SkISize dimensions, bool mipMapped);
/external/skqp/include/core/
DSkDeferredDisplayListRecorder.h128 GrMipMapped mipMapped,
143 GrMipMapped mipMapped, in makePromiseTexture() argument
152 return this->makePromiseTexture(backendFormat, width, height, mipMapped, origin, colorType, in makePromiseTexture()

12345