/external/skia/tests/ |
D | CompressedBackendAllocationTest.cpp | 56 GrMipMapped mipMapped, in check_compressed_mipmaps() 78 if (mipMapped == GrMipMapped::kYes) { in check_compressed_mipmaps() 141 GrMipMapped)> create, in test_compressed_color_init() 144 GrMipMapped mipMapped) { in test_compressed_color_init() 168 GrMipMapped mipMapped) { in make_compressed_data() 172 if (mipMapped == GrMipMapped::kYes) { in make_compressed_data() 179 mipMapped == GrMipMapped::kYes); in make_compressed_data() 186 GrMipMapped::kNo, &data[mipMapOffsets[level]], levelColors[level]); in make_compressed_data() 201 GrMipMapped)> create, in test_compressed_data_init() 203 GrMipMapped mipMapped) { in test_compressed_data_init() [all …]
|
D | GrMipMappedTest.cpp | 40 for (auto mipMapped : {GrMipMapped::kNo, GrMipMapped::kYes}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 92 if (GrMipMapped::kYes == mipMapped) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 93 REPORTER_ASSERT(reporter, GrMipMapped::kYes == texture->texturePriv().mipMapped()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 100 REPORTER_ASSERT(reporter, GrMipMapped::kNo == texture->texturePriv().mipMapped()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 115 for (auto mipMapped : {GrMipMapped::kNo, GrMipMapped::kYes}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 191 if (willUseMips && GrMipMapped::kNo == mipMapped) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 206 if (willUseMips && GrMipMapped::kNo == mipMapped) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 222 if (willUseMips && GrMipMapped::kNo == mipMapped) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 259 GrMipMapped mipMapped = willUseMips ? GrMipMapped::kYes : GrMipMapped::kNo; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 354 1, GrMipMapped::kNo, SkBackingFit::kApprox, SkBudgeted::kYes, GrProtected::kNo); in draw_mipmap_into_new_render_target() [all …]
|
D | BackendAllocationTest.cpp | 33 GrMipMapped, in test_wrapping() argument 35 GrColorType grColorType, GrMipMapped mipMapped, GrRenderable renderable) { in test_wrapping() 281 GrMipMapped, in test_color_init() argument 284 GrMipMapped mipMapped, GrRenderable renderable) { in test_color_init() 300 if (mipMapped == GrMipMapped::kYes) { in test_color_init() 394 static int make_pixmaps(SkColorType skColorType, GrMipMapped mipMapped, in make_pixmaps() 397 int numMipLevels = mipMapped == GrMipMapped::kYes ? 6 : 1; in make_pixmaps() 415 SkColorType skColorType, GrMipMapped mipMapped, in test_pixmap_init() 447 if (mipMapped == GrMipMapped::kYes) { in test_pixmap_init() 633 for (auto mipMapped : { GrMipMapped::kNo, GrMipMapped::kYes }) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | MtlBackendAllocationTest.mm | 18 GrMipMapped, 20 GrColorType colorType, GrMipMapped mipMapped, GrRenderable renderable); 25 GrMipMapped, 28 GrMipMapped mipMapped, GrRenderable renderable); 87 for (auto mipMapped : { GrMipMapped::kNo, GrMipMapped::kYes }) { 88 if (GrMipMapped::kYes == mipMapped && !mtlCaps->mipMapSupport()) { 105 GrMipMapped mipMapped, 141 GrMipMapped mipMapped,
|
D | PromiseImageTest.cpp | 172 SkColors::kTransparent, GrMipMapped::kNo, GrRenderable::kYes, GrProtected::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 183 GrMipMapped::kNo, texOrigin, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 257 SkColors::kTransparent, GrMipMapped::kNo, GrRenderable::kNo, GrProtected::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 268 ctx, alpha8Format, kWidth, kHeight, GrMipMapped::kNo, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 276 ctx, gray8Format, kWidth, kHeight, GrMipMapped::kNo, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 361 SkColors::kTransparent, GrMipMapped::kNo, GrRenderable::kNo, GrProtected::kNo); in DEF_GPUTEST() 371 ctx, backendTex.getBackendFormat(), kWidth, kHeight, GrMipMapped::kNo, in DEF_GPUTEST() 400 SkColors::kTransparent, GrMipMapped::kNo, GrRenderable::kNo, GrProtected::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 410 ctx, backendTex.getBackendFormat(), kWidth, kHeight, GrMipMapped::kNo, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 426 {100, 100}, format, GrRenderable::kNo, 1, GrMipMapped::kNo, SkBudgeted::kYes, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
/external/skia/src/gpu/ |
D | GrTextureProxy.h | 34 GrMipMapped mipMapped() const; 37 SkASSERT((GrMipMapped::kNo == fMipMapped) == in mipMapsAreDirty() 39 return GrMipMapped::kYes == fMipMapped && GrMipMapsStatus::kValid != fMipMapsStatus; 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, 162 GrMipMapped fMipMapped;
|
D | GrBitmapTextureMaker.cpp | 58 if (!willBeMipped || GrMipMapped::kYes == proxy->mipMapped()) { in refOriginalTextureProxyView() 74 copy8888, willBeMipped ? GrMipMapped::kYes : GrMipMapped::kNo, fFit); in refOriginalTextureProxyView() 77 fBitmap, willBeMipped ? GrMipMapped::kYes : GrMipMapped::kNo, fFit); in refOriginalTextureProxyView() 82 SkASSERT(!willBeMipped || GrMipMapped::kYes == proxy->mipMapped()); in refOriginalTextureProxyView() 94 SkASSERT(GrMipMapped::kNo == proxy->mipMapped()); in refOriginalTextureProxyView()
|
D | GrTexturePriv.h | 35 GrMipMapped mipMapped() const { in mipMapped() 37 return GrMipMapped::kYes; in mipMapped() 39 return GrMipMapped::kNo; in mipMapped() 56 GrMipMapped,
|
D | GrContext.cpp | 247 size_t GrContext::ComputeImageSize(sk_sp<SkImage> image, GrMipMapped mipMapped, bool useNextPow2) { in ComputeImageSize() 371 GrMipMapped mipMapped, in createBackendTexture() 389 GrMipMapped mipMapped, in createBackendTexture() 429 GrMipMapped(c.isMipMapped()), in createBackendTexture() 461 GrMipMapped(c.isMipMapped()), in createBackendTexture() 471 GrMipMapped mipMapped, in createBackendTexture() 491 GrMipMapped mipMapped, in createBackendTexture() 534 GrMipMapped mipMapped = GrMipMapped::kNo; in createBackendTexture() 538 mipMapped = GrMipMapped::kYes; in createBackendTexture() 557 GrMipMapped mipMapped, in createCompressedBackendTexture() [all …]
|
D | GrBackendTextureImageGenerator.cpp | 147 GrMipMapped mipMapped = fBackendTexture.hasMipMaps() ? GrMipMapped::kYes : GrMipMapped::kNo; in onGenerateTexture() 212 (!willNeedMipMaps || GrMipMapped::kYes == proxy->mipMapped())) { in onGenerateTexture() 219 GrMipMapped mipMapped = willNeedMipMaps ? GrMipMapped::kYes : GrMipMapped::kNo; in onGenerateTexture()
|
D | GrGpu.cpp | 96 if (willNeedMips && texProxy->mipMapped() == GrMipMapped::kNo) { in IsACopyNeededForMips() 163 GrMipMapped mipMapped = mipLevelCount > 1 ? GrMipMapped::kYes : GrMipMapped::kNo; in createTextureCommon() 203 GrMipMapped mipMapped, in createTexture() 207 if (mipMapped == GrMipMapped::kYes) { in createTexture() 215 if (tex && mipMapped == GrMipMapped::kYes && levelClearMask) { in createTexture() 281 GrMipMapped mipMapped, in createCompressedTexture() 303 mipMapped == GrMipMapped::kYes)) { in createCompressedTexture() 616 SkASSERT(texture->texturePriv().mipMapped() == GrMipMapped::kYes); in regenerateMipMapLevels() 774 GrMipMapped mipMapped, in MipMapsAreCorrect() 777 if (mipMapped == GrMipMapped::kYes) { in MipMapsAreCorrect() [all …]
|
D | GrSurface.cpp | 23 GrMipMapped mipMapped, in ComputeSize() 40 mipMapped == GrMipMapped::kYes); in ComputeSize() 48 if (GrMipMapped::kYes == mipMapped) { in ComputeSize()
|
D | GrRenderTask.cpp | 69 if (textureProxy && GrMipMapped::kYes == textureProxy->mipMapped()) { in makeClosed() 114 void GrRenderTask::addDependency(GrSurfaceProxy* dependedOn, GrMipMapped mipMapped, in addDependency() 125 SkASSERT(GrMipMapped::kNo == mipMapped); in addDependency() 155 if (GrMipMapped::kYes == mipMapped) { in addDependency() 157 if (GrMipMapped::kYes != textureProxy->mipMapped()) { in addDependency() 160 mipMapped = GrMipMapped::kNo; in addDependency()
|
D | GrProxyProvider.h | 69 sk_sp<GrTextureProxy> createProxyFromBitmap(const SkBitmap& bitmap, GrMipMapped, 80 GrMipMapped, 92 GrMipMapped, 142 GrMipMapped fMipMapped; 162 GrMipMapped,
|
/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()
|
/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/skia/include/gpu/ |
D | GrContext.h | 388 static size_t ComputeImageSize(sk_sp<SkImage> image, GrMipMapped, bool useNextPow2 = false); 422 GrMipMapped, 434 GrMipMapped, 454 GrMipMapped, 468 GrMipMapped, 520 GrMipMapped, 526 GrMipMapped, 539 GrMipMapped, 545 GrMipMapped,
|
/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()
|
/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
|
/external/skia/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
|
/external/skia/gm/ |
D | exoticformats.cpp | 23 GrMipMapped fMipMapped; 114 imageInfo->fMipMapped = GrMipMapped::kNo; in load_ktx() 120 imageInfo->fMipMapped = GrMipMapped::kYes; in load_ktx() 132 imageInfo->fMipMapped == GrMipMapped::kYes); in load_ktx() 255 imageInfo->fMipMapped = GrMipMapped::kNo; in load_dds() 261 imageInfo->fMipMapped = GrMipMapped::kYes; in load_dds() 265 imageInfo->fMipMapped = GrMipMapped::kNo; in load_dds() 286 imageInfo->fMipMapped == GrMipMapped::kYes); in load_dds() 343 SkASSERT(info.fMipMapped == GrMipMapped::kNo); in loadImages() 357 SkASSERT(info.fMipMapped == GrMipMapped::kNo); in loadImages()
|