/external/skia/bench/ |
TileImageFilterBench.cpp | 25 TileImageFilterBench(int tileSize) : fTileSize(tileSize) { 45 if (fTileSize > 0) { 46 for (int y = 0; y < HEIGHT; y += fTileSize) { 47 for (int x = 0; x < WIDTH; x += fTileSize) { 49 SkIRect clipIRect = SkIRect::MakeXYWH(x, y, fTileSize, fTileSize); 65 int fTileSize;
|
CompositingImagesBench.cpp | 22 : fTileSize(tileSize) 27 fTileSize.fWidth, fTileSize.fHeight, fTileGridSize.fWidth, 40 auto ii = SkImageInfo::Make(fTileSize.fWidth, fTileSize.fHeight, kRGBA_8888_SkColorType, 53 SkRect::MakeLTRB(3, 3, fTileSize.fWidth - 3, fTileSize.fHeight - 3), paint); 72 canvas->drawImage(fImages[imgIdx++].get(), x * fTileSize.fWidth + o, 73 y * fTileSize.fHeight + o, &paint); 89 return SkIPoint::Make(SkScalarCeilToInt(fTileSize.fWidth * fTileGridSize.fWidth + o) [all...] |
/external/skqp/bench/ |
TileImageFilterBench.cpp | 25 TileImageFilterBench(int tileSize) : fTileSize(tileSize) { 45 if (fTileSize > 0) { 46 for (int y = 0; y < HEIGHT; y += fTileSize) { 47 for (int x = 0; x < WIDTH; x += fTileSize) { 49 SkIRect clipIRect = SkIRect::MakeXYWH(x, y, fTileSize, fTileSize); 65 int fTileSize;
|
CompositingImagesBench.cpp | 22 : fTileSize(tileSize) 27 fTileSize.fWidth, fTileSize.fHeight, fTileGridSize.fWidth, 40 auto ii = SkImageInfo::Make(fTileSize.fWidth, fTileSize.fHeight, kRGBA_8888_SkColorType, 53 SkRect::MakeLTRB(3, 3, fTileSize.fWidth - 3, fTileSize.fHeight - 3), paint); 72 canvas->drawImage(fImages[imgIdx++].get(), x * fTileSize.fWidth + o, 73 y * fTileSize.fHeight + o, &paint); 89 return SkIPoint::Make(SkScalarCeilToInt(fTileSize.fWidth * fTileGridSize.fWidth + o) [all...] |
/external/dng_sdk/source/ |
dng_jpeg_image.h | 38 dng_point fTileSize; 52 if (fTileSize.h) 54 return (fImageSize.h + fTileSize.h - 1) / fTileSize.h; 64 if (fTileSize.v) 66 return (fImageSize.v + fTileSize.v - 1) / fTileSize.v;
|
/external/skia/gm/ |
pictureshadercache.cpp | 19 : fTileSize(tileSize) { 29 canvas->drawCircle(fTileSize / 4, fTileSize / 4, fTileSize / 4, paint); 30 canvas->drawRect(SkRect::MakeXYWH(fTileSize / 2, fTileSize / 2, 31 fTileSize / 2, fTileSize / 2), paint); 34 canvas->drawLine(fTileSize / 2, fTileSize * 1 / 3 [all...] |
mixercolorfilter.cpp | 21 : fTileSize(tileSize) 30 return SkISize::Make(fTileSize.width() * 1.2f * fTileCount, 31 fTileSize.height() * 1.2f * 3); // 3 rows 38 paint.setShader(SkGradientShader::MakeSweep(fTileSize.width() / 2, 39 fTileSize.height() / 2, 52 const SkSize fTileSize; 57 canvas->translate(0, fTileSize.height() * 0.1f); 63 canvas->translate(fTileSize.width() * 0.1f, 0); 64 canvas->drawRect(SkRect::MakeWH(fTileSize.width(), fTileSize.height()), paint) [all...] |
pictureshader.cpp | 29 : fTileSize(tileSize) 37 SkCanvas* pictureCanvas = recorder.beginRecording(fTileSize, fTileSize, nullptr, 0); 42 fBitmap.allocN32Pixels(SkScalarCeilToInt(fTileSize), SkScalarCeilToInt(fTileSize)); 82 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4); 100 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4); 118 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4) [all...] |
/external/skqp/gm/ |
pictureshadercache.cpp | 19 : fTileSize(tileSize) { 29 canvas->drawCircle(fTileSize / 4, fTileSize / 4, fTileSize / 4, paint); 30 canvas->drawRect(SkRect::MakeXYWH(fTileSize / 2, fTileSize / 2, 31 fTileSize / 2, fTileSize / 2), paint); 34 canvas->drawLine(fTileSize / 2, fTileSize * 1 / 3 [all...] |
pictureshader.cpp | 29 : fTileSize(tileSize) 37 SkCanvas* pictureCanvas = recorder.beginRecording(fTileSize, fTileSize, nullptr, 0); 42 fBitmap.allocN32Pixels(SkScalarCeilToInt(fTileSize), SkScalarCeilToInt(fTileSize)); 82 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4); 100 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4); 118 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4) [all...] |
/external/skia/src/shaders/ |
SkPerlinNoiseShader.cpp | 111 fTileSize.set(SkScalarRoundToInt(tileVec.fX), SkScalarRoundToInt(tileVec.fY)); 113 if (!fTileSize.isEmpty()) { 156 , fTileSize(that.fTileSize) 173 SkISize fTileSize; 270 SkScalar tileWidth = SkIntToScalar(fTileSize.width()); 271 SkScalar tileHeight = SkIntToScalar(fTileSize.height()); 385 const SkISize fTileSize; 425 , fTileSize(nullptr == tileSize ? SkISize::Make(0, 0) : *tileSize) 426 , fStitchTiles(!fTileSize.isEmpty() [all...] |
/external/skqp/src/shaders/ |
SkPerlinNoiseShader.cpp | 111 fTileSize.set(SkScalarRoundToInt(tileVec.fX), SkScalarRoundToInt(tileVec.fY)); 113 if (!fTileSize.isEmpty()) { 156 , fTileSize(that.fTileSize) 173 SkISize fTileSize; 270 SkScalar tileWidth = SkIntToScalar(fTileSize.width()); 271 SkScalar tileHeight = SkIntToScalar(fTileSize.height()); 385 const SkISize fTileSize; 425 , fTileSize(nullptr == tileSize ? SkISize::Make(0, 0) : *tileSize) 426 , fStitchTiles(!fTileSize.isEmpty() [all...] |