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

123456

/external/chromium_org/third_party/skia/src/effects/
H A DSkBitmapSource.cpp12 fBitmap(bitmap) {
17 fBitmap.unflatten(buffer);
22 fBitmap.flatten(buffer);
27 *result = fBitmap;
/external/skia/src/effects/
H A DSkBitmapSource.cpp12 fBitmap(bitmap) {
17 fBitmap.unflatten(buffer);
22 fBitmap.flatten(buffer);
27 *result = fBitmap;
/external/chromium_org/third_party/skia/src/images/
H A DSkImageRef.cpp57 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 DSkImageRefPool.cpp34 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 DSkImageRef.cpp57 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 DSkImageRefPool.cpp34 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 DSkImage_Codec.cpp26 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 DSkImage_Gpu.cpp31 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 DSkSurface_Raster.cpp31 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 DSkImage_Raster.cpp64 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 DSkImage_Codec.cpp26 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 DSkImage_Gpu.cpp31 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 DSkSurface_Raster.cpp31 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 DSkImage_Raster.cpp64 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 Dxfermodeimagefilter.cpp32 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 Dcmykjpeg.cpp46 codec->decode(&stream, &fBitmap, prefConfig,
63 canvas->drawBitmap(fBitmap, 0, 0);
67 SkBitmap fBitmap; member in class:skiagm::CMYKJpegGM
H A Dfactory.cpp44 factory.installPixelRef(data, &fBitmap);
57 canvas->drawBitmap(fBitmap, 0, 0);
61 SkBitmap fBitmap; member in class:skiagm::FactoryGM
H A Dimagefiltersgraph.cpp33 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 Dmatrixconvolution.cpp27 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 DRepeatTileBench.cpp89 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 DBitmapRectBench.cpp42 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 DSkPDFImageStream.cpp28 fBitmap(bitmap),
35 fBitmap(pdfStream.fBitmap),
46 if (!fEncoder || !fEncoder(&dctCompressedWStream, fBitmap, fSrcRect)) {
/external/skia/src/pdf/
H A DSkPDFImageStream.cpp28 fBitmap(bitmap),
35 fBitmap(pdfStream.fBitmap),
46 if (!fEncoder || !fEncoder(&dctCompressedWStream, fBitmap, fSrcRect)) {
/external/chromium_org/third_party/skia/src/animator/
H A DSkDrawBitmap.cpp36 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 DSkDrawBitmap.cpp36 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...]

Completed in 352 milliseconds

123456