Home
last modified time | relevance | path

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

123

/external/skqp/tests/
DGrMipMappedTest.cpp42 for (auto mipMapped : {GrMipMapped::kNo, GrMipMapped::kYes}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
48 nullptr, kSize, kSize, kRGBA_8888_GrPixelConfig, isRT, mipMapped); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
87 if (GrMipMapped::kYes == mipMapped) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
88 REPORTER_ASSERT(reporter, GrMipMapped::kYes == texture->texturePriv().mipMapped()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
95 REPORTER_ASSERT(reporter, GrMipMapped::kNo == texture->texturePriv().mipMapped()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
111 for (auto mipMapped : {GrMipMapped::kNo, GrMipMapped::kYes}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
114 nullptr, kSize, kSize, kRGBA_8888_GrPixelConfig, false, mipMapped); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
183 if (willUseMips && GrMipMapped::kNo == mipMapped) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
192 if (willUseMips && GrMipMapped::kNo == mipMapped) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
226 GrMipMapped mipMapped = willUseMips ? GrMipMapped::kYes : GrMipMapped::kNo; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
[all …]
/external/skia/tests/
DGrMipMappedTest.cpp42 for (auto mipMapped : {GrMipMapped::kNo, GrMipMapped::kYes}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
48 nullptr, kSize, kSize, kRGBA_8888_GrPixelConfig, isRT, mipMapped); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
87 if (GrMipMapped::kYes == mipMapped) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
88 REPORTER_ASSERT(reporter, GrMipMapped::kYes == texture->texturePriv().mipMapped()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
95 REPORTER_ASSERT(reporter, GrMipMapped::kNo == texture->texturePriv().mipMapped()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
111 for (auto mipMapped : {GrMipMapped::kNo, GrMipMapped::kYes}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
114 nullptr, kSize, kSize, kRGBA_8888_GrPixelConfig, false, mipMapped); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
185 if (willUseMips && GrMipMapped::kNo == mipMapped) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
194 if (willUseMips && GrMipMapped::kNo == mipMapped) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
233 GrMipMapped mipMapped = willUseMips ? GrMipMapped::kYes : GrMipMapped::kNo; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
[all …]
/external/skia/src/gpu/
DGrTextureProxy.cpp18 GrTextureProxy::GrTextureProxy(const GrSurfaceDesc& srcDesc, GrMipMapped mipMapped, in GrTextureProxy() argument
22 , fMipMapped(mipMapped) in GrTextureProxy()
30 const GrSurfaceDesc& desc, GrMipMapped mipMapped, SkBackingFit fit, in GrTextureProxy() argument
33 , fMipMapped(mipMapped) in GrTextureProxy()
41 , fMipMapped(fTarget->asTexture()->texturePriv().mipMapped()) in GrTextureProxy()
119 GrMipMapped GrTextureProxy::mipMapped() const { in mipMapped() function in GrTextureProxy
121 return this->priv().peekTexture()->texturePriv().mipMapped(); in mipMapped()
158 GrMipMapped::kYes == surface->asTexture()->texturePriv().mipMapped()); in validateLazySurface()
DGrTextureRenderTargetProxy.cpp22 GrMipMapped mipMapped, in GrTextureRenderTargetProxy() argument
28 , GrTextureProxy(desc, mipMapped, fit, budgeted, nullptr, 0, flags) in GrTextureRenderTargetProxy()
36 GrMipMapped mipMapped, in GrTextureRenderTargetProxy() argument
44 , GrTextureProxy(LazyInstantiateCallback(), lazyType, desc, mipMapped, fit, budgeted, flags) in GrTextureRenderTargetProxy()
83 kFlags, this->mipMapped(), key.isValid() ? &key : nullptr)) { in instantiate()
102 this->mipMapped()); in createSurface()
117 GrMipMapped::kYes == surface->asTexture()->texturePriv().mipMapped()); in validateLazySurface()
DGrSurfaceProxy.cpp117 GrSurfaceFlags flags, GrMipMapped mipMapped) const { in createSurfaceImpl()
132 if (GrMipMapped::kYes == mipMapped) { in createSurfaceImpl()
152 SkASSERT(GrMipMapped::kYes == surface->asTexture()->texturePriv().mipMapped()); in createSurfaceImpl()
185 bool needsStencil, GrSurfaceFlags flags, GrMipMapped mipMapped, in instantiateImpl() argument
196 flags, mipMapped); in instantiateImpl()
227 GrMipMapped mipMapped = GrMipMapped::kNo; in computeScratchKey() local
229 mipMapped = tp->mipMapped(); in computeScratchKey()
236 mipMapped, key); in computeScratchKey()
294 GrMipMapped mipMapped, in Copy() argument
318 dstDesc, mipMapped, SkBackingFit::kExact, budgeted, std::move(colorSpace))); in Copy()
[all …]
DGrTexture.cpp40 this->texturePriv().mipMapped(), false); in onGpuMemorySize()
87 this->texturePriv().mipMapped(), key); in computeScratchKey()
92 GrMipMapped mipMapped, GrScratchKey* key) { in ComputeScratchKey() argument
105 SkASSERT(static_cast<int>(mipMapped) <= 1); in ComputeScratchKey()
110 builder[2] = config | (static_cast<uint8_t>(mipMapped) << 5) | (sampleCnt << 6) | (flags << 14); in ComputeScratchKey()
DGrBackendSurface.cpp87 GrMipMapped mipMapped, in GrBackendTexture() argument
92 , fMipMapped(mipMapped) in GrBackendTexture()
98 GrMipMapped mipMapped, in GrBackendTexture() argument
103 , fMipMapped(mipMapped) in GrBackendTexture()
116 GrMipMapped mipMapped, in GrBackendTexture() argument
121 , fMipMapped(mipMapped) in GrBackendTexture()
DGrProxyProvider.cpp367 GrMipMapped mipMapped, in createProxy() argument
373 if (GrMipMapped::kYes == mipMapped) { in createProxy()
377 mipMapped = GrMipMapped::kNo; in createProxy()
381 if (!this->caps()->validateSurfaceDesc(desc, mipMapped)) { in createProxy()
394 new GrTextureRenderTargetProxy(*this->caps(), copyDesc, mipMapped, fit, budgeted, in createProxy()
398 return sk_sp<GrTextureProxy>(new GrTextureProxy(copyDesc, mipMapped, fit, budgeted, nullptr, 0, in createProxy()
417 GrMipMapped mipMapped = backendTex.hasMipMaps() ? GrMipMapped::kYes : GrMipMapped::kNo; in createWrappedTextureProxy() local
448 }, desc, mipMapped, SkBackingFit::kExact, SkBudgeted::kNo); in createWrappedTextureProxy()
479 GrMipMapped mipMapped = backendTex.hasMipMaps() ? GrMipMapped::kYes : GrMipMapped::kNo; in createWrappedTextureProxy() local
505 }, desc, mipMapped, renderTargetFlags, SkBackingFit::kExact, SkBudgeted::kNo); in createWrappedTextureProxy()
[all …]
DGrBackendTextureImageGenerator.cpp129 GrMipMapped mipMapped = fBackendTexture.hasMipMaps() ? GrMipMapped::kYes : GrMipMapped::kNo; in onGenerateTexture() local
175 }, desc, mipMapped, SkBackingFit::kExact, SkBudgeted::kNo); in onGenerateTexture()
179 (!willNeedMipMaps || GrMipMapped::kYes == proxy->mipMapped())) { in onGenerateTexture()
186 GrMipMapped mipMapped = willNeedMipMaps ? GrMipMapped::kYes : GrMipMapped::kNo; in onGenerateTexture() local
194 std::move(colorSpace), 1, mipMapped, proxy->origin(), nullptr, SkBudgeted::kYes)); in onGenerateTexture()
DGrBitmapTextureMaker.cpp45 if (proxy && (!willBeMipped || GrMipMapped::kYes == proxy->mipMapped())) { in refOriginalTextureProxy()
61 if (!willBeMipped || GrMipMapped::kYes == proxy->mipMapped()) { in refOriginalTextureProxy()
73 SkASSERT(GrMipMapped::kNo == proxy->mipMapped()); in refOriginalTextureProxy()
DGrAHardwareBufferImageGenerator.cpp112 if (!willNeedMipMaps || GrMipMapped::kYes == proxy->mipMapped()) { in onGenerateTexture()
120 GrMipMapped mipMapped = willNeedMipMaps ? GrMipMapped::kYes : GrMipMapped::kNo; in onGenerateTexture() local
122 sk_sp<GrTextureProxy> texProxy = GrSurfaceProxy::Copy(context, proxy.get(), mipMapped, in onGenerateTexture()
129 SkASSERT(GrMipMapped::kYes == texProxy->mipMapped()); in onGenerateTexture()
DGrTextureMaker.cpp54 if (cachedProxy && (!willBeMipped || GrMipMapped::kYes == cachedProxy->mipMapped())) { in onRefTextureProxyForParams()
82 SkASSERT(GrMipMapped::kYes == result->mipMapped() && in onRefTextureProxyForParams()
83 GrMipMapped::kNo == cachedProxy->mipMapped()); in onRefTextureProxyForParams()
/external/skqp/src/gpu/
DGrSurfaceProxy.cpp116 GrSurfaceFlags flags, GrMipMapped mipMapped, in createSurfaceImpl() argument
119 SkASSERT(GrMipMapped::kNo == mipMapped); in createSurfaceImpl()
163 bool needsStencil, GrSurfaceFlags flags, GrMipMapped mipMapped, in instantiateImpl() argument
175 flags, mipMapped, mipColorMode); in instantiateImpl()
199 GrMipMapped mipMapped = GrMipMapped::kNo; in computeScratchKey() local
201 mipMapped = tp->mipMapped(); in computeScratchKey()
208 mipMapped, key); in computeScratchKey()
266 GrMipMapped mipMapped, in Copy() argument
282 mipMapped, in Copy()
297 GrMipMapped mipMapped, SkBudgeted budgeted) { in Copy() argument
[all …]
DGrTextureRenderTargetProxy.cpp32 GrMipMapped mipMapped, in GrTextureRenderTargetProxy() argument
39 , GrTextureProxy(LazyInstantiateCallback(), desc, mipMapped, fit, budgeted, flags) in GrTextureRenderTargetProxy()
64 colorSamplesPerPixel, this->mipMapped(), !this->priv().isExact()); in onUninstantiatedGpuMemorySize()
76 kFlags, this->mipMapped(), this->mipColorMode(), in instantiate()
96 this->mipMapped(), this->mipColorMode()); in createSurface()
110 SkASSERT(GrMipMapped::kNo == this->mipMapped()); in validateLazyTexture()
DGrBackendSurface.cpp38 GrMipMapped mipMapped, in GrBackendTexture() argument
43 , fMipMapped(mipMapped) in GrBackendTexture()
49 GrMipMapped mipMapped, in GrBackendTexture() argument
54 , fMipMapped(mipMapped) in GrBackendTexture()
67 GrMipMapped mipMapped, in GrBackendTexture() argument
72 , fMipMapped(mipMapped) in GrBackendTexture()
DGrTexture.cpp40 this->texturePriv().mipMapped(), false); in onGpuMemorySize()
87 this->texturePriv().mipMapped(), key); in computeScratchKey()
92 GrMipMapped mipMapped, GrScratchKey* key) { in ComputeScratchKey() argument
105 SkASSERT(static_cast<int>(mipMapped) <= 1); in ComputeScratchKey()
110 builder[2] = config | (static_cast<uint8_t>(mipMapped) << 5) | (sampleCnt << 6) | (flags << 14); in ComputeScratchKey()
DGrBackendTextureImageGenerator.cpp129 GrMipMapped mipMapped = fBackendTexture.hasMipMaps() ? GrMipMapped::kYes : GrMipMapped::kNo; in onGenerateTexture() local
175 }, desc, mipMapped, SkBackingFit::kExact, SkBudgeted::kNo); in onGenerateTexture()
179 (!willNeedMipMaps || GrMipMapped::kYes == proxy->mipMapped())) { in onGenerateTexture()
186 GrMipMapped mipMapped = willNeedMipMaps ? GrMipMapped::kYes : GrMipMapped::kNo; in onGenerateTexture() local
190 mipMapped, proxy->origin(), nullptr, SkBudgeted::kYes)); in onGenerateTexture()
DGrTextureProxy.cpp30 GrMipMapped mipMapped, SkBackingFit fit, SkBudgeted budgeted, in GrTextureProxy() argument
33 , fMipMapped(mipMapped) in GrTextureProxy()
42 , fMipMapped(fTarget->asTexture()->texturePriv().mipMapped()) in GrTextureProxy()
130 this->mipMapped(), !this->priv().isExact()); in onUninstantiatedGpuMemorySize()
DGrBitmapTextureMaker.cpp45 if (proxy && (!willBeMipped || GrMipMapped::kYes == proxy->mipMapped())) { in refOriginalTextureProxy()
61 if (!willBeMipped || GrMipMapped::kYes == proxy->mipMapped()) { in refOriginalTextureProxy()
73 SkASSERT(GrMipMapped::kNo == proxy->mipMapped()); in refOriginalTextureProxy()
DGrAHardwareBufferImageGenerator.cpp112 if (!willNeedMipMaps || GrMipMapped::kYes == proxy->mipMapped()) { in onGenerateTexture()
120 GrMipMapped mipMapped = willNeedMipMaps ? GrMipMapped::kYes : GrMipMapped::kNo; in onGenerateTexture() local
122 sk_sp<GrTextureProxy> texProxy = GrSurfaceProxy::Copy(context, proxy.get(), mipMapped, in onGenerateTexture()
129 SkASSERT(GrMipMapped::kYes == texProxy->mipMapped()); in onGenerateTexture()
DGrTextureMaker.cpp54 if (cachedProxy && (!willBeMipped || GrMipMapped::kYes == cachedProxy->mipMapped())) { in refTextureProxyForParams()
82 SkASSERT(GrMipMapped::kYes == result->mipMapped() && in refTextureProxyForParams()
83 GrMipMapped::kNo == cachedProxy->mipMapped()); in refTextureProxyForParams()
/external/skia/tools/gpu/
DGrTest.cpp58 GrPixelConfig config, GrMipMapped mipMapped, in CreateBackendTexture() argument
64 SkASSERT((GrMipMapped::kYes == mipMapped) == (vkInfo->fLevelCount > 1)); in CreateBackendTexture()
71 return GrBackendTexture(width, height, mipMapped, *glInfo); in CreateBackendTexture()
75 return GrBackendTexture(width, height, config, mipMapped, *mockInfo); in CreateBackendTexture()
191 GrMipMapped mipMapped) { in createTestingOnlyBackendTexture() argument
196 return this->createTestingOnlyBackendTexture(pixels, w, h, config, isRenderTarget, mipMapped); in createTestingOnlyBackendTexture()
/external/skia/src/gpu/mock/
DGrMockTexture.h30 this->texturePriv().mipMapped(), fInfo); in getBackendTexture()
100 this->texturePriv().mipMapped()); in onGpuMemorySize()
106 this->texturePriv().mipMapped(), key); in computeScratchKey()
/external/skqp/src/gpu/mock/
DGrMockTexture.h30 this->texturePriv().mipMapped(), fInfo); in getBackendTexture()
100 this->texturePriv().mipMapped()); in onGpuMemorySize()
106 this->texturePriv().mipMapped(), key); in computeScratchKey()
/external/skia/src/image/
DSkSurface_Gpu.cpp112 srcProxy = GrSurfaceProxy::Copy(ctx, rtc->asSurfaceProxy(), rtc->mipMapped(), budgeted); in onNewImageSnapshot()
174 bool mipmapped = rtc->asTextureProxy() ? GrMipMapped::kYes == rtc->asTextureProxy()->mipMapped() in onCharacterize()
210 if (data.isMipMapped() && GrMipMapped::kNo == rtc->asTextureProxy()->mipMapped()) { in isCompatible()
289 GrMipMapped mipMapped = shouldCreateWithMips ? GrMipMapped::kYes : GrMipMapped::kNo; in MakeRenderTarget() local
292 mipMapped = GrMipMapped::kNo; in MakeRenderTarget()
296 ctx, budgeted, info, sampleCount, origin, props, mipMapped, in MakeRenderTarget()

123