Home
last modified time | relevance | path

Searched refs:SkScalarCeilToInt (Results 1 – 25 of 115) sorted by relevance

12345

/external/skqp/src/core/
DSkRTree.cpp78 int numStrips = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(numBranches) / aspectRatio)); in CountNodes()
79 int numTiles = SkScalarCeilToInt(SkIntToScalar(numBranches) / SkIntToScalar(numStrips)); in CountNodes()
126 int numStrips = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(numBranches) / fAspectRatio)); in bulkLoad()
127 int numTiles = SkScalarCeilToInt(SkIntToScalar(numBranches) / SkIntToScalar(numStrips)); in bulkLoad()
/external/skia/tools/viewer/
DSampleSlide.cpp24 return SkISize::Make(SkScalarCeilToInt(fSample->width()), SkScalarCeilToInt(fSample->height())); in getDimensions()
/external/skqp/src/gpu/effects/
DGrRRectBlurEffect.h37 builder[0] = SkScalarCeilToInt(xformedSigma - 1 / 6.0f); in find_or_create_rrect_blur_mask()
44 builder[index++] = SkScalarCeilToInt(rrectToDraw.radii(c).fX); in find_or_create_rrect_blur_mask()
45 builder[index++] = SkScalarCeilToInt(rrectToDraw.radii(c).fY); in find_or_create_rrect_blur_mask()
DGrRectBlurEffect.h24 unsigned int profileSize = SkScalarCeilToInt(6 * sigma); in CreateBlurProfileTexture()
78 int doubleProfileSize = SkScalarCeilToInt(12 * sigma); in Make()
DGrRRectBlurEffect.fp37 builder[0] = SkScalarCeilToInt(xformedSigma-1/6.0f);
44 builder[index++] = SkScalarCeilToInt(rrectToDraw.radii(c).fX);
45 builder[index++] = SkScalarCeilToInt(rrectToDraw.radii(c).fY);
/external/skqp/src/effects/imagefilters/
DSkDropShadowImageFilter.cpp149 SkIRect dst = src.makeOffset(SkScalarCeilToInt(offsetVec.x()), in onFilterNodeBounds()
150 SkScalarCeilToInt(offsetVec.y())); in onFilterNodeBounds()
154 SkScalarCeilToInt(SkScalarAbs(sigma.x() * 3)), in onFilterNodeBounds()
155 SkScalarCeilToInt(SkScalarAbs(sigma.y() * 3))); in onFilterNodeBounds()
/external/skia/src/effects/imagefilters/
DSkDropShadowImageFilter.cpp178 SkIRect dst = src.makeOffset(SkScalarCeilToInt(offsetVec.x()), in onFilterNodeBounds()
179 SkScalarCeilToInt(offsetVec.y())); in onFilterNodeBounds()
183 SkScalarCeilToInt(SkScalarAbs(sigma.x() * 3)), in onFilterNodeBounds()
184 SkScalarCeilToInt(SkScalarAbs(sigma.y() * 3))); in onFilterNodeBounds()
/external/skia/bench/
DRecordingBench.cpp29 return SkIPoint::Make(SkScalarCeilToInt(fSrc->cullRect().width()), in onGetSize()
30 SkScalarCeilToInt(fSrc->cullRect().height())); in onGetSize()
/external/skqp/bench/
DBlurRoundRectBench.cpp37 return SkIPoint::Make(SkScalarCeilToInt(fRRect.rect().width()), in onGetSize()
38 SkScalarCeilToInt(fRRect.rect().height())); in onGetSize()
DRecordingBench.cpp31 return SkIPoint::Make(SkScalarCeilToInt(fSrc->cullRect().width()), in onGetSize()
32 SkScalarCeilToInt(fSrc->cullRect().height())); in onGetSize()
DCompositingImagesBench.cpp89 return SkIPoint::Make(SkScalarCeilToInt(fTileSize.fWidth * fTileGridSize.fWidth + o), in onGetSize()
90 SkScalarCeilToInt(fTileSize.fHeight * fTileGridSize.fHeight + o)); in onGetSize()
/external/skqp/tools/
Ddump_record.cpp58 const int w = SkScalarCeilToInt(src->cullRect().width()); in main()
59 const int h = SkScalarCeilToInt(src->cullRect().height()); in main()
/external/skqp/tools/viewer/
DSampleSlide.cpp27 return SkISize::Make(SkScalarCeilToInt(fSample->width()), SkScalarCeilToInt(fSample->height())); in getDimensions()
/external/skia/tools/mdbviz/
DModel.cpp39 new DebugCanvas(SkScalarCeilToInt(pic->cullRect().width()), in load()
40 SkScalarCeilToInt(pic->cullRect().height()))); in load()
/external/skqp/include/core/
DSkSize.h82 SkISize toCeil() const { return {SkScalarCeilToInt(fWidth), SkScalarCeilToInt(fHeight)}; } in toCeil()
/external/skqp/tools/mdbviz/
DModel.cpp39 SkScalarCeilToInt(pic->cullRect().width()), in load()
40 SkScalarCeilToInt(pic->cullRect().height()))); in load()
/external/skia/include/core/
DSkSize.h80 SkISize toCeil() const { return {SkScalarCeilToInt(fWidth), SkScalarCeilToInt(fHeight)}; } in toCeil()
/external/skia/gm/
Dbigrrectaaeffect.cpp46 fTestWidth = SkScalarCeilToInt(rrect.width()) + 2 * kGap; in BigRRectAAEffectGM()
47 fTestHeight = SkScalarCeilToInt(rrect.height()) + 2 * kGap; in BigRRectAAEffectGM()
/external/skqp/tools/lua/
Dlua_pictures.cpp147 new SkLuaCanvas(SkScalarCeilToInt(pic->cullRect().width()), in main()
148 SkScalarCeilToInt(pic->cullRect().height()), in main()
/external/skqp/gm/
Dbigrrectaaeffect.cpp29 fTestWidth = SkScalarCeilToInt(rrect.width()) + 2 * kGap; in BigRRectAAEffectGM()
30 fTestHeight = SkScalarCeilToInt(rrect.height()) + 2 * kGap; in BigRRectAAEffectGM()
/external/skia/src/effects/
DSkEmbossMaskFilter.cpp88 margin->set(SkScalarCeilToInt(3*sigma), SkScalarCeilToInt(3*sigma)); in filterMask()
/external/skqp/src/effects/
DSkEmbossMaskFilter.cpp87 margin->set(SkScalarCeilToInt(3*sigma), SkScalarCeilToInt(3*sigma)); in filterMask()
/external/skqp/src/gpu/
DGrClip.h109 SkScalarCeilToInt(bounds.fRight - kBoundsTolerance), in GetPixelIBounds()
110 SkScalarCeilToInt(bounds.fBottom - kBoundsTolerance)); in GetPixelIBounds()
/external/skia/src/pdf/
DSkPDFShader.cpp103 SkISize patternDeviceSize = {SkScalarCeilToInt(deviceBounds.width()), in make_image_shader()
104 SkScalarCeilToInt(deviceBounds.height())}; in make_image_shader()
292 SkTPin(SkScalarCeilToInt(rasterScale * surfaceBBox.width()), 1, kMaxBitmapArea), in make_fallback_shader()
293 SkTPin(SkScalarCeilToInt(rasterScale * surfaceBBox.height()), 1, kMaxBitmapArea)}; in make_fallback_shader()
/external/skia/tools/
Ddump_record.cpp161 const int w = SkScalarCeilToInt(src->cullRect().width()); in main()
162 const int h = SkScalarCeilToInt(src->cullRect().height()); in main()

12345