/external/skqp/include/private/ |
D | GrTextureProxy.h | 37 GrMipMapped mipMapped() const; 41 GrMipMapped proxyMipMapped() const { return fMipMapped; } in proxyMipMapped() 91 GrTextureProxy(const GrBackendFormat&, const GrSurfaceDesc& srcDesc, GrMipMapped, SkBackingFit, 96 GrMipMapped, SkBackingFit, SkBudgeted, GrInternalSurfaceFlags); 109 const GrSurfaceDesc& desc, GrSurfaceOrigin, GrMipMapped, SkBackingFit, 128 GrMipMapped fMipMapped;
|
/external/skqp/tests/ |
D | GrMipMappedTest.cpp | 39 for (auto mipMapped : {GrMipMapped::kNo, GrMipMapped::kYes}) { 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() 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()
|
D | PromiseImageTest.cpp | 145 nullptr, kWidth, kHeight, GrColorType::kRGBA_8888, true, GrMipMapped::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 156 GrMipMapped::kNo, texOrigin, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 301 nullptr, kWidth, kHeight, GrColorType::kRGBA_8888, true, GrMipMapped::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 312 GrMipMapped::kNo, texOrigin, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 424 nullptr, kWidth, kHeight, GrColorType::kRGBA_8888, false, GrMipMapped::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 426 nullptr, kWidth, kHeight, GrColorType::kRGBA_8888, false, GrMipMapped::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 428 nullptr, kWidth, kHeight, GrColorType::kRGBA_8888, false, GrMipMapped::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 443 GrMipMapped::kNo, texOrigin, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 627 GrMipMapped::kNo, texOrigin, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 701 nullptr, kWidth, kHeight, GrColorType::kGray_8, false, GrMipMapped::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | GrTestingBackendTextureUploadTest.cpp | 18 bool renderTarget, bool doDataUpload, GrMipMapped mipMapped) { in testing_only_texture_test() 78 renderable, doDataUpload, GrMipMapped::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 82 renderable, doDataUpload, GrMipMapped::kYes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | EGLImageTest.cpp | 92 false, GrMipMapped::kNo); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 155 GrBackendTexture backendTex(kSize, kSize, GrMipMapped::kNo, externalTexture); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 170 REPORTER_ASSERT(reporter, proxy->mipMapped() == GrMipMapped::kNo); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 171 REPORTER_ASSERT(reporter, proxy->peekTexture()->texturePriv().mipMapped() == GrMipMapped::kNo); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
/external/skqp/src/gpu/ |
D | GrTexturePriv.h | 32 GrMipMapped mipMapped() const { in mipMapped() 34 return GrMipMapped::kYes; in mipMapped() 36 return GrMipMapped::kNo; in mipMapped() 56 GrMipMapped, GrScratchKey* key);
|
D | GrBackendTextureImageGenerator.cpp | 134 GrMipMapped mipMapped = fBackendTexture.hasMipMaps() ? GrMipMapped::kYes : GrMipMapped::kNo; in onGenerateTexture() 194 (!willNeedMipMaps || GrMipMapped::kYes == proxy->mipMapped())) { in onGenerateTexture() 201 GrMipMapped mipMapped = willNeedMipMaps ? GrMipMapped::kYes : GrMipMapped::kNo; in onGenerateTexture()
|
D | GrProxyProvider.h | 91 GrMipMapped, SkBackingFit, SkBudgeted, 98 return this->createProxy(format, desc, origin, GrMipMapped::kNo, fit, budgeted, 149 GrMipMapped fMipMapped; 165 const GrSurfaceDesc&, GrSurfaceOrigin, GrMipMapped, 170 const GrSurfaceDesc&, GrSurfaceOrigin, GrMipMapped, 174 const GrSurfaceDesc&, GrSurfaceOrigin, GrMipMapped,
|
D | GrTextureProxy.cpp | 20 GrMipMapped mipMapped, SkBackingFit fit, SkBudgeted budgeted, in GrTextureProxy() 32 GrSurfaceOrigin origin, GrMipMapped mipMapped, in GrTextureProxy() 43 GrSurfaceOrigin origin, GrMipMapped mipMapped, SkBackingFit fit, in GrTextureProxy() 130 GrMipMapped GrTextureProxy::mipMapped() const { in mipMapped() 175 SkASSERT(GrMipMapped::kNo == this->proxyMipMapped() || in onValidateSurface() 176 GrMipMapped::kYes == surface->asTexture()->texturePriv().mipMapped()); in onValidateSurface()
|
D | GrTextureProducer.cpp | 29 GrMipMapped mipMapped = dstWillRequireMipMaps ? GrMipMapped::kYes : GrMipMapped::kNo; in CopyOnGpu() 244 SkASSERT(!result || !willBeMipped || result->mipMapped() == GrMipMapped::kYes || in refTextureProxyForParams() 254 sk_sp<GrTextureProxy> GrTextureProducer::refTextureProxy(GrMipMapped willNeedMips) { in refTextureProxy() 256 GrMipMapped::kNo == willNeedMips ? GrSamplerState::Filter::kNearest in refTextureProxy() 268 SkASSERT(!result || !willBeMipped || result->mipMapped() == GrMipMapped::kYes || in refTextureProxy()
|
D | GrContextPriv.h | 58 GrMipMapped, 237 GrMipMapped = GrMipMapped::kNo, 254 GrMipMapped = GrMipMapped::kNo,
|
D | GrTextureRenderTargetProxy.cpp | 25 GrMipMapped mipMapped, in GrTextureRenderTargetProxy() 40 GrMipMapped mipMapped, in GrTextureRenderTargetProxy() 120 SkASSERT(GrMipMapped::kNo == this->proxyMipMapped() || in onValidateSurface() 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() 270 GrMipMapped mipMapped = GrMipMapped::kNo; in computeScratchKey() 337 GrMipMapped mipMapped, in Copy() 370 GrMipMapped mipMapped, SkBackingFit fit, in Copy() 387 format, dstDesc, origin, GrMipMapped::kNo, SkBackingFit::kExact, SkBudgeted::kYes)); in TestCopy()
|
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 | GrProxyProvider.cpp | 254 format, desc, kTopLeft_GrSurfaceOrigin, GrMipMapped::kNo, surfaceFlags, fit, budgeted); in createTextureProxy() 283 return this->createProxy(format, desc, origin, GrMipMapped::kYes, SkBackingFit::kExact, in createMipMapProxy() 362 format, desc, kTopLeft_GrSurfaceOrigin, GrMipMapped::kYes, SkBackingFit::kExact, in createMipMapProxyFromBitmap() 382 GrMipMapped mipMapped, in createProxy() 386 if (GrMipMapped::kYes == mipMapped) { in createProxy() 390 mipMapped = GrMipMapped::kNo; in createProxy() 434 format, desc, kTopLeft_GrSurfaceOrigin, GrMipMapped::kNo, SkBackingFit::kExact, in createProxy() 598 GrMipMapped mipMapped, in createLazyProxy() 609 GrMipMapped mipMapped, in createLazyProxy() 624 GrMipMapped mipMapped, in createLazyProxy() [all …]
|
D | GrRenderTargetProxy.cpp | 71 GrMipMapped::kNo, nullptr)) { in instantiate() 83 kDescFlags, GrMipMapped::kNo); in createSurface() 101 colorSamplesPerPixel, GrMipMapped::kNo, !this->priv().isExact()); in onUninstantiatedGpuMemorySize()
|
D | GrTextureRenderTargetProxy.h | 32 GrSurfaceOrigin, GrMipMapped, SkBackingFit, SkBudgeted, 38 GrMipMapped, SkBackingFit, SkBudgeted, GrInternalSurfaceFlags);
|
D | GrResourceProvider.cpp | 74 GrMipMapped mipMapped = mipLevelCount > 1 ? GrMipMapped::kYes : GrMipMapped::kNo; in createTexture() 107 if (!fCaps->validateSurfaceDesc(desc, GrMipMapped::kNo)) { in createTexture() 149 if (!fCaps->validateSurfaceDesc(desc, GrMipMapped::kNo)) { in createTexture() 178 if (!fCaps->validateSurfaceDesc(desc, GrMipMapped::kNo)) { in createApproxTexture() 207 SkASSERT(fCaps->validateSurfaceDesc(desc, GrMipMapped::kNo)); in refScratchTexture()
|
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()
|
D | GrGpu.cpp | 95 if (willNeedMips && texProxy->mipMapped() == GrMipMapped::kNo) { in IsACopyNeededForMips() 110 GrMipMapped mipMapped = mipLevelCount > 1 ? GrMipMapped::kYes : GrMipMapped::kNo; in createTexture() 337 SkASSERT(texture->texturePriv().mipMapped() == GrMipMapped::kYes); in regenerateMipMapLevels() 422 GrMipMapped isMipped, size_t rowBytes) { in createTestingOnlyBackendTexture()
|
/external/skqp/tools/fiddle/ |
D | fiddle_main.h | 41 GrMipMapped mipMapping, in DrawOptions() 45 GrMipMapped offScreenMipMapping) in DrawOptions() 77 GrMipMapped fMipMapping; 85 GrMipMapped fOffScreenMipMapping; // only applicable if the offscreen is also textureable
|
D | draw.cpp | 17 GrMipMapped::kYes, 64, 64, 0, GrMipMapped::kYes); in GetDrawOptions()
|
/external/skqp/include/gpu/ |
D | GrBackendSurface.h | 138 GrMipMapped, 148 GrMipMapped, 154 GrMipMapped, 165 bool hasMipMaps() const { return GrMipMapped::kYes == fMipMapped; } in hasMipMaps() 244 GrMipMapped fMipMapped;
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlTexture.mm | 94 GrMipMapped mipMapped = fTexture.mipmapLevelCount > 1 ? GrMipMapped::kYes 95 : GrMipMapped::kNo;
|