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 | 528 SkBitmap tmpBitmap; in extractAlpha() 550 tmpBitmap.setInfo(SkImageInfo::MakeA8(this->width(), this->height()), srcM.fRowBytes); in extractAlpha() 551 if (!tmpBitmap.tryAllocPixels(allocator)) { in extractAlpha() 554 tmpBitmap.width(), tmpBitmap.height()); in extractAlpha() 557 GetBitmapAlpha(*this, tmpBitmap.getAddr8(0, 0), srcM.fRowBytes); in extractAlpha() 561 tmpBitmap.swap(*dst); in extractAlpha() 573 tmpBitmap.setInfo(SkImageInfo::MakeA8(dstM.fBounds.width(), dstM.fBounds.height()), in extractAlpha() 575 if (!tmpBitmap.tryAllocPixels(allocator)) { in extractAlpha() 578 tmpBitmap.width(), tmpBitmap.height()); in extractAlpha() 581 memcpy(tmpBitmap.getPixels(), dstM.fImage, dstM.computeImageSize()); in extractAlpha() [all …]
|
D | SkBitmapDevice.cpp | 436 SkBitmap tmpBitmap; in drawBitmapRect() local 482 if (!bitmap.extractSubset(&tmpBitmap, srcIR)) { in drawBitmapRect() 485 bitmapPtr = &tmpBitmap; in drawBitmapRect()
|
/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 | 623 HBITMAP tmpBitmap = nullptr; in takeScreenshot() local 645 tmpBitmap = CreateCompatibleBitmap(screenDC, mWidth, mHeight); in takeScreenshot() 646 error = tmpBitmap == nullptr; in takeScreenshot() 657 error = SelectObject(tmpDC, tmpBitmap) == nullptr; in takeScreenshot() 679 int getBitsResult = GetDIBits(screenDC, tmpBitmap, 0, mHeight, pixelData, in takeScreenshot() 684 if (tmpBitmap != nullptr) in takeScreenshot() 686 DeleteObject(tmpBitmap); in takeScreenshot()
|