Searched refs:tmpBitmap (Results 1 – 6 of 6) sorted by relevance
/external/skqp/src/core/ |
D | SkBitmap.cpp | 510 SkBitmap tmpBitmap; in extractAlpha() 532 tmpBitmap.setInfo(SkImageInfo::MakeA8(this->width(), this->height()), srcM.fRowBytes); in extractAlpha() 533 if (!tmpBitmap.tryAllocPixels(allocator)) { in extractAlpha() 536 tmpBitmap.width(), tmpBitmap.height()); in extractAlpha() 539 GetBitmapAlpha(*this, tmpBitmap.getAddr8(0, 0), srcM.fRowBytes); in extractAlpha() 543 tmpBitmap.swap(*dst); in extractAlpha() 555 tmpBitmap.setInfo(SkImageInfo::MakeA8(dstM.fBounds.width(), dstM.fBounds.height()), in extractAlpha() 557 if (!tmpBitmap.tryAllocPixels(allocator)) { in extractAlpha() 560 tmpBitmap.width(), tmpBitmap.height()); in extractAlpha() 563 memcpy(tmpBitmap.getPixels(), dstM.fImage, dstM.computeImageSize()); in extractAlpha() [all …]
|
D | SkBitmapDevice.cpp | 441 SkBitmap tmpBitmap; in drawBitmapRect() local 487 if (!bitmap.extractSubset(&tmpBitmap, srcIR)) { in drawBitmapRect() 490 bitmapPtr = &tmpBitmap; in drawBitmapRect()
|
/external/skia/src/core/ |
D | SkBitmap.cpp | 520 SkBitmap tmpBitmap; in extractAlpha() 542 tmpBitmap.setInfo(SkImageInfo::MakeA8(this->width(), this->height()), srcM.fRowBytes); in extractAlpha() 543 if (!tmpBitmap.tryAllocPixels(allocator)) { in extractAlpha() 546 tmpBitmap.width(), tmpBitmap.height()); in extractAlpha() 549 GetBitmapAlpha(*this, tmpBitmap.getAddr8(0, 0), srcM.fRowBytes); in extractAlpha() 553 tmpBitmap.swap(*dst); in extractAlpha() 565 tmpBitmap.setInfo(SkImageInfo::MakeA8(dstM.fBounds.width(), dstM.fBounds.height()), in extractAlpha() 567 if (!tmpBitmap.tryAllocPixels(allocator)) { in extractAlpha() 570 tmpBitmap.width(), tmpBitmap.height()); in extractAlpha() 573 memcpy(tmpBitmap.getPixels(), dstM.fImage, dstM.computeImageSize()); in extractAlpha() [all …]
|
D | SkBitmapDevice.cpp | 439 SkBitmap tmpBitmap; in drawImageRect() local 483 if (!bitmap.extractSubset(&tmpBitmap, srcIR)) { in drawImageRect() 486 bitmapPtr = &tmpBitmap; in drawImageRect()
|
/external/deqp/framework/platform/win32/ |
D | tcuWin32EGLNativeDisplayFactory.cpp | 292 HBITMAP tmpBitmap = DE_NULL; in readScreenPixels() local 327 tmpBitmap = CreateCompatibleBitmap(screenDC, width, height); in readScreenPixels() 328 TCU_CHECK(tmpBitmap != DE_NULL); in readScreenPixels() 330 TCU_CHECK(SelectObject(tmpDC, tmpBitmap) != DE_NULL); in readScreenPixels() 349 …TCU_CHECK(GetDIBits(screenDC, tmpBitmap, 0, height, dst->getAccess().getDataPtr(), (BITMAPINFO*)&b… in readScreenPixels() 351 DeleteObject(tmpBitmap); in readScreenPixels() 352 tmpBitmap = DE_NULL; in readScreenPixels() 371 if (tmpBitmap) in readScreenPixels() 372 DeleteObject(tmpBitmap); in readScreenPixels()
|
/external/angle/util/windows/win32/ |
D | Win32Window.cpp | 633 HBITMAP tmpBitmap = nullptr; in takeScreenshot() local 655 tmpBitmap = CreateCompatibleBitmap(screenDC, mWidth, mHeight); in takeScreenshot() 656 error = tmpBitmap == nullptr; in takeScreenshot() 667 error = SelectObject(tmpDC, tmpBitmap) == nullptr; in takeScreenshot() 689 int getBitsResult = GetDIBits(screenDC, tmpBitmap, 0, mHeight, pixelData, in takeScreenshot() 694 if (tmpBitmap != nullptr) in takeScreenshot() 696 DeleteObject(tmpBitmap); in takeScreenshot()
|