/external/chromium_org/third_party/skia/src/views/ |
H A D | SkProgressView.cpp | 111 SkBitmap bm; local 113 return SkImageDecoder::DecodeFile(file, &bm) ? 114 SkShader::CreateBitmapShader(bm, SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode) :
|
H A D | SkWindow.cpp | 36 const SkBitmap& bm = this->getBitmap(); local 37 return SkSurface::NewRasterDirect(bm.info(), bm.getPixels(), bm.rowBytes()); 117 SkBitmap bm = this->getBitmap(); local 127 bm.setPixels(buffer);
|
/external/iptables/extensions/ |
H A D | libipt_NETMAP.c | 35 uint32_t bm; local 39 for (bits = 0, bm = 0x80000000; netmask & bm; netmask <<= 1)
|
/external/skia/gm/ |
H A D | blurrect.cpp | 196 SkBitmap bm; local 197 bm.installMaskPixels(mask); 199 if (cur_x + bm.width() >= fGMWidth - fMargin) { 207 canvas->translate(-(bm.width() - r.width())/2, -(bm.height()-r.height())/2); 208 canvas->drawBitmap(bm, 0.f, 0.f, NULL); 211 cur_x += bm.width() + fPadding; 212 if (bm.height() > max_height) 213 max_height = bm.height(); 282 SkBitmap bm; local [all...] |
H A D | shadertext3.cpp | 14 static void makebm(SkBitmap* bm, int w, int h) { argument 15 bm->allocN32Pixels(w, h); 16 bm->eraseColor(SK_ColorTRANSPARENT); 18 SkCanvas canvas(*bm);
|
/external/skia/samplecode/ |
H A D | SampleAAClip.cpp | 44 SkBitmap bm; local 49 bm.installMaskPixels(mask); 52 canvas->drawBitmap(bm,
|
H A D | SampleUnpremul.cpp | 130 SkBitmap bm; variable 131 if (!bm.allocN32Pixels(fBitmap.width(), fBitmap.height())) { 138 *bm.getAddr32(i, j) = premultiply_unpmcolor(*fBitmap.getAddr32(i, j)); 141 canvas->drawBitmap(bm, 0, 0);
|
H A D | SampleTiling.cpp | 27 static void makebm(SkBitmap* bm, SkColorType ct, int w, int h) { argument 28 bm->allocPixels(SkImageInfo::Make(w, h, ct, kPremul_SkAlphaType)); 29 bm->eraseColor(SK_ColorTRANSPARENT); 31 SkCanvas canvas(*bm); 43 static void setup(SkPaint* paint, const SkBitmap& bm, bool filter, argument 45 SkShader* shader = SkShader::CreateBitmapShader(bm, tmx, tmy);
|
/external/skia/src/image/ |
H A D | SkImage.cpp | 82 SkBitmap bm; local 83 if (as_IB(this)->getROPixels(&bm)) { 84 return SkImageEncoder::EncodeData(bm, type, quality);
|
/external/skia/src/views/ |
H A D | SkParsePaint.cpp | 47 SkBitmap bm; 49 if (SkImageDecoder::DecodeFile(str, &bm)) 57 return SkShader::CreateBitmapShader(bm, mode, mode);
|
H A D | SkProgressView.cpp | 111 SkBitmap bm; local 113 return SkImageDecoder::DecodeFile(file, &bm) ? 114 SkShader::CreateBitmapShader(bm, SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode) :
|
/external/chromium_org/third_party/skia/bench/ |
H A D | RepeatTileBench.cpp | 17 static void draw_into_bitmap(const SkBitmap& bm) { argument 18 const int w = bm.width(); 19 const int h = bm.height(); 21 SkCanvas canvas(bm);
|
H A D | SkipZeroesBench.cpp | 84 SkBitmap bm; variable 86 SkDEBUGCODE(bool success =) fDecoder->decode(&fStream, &bm,
|
/external/chromium_org/third_party/skia/gm/ |
H A D | shadertext3.cpp | 14 static void makebm(SkBitmap* bm, int w, int h) { argument 15 bm->allocN32Pixels(w, h); 16 bm->eraseColor(SK_ColorTRANSPARENT); 18 SkCanvas canvas(*bm);
|
/external/chromium_org/third_party/skia/samplecode/ |
H A D | SampleUnpremul.cpp | 130 SkBitmap bm; variable 131 bm.allocN32Pixels(fBitmap.width(), fBitmap.height()); 134 *bm.getAddr32(i, j) = premultiply_unpmcolor(*fBitmap.getAddr32(i, j)); 137 canvas->drawBitmap(bm, 0, 0);
|
H A D | SampleTiling.cpp | 27 static void makebm(SkBitmap* bm, SkColorType ct, int w, int h) { argument 28 bm->allocPixels(SkImageInfo::Make(w, h, ct, kPremul_SkAlphaType)); 29 bm->eraseColor(SK_ColorTRANSPARENT); 31 SkCanvas canvas(*bm); 43 static void setup(SkPaint* paint, const SkBitmap& bm, bool filter, argument 45 SkShader* shader = SkShader::CreateBitmapShader(bm, tmx, tmy);
|
/external/skia/bench/ |
H A D | RepeatTileBench.cpp | 17 static void draw_into_bitmap(const SkBitmap& bm) { argument 18 const int w = bm.width(); 19 const int h = bm.height(); 21 SkCanvas canvas(bm);
|
H A D | SkipZeroesBench.cpp | 85 SkBitmap bm; variable 87 SkDEBUGCODE(bool success =) fDecoder->decode(&fStream, &bm,
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/glx/xlib/ |
H A D | glx_usefont.c | 222 GLubyte *bm; local 244 bm = (GLubyte *) MALLOC((max_bm_width * max_bm_height) * sizeof(GLubyte)); 245 if (!bm) { 342 memset(bm, '\0', bm_width * bm_height); 343 fill_bitmap(dpy, win, gc, bm_width, bm_height, x, y, c, bm); 345 glBitmap(width, height, x0, y0, dx, dy, bm); 350 dump_bitmap(bm_width, bm_height, bm); 360 FREE(bm);
|
/external/chromium_org/third_party/mesa/src/src/glx/ |
H A D | xfont.c | 229 GLubyte *bm; local 248 bm = (GLubyte *) Xmalloc((max_bm_width * max_bm_height) * sizeof(GLubyte)); 249 if (!bm) { 344 memset(bm, '\0', bm_width * bm_height); 345 fill_bitmap(dpy, win, gc, bm_width, bm_height, x, y, c, bm); 347 glBitmap(width, height, x0, y0, dx, dy, bm); 352 dump_bitmap(bm_width, bm_height, bm); 362 Xfree(bm);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/x11/ |
H A D | xfonts.c | 229 GLubyte *bm; local 250 bm = (GLubyte *) MALLOC((max_bm_width * max_bm_height) * sizeof(GLubyte)); 251 if (!bm) { 348 memset(bm, '\0', bm_width * bm_height); 349 fill_bitmap(dpy, win, gc, bm_width, bm_height, x, y, c, bm); 351 glBitmap(width, height, x0, y0, dx, dy, bm); 356 dump_bitmap(bm_width, bm_height, bm); 366 FREE(bm);
|
/external/mesa3d/src/gallium/state_trackers/glx/xlib/ |
H A D | glx_usefont.c | 222 GLubyte *bm; local 244 bm = (GLubyte *) MALLOC((max_bm_width * max_bm_height) * sizeof(GLubyte)); 245 if (!bm) { 342 memset(bm, '\0', bm_width * bm_height); 343 fill_bitmap(dpy, win, gc, bm_width, bm_height, x, y, c, bm); 345 glBitmap(width, height, x0, y0, dx, dy, bm); 350 dump_bitmap(bm_width, bm_height, bm); 360 FREE(bm);
|
/external/mesa3d/src/glx/ |
H A D | xfont.c | 229 GLubyte *bm; local 248 bm = (GLubyte *) Xmalloc((max_bm_width * max_bm_height) * sizeof(GLubyte)); 249 if (!bm) { 344 memset(bm, '\0', bm_width * bm_height); 345 fill_bitmap(dpy, win, gc, bm_width, bm_height, x, y, c, bm); 347 glBitmap(width, height, x0, y0, dx, dy, bm); 352 dump_bitmap(bm_width, bm_height, bm); 362 Xfree(bm);
|
/external/mesa3d/src/mesa/drivers/x11/ |
H A D | xfonts.c | 229 GLubyte *bm; local 250 bm = (GLubyte *) MALLOC((max_bm_width * max_bm_height) * sizeof(GLubyte)); 251 if (!bm) { 348 memset(bm, '\0', bm_width * bm_height); 349 fill_bitmap(dpy, win, gc, bm_width, bm_height, x, y, c, bm); 351 glBitmap(width, height, x0, y0, dx, dy, bm); 356 dump_bitmap(bm_width, bm_height, bm); 366 FREE(bm);
|
/external/chromium_org/third_party/skia/src/gpu/ |
H A D | SkGr.cpp | 141 const SkBitmap& bm, 149 generate_bitmap_cache_id(bm, &cacheID); 154 add_genID_listener(key, bm.pixelRef()); 164 result->writePixels(0, 0, bm.width(), bm.height(), desc.fConfig, pixels, rowBytes); 173 const SkBitmap &bm, GrTextureDesc desc) { 174 SkAutoTUnref<SkData> data(bm.pixelRef()->refEncodedData()); 189 if (encodedWidth != static_cast<uint32_t>(bm.width()) || 190 encodedHeight != static_cast<uint32_t>(bm.height())) { 207 if (ktx.width() != bm 138 sk_gr_allocate_texture(GrContext* ctx, bool cache, const GrTextureParams* params, const SkBitmap& bm, GrTextureDesc desc, const void* pixels, size_t rowBytes) argument 171 load_etc1_texture(GrContext* ctx, bool cache, const GrTextureParams* params, const SkBitmap &bm, GrTextureDesc desc) argument 221 load_yuv_texture(GrContext* ctx, bool cache, const GrTextureParams* params, const SkBitmap& bm, const GrTextureDesc& desc) argument [all...] |