Home
last modified time | relevance | path

Searched refs:fTileSize (Results 1 – 18 of 18) sorted by relevance

/third_party/skia/gm/
Dpictureshadercache.cpp32 : 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 …]
Dpictureshader.cpp40 : fTileSize(tileSize) in PictureShaderGM()
50 SkCanvas* pictureCanvas = recorder.beginRecording(fTileSize, fTileSize); in onOnceBeforeDraw()
55 fBitmap.allocN32Pixels(SkScalarCeilToInt(fTileSize), SkScalarCeilToInt(fTileSize)); in onOnceBeforeDraw()
97 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4); in onDraw()
115 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4); in drawSceneColumn()
133 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4); in drawSceneColumn()
145 canvas->drawCircle(fTileSize / 4, fTileSize / 4, fTileSize / 4, paint); in drawTile()
146 canvas->drawRect(SkRect::MakeXYWH(fTileSize / 2, fTileSize / 2, in drawTile()
147 fTileSize / 2, fTileSize / 2), paint); in drawTile()
150 canvas->drawLine(fTileSize / 2, fTileSize * 1 / 3, in drawTile()
[all …]
Dmixercolorfilter.cpp70 : 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 __anon57640cd70111::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 …]
/third_party/flutter/skia/gm/
Dpictureshadercache.cpp32 : 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, nullptr, 0); in onOnceBeforeDraw()
83 surface->getCanvas()->drawRect(SkRect::MakeWH(fTileSize, fTileSize), paint); in onDraw()
[all …]
Dpictureshader.cpp39 : fTileSize(tileSize) in PictureShaderGM()
47 SkCanvas* pictureCanvas = recorder.beginRecording(fTileSize, fTileSize, nullptr, 0); in onOnceBeforeDraw()
52 fBitmap.allocN32Pixels(SkScalarCeilToInt(fTileSize), SkScalarCeilToInt(fTileSize)); in onOnceBeforeDraw()
92 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4); in onDraw()
110 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4); in drawSceneColumn()
128 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4); in drawSceneColumn()
140 canvas->drawCircle(fTileSize / 4, fTileSize / 4, fTileSize / 4, paint); in drawTile()
141 canvas->drawRect(SkRect::MakeXYWH(fTileSize / 2, fTileSize / 2, in drawTile()
142 fTileSize / 2, fTileSize / 2), paint); in drawTile()
145 canvas->drawLine(fTileSize / 2, fTileSize * 1 / 3, in drawTile()
[all …]
Dmixercolorfilter.cpp71 : fTileSize(tileSize) in MixerCFGM()
80 return SkISize::Make(fTileSize.width() * 1.2f * fTileCount, in onISize()
81 fTileSize.height() * 1.2f * 3); // 3 rows in onISize()
88 paint.setShader(SkGradientShader::MakeSweep(fTileSize.width() / 2, in onDraw()
89 fTileSize.height() / 2, in onDraw()
102 const SkSize fTileSize; member in __anon3770b7ec0111::MixerCFGM
107 canvas->translate(0, fTileSize.height() * 0.1f); in mixRow()
113 canvas->translate(fTileSize.width() * 0.1f, 0); in mixRow()
114 canvas->drawRect(SkRect::MakeWH(fTileSize.width(), fTileSize.height()), paint); in mixRow()
115 canvas->translate(fTileSize.width() * 1.1f, 0); in mixRow()
[all …]
/third_party/skia/samplecode/
DSampleTextureUpload.cpp25 int fTileSize = 256; member in TextureUploadSample
70 fTileSize = std::min(kMaxTileSize, 2*fTileSize); in onChar()
71 fTileRows = kMaxTileSize/fTileSize; in onChar()
72 fTileCols = kMaxTileSize/fTileSize; in onChar()
75 fTileSize = std::max(kMinTileSize, fTileSize/2); in onChar()
76 fTileRows = kMaxTileSize/fTileSize; in onChar()
77 fTileCols = kMaxTileSize/fTileSize; in onChar()
99 fTextures.emplace_back(new RenderTargetTexture(direct, fTileSize)); in initializeTextures()
104 fBlueSurface = this->getFilledRasterSurface(SK_ColorBLUE, fTileSize); in initializeTextures()
105 fGraySurface = this->getFilledRasterSurface(SK_ColorGRAY, fTileSize); in initializeTextures()
[all …]
/third_party/flutter/skia/samplecode/
DSampleTextureUpload.cpp25 int fTileSize = 256; member in TextureUploadSample
70 fTileSize = SkTMin(kMaxTileSize, 2*fTileSize); in onChar()
71 fTileRows = kMaxTileSize/fTileSize; in onChar()
72 fTileCols = kMaxTileSize/fTileSize; in onChar()
75 fTileSize = SkTMax(kMinTileSize, fTileSize/2); in onChar()
76 fTileRows = kMaxTileSize/fTileSize; in onChar()
77 fTileCols = kMaxTileSize/fTileSize; in onChar()
99 fTextures.emplace_back(new RenderTargetTexture(context, fTileSize)); in initializeTextures()
104 fBlueSurface = this->getFilledRasterSurface(SK_ColorBLUE, fTileSize); in initializeTextures()
105 fGraySurface = this->getFilledRasterSurface(SK_ColorGRAY, fTileSize); in initializeTextures()
[all …]
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_jpeg_image.h38 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()
Ddng_jpeg_image.cpp34 , fTileSize () in dng_jpeg_image()
197 fTileSize.h = ifd.fTileWidth; in Encode()
198 fTileSize.v = ifd.fTileLength; in Encode()
Ddng_read_image.cpp3156 jpegImage->fTileSize.h = ifd.fTileWidth; in Read()
3157 jpegImage->fTileSize.v = ifd.fTileLength; in Read()
Ddng_image_writer.cpp6128 info.fTileWidth = rawJPEGImage->fTileSize.h; in WriteDNG()
6129 info.fTileLength = rawJPEGImage->fTileSize.v; in WriteDNG()
/third_party/skia/bench/
DTileImageFilterBench.cpp25 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
DCompositingImagesBench.cpp51 , fTileSize(tileSize) in CompositingImages()
57 fTileSize.fWidth, fTileSize.fHeight, fTileGridSize.fWidth, in CompositingImages()
114 SkRect::MakeLTRB(3, 3, fTileSize.fWidth - 3, fTileSize.fHeight - 3), paint); in onPerCanvasPreDraw()
253 SkRect size = SkRect::MakeWH(1.25f * fTileSize.fWidth * fTileGridSize.fWidth, in onGetSize()
254 1.25f * fTileSize.fHeight * fTileGridSize.fHeight); in onGetSize()
278 SkRect srcRect = SkRect::Make(fTileSize); in getEntry()
294 contentRect.fRight = fTileSize.fWidth; in getAdjustedEntry()
298 contentRect.fBottom = fTileSize.fHeight; in getAdjustedEntry()
315 SkISize fTileSize; member in CompositingImages
/third_party/flutter/skia/bench/
DTileImageFilterBench.cpp25 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
DCompositingImagesBench.cpp47 , fTileSize(tileSize) in CompositingImages()
53 fTileSize.fWidth, fTileSize.fHeight, fTileGridSize.fWidth, in CompositingImages()
110 SkRect::MakeLTRB(3, 3, fTileSize.fWidth - 3, fTileSize.fHeight - 3), paint); in onPerCanvasPreDraw()
245 SkRect size = SkRect::MakeWH(1.25f * fTileSize.fWidth * fTileGridSize.fWidth, in onGetSize()
246 1.25f * fTileSize.fHeight * fTileGridSize.fHeight); in onGetSize()
270 SkRect srcRect = SkRect::Make(fTileSize); in getEntry()
286 contentRect.fRight = fTileSize.fWidth; in getAdjustedEntry()
290 contentRect.fBottom = fTileSize.fHeight; in getAdjustedEntry()
308 SkISize fTileSize; member in CompositingImages
/third_party/skia/src/shaders/
DSkPerlinNoiseShader.cpp83 fTileSize.set(SkScalarRoundToInt(tileVec.fX), SkScalarRoundToInt(tileVec.fY)); in PaintingData()
85 if (!fTileSize.isEmpty()) { in PaintingData()
103 , fTileSize(that.fTileSize) in PaintingData()
118 SkISize fTileSize; member
215 SkScalar tileWidth = SkIntToScalar(fTileSize.width()); in stitch()
216 SkScalar tileHeight = SkIntToScalar(fTileSize.height()); in stitch()
326 const SkISize fTileSize; member in SkPerlinNoiseShaderImpl
366 , fTileSize(nullptr == tileSize ? SkISize::Make(0, 0) : *tileSize) in SkPerlinNoiseShaderImpl()
367 , fStitchTiles(!fTileSize.isEmpty()) in SkPerlinNoiseShaderImpl()
404 buffer.writeInt(fTileSize.fWidth); in flatten()
[all …]
/third_party/flutter/skia/src/shaders/
DSkPerlinNoiseShader.cpp111 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 …]