/external/chromium_org/third_party/skia/src/effects/ |
SkBitmapSource.cpp | 12 fBitmap(bitmap) { 17 fBitmap.unflatten(buffer); 22 fBitmap.flatten(buffer); 27 *result = fBitmap;
|
/external/skia/src/effects/ |
SkBitmapSource.cpp | 12 fBitmap(bitmap) { 17 fBitmap.unflatten(buffer); 22 fBitmap.flatten(buffer); 27 *result = fBitmap;
|
/external/chromium_org/third_party/skia/src/images/ |
SkImageRef.cpp | 57 SkASSERT(SkBitmap::kNo_Config != fBitmap.config()); 59 bitmap->setConfig(fBitmap.config(), fBitmap.width(), fBitmap.height()); 67 bitmap->setIsOpaque(fBitmap.isOpaque()); 98 if (SkBitmap::kNo_Config != fBitmap.config()) { 99 fConfig = fBitmap.config(); 102 if (NULL != fBitmap.getPixels() || 103 (SkBitmap::kNo_Config != fBitmap.config() && 108 SkASSERT(fBitmap.getPixels() == NULL) [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/src/images/ |
SkImageRef.cpp | 57 SkASSERT(SkBitmap::kNo_Config != fBitmap.config()); 59 bitmap->setConfig(fBitmap.config(), fBitmap.width(), fBitmap.height()); 67 bitmap->setIsOpaque(fBitmap.isOpaque()); 98 if (SkBitmap::kNo_Config != fBitmap.config()) { 99 fConfig = fBitmap.config(); 102 if (NULL != fBitmap.getPixels() || 103 (SkBitmap::kNo_Config != fBitmap.config() && 108 SkASSERT(fBitmap.getPixels() == NULL) [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; 45 , fBitmap(bitmap) { 46 SkASSERT(NULL != fBitmap.getTexture()); 54 canvas->drawBitmap(fBitmap, x, y, paint); 59 canvas->drawBitmapRectToRect(fBitmap, src, dst, paint); 63 return fBitmap.getTexture();
|
SkSurface_Raster.cpp | 31 SkBitmap fBitmap; 89 fBitmap.setConfig(config, info.fWidth, info.fHeight, rb); 90 fBitmap.setPixels(pixels); 91 fBitmap.setIsOpaque(isOpaque); 100 fBitmap.setConfig(config, info.fWidth, info.fHeight, rb); 101 fBitmap.setPixelRef(pr); 102 fBitmap.setIsOpaque(isOpaque); 106 fBitmap.eraseColor(SK_ColorTRANSPARENT); 111 return SkNEW_ARGS(SkCanvas, (fBitmap)); 120 canvas->drawBitmap(fBitmap, x, y, paint) [all...] |
SkImage_Raster.cpp | 64 SkPixelRef* getPixelRef() const { return fBitmap.pixelRef(); } 69 SkBitmap fBitmap; 91 fBitmap.setConfig(config, info.fWidth, info.fHeight, rowBytes); 92 fBitmap.setPixelRef(SkNEW_ARGS(SkDataPixelRef, (data)))->unref(); 93 fBitmap.setIsOpaque(isOpaque); 94 fBitmap.setImmutable(); 102 fBitmap.setConfig(config, info.fWidth, info.fHeight, rowBytes); 103 fBitmap.setPixelRef(pr); 104 fBitmap.setIsOpaque(isOpaque); 110 canvas->drawBitmap(fBitmap, x, y, paint) [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; 45 , fBitmap(bitmap) { 46 SkASSERT(NULL != fBitmap.getTexture()); 54 canvas->drawBitmap(fBitmap, x, y, paint); 59 canvas->drawBitmapRectToRect(fBitmap, src, dst, paint); 63 return fBitmap.getTexture();
|
SkSurface_Raster.cpp | 31 SkBitmap fBitmap; 89 fBitmap.setConfig(config, info.fWidth, info.fHeight, rb); 90 fBitmap.setPixels(pixels); 91 fBitmap.setIsOpaque(isOpaque); 100 fBitmap.setConfig(config, info.fWidth, info.fHeight, rb); 101 fBitmap.setPixelRef(pr); 102 fBitmap.setIsOpaque(isOpaque); 106 fBitmap.eraseColor(SK_ColorTRANSPARENT); 111 return SkNEW_ARGS(SkCanvas, (fBitmap)); 120 canvas->drawBitmap(fBitmap, x, y, paint) [all...] |
SkImage_Raster.cpp | 64 SkPixelRef* getPixelRef() const { return fBitmap.pixelRef(); } 69 SkBitmap fBitmap; 91 fBitmap.setConfig(config, info.fWidth, info.fHeight, rowBytes); 92 fBitmap.setPixelRef(SkNEW_ARGS(SkDataPixelRef, (data)))->unref(); 93 fBitmap.setIsOpaque(isOpaque); 94 fBitmap.setImmutable(); 102 fBitmap.setConfig(config, info.fWidth, info.fHeight, rowBytes); 103 fBitmap.setPixelRef(pr); 104 fBitmap.setIsOpaque(isOpaque); 110 canvas->drawBitmap(fBitmap, x, y, paint) [all...] |
/external/skia/gm/ |
xfermodeimagefilter.cpp | 32 fBitmap.setConfig(SkBitmap::kARGB_8888_Config, 80, 80); 33 fBitmap.allocPixels(); 34 SkDevice device(fBitmap); 133 drawClippedBitmap(canvas, fBitmap, paint, SkIntToScalar(x), SkIntToScalar(y)); 134 x += fBitmap.width() + MARGIN; 135 if (x + fBitmap.width() > WIDTH) { 137 y += fBitmap.height() + MARGIN; 144 drawClippedBitmap(canvas, fBitmap, paint, SkIntToScalar(x), SkIntToScalar(y)); 145 x += fBitmap.width() + MARGIN; 146 if (x + fBitmap.width() > WIDTH) [all...] |
cmykjpeg.cpp | 46 codec->decode(&stream, &fBitmap, prefConfig, 63 canvas->drawBitmap(fBitmap, 0, 0); 67 SkBitmap fBitmap;
|
factory.cpp | 44 factory.installPixelRef(data, &fBitmap); 57 canvas->drawBitmap(fBitmap, 0, 0); 61 SkBitmap fBitmap;
|
imagefiltersgraph.cpp | 33 fBitmap.setConfig(SkBitmap::kARGB_8888_Config, 100, 100); 34 fBitmap.allocPixels(); 35 SkDevice device(fBitmap); 55 SkAutoTUnref<SkImageFilter> bitmapSource(new SkBitmapSource(fBitmap)); 82 canvas->drawBitmap(fBitmap, 100, 0, &paint); 88 SkBitmap fBitmap;
|
/external/skia/bench/ |
RepeatTileBench.cpp | 89 SkBitmap fBitmap; 101 fBitmap.setConfig(SkBitmap::kARGB_8888_Config, w, h); 103 fBitmap.setConfig(fConfig, w, h); 106 gConfigName[fBitmap.config()], isOpaque ? 'X' : 'A'); 115 fBitmap.allocPixels(); 116 fBitmap.eraseColor(fIsOpaque ? SK_ColorWHITE : 0); 117 fBitmap.setIsOpaque(fIsOpaque); 119 draw_into_bitmap(fBitmap); 123 convert_to_index666(fBitmap, &tmp); 124 fBitmap = tmp [all...] |
/external/chromium_org/third_party/skia/include/effects/ |
SkBitmapSource.h | 27 SkBitmap fBitmap;
|
/external/chromium_org/third_party/skia/src/pdf/ |
SkPDFImageStream.cpp | 28 fBitmap(bitmap), 35 fBitmap(pdfStream.fBitmap), 46 if (!fEncoder || !fEncoder(&dctCompressedWStream, fBitmap, fSrcRect)) {
|
SkPDFImageStream.h | 46 const SkBitmap fBitmap;
|
/external/skia/include/effects/ |
SkBitmapSource.h | 27 SkBitmap fBitmap;
|
/external/skia/src/pdf/ |
SkPDFImageStream.cpp | 28 fBitmap(bitmap), 35 fBitmap(pdfStream.fBitmap), 46 if (!fEncoder || !fEncoder(&dctCompressedWStream, fBitmap, fSrcRect)) {
|
SkPDFImageStream.h | 46 const SkBitmap fBitmap;
|