Searched refs:fBitmap (Results 1 - 25 of 223) 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/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/src/image/
H A DSkImage_Gpu.cpp28 GrTexture* getTexture() const { return fBitmap.getTexture(); }
37 SkBitmap fBitmap; member in class:SkImage_Gpu
46 , fBitmap(bitmap) {
47 SkASSERT(fBitmap.getTexture());
57 return SkShader::CreateBitmapShader(fBitmap, tileX, tileY, localMatrix);
61 canvas->drawBitmap(fBitmap, x, y, paint);
66 canvas->drawBitmapRectToRect(fBitmap, src, dst, paint);
70 return fBitmap.getTexture();
74 return fBitmap.copyTo(dst, kN32_SkColorType);
78 return fBitmap
[all...]
H A DSkSurface_Raster.cpp33 SkBitmap fBitmap; member in class:SkSurface_Raster
86 fBitmap.installPixels(info, pixels, rb, NULL, releaseProc, context);
95 fBitmap.setInfo(info, info.minRowBytes());
96 fBitmap.setPixelRef(pr);
100 fBitmap.eraseColor(SK_ColorTRANSPARENT);
105 return SkNEW_ARGS(SkCanvas, (fBitmap, this->props()));
114 canvas->drawBitmap(fBitmap, x, y, paint);
118 return SkNewImageFromBitmap(fBitmap, fWeOwnThePixels);
124 if (SkBitmapImageGetPixelRef(this->getCachedImage()) == fBitmap.pixelRef()) {
127 fBitmap
[all...]
H A DSkImage_Raster.cpp66 SkPixelRef* getPixelRef() const { return fBitmap.pixelRef(); }
76 , fBitmap(bm) {}
81 SkBitmap fBitmap; member in class:SkImage_Raster
110 fBitmap.installPixels(info, addr, rowBytes, ctable, release_data, data);
111 fBitmap.setImmutable();
112 fBitmap.lockPixels();
118 fBitmap.setInfo(info, rowBytes);
119 fBitmap.setPixelRef(pr);
120 fBitmap.lockPixels();
127 return SkShader::CreateBitmapShader(fBitmap, tile
[all...]
/external/chromium_org/third_party/skia/gm/
H A Dbitmapsource.cpp25 fBitmap.allocN32Pixels(100, 100);
26 SkCanvas canvas(fBitmap);
59 fBitmap.getBounds(&bounds);
60 SkAutoTUnref<SkImageFilter> bitmapSource(SkBitmapSource::Create(fBitmap));
61 SkAutoTUnref<SkImageFilter> bitmapSourceSrcRect(SkBitmapSource::Create(fBitmap, srcRect, srcRect));
62 SkAutoTUnref<SkImageFilter> bitmapSourceSrcRectDstRect(SkBitmapSource::Create(fBitmap, srcRect, dstRect));
63 SkAutoTUnref<SkImageFilter> bitmapSourceDstRectOnly(SkBitmapSource::Create(fBitmap, bounds, dstRect));
84 SkBitmap fBitmap; member in class:BitmapSourceGM
H A Dxfermodeimagefilter.cpp32 fBitmap.allocN32Pixels(80, 80);
33 SkCanvas canvas(fBitmap);
139 drawClippedBitmap(canvas, fBitmap, paint, x, y);
140 x += fBitmap.width() + MARGIN;
141 if (x + fBitmap.width() > WIDTH) {
143 y += fBitmap.height() + MARGIN;
150 drawClippedBitmap(canvas, fBitmap, paint, x, y);
151 x += fBitmap.width() + MARGIN;
152 if (x + fBitmap.width() > WIDTH) {
154 y += fBitmap
219 SkBitmap fBitmap, fCheckerboard; member in class:skiagm::XfermodeImageFilterGM
[all...]
H A Dcmykjpeg.cpp40 codec->decode(&stream, &fBitmap, kN32_SkColorType, SkImageDecoder::kDecodePixels_Mode);
56 canvas->drawBitmap(fBitmap, 0, 0);
60 SkBitmap fBitmap; member in class:skiagm::CMYKJpegGM
H A Dfactory.cpp43 &fBitmap, pool));
56 canvas->drawBitmap(fBitmap, 0, 0);
65 SkBitmap fBitmap; member in class:skiagm::FactoryGM
H A Dmorphology.cpp29 fBitmap.allocN32Pixels(135, 135);
30 SkCanvas canvas(fBitmap);
51 SkIntToScalar(fBitmap.width()), SkIntToScalar(fBitmap.height())));
52 canvas->drawBitmap(fBitmap, 0, 0, &paint);
97 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.cpp33 const uint16_t* SK_RESTRICT table = s.fBitmap->getColorTable()->lock16BitCache();
34 const uint8_t* SK_RESTRICT srcAddr = (const uint8_t*)s.fBitmap->getPixels();
38 SkASSERT((unsigned)xy[0] < (unsigned)s.fBitmap->height());
40 xy[0] * s.fBitmap->rowBytes());
44 if (1 == s.fBitmap->width()) {
108 s.fBitmap->getColorTable()->unlock16BitCache();
124 const SkPMColor* SK_RESTRICT table = s.fBitmap->getColorTable()->lockColors();
125 const uint8_t* SK_RESTRICT srcAddr = (const uint8_t*)s.fBitmap->getPixels();
129 SkASSERT((unsigned)xy[0] < (unsigned)s.fBitmap->height());
130 srcAddr = (const uint8_t*)((const char*)srcAddr + xy[0] * s.fBitmap
[all...]
H A DSkBitmapProcState_opts_mips_dsp.cpp21 const uint16_t* SK_RESTRICT table = s.fBitmap->getColorTable()->lock16BitCache();
22 const uint8_t* SK_RESTRICT srcAddr = (const uint8_t*)s.fBitmap->getPixels();
23 SkASSERT((unsigned)xy[0] < (unsigned)s.fBitmap->height());
24 srcAddr = (const uint8_t*)((const char*)srcAddr + xy[0] * s.fBitmap->rowBytes());
27 if (1 == s.fBitmap->width()) {
145 s.fBitmap->getColorTable()->unlock16BitCache();
154 const SkPMColor* SK_RESTRICT table = s.fBitmap->getColorTable()->lockColors();
155 const uint8_t* SK_RESTRICT srcAddr = (const uint8_t*)s.fBitmap->getPixels();
156 srcAddr = (const uint8_t*)((const char*)srcAddr + xy[0] * s.fBitmap->rowBytes());
158 if (1 == 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)
32 fBitmap.legacyUnflatten(buffer);
34 buffer.readBitmap(&fBitmap);
56 buffer.writeBitmap(fBitmap);
62 fBitmap.getBounds(&bounds);
66 *result = fBitmap;
89 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 362 milliseconds

123456789