/external/skia/bench/ |
D | WritePixelsBench.cpp | 53 SkBitmap bmp; in onDraw() local 54 bmp.allocN32Pixels(size.width(), size.height()); in onDraw() 55 canvas->readPixels(&bmp, 0, 0); in onDraw() 57 SkImageInfo info = SkImageInfo::Make(bmp.width(), bmp.height(), fColorType, fAlphaType); in onDraw() 60 canvas->writePixels(info, bmp.getPixels(), bmp.rowBytes(), 0, 0); in onDraw()
|
D | nanobenchAndroid.cpp | 54 bool HWUITarget::capturePixels(SkBitmap* bmp) { in capturePixels() argument 55 return this->renderer.capturePixels(bmp); in capturePixels()
|
/external/skia/tests/ |
D | ShaderOpacityTest.cpp | 16 SkBitmap bmp; in test_bitmap() local 17 bmp.setInfo(info); in test_bitmap() 20 SkShader* shader = SkShader::CreateBitmapShader(bmp, in test_bitmap() 27 bmp.allocPixels(info); in test_bitmap() 30 shader = SkShader::CreateBitmapShader(bmp, in test_bitmap() 37 bmp.setAlphaType(kOpaque_SkAlphaType); in test_bitmap() 38 shader = SkShader::CreateBitmapShader(bmp, in test_bitmap() 45 bmp.setAlphaType(kPremul_SkAlphaType); in test_bitmap() 46 shader = SkShader::CreateBitmapShader(bmp, in test_bitmap()
|
D | ReadPixelsTest.cpp | 97 static SkBitmap bmp; in fillCanvas() local 98 if (bmp.isNull()) { in fillCanvas() 99 bmp.allocN32Pixels(DEV_W, DEV_H); in fillCanvas() 100 intptr_t pixels = reinterpret_cast<intptr_t>(bmp.getPixels()); in fillCanvas() 103 …SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bmp.rowBytes() + x * bmp.bytesPerPixe… in fillCanvas() 113 canvas->drawBitmap(bmp, 0, 0, &paint); in fillCanvas() 344 SkBitmap bmp; in DEF_GPUTEST() local 345 init_bitmap(&bmp, srcRect, bmi, in DEF_GPUTEST() 350 bool startsWithPixels = !bmp.isNull(); in DEF_GPUTEST() 352 fillBitmap(&bmp); in DEF_GPUTEST() [all …]
|
D | PremulAlphaRoundTripTest.cpp | 51 SkBitmap bmp; in fillCanvas() local 52 bmp.allocN32Pixels(256, 256); in fillCanvas() 55 uint32_t* pixels = bmp.getAddr32(0, a); in fillCanvas() 61 const SkImageInfo info = SkImageInfo::Make(bmp.width(), bmp.height(), in fillCanvas() 63 canvas->writePixels(info, bmp.getPixels(), bmp.rowBytes(), 0, 0); in fillCanvas()
|
D | WritePixelsTest.cpp | 116 SkBitmap bmp; in fillCanvas() local 117 if (bmp.isNull()) { in fillCanvas() 118 bmp.allocN32Pixels(DEV_W, DEV_H); in fillCanvas() 121 *bmp.getAddr32(x, y) = getCanvasColor(x, y); in fillCanvas() 130 canvas->drawBitmap(bmp, 0, 0, &paint); in fillCanvas() 456 SkBitmap bmp; in DEF_GPUTEST() local 457 REPORTER_ASSERT(reporter, setup_bitmap(&bmp, ct, at, rect.width(), in DEF_GPUTEST() 462 canvas.writePixels(bmp, rect.fLeft, rect.fTop); in DEF_GPUTEST() 465 REPORTER_ASSERT(reporter, check_write(reporter, &canvas, bmp, in DEF_GPUTEST() 471 bmp.width(), bmp.height()); in DEF_GPUTEST()
|
/external/skia/gm/ |
D | tallstretchedbitmaps.cpp | 82 SkBitmap bmp = fTallBmps[i].fBmp; in onDraw() local 85 int itemHeight = bmp.height() / fTallBmps[i].fItemCnt; in onDraw() 87 bmp.width(), bmp.height()); in onDraw() 88 SkRect dstRect = SkRect::MakeWH(SkIntToScalar(bmp.width()), 10.f * itemHeight); in onDraw() 91 canvas->drawBitmapRect(bmp, &subRect, dstRect, &paint); in onDraw() 92 canvas->translate(SkIntToScalar(bmp.width() + 10), 0); in onDraw()
|
D | clippedbitmapshaders.cpp | 29 SkBitmap bmp; in create_bitmap() local 30 bmp.allocN32Pixels(2, 2); in create_bitmap() 31 uint32_t* pixels = reinterpret_cast<uint32_t*>(bmp.getPixels()); in create_bitmap() 37 return bmp; in create_bitmap() 80 SkBitmap bmp = create_bitmap(); in onDraw() local 86 bmp, fMode, fMode, &s); in onDraw()
|
D | bigmatrix.cpp | 61 SkBitmap bmp; in onDraw() local 62 bmp.allocN32Pixels(2, 2); in onDraw() 63 uint32_t* pixels = reinterpret_cast<uint32_t*>(bmp.getPixels()); in onDraw() 74 bmp, in onDraw()
|
D | gm.cpp | 74 SkBitmap bmp; in drawGpuOnlyMessage() local 75 bmp.allocN32Pixels(128, 64); in drawGpuOnlyMessage() 76 SkCanvas bmpCanvas(bmp); in drawGpuOnlyMessage() 87 SkAutoTUnref<SkShader> shader(SkShader::CreateBitmapShader(bmp, SkShader::kMirror_TileMode, in drawGpuOnlyMessage()
|
D | shadertext2.cpp | 86 static SkBitmap bmp; in onDraw() local 87 if (bmp.isNull()) { in onDraw() 88 makebm(&bmp, kPointSize / 2, kPointSize / 2); in onDraw() 119 canvas->drawBitmap(bmp, 0, 0); in onDraw() 120 canvas->translate(0, bmp.height() + labelPaint.getTextSize() + 15.f); in onDraw() 154 SkShader::CreateBitmapShader(bmp, in onDraw()
|
D | modecolorfilters.cpp | 40 SkBitmap bmp; in make_bg_shader() local 41 bmp.allocN32Pixels(2 * checkSize, 2 * checkSize); in make_bg_shader() 42 SkCanvas canvas(bmp); in make_bg_shader() 52 return SkNEW_ARGS(SkBitmapProcShader, (bmp, SkShader::kRepeat_TileMode, in make_bg_shader()
|
D | xfermodes3.cpp | 212 SkBitmap bmp; in onOnceBeforeDraw() local 213 bmp.allocN32Pixels(kSize, kSize); in onOnceBeforeDraw() 214 SkCanvas bmpCanvas(bmp); in onOnceBeforeDraw() 221 fBmpShader.reset(SkShader::CreateBitmapShader(bmp, in onOnceBeforeDraw()
|
D | convexpolyclip.cpp | 16 SkBitmap bmp; in make_bmp() local 17 bmp.allocN32Pixels(w, h, true); in make_bmp() 19 SkCanvas canvas(bmp); in make_bmp() 68 return bmp; in make_bmp()
|
/external/skia/src/utils/android/ |
D | SkHwuiRenderer.cpp | 79 bool SkHwuiRenderer::capturePixels(SkBitmap* bmp) { in capturePixels() argument 83 bmp->allocPixels(destinationConfig); in capturePixels() 84 sk_memset32((uint32_t*) bmp->getPixels(), SK_ColorRED, in capturePixels() 94 bmp->eraseColor(SK_ColorTRANSPARENT); in capturePixels() 118 SK_ALWAYSBREAK(bmp->colorType() == kRGBA_8888_SkColorType && in capturePixels() 121 nativeWrapper.readPixels(destinationConfig, bmp->getPixels(), bmp->rowBytes(), 0, 0); in capturePixels()
|
/external/skia/src/gpu/ |
D | GrAADistanceFieldPathRenderer.cpp | 356 SkBitmap bmp; in addPathToAtlas() local 359 if (!bmp.tryAllocPixels(bmImageInfo)) { in addPathToAtlas() 363 sk_bzero(bmp.getPixels(), bmp.getSafeSize()); in addPathToAtlas() 390 draw.fBitmap = &bmp; in addPathToAtlas() 403 SkAutoLockPixels alp(bmp); in addPathToAtlas() 406 (const unsigned char*)bmp.getPixels(), in addPathToAtlas() 407 bmp.width(), bmp.height(), bmp.rowBytes()); in addPathToAtlas()
|
/external/libvncserver/test/ |
D | Makefile.am | 8 tjutil.c tjutil.h bmp.c bmp.h
|
/external/vboot_reference/futility/ |
D | cmd_show.c | 132 BmpBlockHeader *bmp; in futil_cb_show_gbb() local 202 bmp = (BmpBlockHeader *)(buf + gbb->bmpfv_offset); in futil_cb_show_gbb() 203 if (0 != memcmp(bmp, BMPBLOCK_SIGNATURE, BMPBLOCK_SIGNATURE_SIZE)) { in futil_cb_show_gbb() 210 bmp->major_version, bmp->minor_version); in futil_cb_show_gbb() 212 bmp->number_of_localizations); in futil_cb_show_gbb() 214 bmp->number_of_screenlayouts); in futil_cb_show_gbb() 216 bmp->number_of_imageinfos); in futil_cb_show_gbb()
|
/external/skia/samplecode/ |
D | SampleShaderText.cpp | 32 static SkBitmap bmp; in MakeBitmapShader() local 33 if (bmp.isNull()) { in MakeBitmapShader() 34 makebm(&bmp, w/2, h/4); in MakeBitmapShader() 36 return SkShader::CreateBitmapShader(bmp, tx, ty); in MakeBitmapShader()
|
/external/vboot_reference/firmware/lib/ |
D | region-kernel.c | 33 if (!cparams->bmp) { in VbGbbReadBmpHeader() 58 cparams->bmp = hdr; in VbGbbReadBmpHeader() 61 *hdr_ret = *cparams->bmp; in VbGbbReadBmpHeader()
|
/external/pdfium/core/src/fxge/win32/ |
D | fx_win32_dib.cpp | 108 BITMAP bmp; in GetBitmapSize() local 109 GetObject(hBitmap, sizeof bmp, &bmp); in GetBitmapSize() 110 w = bmp.bmWidth; in GetBitmapSize() 111 h = bmp.bmHeight; in GetBitmapSize()
|
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/widget/ |
D | DemoAppWidgetProvider.java | 80 Bitmap bmp = plot.getDrawingCache(); in onUpdate() local 83 rv.setBitmap(R.id.imgView, "setImageBitmap", bmp); in onUpdate()
|
/external/e2fsprogs/lib/quota/ |
D | quotaio_tree.c | 539 #define set_bit(bmp, ind) ((bmp)[(ind) >> 3] |= (1 << ((ind) & 7))) argument 540 #define get_bit(bmp, ind) ((bmp)[(ind) >> 3] & (1 << ((ind) & 7))) argument 622 static uint find_set_bits(char *bmp, int blocks) in find_set_bits() argument 627 if (get_bit(bmp, i)) in find_set_bits()
|
/external/mesa3d/src/gallium/tests/trivial/ |
D | .gitignore | 3 result.bmp
|
/external/vboot_reference/ |
D | .gitignore | 5 scripts/newbitmaps/default_source/*.bmp
|