Searched refs:deviceContext (Results 1 – 7 of 7) sorted by relevance
/external/swiftshader/src/D3D9/ |
D | Direct3DSurface9.hpp | 55 long __stdcall GetDC(HDC *deviceContext) override; 56 long __stdcall ReleaseDC(HDC deviceContext) override;
|
D | Direct3DSurface9.cpp | 216 long Direct3DSurface9::GetDC(HDC *deviceContext) in GetDC() argument 222 if(!deviceContext) in GetDC() 232 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 | 104 static void dcfontname_to_skstring(HDC deviceContext, const LOGFONT& lf, SkString* familyName) { in dcfontname_to_skstring() argument 106 if (0 == (fontNameLen = GetTextFace(deviceContext, 0, nullptr))) { in dcfontname_to_skstring() 108 if (0 == (fontNameLen = GetTextFace(deviceContext, 0, nullptr))) { in dcfontname_to_skstring() 114 if (0 == GetTextFace(deviceContext, fontNameLen, fontName.get())) { in dcfontname_to_skstring() 116 if (0 == GetTextFace(deviceContext, fontNameLen, fontName.get())) { in dcfontname_to_skstring() 220 HDC deviceContext = ::CreateCompatibleDC(nullptr); in LogFontTypeface() local 221 HFONT savefont = (HFONT)SelectObject(deviceContext, font); in LogFontTypeface() 224 if (0 == GetTextMetrics(deviceContext, &textMetric)) { in LogFontTypeface() 226 if (0 == GetTextMetrics(deviceContext, &textMetric)) { in LogFontTypeface() 230 if (deviceContext) { in LogFontTypeface() [all …]
|
/external/skqp/src/ports/ |
D | SkFontHost_win.cpp | 104 static void dcfontname_to_skstring(HDC deviceContext, const LOGFONT& lf, SkString* familyName) { in dcfontname_to_skstring() argument 106 if (0 == (fontNameLen = GetTextFace(deviceContext, 0, nullptr))) { in dcfontname_to_skstring() 108 if (0 == (fontNameLen = GetTextFace(deviceContext, 0, nullptr))) { in dcfontname_to_skstring() 114 if (0 == GetTextFace(deviceContext, fontNameLen, fontName.get())) { in dcfontname_to_skstring() 116 if (0 == GetTextFace(deviceContext, fontNameLen, fontName.get())) { in dcfontname_to_skstring() 220 HDC deviceContext = ::CreateCompatibleDC(nullptr); in LogFontTypeface() local 221 HFONT savefont = (HFONT)SelectObject(deviceContext, font); in LogFontTypeface() 224 if (0 == GetTextMetrics(deviceContext, &textMetric)) { in LogFontTypeface() 226 if (0 == GetTextMetrics(deviceContext, &textMetric)) { in LogFontTypeface() 230 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 | 776 HDC deviceContext = GetDC(0); in getDisplayFormat() local 777 unsigned int bpp = ::GetDeviceCaps(deviceContext, BITSPIXEL); in getDisplayFormat() 778 ReleaseDC(0, deviceContext); in getDisplayFormat()
|