Searched refs:scaledSize (Results 1 – 7 of 7) sorted by relevance
/external/skia/src/core/ |
D | SkPictureShader.cpp | 183 SkSize scaledSize = SkSize::Make(SkScalarAbs(scale.x() * fTile.width()), in refBitmapShader() local 188 SkScalar tileArea = scaledSize.width() * scaledSize.height(); in refBitmapShader() 191 scaledSize.set(scaledSize.width() * clampScale, in refBitmapShader() 192 scaledSize.height() * clampScale); in refBitmapShader() 197 if (scaledSize.width() > maxTextureSize || scaledSize.height() > maxTextureSize) { in refBitmapShader() 198 … SkScalar downScale = maxTextureSize / SkMaxScalar(scaledSize.width(), scaledSize.height()); in refBitmapShader() 199 scaledSize.set(SkScalarFloorToScalar(scaledSize.width() * downScale), in refBitmapShader() 200 SkScalarFloorToScalar(scaledSize.height() * downScale)); in refBitmapShader() 206 const SkISize tileSize = scaledSize.toRound(); in refBitmapShader() 208 const SkISize tileSize = scaledSize.toCeil(); in refBitmapShader()
|
/external/skia/src/android/ |
D | SkBitmapRegionCodec.cpp | 50 SkISize scaledSize = fCodec->getSampledSubsetDimensions(sampleSize, subset); in decodeRegion() local 57 SkImageInfo decodeInfo = SkImageInfo::Make(scaledSize.width(), scaledSize.height(), in decodeRegion() 71 int scaledOutWidth = scaledSize.width(); in decodeRegion() 72 int scaledOutHeight = scaledSize.height(); in decodeRegion()
|
/external/skia/bench/ |
D | AndroidCodecBench.cpp | 33 SkISize scaledSize = codec->getSampledDimensions(fSampleSize); in onDelayedSetup() local 35 fInfo = codec->getInfo().makeWH(scaledSize.width(), scaledSize.height()) in onDelayedSetup()
|
/external/skia/src/image/ |
D | SkImage_Gpu.cpp | 589 SkISize scaledSize; in getDeferredTextureImageData() local 593 scaledSize = SkMipMap::ComputeLevelSize(this->width(), this->height(), in getDeferredTextureImageData() 596 scaledSize = SkISize::Make(this->width(), this->height()); in getDeferredTextureImageData() 606 if (scaledSize.width() > maxTextureSize || scaledSize.height() > maxTextureSize) { in getDeferredTextureImageData() 628 info = cacher->buildCacheInfo(cacheFormat).makeWH(scaledSize.width(), in getDeferredTextureImageData() 629 scaledSize.height()); in getDeferredTextureImageData() 631 info = as_IB(this)->onImageInfo().makeWH(scaledSize.width(), scaledSize.height()); in getDeferredTextureImageData() 660 mipMapLevelCount = SkMipMap::ComputeLevelCount(scaledSize.width(), scaledSize.height()) + 1; in getDeferredTextureImageData() 669 SkISize mipSize = SkMipMap::ComputeLevelSize(scaledSize.width(), scaledSize.height(), in getDeferredTextureImageData()
|
/external/skia/src/codec/ |
D | SkSampledCodec.cpp | 93 SkISize scaledSize = this->getSampledDimensions(sampleSize); in onGetAndroidPixels() local 94 if (!this->codec()->dimensionsSupported(scaledSize)) { in onGetAndroidPixels() 105 const SkImageInfo scaledInfo = info.makeWH(scaledSize.width(), scaledSize.height()); in onGetAndroidPixels() 139 scaledSize.height()); in onGetAndroidPixels()
|
/external/skia/gm/ |
D | gamut.cpp | 43 int scaledSize = SkFloatToIntRound(scale * gRectSize); in BitmapCellRenderer() local 44 fBitmap.allocPixels(SkImageInfo::MakeS32(scaledSize, scaledSize, kPremul_SkAlphaType)); in BitmapCellRenderer()
|
/external/deqp/framework/common/ |
D | tcuTestLog.cpp | 294 IVec3 scaledSize = computeScaledSize(IVec3(width, height, depth), MAX_IMAGE_SIZE_3D); in writeImage() local 295 int w = scaledSize.x(); in writeImage() 296 int h = scaledSize.y(); in writeImage() 297 int d = scaledSize.z(); in writeImage()
|