Home
last modified time | relevance | path

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

/external/deqp/framework/platform/win32/
DtcuWin32EGLNativeDisplayFactory.cpp291 HDC tmpDC = DE_NULL; in readScreenPixels() local
322 tmpDC = CreateCompatibleDC(screenDC); in readScreenPixels()
323 TCU_CHECK(tmpDC != DE_NULL); in readScreenPixels()
330 TCU_CHECK(SelectObject(tmpDC, tmpBitmap) != DE_NULL); in readScreenPixels()
332 TCU_CHECK(BitBlt(tmpDC, 0, 0, width, height, screenDC, rect.left, rect.top, SRCCOPY)); in readScreenPixels()
360 DeleteDC(tmpDC); in readScreenPixels()
361 tmpDC = DE_NULL; in readScreenPixels()
374 if (tmpDC) in readScreenPixels()
375 DeleteDC(tmpDC); in readScreenPixels()
/external/angle/util/windows/win32/
DWin32Window.cpp632 HDC tmpDC = nullptr; in takeScreenshot() local
649 tmpDC = CreateCompatibleDC(screenDC); in takeScreenshot()
650 error = tmpDC == nullptr; in takeScreenshot()
667 error = SelectObject(tmpDC, tmpBitmap) == nullptr; in takeScreenshot()
672 error = BitBlt(tmpDC, 0, 0, mWidth, mHeight, screenDC, topLeft.x, topLeft.y, SRCCOPY) == 0; in takeScreenshot()
698 if (tmpDC != nullptr) in takeScreenshot()
700 DeleteDC(tmpDC); in takeScreenshot()