/external/skqp/tests/ |
D | GrMipMappedTest.cpp | 39 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/skia/tests/ |
D | GrMipMappedTest.cpp | 39 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/skia/src/gpu/ |
D | GrTextureProxy.cpp | 20 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()
|
D | GrRecordingContext.cpp | 168 GrMipMapped mipMapped, in makeDeferredSurfaceContext() argument 174 if (GrMipMapped::kNo == mipMapped) { in makeDeferredSurfaceContext() 201 GrMipMapped mipMapped, in makeDeferredRenderTargetContext() argument 218 if (GrMipMapped::kNo == mipMapped) { in makeDeferredRenderTargetContext() 274 GrMipMapped mipMapped, in makeDeferredRenderTargetContextWithFallback() argument 294 std::move(colorSpace), sampleCnt, mipMapped, in makeDeferredRenderTargetContextWithFallback() 326 GrMipMapped mipMapped, in makeDeferredSurfaceContext() argument 331 return fContext->makeDeferredSurfaceContext(format, dstDesc, origin, mipMapped, fit, in makeDeferredSurfaceContext() 342 GrMipMapped mipMapped, in makeDeferredRenderTargetContext() argument 347 std::move(colorSpace), sampleCnt, mipMapped, in makeDeferredRenderTargetContext() [all …]
|
D | GrTextureRenderTargetProxy.cpp | 25 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()
|
D | GrSurfaceProxy.cpp | 130 GrMipMapped mipMapped) const { in createSurfaceImpl() 152 if (GrMipMapped::kYes == mipMapped) { in createSurfaceImpl() 171 SkASSERT(GrMipMapped::kYes == surface->asTexture()->texturePriv().mipMapped()); in createSurfaceImpl() 226 GrMipMapped mipMapped, const GrUniqueKey* uniqueKey) { in instantiateImpl() argument 236 descFlags, mipMapped); in instantiateImpl() 267 GrMipMapped mipMapped = GrMipMapped::kNo; in computeScratchKey() local 269 mipMapped = tp->mipMapped(); in computeScratchKey() 276 mipMapped, key); in computeScratchKey() 334 GrMipMapped mipMapped, in Copy() argument 354 format, dstDesc, src->origin(), mipMapped, fit, budgeted)); in Copy() [all …]
|
D | GrTexture.cpp | 35 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()
|
D | GrBackendTextureImageGenerator.cpp | 137 GrMipMapped mipMapped = fBackendTexture.hasMipMaps() ? GrMipMapped::kYes : GrMipMapped::kNo; in onGenerateTexture() local 184 format, desc, fSurfaceOrigin, mipMapped, GrInternalSurfaceFlags::kReadOnly, in onGenerateTexture() 193 (!willNeedMipMaps || GrMipMapped::kYes == proxy->mipMapped())) { in onGenerateTexture() 200 GrMipMapped mipMapped = willNeedMipMaps ? GrMipMapped::kYes : GrMipMapped::kNo; in onGenerateTexture() local 210 proxy->config(), nullptr, 1, mipMapped, proxy->origin(), nullptr, in onGenerateTexture()
|
D | GrProxyProvider.cpp | 397 GrMipMapped mipMapped, in createProxy() argument 401 if (GrMipMapped::kYes == mipMapped) { in createProxy() 405 mipMapped = GrMipMapped::kNo; in createProxy() 409 if (!this->caps()->validateSurfaceDesc(desc, mipMapped)) { in createProxy() 422 origin, mipMapped, in createProxy() 426 return sk_sp<GrTextureProxy>(new GrTextureProxy(format, copyDesc, origin, mipMapped, in createProxy() 635 GrMipMapped mipMapped, in createLazyProxy() argument 638 return this->createLazyProxy(std::move(callback), format, desc, origin, mipMapped, in createLazyProxy() 646 GrMipMapped mipMapped, in createLazyProxy() argument 653 return this->createLazyProxy(std::move(callback), format, desc, origin, mipMapped, surfaceFlags, in createLazyProxy() [all …]
|
D | GrBitmapTextureMaker.cpp | 45 if (proxy && (!willBeMipped || GrMipMapped::kYes == proxy->mipMapped())) { in refOriginalTextureProxy() 61 if (!willBeMipped || GrMipMapped::kYes == proxy->mipMapped()) { in refOriginalTextureProxy() 74 SkASSERT(GrMipMapped::kNo == proxy->mipMapped()); in refOriginalTextureProxy()
|
D | GrTextureMaker.cpp | 58 if (cachedProxy && (!willBeMipped || GrMipMapped::kYes == cachedProxy->mipMapped())) { in onRefTextureProxyForParams() 92 SkASSERT(GrMipMapped::kYes == result->mipMapped() && in onRefTextureProxyForParams() 93 GrMipMapped::kNo == cachedProxy->mipMapped()); in onRefTextureProxyForParams()
|
D | GrTextureAdjuster.cpp | 49 if (cachedCopy && (!willBeMipped || GrMipMapped::kYes == cachedCopy->mipMapped())) { in refTextureProxyCopy() 62 SkASSERT(GrMipMapped::kYes == copy->mipMapped() && in refTextureProxyCopy() 63 GrMipMapped::kNo == cachedCopy->mipMapped()); in refTextureProxyCopy()
|
/external/skqp/src/gpu/ |
D | GrTextureProxy.cpp | 20 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()
|
D | GrTextureRenderTargetProxy.cpp | 25 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()
|
D | GrSurfaceProxy.cpp | 133 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 …]
|
D | GrTexture.cpp | 35 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()
|
D | GrBackendTextureImageGenerator.cpp | 134 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()
|
D | GrProxyProvider.cpp | 382 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 …]
|
D | GrBitmapTextureMaker.cpp | 44 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()
|
D | GrTextureMaker.cpp | 58 if (cachedProxy && (!willBeMipped || GrMipMapped::kYes == cachedProxy->mipMapped())) { in onRefTextureProxyForParams() 92 SkASSERT(GrMipMapped::kYes == result->mipMapped() && in onRefTextureProxyForParams() 93 GrMipMapped::kNo == cachedProxy->mipMapped()); in onRefTextureProxyForParams()
|
D | GrTextureAdjuster.cpp | 48 if (cachedCopy && (!willBeMipped || GrMipMapped::kYes == cachedCopy->mipMapped())) { in refTextureProxyCopy() 60 SkASSERT(GrMipMapped::kYes == copy->mipMapped() && in refTextureProxyCopy() 61 GrMipMapped::kNo == cachedCopy->mipMapped()); in refTextureProxyCopy()
|
/external/skqp/src/image/ |
D | SkImage_Gpu.cpp | 339 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/skqp/include/core/ |
D | SkDeferredDisplayListRecorder.h | 128 GrMipMapped mipMapped, 143 GrMipMapped mipMapped, in makePromiseTexture() argument 152 return this->makePromiseTexture(backendFormat, width, height, mipMapped, origin, colorType, in makePromiseTexture()
|
/external/skia/src/image/ |
D | SkImage_Gpu.cpp | 349 GrMipMapped mipMapped) { in create_image_from_producer() argument 350 sk_sp<GrTextureProxy> proxy(producer->refTextureProxy(mipMapped)); in create_image_from_producer() 359 GrMipMapped mipMapped) const { in makeTextureImage() 371 if (GrMipMapped::kNo == mipMapped || proxy->mipMapped() == mipMapped) { in makeTextureImage() 377 this->uniqueID(), mipMapped); in makeTextureImage() 383 this->uniqueID(), mipMapped); in makeTextureImage() 389 this->uniqueID(), mipMapped); in makeTextureImage() 400 GrMipMapped mipMapped, in MakePromiseTexture() argument 438 mipMapped, textureFulfillProc, textureReleaseProc, in MakePromiseTexture()
|
D | SkImage_Lazy.cpp | 332 SkASSERT(GrMipMapped::kYes == proxy->mipMapped() && in set_key_on_proxy() 333 GrMipMapped::kNo == originalProxy->mipMapped()); in set_key_on_proxy() 404 if (!willBeMipped || GrMipMapped::kYes == proxy->mipMapped()) { in lockTextureProxy() 421 if (!willBeMipped || GrMipMapped::kYes == proxy->mipMapped()) { in lockTextureProxy() 470 if (proxy && (!willBeMipped || GrMipMapped::kYes == proxy->mipMapped())) { in lockTextureProxy() 486 SkASSERT(GrMipMapped::kNo == proxy->mipMapped()); in lockTextureProxy()
|