/third_party/mesa3d/src/gallium/targets/libgl-gdi/ |
D | stw_wgl.c | 64 HDC hdc ) in wglCreateContext() argument 67 return (HGLRC)(UINT_PTR)DrvCreateContext(hdc); in wglCreateContext() 72 HDC hdc, in wglCreateLayerContext() argument 76 return (HGLRC)(UINT_PTR)DrvCreateLayerContext( hdc, iLayerPlane ); in wglCreateLayerContext() 102 HDC hdc, in wglMakeCurrent() argument 105 return DrvSetContext( hdc, (DHGLRC)(UINT_PTR)hglrc, NULL ) ? TRUE : FALSE; in wglMakeCurrent() 111 HDC hdc ) in wglSwapBuffers() argument 113 return DrvSwapBuffers( hdc ); in wglSwapBuffers() 124 wglSwapBuffers(ps->hdc); in wglSwapMultipleBuffers() 132 HDC hdc, in wglSwapLayerBuffers() argument [all …]
|
D | stw_wgl.h | 42 wglSwapBuffers(HDC hdc); 45 wglChoosePixelFormat(HDC hdc, 49 wglDescribePixelFormat(HDC hdc, 55 wglGetPixelFormat(HDC hdc); 58 wglSetPixelFormat(HDC hdc, 76 HDC hdc; member
|
/third_party/musl/ndk-test/script/ |
D | runtest_Windows.bat | 19 for /F "usebackq delims==" %%c in (`hdc list targets`) DO ( 28 hdc shell mkdir %REMOTE% 31 @REM hdc shell mount -o rw,remount / 34 hdc shell mkdir /tmp 35 hdc shell mkdir /dev/shm 44 hdc shell mkdir %REMOTE%/%%~ni 47 hdc shell mkdir %REMOTE%/%%~ni/%%~ns 49 hdc file send %%f %REMOTE%/%%~ni/%%~ns 51 hdc shell chmod +x %REMOTE%/%%~ni/%%~ns/* 64 hdc file send %SHDIR%\runtest.sh %REMOTE%/runtest.sh [all …]
|
/third_party/musl/scripts/ |
D | runtest_Windows.bat | 25 for /F "usebackq delims==" %%c in (`hdc list targets`) DO ( 44 hdc shell mkdir /data/tests 45 hdc shell mkdir %REMOTE% 46 hdc shell mkdir %REMOTE%/src 49 hdc shell mkdir /tmp 50 hdc shell mkdir /dev/shm 58 hdc file send %%i %REMOTE%/src 62 hdc file send %%j %REMOTE%/src 64 hdc shell chmod +x %REMOTE%/src/* 66 hdc shell mount -o rw,remount / [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/samples/layout/ |
D | GDIFontInstance.cpp | 119 HDC hdc = surface->getHDC(); in GDIFontInstance() local 125 SaveDC(hdc); in GDIFontInstance() 127 SetGraphicsMode(hdc, GM_ADVANCED); in GDIFontInstance() 128 ModifyWorldTransform(hdc, NULL, MWT_IDENTITY); in GDIFontInstance() 129 SetViewportOrgEx(hdc, 0, 0, NULL); in GDIFontInstance() 130 SetWindowOrgEx(hdc, 0, 0, NULL); in GDIFontInstance() 132 dpiX = (FLOAT) GetDeviceCaps(hdc, LOGPIXELSX); in GDIFontInstance() 133 dpiY = (FLOAT) GetDeviceCaps(hdc, LOGPIXELSY); in GDIFontInstance() 139 DPtoLP(hdc, &pt, 1); in GDIFontInstance() 167 SelectObject(hdc, fFont); in GDIFontInstance() [all …]
|
/third_party/skia/third_party/externals/icu/source/samples/layout/ |
D | GDIFontInstance.cpp | 119 HDC hdc = surface->getHDC(); in GDIFontInstance() local 125 SaveDC(hdc); in GDIFontInstance() 127 SetGraphicsMode(hdc, GM_ADVANCED); in GDIFontInstance() 128 ModifyWorldTransform(hdc, NULL, MWT_IDENTITY); in GDIFontInstance() 129 SetViewportOrgEx(hdc, 0, 0, NULL); in GDIFontInstance() 130 SetWindowOrgEx(hdc, 0, 0, NULL); in GDIFontInstance() 132 dpiX = (FLOAT) GetDeviceCaps(hdc, LOGPIXELSX); in GDIFontInstance() 133 dpiY = (FLOAT) GetDeviceCaps(hdc, LOGPIXELSY); in GDIFontInstance() 139 DPtoLP(hdc, &pt, 1); in GDIFontInstance() 167 SelectObject(hdc, fFont); in GDIFontInstance() [all …]
|
/third_party/icu/icu4c/source/samples/layout/ |
D | GDIFontInstance.cpp | 119 HDC hdc = surface->getHDC(); in GDIFontInstance() local 125 SaveDC(hdc); in GDIFontInstance() 127 SetGraphicsMode(hdc, GM_ADVANCED); in GDIFontInstance() 128 ModifyWorldTransform(hdc, NULL, MWT_IDENTITY); in GDIFontInstance() 129 SetViewportOrgEx(hdc, 0, 0, NULL); in GDIFontInstance() 130 SetWindowOrgEx(hdc, 0, 0, NULL); in GDIFontInstance() 132 dpiX = (FLOAT) GetDeviceCaps(hdc, LOGPIXELSX); in GDIFontInstance() 133 dpiY = (FLOAT) GetDeviceCaps(hdc, LOGPIXELSY); in GDIFontInstance() 139 DPtoLP(hdc, &pt, 1); in GDIFontInstance() 167 SelectObject(hdc, fFont); in GDIFontInstance() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/ |
D | SDL_windowsopengl.c | 202 WIN_GL_ChoosePixelFormat(HDC hdc, PIXELFORMATDESCRIPTOR * target) in WIN_GL_ChoosePixelFormat() argument 208 count = DescribePixelFormat(hdc, 1, sizeof(pfd), NULL); in WIN_GL_ChoosePixelFormat() 212 if (!DescribePixelFormat(hdc, index, sizeof(pfd), &pfd)) { in WIN_GL_ChoosePixelFormat() 340 HDC hdc; in WIN_GL_InitExtensions() local 356 hdc = GetDC(hwnd); in WIN_GL_InitExtensions() 360 SetPixelFormat(hdc, ChoosePixelFormat(hdc, &pfd), &pfd); in WIN_GL_InitExtensions() 362 hglrc = _this->gl_data->wglCreateContext(hdc); in WIN_GL_InitExtensions() 366 _this->gl_data->wglMakeCurrent(hdc, hglrc); in WIN_GL_InitExtensions() 371 extensions = wglGetExtensionsStringARB(hdc); in WIN_GL_InitExtensions() 420 _this->gl_data->wglMakeCurrent(hdc, NULL); in WIN_GL_InitExtensions() [all …]
|
D | SDL_windowsframebuffer.c | 53 hbm = CreateCompatibleBitmap(data->hdc, 1, 1); in WIN_CreateWindowFramebuffer() 54 GetDIBits(data->hdc, hbm, 0, 0, NULL, info, DIB_RGB_COLORS); in WIN_CreateWindowFramebuffer() 55 GetDIBits(data->hdc, hbm, 0, 0, NULL, info, DIB_RGB_COLORS); in WIN_CreateWindowFramebuffer() 86 data->mdc = CreateCompatibleDC(data->hdc); in WIN_CreateWindowFramebuffer() 87 data->hbm = CreateDIBSection(data->hdc, info, DIB_RGB_COLORS, pixels, NULL, 0); in WIN_CreateWindowFramebuffer() 102 BitBlt(data->hdc, 0, 0, window->w, window->h, data->mdc, 0, 0, SRCCOPY); in WIN_UpdateWindowFramebuffer()
|
/third_party/mesa3d/src/glx/windows/ |
D | windowsgl.c | 102 HDC hdc = GetDC(hwnd); in windows_create_context() local 106 SetPixelFormat(hdc, gc->pxfi, NULL); in windows_create_context() 108 gc->ctx = wglCreateContext(hdc); in windows_create_context() 113 ReleaseDC(hwnd, hdc); in windows_create_context() 163 HDC hdc = GetDC(hwnd); in windows_create_context_attribs() local 170 SetPixelFormat(hdc, gc->pxfi, NULL); in windows_create_context_attribs() 172 gc->ctx = wglCreateContextAttribsARB(hdc, shareContext, attribList); in windows_create_context_attribs() 174 ReleaseDC(hwnd, hdc); in windows_create_context_attribs() 317 HDC hdc = GetDC(hwnd); in windows_call_with_context() local 320 SetPixelFormat(hdc, 1, NULL); in windows_call_with_context() [all …]
|
/third_party/mesa3d/src/gallium/frontends/wgl/ |
D | stw_framebuffer.c | 412 stw_framebuffer_from_hdc_locked(HDC hdc) in stw_framebuffer_from_hdc_locked() argument 416 hwnd = WindowFromDC(hdc); in stw_framebuffer_from_hdc_locked() 430 stw_framebuffer_from_hdc(HDC hdc) in stw_framebuffer_from_hdc() argument 438 fb = stw_framebuffer_from_hdc_locked(hdc); in stw_framebuffer_from_hdc() 463 DrvSetPixelFormat(HDC hdc, LONG iPixelFormat) in DrvSetPixelFormat() argument 473 count = stw_pixelformat_get_count(hdc); in DrvSetPixelFormat() 477 fb = stw_framebuffer_from_hdc_locked(hdc); in DrvSetPixelFormat() 490 fb = stw_framebuffer_create(WindowFromDC(hdc), iPixelFormat, STW_FRAMEBUFFER_WGL_WINDOW); in DrvSetPixelFormat() 500 if (GetPixelFormat(hdc) == 0) { in DrvSetPixelFormat() 501 BOOL bRet = SetPixelFormat(hdc, iPixelFormat, NULL); in DrvSetPixelFormat() [all …]
|
D | stw_ext_pixelformat.c | 52 stw_query_attrib(HDC hdc, int iPixelFormat, int iLayerPlane, int attrib, int *pvalue) in stw_query_attrib() argument 57 count = stw_pixelformat_get_extended_count(hdc); in stw_query_attrib() 334 score_pixelformats(HDC hdc, in score_pixelformats() argument 361 if (!stw_query_attrib(hdc, index + 1, 0, attribute, &actual_value)) in score_pixelformats() 392 wglChoosePixelFormatARB(HDC hdc, const int *piAttribIList, in wglChoosePixelFormatARB() argument 407 count = stw_pixelformat_get_extended_count(hdc); in wglChoosePixelFormatARB() 421 if (!score_pixelformats(hdc, scores, count, piAttribIList[0], in wglChoosePixelFormatARB() 431 if (!score_pixelformats(hdc, scores, count, (int) pfAttribFList[0], in wglChoosePixelFormatARB() 482 wglGetPixelFormatAttribfvARB(HDC hdc, int iPixelFormat, int iLayerPlane, in wglGetPixelFormatAttribfvARB() argument 491 if (!stw_query_attrib(hdc, iPixelFormat, iLayerPlane, in wglGetPixelFormatAttribfvARB() [all …]
|
D | stw_pixelformat.h | 62 stw_pixelformat_get_count( HDC hdc ); 65 stw_pixelformat_get_extended_count( HDC hdc ); 71 stw_pixelformat_choose( HDC hdc, 75 stw_pixelformat_get(HDC hdc);
|
D | stw_pixelformat.c | 335 stw_pixelformat_get_count(HDC hdc) in stw_pixelformat_get_count() argument 337 if (!stw_init_screen(hdc)) in stw_pixelformat_get_count() 345 stw_pixelformat_get_extended_count(HDC hdc) in stw_pixelformat_get_extended_count() argument 347 if (!stw_init_screen(hdc)) in stw_pixelformat_get_extended_count() 377 DrvDescribePixelFormat(HDC hdc, INT iPixelFormat, ULONG cjpfd, in DrvDescribePixelFormat() argument 386 count = stw_pixelformat_get_count(hdc); in DrvDescribePixelFormat() 406 DrvDescribeLayerPlane(HDC hdc, INT iPixelFormat, INT iLayerPlane, in DrvDescribeLayerPlane() argument 415 DrvGetLayerPaletteEntries(HDC hdc, INT iLayerPlane, INT iStart, in DrvGetLayerPaletteEntries() argument 424 DrvSetLayerPaletteEntries(HDC hdc, INT iLayerPlane, INT iStart, in DrvSetLayerPaletteEntries() argument 433 DrvRealizeLayerPalette(HDC hdc, INT iLayerPlane, BOOL bRealize) in DrvRealizeLayerPalette() argument [all …]
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-gdi.cc | 47 HDC hdc = GetDC (nullptr); in _hb_gdi_reference_table() local 48 if (unlikely (!SelectObject (hdc, (HFONT) user_data))) goto fail; in _hb_gdi_reference_table() 50 length = GetFontData (hdc, hb_uint32_swap (tag), 0, buffer, length); in _hb_gdi_reference_table() 55 length = GetFontData (hdc, hb_uint32_swap (tag), 0, buffer, length); in _hb_gdi_reference_table() 57 ReleaseDC (nullptr, hdc); in _hb_gdi_reference_table() 64 ReleaseDC (nullptr, hdc); in _hb_gdi_reference_table()
|
/third_party/harfbuzz/src/ |
D | hb-gdi.cc | 47 HDC hdc = GetDC (nullptr); in _hb_gdi_reference_table() local 48 if (unlikely (!SelectObject (hdc, (HFONT) user_data))) goto fail; in _hb_gdi_reference_table() 50 length = GetFontData (hdc, hb_uint32_swap (tag), 0, buffer, length); in _hb_gdi_reference_table() 55 length = GetFontData (hdc, hb_uint32_swap (tag), 0, buffer, length); in _hb_gdi_reference_table() 57 ReleaseDC (nullptr, hdc); in _hb_gdi_reference_table() 64 ReleaseDC (nullptr, hdc); in _hb_gdi_reference_table()
|
/third_party/flutter/skia/src/ports/ |
D | SkFontHost_win.cpp | 154 static unsigned calculateGlyphCount(HDC hdc, const LOGFONT& lf) { in calculateGlyphCount() argument 156 if (0 == GetTextMetrics(hdc, &textMetric)) { in calculateGlyphCount() 159 GetTextMetrics(hdc, &textMetric); in calculateGlyphCount() 168 if (GDI_ERROR != GetFontData(hdc, SkOTTableMaximumProfile::TAG, 4, &glyphs, sizeof(glyphs))) { in calculateGlyphCount() 179 if (GetGlyphOutlineW(hdc, mid, GGO_METRICS | GGO_GLYPH_INDEX, &gm, 0, in calculateGlyphCount() 190 static unsigned calculateUPEM(HDC hdc, const LOGFONT& lf) { in calculateUPEM() argument 192 if (0 == GetTextMetrics(hdc, &textMetric)) { in calculateUPEM() 195 GetTextMetrics(hdc, &textMetric); in calculateUPEM() 203 unsigned int otmRet = GetOutlineTextMetrics(hdc, sizeof(otm), &otm); in calculateUPEM() 206 otmRet = GetOutlineTextMetrics(hdc, sizeof(otm), &otm); in calculateUPEM() [all …]
|
/third_party/flutter/skia/gm/ |
D | rasterhandleallocator.cpp | 169 HDC hdc = (HDC)fCanvas->accessTopRasterHandle(); in drawRect() local 173 FillRect(hdc, &rounded, CreateSolidBrush(cr)); in drawRect() 207 HDC hdc = CreateCompatibleDC(nullptr); in Create() local 208 if (!hdc) { in Create() 212 SetGraphicsMode(hdc, GM_ADVANCED); in Create() 213 HGDIOBJ origBitmap = SelectObject(hdc, hbitmap); in Create() 216 HDC hdc; in Create() member 221 HBITMAP hbitmap = static_cast<HBITMAP>(SelectObject(ctx->hdc, ctx->hbitmap)); in Create() 223 DeleteDC(ctx->hdc); in Create() 226 rec->fReleaseCtx = new ReleaseContext{hdc, origBitmap}; in Create() [all …]
|
/third_party/skia/gm/ |
D | rasterhandleallocator.cpp | 168 HDC hdc = (HDC)fCanvas->accessTopRasterHandle(); in drawRect() local 172 FillRect(hdc, &rounded, CreateSolidBrush(cr)); in drawRect() 206 HDC hdc = CreateCompatibleDC(nullptr); in Create() local 207 if (!hdc) { in Create() 211 SetGraphicsMode(hdc, GM_ADVANCED); in Create() 212 HGDIOBJ origBitmap = SelectObject(hdc, hbitmap); in Create() 215 HDC hdc; in Create() member 220 HBITMAP hbitmap = static_cast<HBITMAP>(SelectObject(ctx->hdc, ctx->hbitmap)); in Create() 222 DeleteDC(ctx->hdc); in Create() 225 rec->fReleaseCtx = new ReleaseContext{hdc, origBitmap}; in Create() [all …]
|
/third_party/skia/third_party/externals/angle2/include/WGL/ |
D | wgl.h | 89 typedef int (WINAPI * PFNDESCRIBEPIXELFORMATPROC) (HDC hdc, int ipfd, UINT cjpfd, const PIXELFORMAT… 91 typedef int (WINAPI * PFNGETPIXELFORMATPROC) (HDC hdc); 92 typedef BOOL (WINAPI * PFNSETPIXELFORMATPROC) (HDC hdc, int ipfd, const PIXELFORMATDESCRIPTOR *ppfd… 93 typedef BOOL (WINAPI * PFNSWAPBUFFERSPROC) (HDC hdc); 101 typedef int (WINAPI * PFNWGLGETLAYERPALETTEENTRIESPROC) (HDC hdc, int iLayerPlane, int iStart, int … 104 typedef BOOL (WINAPI * PFNWGLREALIZELAYERPALETTEPROC) (HDC hdc, int iLayerPlane, BOOL bRealize); 105 typedef int (WINAPI * PFNWGLSETLAYERPALETTEENTRIESPROC) (HDC hdc, int iLayerPlane, int iStart, int … 107 typedef BOOL (WINAPI * PFNWGLSWAPLAYERBUFFERSPROC) (HDC hdc, UINT fuFlags); 116 int WINAPI DescribePixelFormat (HDC hdc, int ipfd, UINT cjpfd, const PIXELFORMATDESCRIPTOR *ppfd); 118 int WINAPI GetPixelFormat (HDC hdc); [all …]
|
/third_party/skia/third_party/externals/opengl-registry/api/GL/ |
D | wgl.h | 89 typedef int (WINAPI * PFNDESCRIBEPIXELFORMATPROC) (HDC hdc, int ipfd, UINT cjpfd, const PIXELFORMAT… 91 typedef int (WINAPI * PFNGETPIXELFORMATPROC) (HDC hdc); 92 typedef BOOL (WINAPI * PFNSETPIXELFORMATPROC) (HDC hdc, int ipfd, const PIXELFORMATDESCRIPTOR *ppfd… 93 typedef BOOL (WINAPI * PFNSWAPBUFFERSPROC) (HDC hdc); 101 typedef int (WINAPI * PFNWGLGETLAYERPALETTEENTRIESPROC) (HDC hdc, int iLayerPlane, int iStart, int … 104 typedef BOOL (WINAPI * PFNWGLREALIZELAYERPALETTEPROC) (HDC hdc, int iLayerPlane, BOOL bRealize); 105 typedef int (WINAPI * PFNWGLSETLAYERPALETTEENTRIESPROC) (HDC hdc, int iLayerPlane, int iStart, int … 107 typedef BOOL (WINAPI * PFNWGLSWAPLAYERBUFFERSPROC) (HDC hdc, UINT fuFlags); 116 int WINAPI DescribePixelFormat (HDC hdc, int ipfd, UINT cjpfd, const PIXELFORMATDESCRIPTOR *ppfd); 118 int WINAPI GetPixelFormat (HDC hdc); [all …]
|
/third_party/openGLES/api/GL/ |
D | wgl.h | 70 typedef int (WINAPI * PFNDESCRIBEPIXELFORMATPROC) (HDC hdc, int ipfd, UINT cjpfd, const PIXELFORMAT… 72 typedef int (WINAPI * PFNGETPIXELFORMATPROC) (HDC hdc); 73 typedef BOOL (WINAPI * PFNSETPIXELFORMATPROC) (HDC hdc, int ipfd, const PIXELFORMATDESCRIPTOR *ppfd… 74 typedef BOOL (WINAPI * PFNSWAPBUFFERSPROC) (HDC hdc); 82 typedef int (WINAPI * PFNWGLGETLAYERPALETTEENTRIESPROC) (HDC hdc, int iLayerPlane, int iStart, int … 85 typedef BOOL (WINAPI * PFNWGLREALIZELAYERPALETTEPROC) (HDC hdc, int iLayerPlane, BOOL bRealize); 86 typedef int (WINAPI * PFNWGLSETLAYERPALETTEENTRIESPROC) (HDC hdc, int iLayerPlane, int iStart, int … 88 typedef BOOL (WINAPI * PFNWGLSWAPLAYERBUFFERSPROC) (HDC hdc, UINT fuFlags); 97 int WINAPI DescribePixelFormat (HDC hdc, int ipfd, UINT cjpfd, const PIXELFORMATDESCRIPTOR *ppfd); 99 int WINAPI GetPixelFormat (HDC hdc); [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/include/WGL/ |
D | wgl.h | 89 typedef int (WINAPI * PFNDESCRIBEPIXELFORMATPROC) (HDC hdc, int ipfd, UINT cjpfd, const PIXELFORMAT… 91 typedef int (WINAPI * PFNGETPIXELFORMATPROC) (HDC hdc); 92 typedef BOOL (WINAPI * PFNSETPIXELFORMATPROC) (HDC hdc, int ipfd, const PIXELFORMATDESCRIPTOR *ppfd… 93 typedef BOOL (WINAPI * PFNSWAPBUFFERSPROC) (HDC hdc); 101 typedef int (WINAPI * PFNWGLGETLAYERPALETTEENTRIESPROC) (HDC hdc, int iLayerPlane, int iStart, int … 104 typedef BOOL (WINAPI * PFNWGLREALIZELAYERPALETTEPROC) (HDC hdc, int iLayerPlane, BOOL bRealize); 105 typedef int (WINAPI * PFNWGLSETLAYERPALETTEENTRIESPROC) (HDC hdc, int iLayerPlane, int iStart, int … 107 typedef BOOL (WINAPI * PFNWGLSWAPLAYERBUFFERSPROC) (HDC hdc, UINT fuFlags); 116 int WINAPI DescribePixelFormat (HDC hdc, int ipfd, UINT cjpfd, const PIXELFORMATDESCRIPTOR *ppfd); 118 int WINAPI GetPixelFormat (HDC hdc); [all …]
|
/third_party/skia/third_party/externals/angle2/src/libGL/ |
D | entry_points_wgl.h | 25 int GL_APIENTRY wglDescribePixelFormat(HDC hdc, int ipfd, UINT cjpfd, PIXELFORMATDESCRIPTOR *ppfd); 31 int GL_APIENTRY wglGetPixelFormat(HDC hdc); 33 BOOL GL_APIENTRY wglSetPixelFormat(HDC hdc, int ipfd, const PIXELFORMATDESCRIPTOR *ppfd); 35 BOOL GL_APIENTRY wglSwapBuffers(HDC hdc);
|
/third_party/flutter/skia/third_party/externals/angle2/src/libGL/ |
D | entry_points_wgl.h | 25 int GL_APIENTRY wglDescribePixelFormat(HDC hdc, int ipfd, UINT cjpfd, PIXELFORMATDESCRIPTOR *ppfd); 31 int GL_APIENTRY wglGetPixelFormat(HDC hdc); 33 BOOL GL_APIENTRY wglSetPixelFormat(HDC hdc, int ipfd, const PIXELFORMATDESCRIPTOR *ppfd); 35 BOOL GL_APIENTRY wglSwapBuffers(HDC hdc);
|