/external/skia/bench/ |
ImageCacheBench.cpp | 13 SkBitmap fBM; 22 fBM.setConfig(SkBitmap::kARGB_8888_Config, DIM, DIM); 23 fBM.allocPixels(); 32 fCache.unlock(fCache.addAndLock(fBM, scale, scale, tmp)); 50 (void)fCache.findAndLock(fBM, -1, -1, &tmp);
|
/external/skia/gm/ |
scalebitmap.cpp | 34 codec->decode(&stream, &fBM, SkBitmap::kARGB_8888_Config, 38 fBM.setConfig(SkBitmap::kARGB_8888_Config, 1, 1); 39 fBM.allocPixels(); 40 *(fBM.getAddr32(0,0)) = 0xFF0000FF; // red == bad 42 fSize = fBM.height(); 48 SkBitmap fBM; 60 return SkISize::Make(fBM.width() * fScale, fBM.height() * fScale); 65 dst.setConfig(SkBitmap::kARGB_8888_Config, fBM.width() * fScale, fBM.height() * fScale) [all...] |
downsamplebitmap.cpp | 23 SkBitmap fBM; 49 return SkISize::Make(4 * fBM.width(), fBM.height()); 77 canvas->drawBitmapMatrix( fBM, matrix, &paint ); 80 curWidth = (int) (fBM.width() * curScale + 2); 83 } while (curWidth >= 2 && curX < 4*fBM.width()); 102 fBM.setConfig(SkBitmap::kARGB_8888_Config, int(fTextSize * 8), int(fTextSize * 6)); 103 fBM.allocPixels(); 104 SkCanvas canvas(fBM); 138 fBM.setConfig(SkBitmap::kARGB_8888_Config, fSize, fSize) [all...] |
filterbitmap.cpp | 48 SkScalar cx = SkScalarHalf(fBM.width()); 49 SkScalar cy = SkScalarHalf(fBM.height()); 58 SkBitmap fBM; 83 SkSize size = computeSize(fBM, fMatrix[i]); 87 draw_col(canvas, fBM, fMatrix[i], size.fWidth); 112 fBM.setConfig(SkBitmap::kARGB_8888_Config, int(fTextSize * 8), int(fTextSize * 6)); 113 fBM.allocPixels(); 114 SkCanvas canvas(fBM); 152 fBM.setConfig(SkBitmap::kARGB_8888_Config, fSize, fSize); 153 fBM.allocPixels() [all...] |
giantbitmap.cpp | 22 SkBitmap* fBM; 28 if (NULL == fBM) { 29 fBM = new SkBitmap; 30 fBM->setConfig(SkBitmap::kARGB_8888_Config, W, H); 31 fBM->allocPixels(); 32 fBM->eraseColor(SK_ColorWHITE); 38 SkCanvas canvas(*fBM); 60 return *fBM; 64 GiantBitmapGM(SkShader::TileMode mode, bool doFilter, bool doRotate) : fBM(NULL) { 71 SkDELETE(fBM); [all...] |
ninepatchstretch.cpp | 62 SkBitmap fBM;
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrSWMaskHelper.cpp | 101 fBM.setConfig(SkBitmap::kA8_Config, bounds.fRight, bounds.fBottom); 102 if (!fBM.allocPixels()) { 105 sk_bzero(fBM.getPixels(), fBM.getSafeSize()); 112 fDraw.fBitmap = &fBM; 122 desc.fWidth = fBM.width(); 123 desc.fHeight = fBM.height(); 134 SkAutoLockPixels alp(fBM); 136 texture->writePixels(0, 0, fBM.width(), fBM.height() [all...] |
GrSWMaskHelper.h | 70 fBM.eraseColor(SkColorSetARGB(alpha, alpha, alpha, alpha)); 100 SkBitmap fBM;
|
/external/skia/src/gpu/ |
GrSWMaskHelper.cpp | 101 fBM.setConfig(SkBitmap::kA8_Config, bounds.fRight, bounds.fBottom); 102 if (!fBM.allocPixels()) { 105 sk_bzero(fBM.getPixels(), fBM.getSafeSize()); 112 fDraw.fBitmap = &fBM; 122 desc.fWidth = fBM.width(); 123 desc.fHeight = fBM.height(); 134 SkAutoLockPixels alp(fBM); 136 texture->writePixels(0, 0, fBM.width(), fBM.height() [all...] |
GrSWMaskHelper.h | 70 fBM.eraseColor(SkColorSetARGB(alpha, alpha, alpha, alpha)); 100 SkBitmap fBM;
|
/external/chromium_org/third_party/skia/src/ports/ |
SkFontHost_win.cpp | 436 fBM = 0; 446 if (fBM) { 447 DeleteObject(fBM); 460 HBITMAP fBM; 463 void* fBits; // points into fBM 488 if (fBM && (fIsBW != isBW || fWidth < glyph.fWidth || fHeight < glyph.fHeight)) { 489 DeleteObject(fBM); 490 fBM = 0; 499 if (0 == fBM) { 517 fBM = CreateDIBSection(fDC, &info, DIB_RGB_COLORS, &fBits, 0, 0) [all...] |
/external/skia/src/ports/ |
SkFontHost_win.cpp | 436 fBM = 0; 446 if (fBM) { 447 DeleteObject(fBM); 460 HBITMAP fBM; 463 void* fBits; // points into fBM 488 if (fBM && (fIsBW != isBW || fWidth < glyph.fWidth || fHeight < glyph.fHeight)) { 489 DeleteObject(fBM); 490 fBM = 0; 499 if (0 == fBM) { 517 fBM = CreateDIBSection(fDC, &info, DIB_RGB_COLORS, &fBits, 0, 0) [all...] |