Searched refs:fBitmap (Results 1 - 25 of 224) sorted by relevance

123456789

/external/chromium_org/third_party/skia/debugger/QT/
H A DSkRasterWidget.cpp12 fBitmap.allocN32Pixels(800, 800);
13 fBitmap.eraseColor(SK_ColorTRANSPARENT);
14 fDevice = new SkBitmapDevice(fBitmap);
26 fBitmap.allocN32Pixels(event->size().width(), event->size().height());
27 fBitmap.eraseColor(SK_ColorTRANSPARENT);
30 fDevice = new SkBitmapDevice(fBitmap);
46 QImage image((uchar *)fBitmap.getPixels(), fBitmap.width(),
47 fBitmap.height(), QImage::Format_ARGB32_Premultiplied);
/external/skia/debugger/QT/
H A DSkRasterWidget.cpp12 fBitmap.allocN32Pixels(800, 800);
13 fBitmap.eraseColor(SK_ColorTRANSPARENT);
14 fDevice = new SkBitmapDevice(fBitmap);
26 fBitmap.allocN32Pixels(event->size().width(), event->size().height());
27 fBitmap.eraseColor(SK_ColorTRANSPARENT);
30 fDevice = new SkBitmapDevice(fBitmap);
46 QImage image((uchar *)fBitmap.getPixels(), fBitmap.width(),
47 fBitmap.height(), QImage::Format_ARGB32_Premultiplied);
/external/chromium_org/third_party/skia/dm/
H A DDMExpectationsTask.cpp12 , fBitmap(bitmap)
16 if (!fExpectations.check(*this, fBitmap)) {
/external/chromium_org/third_party/skia/src/image/
H A DSkImage_Gpu.cpp28 GrTexture* getTexture() { return fBitmap.getTexture(); }
31 SkBitmap fBitmap; member in class:SkImage_Gpu
40 , fBitmap(bitmap) {
41 SkASSERT(NULL != fBitmap.getTexture());
49 canvas->drawBitmap(fBitmap, x, y, paint);
54 canvas->drawBitmapRectToRect(fBitmap, src, dst, paint);
58 return fBitmap.getTexture();
62 return fBitmap.copyTo(dst, kN32_SkColorType);
H A DSkImage_Codec.cpp26 SkBitmap fBitmap; member in class:SkImage_Codec
43 if (!fBitmap.pixelRef()) {
44 if (!SkImageDecoder::DecodeMemory(fEncodedData->bytes(), fEncodedData->size(), &fBitmap)) {
48 canvas->drawBitmap(fBitmap, x, y, paint);
53 if (!fBitmap.pixelRef()) {
54 if (!SkImageDecoder::DecodeMemory(fEncodedData->bytes(), fEncodedData->size(), &fBitmap)) {
58 canvas->drawBitmapRectToRect(fBitmap, src, dst, paint);
H A DSkSurface_Raster.cpp31 SkBitmap fBitmap; member in class:SkSurface_Raster
82 fBitmap.installPixels(info, pixels, rb);
91 fBitmap.setInfo(info, info.minRowBytes());
92 fBitmap.setPixelRef(pr);
96 fBitmap.eraseColor(SK_ColorTRANSPARENT);
101 return SkNEW_ARGS(SkCanvas, (fBitmap));
110 canvas->drawBitmap(fBitmap, x, y, paint);
114 return SkNewImageFromBitmap(fBitmap, fWeOwnThePixels);
120 if (SkBitmapImageGetPixelRef(this->getCachedImage()) == fBitmap.pixelRef()) {
123 fBitmap
[all...]
/external/skia/dm/
H A DDMExpectationsTask.cpp12 , fBitmap(bitmap)
16 if (!fExpectations.check(*this, fBitmap)) {
/external/skia/src/image/
H A DSkImage_Gpu.cpp28 GrTexture* getTexture() { return fBitmap.getTexture(); }
31 SkBitmap fBitmap; member in class:SkImage_Gpu
40 , fBitmap(bitmap) {
41 SkASSERT(NULL != fBitmap.getTexture());
49 canvas->drawBitmap(fBitmap, x, y, paint);
54 canvas->drawBitmapRectToRect(fBitmap, src, dst, paint);
58 return fBitmap.getTexture();
62 return fBitmap.copyTo(dst, kN32_SkColorType);
H A DSkImage_Codec.cpp26 SkBitmap fBitmap; member in class:SkImage_Codec
43 if (!fBitmap.pixelRef()) {
44 if (!SkImageDecoder::DecodeMemory(fEncodedData->bytes(), fEncodedData->size(), &fBitmap)) {
48 canvas->drawBitmap(fBitmap, x, y, paint);
53 if (!fBitmap.pixelRef()) {
54 if (!SkImageDecoder::DecodeMemory(fEncodedData->bytes(), fEncodedData->size(), &fBitmap)) {
58 canvas->drawBitmapRectToRect(fBitmap, src, dst, paint);
H A DSkSurface_Raster.cpp31 SkBitmap fBitmap; member in class:SkSurface_Raster
82 fBitmap.installPixels(info, pixels, rb);
91 fBitmap.setInfo(info, info.minRowBytes());
92 fBitmap.setPixelRef(pr);
96 fBitmap.eraseColor(SK_ColorTRANSPARENT);
101 return SkNEW_ARGS(SkCanvas, (fBitmap));
110 canvas->drawBitmap(fBitmap, x, y, paint);
114 return SkNewImageFromBitmap(fBitmap, fWeOwnThePixels);
120 if (SkBitmapImageGetPixelRef(this->getCachedImage()) == fBitmap.pixelRef()) {
123 fBitmap
[all...]
/external/chromium_org/third_party/skia/gm/
H A Dbitmapsource.cpp25 fBitmap.allocN32Pixels(100, 100);
26 SkCanvas canvas(fBitmap);
58 fBitmap.getBounds(&bounds);
59 SkAutoTUnref<SkImageFilter> bitmapSource(SkBitmapSource::Create(fBitmap));
60 SkAutoTUnref<SkImageFilter> bitmapSourceSrcRect(SkBitmapSource::Create(fBitmap, srcRect, srcRect));
61 SkAutoTUnref<SkImageFilter> bitmapSourceSrcRectDstRect(SkBitmapSource::Create(fBitmap, srcRect, dstRect));
62 SkAutoTUnref<SkImageFilter> bitmapSourceDstRectOnly(SkBitmapSource::Create(fBitmap, bounds, dstRect));
83 SkBitmap fBitmap; member in class:BitmapSourceGM
H A Dxfermodeimagefilter.cpp32 fBitmap.allocN32Pixels(80, 80);
33 SkCanvas canvas(fBitmap);
138 drawClippedBitmap(canvas, fBitmap, paint, x, y);
139 x += fBitmap.width() + MARGIN;
140 if (x + fBitmap.width() > WIDTH) {
142 y += fBitmap.height() + MARGIN;
149 drawClippedBitmap(canvas, fBitmap, paint, x, y);
150 x += fBitmap.width() + MARGIN;
151 if (x + fBitmap.width() > WIDTH) {
153 y += fBitmap
218 SkBitmap fBitmap, fCheckerboard; member in class:skiagm::XfermodeImageFilterGM
[all...]
H A Dcmykjpeg.cpp46 codec->decode(&stream, &fBitmap, kN32_SkColorType, SkImageDecoder::kDecodePixels_Mode);
62 canvas->drawBitmap(fBitmap, 0, 0);
66 SkBitmap fBitmap; member in class:skiagm::CMYKJpegGM
H A Dfactory.cpp44 &fBitmap, pool));
57 canvas->drawBitmap(fBitmap, 0, 0);
66 SkBitmap fBitmap; member in class:skiagm::FactoryGM
H A Dmorphology.cpp29 fBitmap.allocN32Pixels(135, 135);
30 SkCanvas canvas(fBitmap);
50 SkIntToScalar(fBitmap.width()), SkIntToScalar(fBitmap.height())));
51 canvas->drawBitmap(fBitmap, 0, 0, &paint);
96 SkBitmap fBitmap; member in class:skiagm::MorphologyGM
/external/skia/gm/
H A Dbitmapsource.cpp25 fBitmap.allocN32Pixels(100, 100);
26 SkCanvas canvas(fBitmap);
58 fBitmap.getBounds(&bounds);
59 SkAutoTUnref<SkImageFilter> bitmapSource(SkBitmapSource::Create(fBitmap));
60 SkAutoTUnref<SkImageFilter> bitmapSourceSrcRect(SkBitmapSource::Create(fBitmap, srcRect, srcRect));
61 SkAutoTUnref<SkImageFilter> bitmapSourceSrcRectDstRect(SkBitmapSource::Create(fBitmap, srcRect, dstRect));
62 SkAutoTUnref<SkImageFilter> bitmapSourceDstRectOnly(SkBitmapSource::Create(fBitmap, bounds, dstRect));
83 SkBitmap fBitmap; member in class:BitmapSourceGM
H A Dxfermodeimagefilter.cpp32 fBitmap.allocN32Pixels(80, 80);
33 SkCanvas canvas(fBitmap);
138 drawClippedBitmap(canvas, fBitmap, paint, x, y);
139 x += fBitmap.width() + MARGIN;
140 if (x + fBitmap.width() > WIDTH) {
142 y += fBitmap.height() + MARGIN;
149 drawClippedBitmap(canvas, fBitmap, paint, x, y);
150 x += fBitmap.width() + MARGIN;
151 if (x + fBitmap.width() > WIDTH) {
153 y += fBitmap
218 SkBitmap fBitmap, fCheckerboard; member in class:skiagm::XfermodeImageFilterGM
[all...]
H A Dcmykjpeg.cpp46 codec->decode(&stream, &fBitmap, kN32_SkColorType, SkImageDecoder::kDecodePixels_Mode);
62 canvas->drawBitmap(fBitmap, 0, 0);
66 SkBitmap fBitmap; member in class:skiagm::CMYKJpegGM
H A Dfactory.cpp44 &fBitmap, pool));
57 canvas->drawBitmap(fBitmap, 0, 0);
66 SkBitmap fBitmap; member in class:skiagm::FactoryGM
H A Dmorphology.cpp29 fBitmap.allocN32Pixels(135, 135);
30 SkCanvas canvas(fBitmap);
50 SkIntToScalar(fBitmap.width()), SkIntToScalar(fBitmap.height())));
51 canvas->drawBitmap(fBitmap, 0, 0, &paint);
96 SkBitmap fBitmap; member in class:skiagm::MorphologyGM
/external/chromium_org/third_party/skia/src/opts/
H A DSkBitmapProcState_opts_arm.cpp32 const uint16_t* SK_RESTRICT table = s.fBitmap->getColorTable()->lock16BitCache();
33 const uint8_t* SK_RESTRICT srcAddr = (const uint8_t*)s.fBitmap->getPixels();
37 SkASSERT((unsigned)xy[0] < (unsigned)s.fBitmap->height());
39 xy[0] * s.fBitmap->rowBytes());
43 if (1 == s.fBitmap->width()) {
107 s.fBitmap->getColorTable()->unlock16BitCache();
123 const SkPMColor* SK_RESTRICT table = s.fBitmap->getColorTable()->lockColors();
124 const uint8_t* SK_RESTRICT srcAddr = (const uint8_t*)s.fBitmap->getPixels();
128 SkASSERT((unsigned)xy[0] < (unsigned)s.fBitmap->height());
129 srcAddr = (const uint8_t*)((const char*)srcAddr + xy[0] * s.fBitmap
[all...]
/external/skia/src/opts/
H A DSkBitmapProcState_opts_arm.cpp32 const uint16_t* SK_RESTRICT table = s.fBitmap->getColorTable()->lock16BitCache();
33 const uint8_t* SK_RESTRICT srcAddr = (const uint8_t*)s.fBitmap->getPixels();
37 SkASSERT((unsigned)xy[0] < (unsigned)s.fBitmap->height());
39 xy[0] * s.fBitmap->rowBytes());
43 if (1 == s.fBitmap->width()) {
107 s.fBitmap->getColorTable()->unlock16BitCache();
123 const SkPMColor* SK_RESTRICT table = s.fBitmap->getColorTable()->lockColors();
124 const uint8_t* SK_RESTRICT srcAddr = (const uint8_t*)s.fBitmap->getPixels();
128 SkASSERT((unsigned)xy[0] < (unsigned)s.fBitmap->height());
129 srcAddr = (const uint8_t*)((const char*)srcAddr + xy[0] * s.fBitmap
[all...]
/external/chromium_org/third_party/skia/src/effects/
H A DSkBitmapSource.cpp17 fBitmap(bitmap),
25 , fBitmap(bitmap)
31 fBitmap.legacyUnflatten(buffer);
33 buffer.readBitmap(&fBitmap);
42 buffer.writeBitmap(fBitmap);
50 fBitmap.getBounds(&bounds);
54 *result = fBitmap;
77 canvas.drawBitmapRectToRect(fBitmap, &fSrcRect, dstRect, &paint);
/external/skia/src/effects/
H A DSkBitmapSource.cpp17 fBitmap(bitmap),
25 , fBitmap(bitmap)
31 fBitmap.legacyUnflatten(buffer);
33 buffer.readBitmap(&fBitmap);
42 buffer.writeBitmap(fBitmap);
50 fBitmap.getBounds(&bounds);
54 *result = fBitmap;
77 canvas.drawBitmapRectToRect(fBitmap, &fSrcRect, dstRect, &paint);
/external/skia/src/core/
H A DSkBitmapDevice.cpp60 SkBitmapDevice::SkBitmapDevice(const SkBitmap& bitmap) : fBitmap(bitmap) {
66 , fBitmap(bitmap)
101 return fBitmap.info();
105 SkASSERT(bm.width() == fBitmap.width());
106 SkASSERT(bm.height() == fBitmap.height());
107 fBitmap = bm; // intent is to use bm's pixelRef (and rowbytes/config)
108 fBitmap.lockPixels();
116 if (fBitmap.lockPixelsAreWritable()) {
117 fBitmap.lockPixels();
122 if (fBitmap
[all...]

Completed in 1767 milliseconds

123456789