/external/skia/gm/ |
D | pictureshadercache.cpp | 32 : fTileSize(tileSize) { in PictureShaderCacheGM() 42 canvas->drawCircle(fTileSize / 4, fTileSize / 4, fTileSize / 4, paint); in drawTile() 43 canvas->drawRect(SkRect::MakeXYWH(fTileSize / 2, fTileSize / 2, in drawTile() 44 fTileSize / 2, fTileSize / 2), paint); in drawTile() 47 canvas->drawLine(fTileSize / 2, fTileSize * 1 / 3, in drawTile() 48 fTileSize / 2, fTileSize * 2 / 3, paint); in drawTile() 49 canvas->drawLine(fTileSize * 1 / 3, fTileSize / 2, in drawTile() 50 fTileSize * 2 / 3, fTileSize / 2, paint); in drawTile() 55 SkCanvas* pictureCanvas = recorder.beginRecording(fTileSize, fTileSize); in onOnceBeforeDraw() 84 surface->getCanvas()->drawRect(SkRect::MakeWH(fTileSize, fTileSize), paint); in onDraw() [all …]
|
D | pictureshader.cpp | 41 : fTileSize(tileSize) in PictureShaderGM() 51 SkCanvas* pictureCanvas = recorder.beginRecording(fTileSize, fTileSize); in onOnceBeforeDraw() 56 fBitmap.allocN32Pixels(SkScalarCeilToInt(fTileSize), SkScalarCeilToInt(fTileSize)); in onOnceBeforeDraw() 98 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4); in onDraw() 116 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4); in drawSceneColumn() 134 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4); in drawSceneColumn() 146 canvas->drawCircle(fTileSize / 4, fTileSize / 4, fTileSize / 4, paint); in drawTile() 147 canvas->drawRect(SkRect::MakeXYWH(fTileSize / 2, fTileSize / 2, in drawTile() 148 fTileSize / 2, fTileSize / 2), paint); in drawTile() 151 canvas->drawLine(fTileSize / 2, fTileSize * 1 / 3, in drawTile() [all …]
|
D | mixercolorfilter.cpp | 70 : fTileSize(tileSize) in MixerCFGM() 79 return SkISize::Make(fTileSize.width() * 1.2f * fTileCount, in onISize() 80 fTileSize.height() * 1.2f * 3); // 3 rows in onISize() 87 paint.setShader(SkGradientShader::MakeSweep(fTileSize.width() / 2, in onDraw() 88 fTileSize.height() / 2, in onDraw() 101 const SkSize fTileSize; member in __anon3716a00b0111::MixerCFGM 115 canvas->translate(0, fTileSize.height() * 0.1f); in mixRow() 122 canvas->translate(fTileSize.width() * 0.1f, 0); in mixRow() 123 canvas->drawRect(SkRect::MakeWH(fTileSize.width(), fTileSize.height()), paint); in mixRow() 124 canvas->translate(fTileSize.width() * 1.1f, 0); in mixRow() [all …]
|
/external/skia/tools/viewer/ |
D | TextureUploadSlide.cpp | 28 fTileSize = std::min(kMaxTileSize, 2*fTileSize); in onChar() 29 fTileRows = kMaxTileSize/fTileSize; in onChar() 30 fTileCols = kMaxTileSize/fTileSize; in onChar() 33 fTileSize = std::max(kMinTileSize, fTileSize/2); in onChar() 34 fTileRows = kMaxTileSize/fTileSize; in onChar() 35 fTileCols = kMaxTileSize/fTileSize; in onChar() 70 x * fTileSize, y * fTileSize); in draw() 117 int fTileSize = 256; member in TextureUploadSlide 140 fTextures.emplace_back(new RenderTargetTexture(direct, fTileSize)); in initializeTextures() 145 fBlueSurface = this->getFilledRasterSurface(SK_ColorBLUE, fTileSize); in initializeTextures() [all …]
|
/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/bench/ |
D | TileImageFilterBench.cpp | 25 TileImageFilterBench(int tileSize) : fTileSize(tileSize) { in TileImageFilterBench() 44 if (fTileSize > 0) { in onDraw() 45 for (int y = 0; y < HEIGHT; y += fTileSize) { in onDraw() 46 for (int x = 0; x < WIDTH; x += fTileSize) { in onDraw() 48 SkIRect clipIRect = SkIRect::MakeXYWH(x, y, fTileSize, fTileSize); in onDraw() 64 int fTileSize; member in TileImageFilterBench
|
D | CompositingImagesBench.cpp | 53 , fTileSize(tileSize) in CompositingImages() 59 fTileSize.fWidth, fTileSize.fHeight, fTileGridSize.fWidth, in CompositingImages() 116 SkRect::MakeLTRB(3, 3, fTileSize.fWidth - 3, fTileSize.fHeight - 3), paint); in onPerCanvasPreDraw() 255 SkRect size = SkRect::MakeWH(1.25f * fTileSize.fWidth * fTileGridSize.fWidth, in onGetSize() 256 1.25f * fTileSize.fHeight * fTileGridSize.fHeight); in onGetSize() 280 SkRect srcRect = SkRect::Make(fTileSize); in getEntry() 296 contentRect.fRight = fTileSize.fWidth; in getAdjustedEntry() 300 contentRect.fBottom = fTileSize.fHeight; in getAdjustedEntry() 317 SkISize fTileSize; member in CompositingImages
|
/external/skia/src/shaders/ |
D | SkPerlinNoiseShader.cpp | 86 fTileSize.set(SkScalarRoundToInt(tileVec.fX), SkScalarRoundToInt(tileVec.fY)); in PaintingData() 88 if (!fTileSize.isEmpty()) { in PaintingData() 106 , fTileSize(that.fTileSize) in PaintingData() 121 SkISize fTileSize; member 218 SkScalar tileWidth = SkIntToScalar(fTileSize.width()); in stitch() 219 SkScalar tileHeight = SkIntToScalar(fTileSize.height()); in stitch() 334 const SkISize fTileSize; member in SkPerlinNoiseShaderImpl 374 , fTileSize(nullptr == tileSize ? SkISize::Make(0, 0) : *tileSize) in SkPerlinNoiseShaderImpl() 375 , fStitchTiles(!fTileSize.isEmpty()) in SkPerlinNoiseShaderImpl() 412 buffer.writeInt(fTileSize.fWidth); in flatten() [all …]
|