Searched refs:dstBitmap (Results 1 – 3 of 3) sorted by relevance
/external/skia/platform_tools/android/examples/hello_skia_app/jni/ |
D | helloskia.cpp | 21 jobject thiz, jobject dstBitmap, jlong elapsedTime) in Java_com_example_HelloSkiaActivity_drawIntoBitmap() argument 26 AndroidBitmap_getInfo(env, dstBitmap, &dstInfo); in Java_com_example_HelloSkiaActivity_drawIntoBitmap() 27 AndroidBitmap_lockPixels(env, dstBitmap, &dstPixels); in Java_com_example_HelloSkiaActivity_drawIntoBitmap() 69 AndroidBitmap_unlockPixels(env, dstBitmap); in Java_com_example_HelloSkiaActivity_drawIntoBitmap()
|
/external/skia/tests/ |
D | SkImageTest.cpp | 28 SkBitmap dstBitmap; in DEF_TEST() local 29 srcBitmap.extractSubset(&dstBitmap, r); in DEF_TEST() 30 image.reset(SkNewImageFromBitmap(dstBitmap, true, NULL)); in DEF_TEST()
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType_common.cpp | 449 SkBitmap dstBitmap; in generateGlyphImage() local 450 dstBitmap.setInfo(SkImageInfo::Make(glyph.fWidth, glyph.fHeight, in generateGlyphImage() 455 dstBitmap.allocPixels(); in generateGlyphImage() 457 dstBitmap.setPixels(glyph.fImage); in generateGlyphImage() 461 SkCanvas canvas(dstBitmap); in generateGlyphImage() 474 packA8ToA1(dstMask, dstBitmap.getAddr8(0, 0), dstBitmap.rowBytes()); in generateGlyphImage() 477 uint8_t* src = dstBitmap.getAddr8(0, 0); in generateGlyphImage() 479 for (int y = dstBitmap.height(); y --> 0;) { in generateGlyphImage() 480 for (int x = 0; x < dstBitmap.width(); ++x) { in generateGlyphImage() 484 src += dstBitmap.rowBytes(); in generateGlyphImage()
|