Home
last modified time | relevance | path

Searched refs:fBitmaps (Results 1 – 10 of 10) sorted by relevance

/external/skia/samplecode/
DSampleFilter2.cpp29 SkBitmap* fBitmaps; member in Filter2View
35 fBitmaps = new SkBitmap[fBitmapCount]; in Filter2View()
38 SkImageDecoder::DecodeFile(gNames[i], &fBitmaps[i], kN32_SkColorType, in Filter2View()
42 SkImageDecoder::DecodeFile(gNames[i-fBitmapCount/2], &fBitmaps[i], kRGB_565_SkColorType, in Filter2View()
51 delete[] fBitmaps; in ~Filter2View()
69 const SkScalar W = SkIntToScalar(fBitmaps[0].width() + 1); in onDrawContent()
70 const SkScalar H = SkIntToScalar(fBitmaps[0].height() + 1); in onDrawContent()
85 canvas->drawBitmap(fBitmaps[i], x, y, &paint); in onDrawContent()
104 s.appendS32(fBitmaps[i].colorType() == kRGB_565_SkColorType ? 16 : 32); in onDrawContent()
DSampleEncode.cpp109 SkBitmap* fBitmaps; member in EncodeView
116 fBitmaps = new SkBitmap[fBitmapCount]; in EncodeView()
120 make_image(&fBitmaps[i], gColorTypes[i], i); in EncodeView()
130 SkAutoDataUnref data(codec->encodeData(fBitmaps[i], 100)); in EncodeView()
147 delete[] fBitmaps; in ~EncodeView()
178 x + SkIntToScalar(fBitmaps[i].width()) / 2, 0, in onDrawContent()
182 canvas->drawBitmap(fBitmaps[i], x, y); in onDrawContent()
186 yy += SkIntToScalar(fBitmaps[i].height() + 10); in onDrawContent()
204 x += SkIntToScalar(fBitmaps[i].width() + SPACER); in onDrawContent()
210 y = (paint.getTextSize() + SkIntToScalar(fBitmaps[0].height())) * 3 / 2; in onDrawContent()
[all …]
DSampleFontCache.cpp85 SkBitmap fBitmaps[N]; member in FontCacheView
95 fBitmaps[i].allocPixels(SkImageInfo::Make(320, 240, in FontCacheView()
98 status = pthread_create(&fDThreads[i], NULL, draw_proc, &fBitmaps[i]); in FontCacheView()
129 canvas->drawBitmap(fBitmaps[i], x, y); in onDrawContent()
130 x += SkIntToScalar(fBitmaps[i].width()); in onDrawContent()
/external/skia/src/core/
DSkPictureData.cpp46 fBitmaps = record.fBitmaps; in SkPictureData()
99 if (fBitmaps.count() > 0) { in containsBitmaps()
192 if ((n = fBitmaps.count()) > 0) { in flattenToBuffer()
195 buffer.writeBitmap(fBitmaps[i]); in flattenToBuffer()
411 fBitmaps.reset(count); in parseBufferTag()
413 SkBitmap* bm = &fBitmaps[i]; in parseBufferTag()
DSkPictureData.h90 return fBitmaps[index]; in getBitmap()
149 SkTArray<SkBitmap> fBitmaps; variable
DSkPictureRecord.cpp902 for (int i = 0; i < fBitmaps.count(); i++) { in addBitmap()
903 if (equivalent(fBitmaps[i], bitmap)) { in addBitmap()
911 fBitmaps.push_back(bitmap); in addBitmap()
917 fBitmaps.push_back(copy); in addBitmap()
919 this->addInt(fBitmaps.count()-1); // Remember, 0-based. in addBitmap()
DSkPictureRecord.h225 SkTArray<SkBitmap> fBitmaps; variable
/external/skia/src/pipe/utils/
DSamplePipeControllers.cpp56 SkDEBUGCODE(bool extracted = )bitmap.extractSubset(&fBitmaps[i], rect); in TiledPipeController()
58 SkBaseDevice* device = new SkBitmapDevice(fBitmaps[i]); in TiledPipeController()
DSamplePipeControllers.h47 SkBitmap fBitmaps[NumberOfTiles]; variable
/external/skia/src/pipe/
DSkGPipeRead.cpp151 if(fBitmaps.count() == index) { in addBitmap()
153 *fBitmaps.append() = bm; in addBitmap()
155 bm = fBitmaps[index]; in addBitmap()
167 return fBitmaps[index]; in getBitmap()
234 SkTDArray<SkBitmap*> fBitmaps; member in SkGPipeState
892 fBitmaps.deleteAll(); in ~SkGPipeState()