Home
last modified time | relevance | path

Searched refs:screenDC (Results 1 – 2 of 2) sorted by relevance

/external/deqp/framework/platform/win32/
DtcuWin32EGLNativeDisplayFactory.cpp290 HDC screenDC = DE_NULL; in readScreenPixels() local
316 screenDC = GetDC(DE_NULL); in readScreenPixels()
317 TCU_CHECK(screenDC); in readScreenPixels()
322 tmpDC = CreateCompatibleDC(screenDC); in readScreenPixels()
327 tmpBitmap = CreateCompatibleBitmap(screenDC, width, height); in readScreenPixels()
332 TCU_CHECK(BitBlt(tmpDC, 0, 0, width, height, screenDC, rect.left, rect.top, SRCCOPY)); in readScreenPixels()
349 …TCU_CHECK(GetDIBits(screenDC, tmpBitmap, 0, height, dst->getAccess().getDataPtr(), (BITMAPINFO*)&b… in readScreenPixels()
354 ReleaseDC(DE_NULL, screenDC); in readScreenPixels()
355 screenDC = DE_NULL; in readScreenPixels()
365 if (screenDC) in readScreenPixels()
[all …]
/external/angle/util/windows/win32/
DWin32Window.cpp630 HDC screenDC = nullptr; in takeScreenshot() local
637 screenDC = GetDC(HWND_DESKTOP); in takeScreenshot()
638 error = screenDC == nullptr; in takeScreenshot()
649 tmpDC = CreateCompatibleDC(screenDC); in takeScreenshot()
655 tmpBitmap = CreateCompatibleBitmap(screenDC, mWidth, mHeight); in takeScreenshot()
672 error = BitBlt(tmpDC, 0, 0, mWidth, mHeight, screenDC, topLeft.x, topLeft.y, SRCCOPY) == 0; in takeScreenshot()
689 int getBitsResult = GetDIBits(screenDC, tmpBitmap, 0, mHeight, pixelData, in takeScreenshot()
702 if (screenDC != nullptr) in takeScreenshot()
704 ReleaseDC(nullptr, screenDC); in takeScreenshot()