Searched refs:deviceContext (Results 1 – 7 of 7) sorted by relevance
/external/swiftshader/src/OpenGL/libGL/ |
D | Display.cpp | 215 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/ |
D | Direct3DSurface9.hpp | 55 long __stdcall GetDC(HDC *deviceContext) override; 56 long __stdcall ReleaseDC(HDC deviceContext) override;
|
D | Direct3DSurface9.cpp | 215 long Direct3DSurface9::GetDC(HDC *deviceContext) in GetDC() argument 221 if(!deviceContext) in GetDC() 231 long Direct3DSurface9::ReleaseDC(HDC deviceContext) in ReleaseDC() argument
|
D | Direct3D9.cpp | 994 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/ |
D | SkFontHost_win.cpp | 100 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/ |
D | Direct3D8.cpp | 657 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/ |
D | Display.cpp | 653 HDC deviceContext = GetDC(0); in getDisplayFormat() local 654 unsigned int bpp = ::GetDeviceCaps(deviceContext, BITSPIXEL); in getDisplayFormat() 655 ReleaseDC(0, deviceContext); in getDisplayFormat()
|