/external/skqp/gm/ |
D | pictureshadercache.cpp | 19 : fTileSize(tileSize) { in PictureShaderCacheGM() 29 canvas->drawCircle(fTileSize / 4, fTileSize / 4, fTileSize / 4, paint); in drawTile() 30 canvas->drawRect(SkRect::MakeXYWH(fTileSize / 2, fTileSize / 2, in drawTile() 31 fTileSize / 2, fTileSize / 2), paint); in drawTile() 34 canvas->drawLine(fTileSize / 2, fTileSize * 1 / 3, in drawTile() 35 fTileSize / 2, fTileSize * 2 / 3, paint); in drawTile() 36 canvas->drawLine(fTileSize * 1 / 3, fTileSize / 2, in drawTile() 37 fTileSize * 2 / 3, fTileSize / 2, paint); in drawTile() 42 SkCanvas* pictureCanvas = recorder.beginRecording(fTileSize, fTileSize, nullptr, 0); in onOnceBeforeDraw() 72 surface->getCanvas()->drawRect(SkRect::MakeWH(fTileSize, fTileSize), paint); in onDraw() [all …]
|
D | pictureshader.cpp | 29 : fTileSize(tileSize) in PictureShaderGM() 37 SkCanvas* pictureCanvas = recorder.beginRecording(fTileSize, fTileSize, nullptr, 0); in onOnceBeforeDraw() 42 fBitmap.allocN32Pixels(SkScalarCeilToInt(fTileSize), SkScalarCeilToInt(fTileSize)); in onOnceBeforeDraw() 82 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4); in onDraw() 100 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4); in drawSceneColumn() 118 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4); in drawSceneColumn() 130 canvas->drawCircle(fTileSize / 4, fTileSize / 4, fTileSize / 4, paint); in drawTile() 131 canvas->drawRect(SkRect::MakeXYWH(fTileSize / 2, fTileSize / 2, in drawTile() 132 fTileSize / 2, fTileSize / 2), paint); in drawTile() 135 canvas->drawLine(fTileSize / 2, fTileSize * 1 / 3, in drawTile() [all …]
|
/external/skia/gm/ |
D | pictureshadercache.cpp | 19 : fTileSize(tileSize) { in PictureShaderCacheGM() 29 canvas->drawCircle(fTileSize / 4, fTileSize / 4, fTileSize / 4, paint); in drawTile() 30 canvas->drawRect(SkRect::MakeXYWH(fTileSize / 2, fTileSize / 2, in drawTile() 31 fTileSize / 2, fTileSize / 2), paint); in drawTile() 34 canvas->drawLine(fTileSize / 2, fTileSize * 1 / 3, in drawTile() 35 fTileSize / 2, fTileSize * 2 / 3, paint); in drawTile() 36 canvas->drawLine(fTileSize * 1 / 3, fTileSize / 2, in drawTile() 37 fTileSize * 2 / 3, fTileSize / 2, paint); in drawTile() 42 SkCanvas* pictureCanvas = recorder.beginRecording(fTileSize, fTileSize, nullptr, 0); in onOnceBeforeDraw() 72 surface->getCanvas()->drawRect(SkRect::MakeWH(fTileSize, fTileSize), paint); in onDraw() [all …]
|
D | pictureshader.cpp | 29 : fTileSize(tileSize) in PictureShaderGM() 37 SkCanvas* pictureCanvas = recorder.beginRecording(fTileSize, fTileSize, nullptr, 0); in onOnceBeforeDraw() 42 fBitmap.allocN32Pixels(SkScalarCeilToInt(fTileSize), SkScalarCeilToInt(fTileSize)); in onOnceBeforeDraw() 82 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4); in onDraw() 100 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4); in drawSceneColumn() 118 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4); in drawSceneColumn() 130 canvas->drawCircle(fTileSize / 4, fTileSize / 4, fTileSize / 4, paint); in drawTile() 131 canvas->drawRect(SkRect::MakeXYWH(fTileSize / 2, fTileSize / 2, in drawTile() 132 fTileSize / 2, fTileSize / 2), paint); in drawTile() 135 canvas->drawLine(fTileSize / 2, fTileSize * 1 / 3, in drawTile() [all …]
|
D | mixercolorfilter.cpp | 21 : fTileSize(tileSize) in MixerCFGM() 30 return SkISize::Make(fTileSize.width() * 1.2f * fTileCount, in onISize() 31 fTileSize.height() * 1.2f * 3); // 3 rows in onISize() 38 paint.setShader(SkGradientShader::MakeSweep(fTileSize.width() / 2, in onDraw() 39 fTileSize.height() / 2, in onDraw() 52 const SkSize fTileSize; member in __anone0e60f4f0111::MixerCFGM 57 canvas->translate(0, fTileSize.height() * 0.1f); in mixRow() 63 canvas->translate(fTileSize.width() * 0.1f, 0); in mixRow() 64 canvas->drawRect(SkRect::MakeWH(fTileSize.width(), fTileSize.height()), paint); in mixRow() 65 canvas->translate(fTileSize.width() * 1.1f, 0); in mixRow() [all …]
|
/external/skia/bench/ |
D | CompositingImagesBench.cpp | 22 : fTileSize(tileSize) in CompositingImages() 27 fTileSize.fWidth, fTileSize.fHeight, fTileGridSize.fWidth, in CompositingImages() 40 auto ii = SkImageInfo::Make(fTileSize.fWidth, fTileSize.fHeight, kRGBA_8888_SkColorType, in onPerCanvasPreDraw() 53 SkRect::MakeLTRB(3, 3, fTileSize.fWidth - 3, fTileSize.fHeight - 3), paint); in onPerCanvasPreDraw() 72 canvas->drawImage(fImages[imgIdx++].get(), x * fTileSize.fWidth + o, in onDraw() 73 y * fTileSize.fHeight + o, &paint); in onDraw() 89 return SkIPoint::Make(SkScalarCeilToInt(fTileSize.fWidth * fTileGridSize.fWidth + o), in onGetSize() 90 SkScalarCeilToInt(fTileSize.fHeight * fTileGridSize.fHeight + o)); in onGetSize() 95 SkISize fTileSize; member in CompositingImages
|
D | TileImageFilterBench.cpp | 25 TileImageFilterBench(int tileSize) : fTileSize(tileSize) { in TileImageFilterBench() 45 if (fTileSize > 0) { in onDraw() 46 for (int y = 0; y < HEIGHT; y += fTileSize) { in onDraw() 47 for (int x = 0; x < WIDTH; x += fTileSize) { in onDraw() 49 SkIRect clipIRect = SkIRect::MakeXYWH(x, y, fTileSize, fTileSize); in onDraw() 65 int fTileSize; member in TileImageFilterBench
|
/external/skqp/bench/ |
D | CompositingImagesBench.cpp | 22 : fTileSize(tileSize) in CompositingImages() 27 fTileSize.fWidth, fTileSize.fHeight, fTileGridSize.fWidth, in CompositingImages() 40 auto ii = SkImageInfo::Make(fTileSize.fWidth, fTileSize.fHeight, kRGBA_8888_SkColorType, in onPerCanvasPreDraw() 53 SkRect::MakeLTRB(3, 3, fTileSize.fWidth - 3, fTileSize.fHeight - 3), paint); in onPerCanvasPreDraw() 72 canvas->drawImage(fImages[imgIdx++].get(), x * fTileSize.fWidth + o, in onDraw() 73 y * fTileSize.fHeight + o, &paint); in onDraw() 89 return SkIPoint::Make(SkScalarCeilToInt(fTileSize.fWidth * fTileGridSize.fWidth + o), in onGetSize() 90 SkScalarCeilToInt(fTileSize.fHeight * fTileGridSize.fHeight + o)); in onGetSize() 95 SkISize fTileSize; member in CompositingImages
|
D | TileImageFilterBench.cpp | 25 TileImageFilterBench(int tileSize) : fTileSize(tileSize) { in TileImageFilterBench() 45 if (fTileSize > 0) { in onDraw() 46 for (int y = 0; y < HEIGHT; y += fTileSize) { in onDraw() 47 for (int x = 0; x < WIDTH; x += fTileSize) { in onDraw() 49 SkIRect clipIRect = SkIRect::MakeXYWH(x, y, fTileSize, fTileSize); in onDraw() 65 int fTileSize; member in TileImageFilterBench
|
/external/dng_sdk/source/ |
D | dng_jpeg_image.h | 38 dng_point fTileSize; variable 52 if (fTileSize.h) in TilesAcross() 54 return (fImageSize.h + fTileSize.h - 1) / fTileSize.h; in TilesAcross() 64 if (fTileSize.v) in TilesDown() 66 return (fImageSize.v + fTileSize.v - 1) / fTileSize.v; in TilesDown()
|
D | dng_jpeg_image.cpp | 34 , fTileSize () in dng_jpeg_image() 197 fTileSize.h = ifd.fTileWidth; in Encode() 198 fTileSize.v = ifd.fTileLength; in Encode()
|
D | dng_read_image.cpp | 3156 jpegImage->fTileSize.h = ifd.fTileWidth; in Read() 3157 jpegImage->fTileSize.v = ifd.fTileLength; in Read()
|
D | dng_image_writer.cpp | 6128 info.fTileWidth = rawJPEGImage->fTileSize.h; in WriteDNG() 6129 info.fTileLength = rawJPEGImage->fTileSize.v; in WriteDNG()
|
/external/skia/src/shaders/ |
D | SkPerlinNoiseShader.cpp | 111 fTileSize.set(SkScalarRoundToInt(tileVec.fX), SkScalarRoundToInt(tileVec.fY)); in PaintingData() 113 if (!fTileSize.isEmpty()) { in PaintingData() 156 , fTileSize(that.fTileSize) in PaintingData() 173 SkISize fTileSize; member 270 SkScalar tileWidth = SkIntToScalar(fTileSize.width()); in stitch() 271 SkScalar tileHeight = SkIntToScalar(fTileSize.height()); in stitch() 385 const SkISize fTileSize; member in SkPerlinNoiseShaderImpl 425 , fTileSize(nullptr == tileSize ? SkISize::Make(0, 0) : *tileSize) in SkPerlinNoiseShaderImpl() 426 , fStitchTiles(!fTileSize.isEmpty()) in SkPerlinNoiseShaderImpl() 465 buffer.writeInt(fTileSize.fWidth); in flatten() [all …]
|
/external/skqp/src/shaders/ |
D | SkPerlinNoiseShader.cpp | 111 fTileSize.set(SkScalarRoundToInt(tileVec.fX), SkScalarRoundToInt(tileVec.fY)); in PaintingData() 113 if (!fTileSize.isEmpty()) { in PaintingData() 156 , fTileSize(that.fTileSize) in PaintingData() 173 SkISize fTileSize; member 270 SkScalar tileWidth = SkIntToScalar(fTileSize.width()); in stitch() 271 SkScalar tileHeight = SkIntToScalar(fTileSize.height()); in stitch() 385 const SkISize fTileSize; member in SkPerlinNoiseShaderImpl 425 , fTileSize(nullptr == tileSize ? SkISize::Make(0, 0) : *tileSize) in SkPerlinNoiseShaderImpl() 426 , fStitchTiles(!fTileSize.isEmpty()) in SkPerlinNoiseShaderImpl() 465 buffer.writeInt(fTileSize.fWidth); in flatten() [all …]
|