Home
last modified time | relevance | path

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

/external/swiftshader/src/D3D9/
DDirect3DSurface9.hpp55 long __stdcall GetDC(HDC *deviceContext) override;
56 long __stdcall ReleaseDC(HDC deviceContext) override;
DDirect3DSurface9.cpp216 long Direct3DSurface9::GetDC(HDC *deviceContext) in GetDC() argument
222 if(!deviceContext) in GetDC()
232 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.cpp104 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/
DSkFontHost_win.cpp104 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/
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.cpp776 HDC deviceContext = GetDC(0); in getDisplayFormat() local
777 unsigned int bpp = ::GetDeviceCaps(deviceContext, BITSPIXEL); in getDisplayFormat()
778 ReleaseDC(0, deviceContext); in getDisplayFormat()