/external/skia/src/images/ |
SkImageRef.cpp | 34 fBitmap.setConfig(info); 60 SkASSERT(SkBitmap::kNo_Config != fBitmap.config()); 62 bitmap->setConfig(fBitmap.config(), fBitmap.width(), fBitmap.height()); 71 bitmap->setAlphaType(fBitmap.alphaType()); 98 if (NULL != fBitmap.getPixels() || 99 (SkBitmap::kNo_Config != fBitmap.config() && 104 SkASSERT(fBitmap.getPixels() == NULL); 123 if (this->onDecode(codec, fStream, &fBitmap, fBitmap.config(), mode)) [all...] |
SkImageRefPool.cpp | 34 ref->fBitmap.width(), ref->fBitmap.height(), 35 ref->fBitmap.bytesPerPixel(), 36 ref->fBitmap.getSize(), (int)fRAMUsed); 62 if (!ref->isLocked() && ref->fBitmap.getPixels()) { 70 ref->fBitmap.width(), ref->fBitmap.height(), 71 ref->fBitmap.bytesPerPixel(), 77 ref->fBitmap.setPixels(NULL); 78 SkASSERT(NULL == ref->fBitmap.getPixels()) [all...] |
/external/skia/dm/ |
DMExpectationsTask.cpp | 12 , fBitmap(bitmap) 16 if (!fExpectations.check(*this, fBitmap)) {
|
DMExpectationsTask.h | 25 const SkBitmap fBitmap;
|
/external/chromium_org/third_party/skia/src/images/ |
SkImageRef.cpp | 56 SkASSERT(SkBitmap::kNo_Config != fBitmap.config()); 58 bitmap->setConfig(fBitmap.config(), fBitmap.width(), fBitmap.height()); 67 bitmap->setAlphaType(fBitmap.alphaType()); 94 if (NULL != fBitmap.getPixels() || 95 (SkBitmap::kNo_Config != fBitmap.config() && 100 SkASSERT(fBitmap.getPixels() == NULL); 119 if (this->onDecode(codec, fStream, &fBitmap, fBitmap.config(), mode)) [all...] |
SkImageRefPool.cpp | 34 ref->fBitmap.width(), ref->fBitmap.height(), 35 ref->fBitmap.bytesPerPixel(), 36 ref->fBitmap.getSize(), (int)fRAMUsed); 62 if (!ref->isLocked() && ref->fBitmap.getPixels()) { 70 ref->fBitmap.width(), ref->fBitmap.height(), 71 ref->fBitmap.bytesPerPixel(), 77 ref->fBitmap.setPixels(NULL); 78 SkASSERT(NULL == ref->fBitmap.getPixels()) [all...] |
/external/chromium_org/third_party/skia/src/image/ |
SkImage_Codec.cpp | 26 SkBitmap fBitmap; 43 if (!fBitmap.pixelRef()) { 45 &fBitmap)) { 49 canvas->drawBitmap(fBitmap, x, y, paint); 54 if (!fBitmap.pixelRef()) { 56 &fBitmap)) { 60 canvas->drawBitmapRectToRect(fBitmap, src, dst, paint);
|
SkImage_Gpu.cpp | 31 GrTexture* getTexture() { return fBitmap.getTexture(); } 34 SkBitmap fBitmap; 43 , fBitmap(bitmap) { 44 SkASSERT(NULL != fBitmap.getTexture()); 52 canvas->drawBitmap(fBitmap, x, y, paint); 57 canvas->drawBitmapRectToRect(fBitmap, src, dst, paint); 61 return fBitmap.getTexture();
|
SkSurface_Raster.cpp | 31 SkBitmap fBitmap; 86 fBitmap.setConfig(config, info.fWidth, info.fHeight, rb, info.fAlphaType); 87 fBitmap.setPixels(pixels); 94 fBitmap.setConfig(config, info.fWidth, info.fHeight, rb, info.fAlphaType); 95 fBitmap.setPixelRef(pr); 99 fBitmap.eraseColor(SK_ColorTRANSPARENT); 104 return SkNEW_ARGS(SkCanvas, (fBitmap)); 113 canvas->drawBitmap(fBitmap, x, y, paint); 117 return SkNewImageFromBitmap(fBitmap, fWeOwnThePixels); 123 if (SkBitmapImageGetPixelRef(this->getCachedImage()) == fBitmap.pixelRef()) [all...] |
/external/skia/src/image/ |
SkImage_Codec.cpp | 26 SkBitmap fBitmap; 43 if (!fBitmap.pixelRef()) { 45 &fBitmap)) { 49 canvas->drawBitmap(fBitmap, x, y, paint); 54 if (!fBitmap.pixelRef()) { 56 &fBitmap)) { 60 canvas->drawBitmapRectToRect(fBitmap, src, dst, paint);
|
SkImage_Gpu.cpp | 31 GrTexture* getTexture() { return fBitmap.getTexture(); } 34 SkBitmap fBitmap; 43 , fBitmap(bitmap) { 44 SkASSERT(NULL != fBitmap.getTexture()); 52 canvas->drawBitmap(fBitmap, x, y, paint); 57 canvas->drawBitmapRectToRect(fBitmap, src, dst, paint); 61 return fBitmap.getTexture();
|
SkSurface_Raster.cpp | 31 SkBitmap fBitmap; 86 fBitmap.setConfig(config, info.fWidth, info.fHeight, rb, info.fAlphaType); 87 fBitmap.setPixels(pixels); 94 fBitmap.setConfig(config, info.fWidth, info.fHeight, rb, info.fAlphaType); 95 fBitmap.setPixelRef(pr); 99 fBitmap.eraseColor(SK_ColorTRANSPARENT); 104 return SkNEW_ARGS(SkCanvas, (fBitmap)); 113 canvas->drawBitmap(fBitmap, x, y, paint); 117 return SkNewImageFromBitmap(fBitmap, fWeOwnThePixels); 123 if (SkBitmapImageGetPixelRef(this->getCachedImage()) == fBitmap.pixelRef()) [all...] |
/external/skia/gm/ |
bitmapsource.cpp | 25 fBitmap.setConfig(SkBitmap::kARGB_8888_Config, 100, 100); 26 fBitmap.allocPixels(); 27 SkBitmapDevice device(fBitmap); 60 fBitmap.getBounds(&bounds); 61 SkAutoTUnref<SkImageFilter> bitmapSource(new SkBitmapSource(fBitmap)); 62 SkAutoTUnref<SkImageFilter> bitmapSourceSrcRect(new SkBitmapSource(fBitmap, srcRect, srcRect)); 63 SkAutoTUnref<SkImageFilter> bitmapSourceSrcRectDstRect(new SkBitmapSource(fBitmap, srcRect, dstRect)); 64 SkAutoTUnref<SkImageFilter> bitmapSourceDstRectOnly(new SkBitmapSource(fBitmap, bounds, dstRect)); 85 SkBitmap fBitmap;
|
xfermodeimagefilter.cpp | 32 fBitmap.setConfig(SkBitmap::kARGB_8888_Config, 80, 80); 33 fBitmap.allocPixels(); 34 SkBitmapDevice device(fBitmap); 143 drawClippedBitmap(canvas, fBitmap, paint, x, y); 144 x += fBitmap.width() + MARGIN; 145 if (x + fBitmap.width() > WIDTH) { 147 y += fBitmap.height() + MARGIN; 154 drawClippedBitmap(canvas, fBitmap, paint, x, y); 155 x += fBitmap.width() + MARGIN; 156 if (x + fBitmap.width() > WIDTH) [all...] |
morphology.cpp | 29 fBitmap.setConfig(SkBitmap::kARGB_8888_Config, 135, 135); 30 fBitmap.allocPixels(); 31 SkBitmapDevice device(fBitmap); 52 SkIntToScalar(fBitmap.width()), SkIntToScalar(fBitmap.height()))); 53 canvas->drawBitmap(fBitmap, 0, 0, &paint); 98 SkBitmap fBitmap;
|
cmykjpeg.cpp | 46 codec->decode(&stream, &fBitmap, prefConfig, 63 canvas->drawBitmap(fBitmap, 0, 0); 67 SkBitmap fBitmap;
|
factory.cpp | 39 &fBitmap, pool)); 52 canvas->drawBitmap(fBitmap, 0, 0); 61 SkBitmap fBitmap;
|
/external/chromium_org/third_party/skia/src/effects/ |
SkBitmapSource.cpp | 16 fBitmap(bitmap), 24 fBitmap(bitmap), 31 fBitmap.unflatten(buffer); 39 fBitmap.flatten(buffer); 47 fBitmap.getBounds(&bounds); 51 *result = fBitmap; 73 canvas.drawBitmapRectToRect(fBitmap, &fSrcRect, dstRect, &paint);
|
/external/skia/src/effects/ |
SkBitmapSource.cpp | 16 fBitmap(bitmap), 24 fBitmap(bitmap), 31 fBitmap.unflatten(buffer); 39 fBitmap.flatten(buffer); 47 fBitmap.getBounds(&bounds); 51 *result = fBitmap; 73 canvas.drawBitmapRectToRect(fBitmap, &fSrcRect, dstRect, &paint);
|
/external/chromium_org/third_party/skia/src/opts/ |
SkBitmapProcState_opts_arm.cpp | 32 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->rowBytes()) [all...] |
/external/skia/src/opts/ |
SkBitmapProcState_opts_arm.cpp | 32 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->rowBytes()) [all...] |
/external/skia/bench/ |
CoverageBench.cpp | 22 SkBitmap fBitmap; 35 fBitmap.setConfig(SkBitmap::kA8_Config, 500, 500); 36 fBitmap.allocPixels(); 41 fDraw.fBitmap = &fBitmap;
|
RepeatTileBench.cpp | 91 SkBitmap fBitmap; 102 fBitmap.setConfig(SkBitmap::kARGB_8888_Config, w, h); 104 fBitmap.setConfig(fConfig, w, h); 107 gConfigName[fBitmap.config()], isOpaque ? 'X' : 'A'); 116 fBitmap.allocPixels(); 117 fBitmap.eraseColor(fIsOpaque ? SK_ColorWHITE : 0); 118 fBitmap.setAlphaType(fIsOpaque ? 121 draw_into_bitmap(fBitmap); 125 convert_to_index666(fBitmap, &tmp, fIsOpaque); 126 fBitmap = tmp [all...] |
BitmapRectBench.cpp | 42 SkBitmap fBitmap; 58 fBitmap.setConfig(SkBitmap::kARGB_8888_Config, kWidth, kHeight); 71 fBitmap.allocPixels(); 72 fBitmap.setAlphaType(kOpaque_SkAlphaType); 73 fBitmap.eraseColor(SK_ColorBLACK); 74 draw_into_bitmap(fBitmap); 99 canvas->drawBitmapRectToRect(fBitmap, &fSrcR, fDstR, &paint);
|
/external/chromium_org/third_party/skia/src/animator/ |
SkDrawBitmap.cpp | 36 maker.fCanvas->drawBitmap(fBitmap, x, y, maker.fPaint); 91 fBitmap.setConfig((SkBitmap::Config) format, width, height, rowBytes); 92 fBitmap.allocPixels(); 94 fBitmap.eraseColor(fColor); 162 value->fOperand.fS32 = fBitmap.height(); 165 value->fOperand.fS32 = fBitmap.width(); 182 fBitmap.reset(); 183 SkImageDecoder::DecodeMemory(base64.fData, base64.fLength, &fBitmap); 188 fBitmap.reset(); 193 SkImageDecoder::DecodeStream(stream, &fBitmap); [all...] |