Searched defs:fBitmap (Results 1 - 25 of 128) sorted by last modified time

123456

/external/skia/platform_tools/nacl/src/
H A Dnacl_debugger.cpp171 fBitmap.installPixels(info, fImage.data(), info.minRowBytes());
175 fCanvas = new SkCanvas(fBitmap);
194 SkBitmap fBitmap; member in class:SkiaInstance
H A Dnacl_hello.cpp101 fBitmap.setConfig(SkBitmap::kARGB_8888_Config, fWidth, fHeight);
102 fBitmap.setPixels(fImage.data());
106 fCanvas = new SkCanvas(fBitmap);
125 SkBitmap fBitmap; member in class:SkiaInstance
/external/skia/samplecode/
H A DSampleAARects.cpp38 SkBitmap fBitmap; member in class:AARectView
44 fBitmap = createBitmap(N);
65 SkShader* bmpShader = SkShader::CreateBitmapShader(fBitmap, SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode);
H A DSampleBitmapRect.cpp175 SkBitmap fBitmap; member in class:BitmapRectView2
190 make_big_bitmap(&fBitmap);
196 fSrcR.fRight = SkIntToScalar(fBitmap.height()) * 3;
197 fSrcR.fBottom = SkIntToScalar(fBitmap.height());
200 SkIntToScalar(fBitmap.width()),
201 SkIntToScalar(fBitmap.height()));
228 canvas->drawBitmapRectToRect(fBitmap, &fSrcR, fDstR[i], &paint);
H A DSampleColorFilter.cpp126 SkBitmap fBitmap; member in class:ColorFilterView
133 fBitmap = createBitmap(N);
205 canvas->drawBitmap(fBitmap, x * N * 1.25f, y * N * scale, &paint);
H A DSampleMipMap.cpp38 SkBitmap fBitmap; member in class:MipMapView
54 fBitmap = createBitmap(N);
87 canvas->drawBitmap(fBitmap, x, y, &paint);
H A DSampleOvalTest.cpp20 SkBitmap fBitmap; member in class:OvalTestView
25 fBitmap.allocN32Pixels(kILimit, kILimit);
44 SkCanvas canvas(fBitmap);
47 fBitmap.eraseColor(SK_ColorTRANSPARENT);
63 SkPMColor* ptr = fBitmap.getAddr32(x, y);
85 canvas->drawBitmap(fBitmap, SkIntToScalar(20), SkIntToScalar(20), NULL);
H A DSamplePicture.cpp60 SkBitmap fBitmap; member in class:PictureView
64 fBitmap = load_bitmap();
75 canvas->drawBitmap(fBitmap, 0, 0, NULL);
113 canvas->drawBitmap(fBitmap, 0, 0, NULL);
H A DSampleShaders.cpp53 SkBitmap fBitmap; member in class:ShaderView
56 SkImageDecoder::DecodeFile("/skimages/logo.gif", &fBitmap);
95 canvas->drawBitmap(fBitmap, 0, 0);
109 int w = fBitmap.width();
110 int h = fBitmap.height();
117 paint.setShader(make_bitmapfade(fBitmap))->unref();
H A DSampleUnpremul.cpp110 header.appendf(" [%dx%d] %s", fBitmap.width(), fBitmap.height(),
127 SkAutoLockPixels alp(fBitmap);
131 if (!bm.allocN32Pixels(fBitmap.width(), fBitmap.height())) {
136 for (int i = 0; i < fBitmap.width(); ++i) {
137 for (int j = 0; j < fBitmap.height(); ++j) {
138 *bm.getAddr32(i, j) = premultiply_unpmcolor(*fBitmap.getAddr32(i, j));
143 canvas->drawBitmap(fBitmap, 0, 0);
152 SkBitmap fBitmap; member in class:UnpremulView
[all...]
H A DSampleWarp.cpp332 SkBitmap fBitmap; member in class:WarpView
340 fBitmap = bm;
343 texture.set(0, 0, SkIntToScalar(fBitmap.width()),
344 SkIntToScalar(fBitmap.height()));
347 // fMesh.init(bounds, fBitmap.width() / 40, fBitmap.height() / 40, texture);
348 fMesh.init(bounds, fBitmap.width()/16, fBitmap.height()/16, texture);
440 paint.setShader(SkShader::CreateBitmapShader(fBitmap,
449 // test_drag(canvas, fBitmap, fP
[all...]
/external/skia/src/animator/
H A DSkDrawBitmap.h25 SkBitmap fBitmap; member in class:SkBaseBitmap
/external/skia/src/core/
H A DSkBitmapHeap.h29 SkBitmap* getBitmap() { return &fBitmap; }
43 SkBitmap fBitmap; member in class:SkBitmapHeapEntry
133 return &entry->fBitmap;
H A DSkBitmapProcState.h68 const SkBitmap* fBitmap; // chooseProcs - orig or scaled member in struct:SkBitmapProcState
H A DSkImageFilter.cpp391 : fKey(key), fBitmap(bitmap), fOffset(offset) {}
393 SkBitmap fBitmap; member in struct:CacheImpl::Value
409 *result = v->fBitmap;
H A DSkRecords.h170 fBitmap = bitmap;
172 bitmap.copyTo(&fBitmap);
174 fBitmap.setImmutable();
177 operator const SkBitmap& () const { return fBitmap; }
180 SkBitmap fBitmap; member in class:SkRecords::ImmutableBitmap
H A DSkScaledImageCache.cpp103 Rec(const Key& key, const SkBitmap& bm) : fKey(key), fBitmap(bm) {
122 return fMip ? fMip->getSize() : fBitmap.getSize();
133 // we use either fBitmap or fMip, but not both
134 SkBitmap fBitmap; member in struct:SkScaledImageCache::Rec
368 SkASSERT(rec->fBitmap.pixelRef());
369 *bitmap = rec->fBitmap;
386 SkASSERT(rec->fBitmap.pixelRef());
387 *scaled = rec->fBitmap;
398 SkASSERT(NULL == rec->fBitmap.pixelRef());
416 existing->fBitmap
[all...]
/external/skia/src/effects/
H A DSkTableColorFilter.cpp14 fBitmap = NULL;
40 SkDELETE(fBitmap);
68 mutable const SkBitmap* fBitmap; // lazily allocated member in class:SkTable_ColorFilter
185 fBitmap = NULL;
205 if (NULL == fBitmap) {
221 fBitmap = bmp;
223 *table = *fBitmap;
/external/skia/src/effects/gradients/
H A DSkBitmapCache.cpp18 SkBitmap fBitmap; member in struct:SkBitmapCache::Entry
23 fBitmap(bm) {
90 *bm = entry->fBitmap;
/external/skia/src/image/
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 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_Raster.cpp65 SkPixelRef* getPixelRef() const { return fBitmap.pixelRef(); }
70 SkBitmap fBitmap; member in class:SkImage_Raster
99 fBitmap.installPixels(info, addr, rowBytes, ctable, release_data, data);
100 fBitmap.setImmutable();
101 fBitmap.lockPixels();
107 fBitmap.setInfo(info, rowBytes);
108 fBitmap.setPixelRef(pr);
109 fBitmap.lockPixels();
115 canvas->drawBitmap(fBitmap, x, y, paint);
120 canvas->drawBitmapRectToRect(fBitmap, sr
[all...]
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/skia/src/pdf/
H A DSkPDFImage.h61 SkBitmap fBitmap; member in class:SkPDFImage
/external/skia/src/pipe/
H A DSkGPipePriv.h165 : fBitmap(bitmap)
175 SkDELETE(fBitmap);
197 SkBitmap* fBitmap; member in class:BitmapInfo
199 // not copy this field, so fBitmap's generation ID will not be useful

Completed in 8346 milliseconds

123456