Home
last modified time | relevance | path

Searched refs:deviceContext (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/src/OpenGL/libGL/
DDisplay.cpp215 HDC deviceContext = GetDC(0); in getDisplayMode() local
217 displayMode.width = ::GetDeviceCaps(deviceContext, HORZRES); in getDisplayMode()
218 displayMode.height = ::GetDeviceCaps(deviceContext, VERTRES); in getDisplayMode()
219 unsigned int bpp = ::GetDeviceCaps(deviceContext, BITSPIXEL); in getDisplayMode()
230 ReleaseDC(0, deviceContext); in getDisplayMode()
/external/swiftshader/src/D3D9/
DDirect3DSurface9.hpp55 long __stdcall GetDC(HDC *deviceContext) override;
56 long __stdcall ReleaseDC(HDC deviceContext) override;
DDirect3DSurface9.cpp215 long Direct3DSurface9::GetDC(HDC *deviceContext) in GetDC() argument
221 if(!deviceContext) in GetDC()
231 long Direct3DSurface9::ReleaseDC(HDC deviceContext) in ReleaseDC() argument
DDirect3D9.cpp994 HDC deviceContext = GetDC(0); in GetAdapterDisplayMode() local
996 mode->Width = ::GetDeviceCaps(deviceContext, HORZRES); in GetAdapterDisplayMode()
997 mode->Height = ::GetDeviceCaps(deviceContext, VERTRES); in GetAdapterDisplayMode()
998 mode->RefreshRate = ::GetDeviceCaps(deviceContext, VREFRESH); in GetAdapterDisplayMode()
999 unsigned int bpp = ::GetDeviceCaps(deviceContext, BITSPIXEL); in GetAdapterDisplayMode()
1001 ReleaseDC(0, deviceContext); in GetAdapterDisplayMode()
/external/skia/src/ports/
DSkFontHost_win.cpp100 static void dcfontname_to_skstring(HDC deviceContext, const LOGFONT& lf, SkString* familyName) { in dcfontname_to_skstring() argument
102 if (0 == (fontNameLen = GetTextFace(deviceContext, 0, nullptr))) { in dcfontname_to_skstring()
104 if (0 == (fontNameLen = GetTextFace(deviceContext, 0, nullptr))) { in dcfontname_to_skstring()
110 if (0 == GetTextFace(deviceContext, fontNameLen, fontName.get())) { in dcfontname_to_skstring()
112 if (0 == GetTextFace(deviceContext, fontNameLen, fontName.get())) { in dcfontname_to_skstring()
216 HDC deviceContext = ::CreateCompatibleDC(nullptr); in LogFontTypeface() local
217 HFONT savefont = (HFONT)SelectObject(deviceContext, font); in LogFontTypeface()
220 if (0 == GetTextMetrics(deviceContext, &textMetric)) { in LogFontTypeface()
222 if (0 == GetTextMetrics(deviceContext, &textMetric)) { in LogFontTypeface()
226 if (deviceContext) { in LogFontTypeface()
[all …]
/external/swiftshader/src/D3D8/
DDirect3D8.cpp657 HDC deviceContext = GetDC(0); in GetAdapterDisplayMode() local
659 mode->Width = ::GetDeviceCaps(deviceContext, HORZRES); in GetAdapterDisplayMode()
660 mode->Height = ::GetDeviceCaps(deviceContext, VERTRES); in GetAdapterDisplayMode()
661 mode->RefreshRate = ::GetDeviceCaps(deviceContext, VREFRESH); in GetAdapterDisplayMode()
662 unsigned int bpp = ::GetDeviceCaps(deviceContext, BITSPIXEL); in GetAdapterDisplayMode()
664 ReleaseDC(0, deviceContext); in GetAdapterDisplayMode()
/external/swiftshader/src/OpenGL/libEGL/
DDisplay.cpp653 HDC deviceContext = GetDC(0); in getDisplayFormat() local
654 unsigned int bpp = ::GetDeviceCaps(deviceContext, BITSPIXEL); in getDisplayFormat()
655 ReleaseDC(0, deviceContext); in getDisplayFormat()