Searched refs:mipSize (Results 1 – 5 of 5) sorted by relevance
/external/skia/gm/ |
D | deferredtextureimage.cpp | 113 SkISize mipSize = SkMipMap::ComputeLevelSize(image->width(), image->height(), i); in DrawDeferredTextureImageMipMapTree() local 116 canvas->scale(mipSize.width() / static_cast<float>(image->width()), in DrawDeferredTextureImageMipMapTree() 117 mipSize.height() / static_cast<float>(image->height())); in DrawDeferredTextureImageMipMapTree() 120 offsetHeight += mipSize.height() + 10; in DrawDeferredTextureImageMipMapTree() 133 SkISize mipSize = SkMipMap::ComputeLevelSize(image->width(), image->height(), i); in DrawDeferredTextureImageMipMapTree() local 136 canvas->scale(mipSize.width() / static_cast<float>(image->width()), in DrawDeferredTextureImageMipMapTree() 137 mipSize.height() / static_cast<float>(image->height())); in DrawDeferredTextureImageMipMapTree() 140 offsetHeight += mipSize.height() + 10; in DrawDeferredTextureImageMipMapTree()
|
/external/mesa3d/src/gallium/winsys/svga/drm/ |
D | vmw_screen_ioctl.c | 141 SVGA3dSize mipSize = size; in vmw_ioctl_surface_create() local 145 cur_size->width = mipSize.width; in vmw_ioctl_surface_create() 146 cur_size->height = mipSize.height; in vmw_ioctl_surface_create() 147 cur_size->depth = mipSize.depth; in vmw_ioctl_surface_create() 148 mipSize.width = MAX2(mipSize.width >> 1, 1); in vmw_ioctl_surface_create() 149 mipSize.height = MAX2(mipSize.height >> 1, 1); in vmw_ioctl_surface_create() 150 mipSize.depth = MAX2(mipSize.depth >> 1, 1); in vmw_ioctl_surface_create()
|
/external/skia/src/gpu/ops/ |
D | GrSmallPathRenderer.cpp | 304 SkScalar mipSize = mipScale*SkScalarAbs(maxDim); in onPrepareDraws() local 310 if (mipSize < kIdealMinMIP) { in onPrepareDraws() 311 SkScalar newMipSize = mipSize; in onPrepareDraws() 315 while (newMipSize > 4 * mipSize) { in onPrepareDraws() 318 mipSize = newMipSize; in onPrepareDraws() 320 SkScalar desiredDimension = SkTMin(mipSize, kMaxMIP); in onPrepareDraws()
|
/external/skia/src/core/ |
D | SkMipMap.cpp | 482 SkISize mipSize = ComputeLevelSize(src.width(), src.height(), currentMipLevel); in Build() local 483 size += SkColorTypeMinRowBytes(ct, mipSize.fWidth) * mipSize.fHeight; in Build()
|
/external/skia/src/image/ |
D | SkImage_Gpu.cpp | 669 SkISize mipSize = SkMipMap::ComputeLevelSize(scaledSize.width(), scaledSize.height(), in getDeferredTextureImageData() local 671 SkImageInfo mipInfo = info.makeWH(mipSize.fWidth, mipSize.fHeight); in getDeferredTextureImageData()
|