Searched refs:mipLevelCount (Results 1 - 11 of 11) sorted by relevance

/external/skia/src/gpu/
H A DGrResourceProvider.cpp52 int mipLevelCount, uint32_t flags,
59 if (mipLevelCount && !texels) {
62 for (int i = 0; i < mipLevelCount; ++i) {
67 if (mipLevelCount > 1 && GrPixelConfigIsSint(desc.fConfig)) {
75 if (mipLevelCount < 2) {
78 if (!mipLevelCount ||
92 SkTArray<GrMipLevel> texelsShallowCopy(mipLevelCount);
93 for (int i = 0; i < mipLevelCount; ++i) {
50 createMipMappedTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted, const GrMipLevel* texels, int mipLevelCount, uint32_t flags, SkDestinationSurfaceColorMode mipColorMode) argument
H A DSkGr.cpp224 const int mipLevelCount = mipmaps->countLevels() + 1; local
225 if (mipLevelCount < 1) {
229 const bool isMipMapped = mipLevelCount > 1;
232 std::unique_ptr<GrMipLevel[]> texels(new GrMipLevel[mipLevelCount]);
237 for (int i = 1; i < mipLevelCount; ++i) {
247 mipLevelCount,
255 int mipLevelCount,
265 mipLevelCount, 0, colorMode));
253 GrUploadMipMapToTextureProxy(GrContext* ctx, const SkImageInfo& info, const GrMipLevel* texels, int mipLevelCount, SkDestinationSurfaceColorMode colorMode) argument
H A DGrResourceProvider.h48 * @param mipLevelCount The amount of elements in the texels array
51 const GrMipLevel* texels, int mipLevelCount,
H A DSkGr.h232 int mipLevelCount,
/external/skia/tests/
H A DMipMapTest.cpp65 const int mipLevelCount = mm->countLevels(); local
66 REPORTER_ASSERT(reporter, mipLevelCount == expectedMipLevelCount);
67 REPORTER_ASSERT(reporter, mipLevelCount == SkMipMap::ComputeLevelCount(width, height));
68 for (int i = 0; i < mipLevelCount; ++i) {
H A DResourceCacheTest.cpp1533 int mipLevelCount = mipmaps->countLevels() + 1; local
1535 std::unique_ptr<GrMipLevel[]> texels(new GrMipLevel[mipLevelCount]);
1540 for (int i = 1; i < mipLevelCount; ++i) {
1556 texels.get(), mipLevelCount));
/external/skia/gm/
H A Ddeferredtextureimage.cpp88 int mipLevelCount = SkMipMap::ComputeLevelCount(image->width(), image->height()); local
112 for (int i = 0; i < mipLevelCount; i++) {
132 for (int i = 0; i < mipLevelCount; i++) {
/external/skia/src/image/
H A DSkImage_Gpu.cpp795 int mipLevelCount = dti->fMipMapLevelCount; local
796 SkASSERT(mipLevelCount >= 1);
803 if (mipLevelCount == 1) {
814 std::unique_ptr<GrMipLevel[]> texels(new GrMipLevel[mipLevelCount]);
815 for (int i = 0; i < mipLevelCount; i++) {
821 mipLevelCount, SkBudgeted::kYes,
829 const GrMipLevel* texels, int mipLevelCount,
835 sk_sp<GrTextureProxy> proxy(GrUploadMipMapToTextureProxy(ctx, info, texels, mipLevelCount,
828 MakeTextureFromMipMap(GrContext* ctx, const SkImageInfo& info, const GrMipLevel* texels, int mipLevelCount, SkBudgeted budgeted, SkDestinationSurfaceColorMode colorMode) argument
H A DSkImage.cpp328 int mipLevelCount, SkBudgeted, SkDestinationSurfaceColorMode) {
390 int mipLevelCount, SkBudgeted) {
327 MakeTextureFromMipMap(GrContext*, const SkImageInfo&, const GrMipLevel* texels, int mipLevelCount, SkBudgeted, SkDestinationSurfaceColorMode) argument
389 MakeTextureFromMipMap(GrContext*, const SkImageInfo&, const GrMipLevel* texels, int mipLevelCount, SkBudgeted) argument
/external/skia/include/core/
H A DSkImage.h445 const GrMipLevel* texels, int mipLevelCount,
/external/skia/src/core/
H A DSkMipMap.cpp598 int mipLevelCount = significantBits; local
604 if (mipLevelCount > 0) {
605 --mipLevelCount;
608 return mipLevelCount;

Completed in 247 milliseconds