/external/chromium_org/third_party/skia/src/effects/ |
H A D | SkBitmapSource.cpp | 12 fBitmap(bitmap) { 17 fBitmap.unflatten(buffer); 22 fBitmap.flatten(buffer); 27 *result = fBitmap;
|
/external/skia/src/effects/ |
H A D | SkBitmapSource.cpp | 12 fBitmap(bitmap) { 17 fBitmap.unflatten(buffer); 22 fBitmap.flatten(buffer); 27 *result = fBitmap;
|
/external/chromium_org/third_party/skia/src/images/ |
H A D | 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 [all...] |
H A D | 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 [all...] |
/external/skia/src/images/ |
H A D | 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 [all...] |
H A D | 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 [all...] |
/external/chromium_org/third_party/skia/src/image/ |
H A D | SkImage_Codec.cpp | 26 SkBitmap fBitmap; member in class:SkImage_Codec 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);
|
H A D | SkImage_Gpu.cpp | 31 GrTexture* getTexture() { return fBitmap.getTexture(); } 34 SkBitmap fBitmap; member in class:SkImage_Gpu 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();
|
H A D | SkSurface_Raster.cpp | 31 SkBitmap fBitmap; member in class:SkSurface_Raster 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, [all...] |
H A D | SkImage_Raster.cpp | 64 SkPixelRef* getPixelRef() const { return fBitmap.pixelRef(); } 69 SkBitmap fBitmap; member in class:SkImage_Raster 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, [all...] |
/external/skia/src/image/ |
H A D | SkImage_Codec.cpp | 26 SkBitmap fBitmap; member in class:SkImage_Codec 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);
|
H A D | SkImage_Gpu.cpp | 31 GrTexture* getTexture() { return fBitmap.getTexture(); } 34 SkBitmap fBitmap; member in class:SkImage_Gpu 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();
|
H A D | SkSurface_Raster.cpp | 31 SkBitmap fBitmap; member in class:SkSurface_Raster 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, [all...] |
H A D | SkImage_Raster.cpp | 64 SkPixelRef* getPixelRef() const { return fBitmap.pixelRef(); } 69 SkBitmap fBitmap; member in class:SkImage_Raster 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, [all...] |
/external/skia/gm/ |
H A D | 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 195 SkBitmap fBitmap, fCheckerboard; member in class:skiagm::XfermodeImageFilterGM [all...] |
H A D | cmykjpeg.cpp | 46 codec->decode(&stream, &fBitmap, prefConfig, 63 canvas->drawBitmap(fBitmap, 0, 0); 67 SkBitmap fBitmap; member in class:skiagm::CMYKJpegGM
|
H A D | factory.cpp | 44 factory.installPixelRef(data, &fBitmap); 57 canvas->drawBitmap(fBitmap, 0, 0); 61 SkBitmap fBitmap; member in class:skiagm::FactoryGM
|
H A D | 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; member in class:ImageFiltersGraphGM
|
H A D | matrixconvolution.cpp | 27 fBitmap.setConfig(SkBitmap::kARGB_8888_Config, 80, 80); 28 fBitmap.allocPixels(); 29 SkDevice device(fBitmap); 63 SkIntToScalar(fBitmap.width()), SkIntToScalar(fBitmap.height()))); 64 canvas->drawBitmap(fBitmap, SkIntToScalar(x), SkIntToScalar(y), &paint); 89 SkBitmap fBitmap; member in class:skiagm::MatrixConvolutionGM
|
/external/skia/bench/ |
H A D | RepeatTileBench.cpp | 89 SkBitmap fBitmap; member in class:RepeatTileBench 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); variable 123 convert_to_index666(fBitmap, &tmp); 124 fBitmap [all...] |
H A D | BitmapRectBench.cpp | 42 SkBitmap fBitmap; member in class:BitmapRectBench 57 fBitmap.setConfig(SkBitmap::kARGB_8888_Config, kWidth, kHeight); 69 fBitmap.allocPixels(); 70 fBitmap.setIsOpaque(true); 71 fBitmap.eraseColor(SK_ColorBLACK); 72 draw_into_bitmap(fBitmap); variable 97 canvas->drawBitmapRectToRect(fBitmap, &fSrcR, fDstR, &paint);
|
/external/chromium_org/third_party/skia/src/pdf/ |
H A D | SkPDFImageStream.cpp | 28 fBitmap(bitmap), 35 fBitmap(pdfStream.fBitmap), 46 if (!fEncoder || !fEncoder(&dctCompressedWStream, fBitmap, fSrcRect)) {
|
/external/skia/src/pdf/ |
H A D | SkPDFImageStream.cpp | 28 fBitmap(bitmap), 35 fBitmap(pdfStream.fBitmap), 46 if (!fEncoder || !fEncoder(&dctCompressedWStream, fBitmap, fSrcRect)) {
|
/external/chromium_org/third_party/skia/src/animator/ |
H A D | SkDrawBitmap.cpp | 36 maker.fCanvas->drawBitmap(fBitmap, x, y, maker.fPaint); 92 fBitmap.setConfig((SkBitmap::Config) format, width, height, rowBytes); 93 fBitmap.allocPixels(); 95 fBitmap.eraseColor(fColor); 163 value->fOperand.fS32 = fBitmap.height(); 166 value->fOperand.fS32 = fBitmap.width(); 183 fBitmap.reset(); 184 SkImageDecoder::DecodeMemory(base64.fData, base64.fLength, &fBitmap); 189 fBitmap.reset(); 194 SkImageDecoder::DecodeStream(stream, &fBitmap); [all...] |
/external/skia/src/animator/ |
H A D | SkDrawBitmap.cpp | 36 maker.fCanvas->drawBitmap(fBitmap, x, y, maker.fPaint); 92 fBitmap.setConfig((SkBitmap::Config) format, width, height, rowBytes); 93 fBitmap.allocPixels(); 95 fBitmap.eraseColor(fColor); 163 value->fOperand.fS32 = fBitmap.height(); 166 value->fOperand.fS32 = fBitmap.width(); 183 fBitmap.reset(); 184 SkImageDecoder::DecodeMemory(base64.fData, base64.fLength, &fBitmap); 189 fBitmap.reset(); 194 SkImageDecoder::DecodeStream(stream, &fBitmap); [all...] |