| /xsrc/external/mit/libepoxy/dist/test/ |
| H A D | wgl_common.h | 27 make_window_and_test(int (*callback)(HDC hdc));
|
| H A D | wgl_usefontbitmaps.c | 30 test_function(HDC hdc) argument 37 ctx = wglCreateContext(hdc); 42 if (!wglMakeCurrent(hdc, ctx)) { 48 wglUseFontBitmaps(hdc, 0, 255, dlist[0]); 54 wglUseFontBitmapsW(hdc, 0, 255, dlist[0]); 56 wglUseFontBitmapsA(hdc, 0, 255, dlist[0]);
|
| H A D | wgl_per_context_funcptrs.c | 90 test_createshader(HDC hdc, HGLRC ctx) argument 95 wglMakeCurrent(hdc, ctx); 121 test_function(HDC hdc) argument 123 ctx1 = wglCreateContext(hdc); 124 ctx2 = wglCreateContext(hdc); 130 if (!wglMakeCurrent(hdc, ctx1)) { 144 test_createshader(hdc, ctx1); 145 test_createshader(hdc, ctx1); 146 test_createshader(hdc, ctx2); 147 test_createshader(hdc, ctx [all...] |
| H A D | wgl_common.c | 28 static int (*test_callback)(HDC hdc); 31 setup_pixel_format(HDC hdc) argument 55 pixel_format = ChoosePixelFormat(hdc, &pfd); 61 if (SetPixelFormat(hdc, pixel_format, &pfd) != TRUE) { 70 HDC hdc = GetDC(hwnd); local in function:window_proc 75 setup_pixel_format(hdc); 76 ret = test_callback(hdc); 77 ReleaseDC(hwnd, hdc); 86 make_window_and_test(int (*callback)(HDC hdc)) argument
|
| H A D | wgl_core_and_exts.c | 30 test_function(HDC hdc) argument 36 ctx = wglCreateContext(hdc); 41 if (!wglMakeCurrent(hdc, ctx)) {
|
| /xsrc/external/mit/xorg-server.old/dist/hw/xwin/ |
| H A D | winrop.c | 40 ROP16 (HDC hdc, int rop); 80 ROP16 (HDC hdc, int rop) argument 85 SetROP2 (hdc, R2_BLACK); 89 SetROP2 (hdc, R2_MASKPEN); 93 SetROP2 (hdc, R2_MASKPENNOT); 97 SetROP2 (hdc, R2_COPYPEN); 101 SetROP2 (hdc, R2_NOP); 105 SetROP2 (hdc, R2_XORPEN); 109 SetROP2 (hdc, R2_MERGEPEN); 113 SetROP2 (hdc, R2_NOTMERGEPE [all...] |
| H A D | winmisc.c | 110 HDC hdc; local in function:winPaintBackground 114 /* Create an hdc */ 115 hdc = GetDC (hwnd); 116 if (hdc == NULL) 138 if (FillRect (hdc, &rect, hbrush) == 0) 147 /* Release the hdc */ 148 ReleaseDC (hwnd, hdc);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/wgl/ |
| H A 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);
|
| H A D | stw_ext_extensionsstring.c | 54 HDC hdc ) 56 if (!hdc) { 53 wglGetExtensionsStringARB(HDC hdc) argument
|
| H A D | stw_ext_context.h | 32 typedef HGLRC (WINAPI *wglCreateContext_t)(HDC hdc);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/wgl/ |
| H A 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 in struct:_WGLSWAP
|
| H A D | stw_wgl.c | 67 HDC hdc ) 70 return (HGLRC) DrvCreateContext(hdc); 75 HDC hdc, 79 return (HGLRC) DrvCreateLayerContext( hdc, iLayerPlane ); 111 HDC hdc, 114 return DrvSetContext( hdc, (DHGLRC)(UINT_PTR)hglrc, NULL ) ? TRUE : FALSE; 120 HDC hdc ) 122 return DrvSwapBuffers( hdc ); 133 wglSwapBuffers(ps->hdc); 141 HDC hdc, 66 wglCreateContext(HDC hdc) argument 74 wglCreateLayerContext(HDC hdc,int iLayerPlane) argument 110 wglMakeCurrent(HDC hdc,HGLRC hglrc) argument 119 wglSwapBuffers(HDC hdc) argument 140 wglSwapLayerBuffers(HDC hdc,UINT fuPlanes) argument 156 wglChoosePixelFormat(HDC hdc,CONST PIXELFORMATDESCRIPTOR * ppfd) argument 179 wglDescribePixelFormat(HDC hdc,int iPixelFormat,UINT nBytes,LPPIXELFORMATDESCRIPTOR ppfd) argument 189 wglGetPixelFormat(HDC hdc) argument 196 wglSetPixelFormat(HDC hdc,int iPixelFormat,const PIXELFORMATDESCRIPTOR * ppfd) argument 211 wglUseFontBitmapsA(HDC hdc,DWORD first,DWORD count,DWORD listBase) argument 230 wglUseFontBitmapsW(HDC hdc,DWORD first,DWORD count,DWORD listBase) argument 287 wglUseFontOutlinesA(HDC hdc,DWORD first,DWORD count,DWORD listBase,FLOAT deviation,FLOAT extrusion,int format,LPGLYPHMETRICSFLOAT lpgmf) argument 312 wglUseFontOutlinesW(HDC hdc,DWORD first,DWORD count,DWORD listBase,FLOAT deviation,FLOAT extrusion,int format,LPGLYPHMETRICSFLOAT lpgmf) argument 337 wglDescribeLayerPlane(HDC hdc,int iPixelFormat,int iLayerPlane,UINT nBytes,LPLAYERPLANEDESCRIPTOR plpd) argument 348 wglSetLayerPaletteEntries(HDC hdc,int iLayerPlane,int iStart,int cEntries,CONST COLORREF * pcr) argument 359 wglGetLayerPaletteEntries(HDC hdc,int iLayerPlane,int iStart,int cEntries,COLORREF * pcr) argument 370 wglRealizeLayerPalette(HDC hdc,int iLayerPlane,BOOL bRealize) argument [all...] |
| H A D | stw_ext_extensionsstring.c | 54 HDC hdc ) 56 if (!hdc) { 53 wglGetExtensionsStringARB(HDC hdc) argument
|
| H A D | stw_pixelformat.h | 65 stw_pixelformat_choose( HDC hdc, 69 stw_pixelformat_get(HDC hdc);
|
| H A D | stw_ext_context.h | 32 typedef HGLRC (WINAPI *wglCreateContext_t)(HDC hdc);
|
| H A D | stw_st.h | 50 stw_st_swap_framebuffer_locked(HDC hdc, struct st_framebuffer_iface *stfb);
|
| H A D | stw_framebuffer.c | 252 stw_framebuffer_create(HDC hdc, int iPixelFormat) argument 259 hWnd = WindowFromDC( hdc ); 368 * Given an hdc, return the corresponding stw_framebuffer. 372 stw_framebuffer_from_hdc_locked(HDC hdc) argument 376 hwnd = WindowFromDC(hdc); 390 stw_framebuffer_from_hdc(HDC hdc) argument 398 fb = stw_framebuffer_from_hdc_locked(hdc); 423 DrvSetPixelFormat(HDC hdc, LONG iPixelFormat) argument 437 fb = stw_framebuffer_from_hdc_locked(hdc); 450 fb = stw_framebuffer_create(hdc, iPixelForma 472 stw_pixelformat_get(HDC hdc) argument 488 DrvPresentBuffers(HDC hdc,PGLPRESENTBUFFERSDATA data) argument 550 stw_framebuffer_present_locked(HDC hdc,struct stw_framebuffer * fb,struct pipe_resource * res) argument 620 DrvSwapBuffers(HDC hdc) argument 663 DrvSwapLayerBuffers(HDC hdc,UINT fuPlanes) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/targets/libgl-gdi/ |
| H A 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 in struct:_WGLSWAP
|
| H A D | stw_wgl.c | 64 HDC hdc ) 67 return (HGLRC)(UINT_PTR)DrvCreateContext(hdc); 72 HDC hdc, 76 return (HGLRC)(UINT_PTR)DrvCreateLayerContext( hdc, iLayerPlane ); 102 HDC hdc, 105 return DrvSetContext( hdc, (DHGLRC)(UINT_PTR)hglrc, NULL ) ? TRUE : FALSE; 111 HDC hdc ) 113 return DrvSwapBuffers( hdc ); 124 wglSwapBuffers(ps->hdc); 132 HDC hdc, 63 wglCreateContext(HDC hdc) argument 71 wglCreateLayerContext(HDC hdc,int iLayerPlane) argument 101 wglMakeCurrent(HDC hdc,HGLRC hglrc) argument 110 wglSwapBuffers(HDC hdc) argument 131 wglSwapLayerBuffers(HDC hdc,UINT fuPlanes) argument 147 wglChoosePixelFormat(HDC hdc,CONST PIXELFORMATDESCRIPTOR * ppfd) argument 168 wglDescribePixelFormat(HDC hdc,int iPixelFormat,UINT nBytes,LPPIXELFORMATDESCRIPTOR ppfd) argument 178 wglGetPixelFormat(HDC hdc) argument 185 wglSetPixelFormat(HDC hdc,int iPixelFormat,const PIXELFORMATDESCRIPTOR * ppfd) argument 200 wglUseFontBitmapsA(HDC hdc,DWORD first,DWORD count,DWORD listBase) argument 219 wglUseFontBitmapsW(HDC hdc,DWORD first,DWORD count,DWORD listBase) argument 278 wglUseFontOutlinesA(HDC hdc,DWORD first,DWORD count,DWORD listBase,FLOAT deviation,FLOAT extrusion,int format,LPGLYPHMETRICSFLOAT lpgmf) argument 303 wglUseFontOutlinesW(HDC hdc,DWORD first,DWORD count,DWORD listBase,FLOAT deviation,FLOAT extrusion,int format,LPGLYPHMETRICSFLOAT lpgmf) argument 328 wglDescribeLayerPlane(HDC hdc,int iPixelFormat,int iLayerPlane,UINT nBytes,LPLAYERPLANEDESCRIPTOR plpd) argument 339 wglSetLayerPaletteEntries(HDC hdc,int iLayerPlane,int iStart,int cEntries,CONST COLORREF * pcr) argument 350 wglGetLayerPaletteEntries(HDC hdc,int iLayerPlane,int iStart,int cEntries,COLORREF * pcr) argument 361 wglRealizeLayerPalette(HDC hdc,int iLayerPlane,BOOL bRealize) argument [all...] |
| /xsrc/external/mit/mesa-demos/dist/src/wgl/ |
| H A D | wglinfo.c | 96 HDC hdc; local in function:print_screen_info 127 hdc = GetDC(win); 128 if (!hdc) { 144 visinfo = ChoosePixelFormat(hdc, &pfd); 147 visinfo = ChoosePixelFormat(hdc, &pfd); 155 SetPixelFormat(hdc, visinfo, &pfd); 156 ctx = wglCreateContext(hdc); 162 if (wglMakeCurrent(hdc, ctx)) { 173 wglExtensions = wglGetExtensionsStringARB_func(hdc); 226 core_ctx = wglCreateContextAttribsARB_func(hdc, 453 get_pf_attrib(HDC hdc,int pf,int attrib) argument 470 get_format_info(HDC hdc,int pf,struct format_info * info) argument 551 print_visual_info(HDC hdc,InfoMode mode) argument 613 find_best_visual(HDC hdc) argument 669 HDC hdc; local in function:main [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/xwin/glx/ |
| H A D | wgl_ext_api.h | 41 const char *wglGetExtensionsStringARBWrapper(HDC hdc); 45 BOOL wglGetPixelFormatAttribivARBWrapper(HDC hdc, 52 BOOL wglGetPixelFormatAttribfvARBWrapper(HDC hdc, 59 BOOL wglChoosePixelFormatARBWrapper(HDC hdc,
|
| /xsrc/external/mit/libepoxy/dist/src/ |
| H A D | dispatch_wgl.c | 41 HDC hdc = wglGetCurrentDC(); local in function:epoxy_conservative_has_wgl_extension 43 if (!hdc) 46 return epoxy_has_wgl_extension(hdc, ext); 50 epoxy_has_wgl_extension(HDC hdc, const char *ext) argument 62 return epoxy_extension_in_string(getext(hdc), ext); 145 WRAPPER(epoxy_wglMakeCurrent)(HDC hdc, HGLRC hglrc) 147 BOOL ret = epoxy_wglMakeCurrent_unwrapped(hdc, hglrc);
|
| /xsrc/external/mit/xorg-server/dist/hw/xwin/ |
| H A D | winengine.c | 116 HDC hdc; local in function:winSetEngine 120 hdc = GetDC(NULL); 121 if (hdc == NULL) { 131 dwBPP = GetDeviceCaps(hdc, BITSPIXEL); 134 ReleaseDC(NULL, hdc); 135 hdc = NULL;
|
| /xsrc/external/mit/MesaLib.old/dist/src/glx/windows/ |
| H A D | windowsgl.c | 102 HDC hdc = GetDC(hwnd); local in function:windows_create_context 106 SetPixelFormat(hdc, gc->pxfi, NULL); 108 gc->ctx = wglCreateContext(hdc); 113 ReleaseDC(hwnd, hdc); 163 HDC hdc = GetDC(hwnd); local in function:windows_create_context_attribs 170 SetPixelFormat(hdc, gc->pxfi, NULL); 172 gc->ctx = wglCreateContextAttribsARB(hdc, shareContext, attribList); 174 ReleaseDC(hwnd, hdc); 317 HDC hdc = GetDC(hwnd); local in function:windows_call_with_context 320 SetPixelFormat(hdc, 336 windows_check_render_test(HDC hdc,void * args) argument 366 windows_extensions_test(HDC hdc,void * args) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/glx/windows/ |
| H A D | windowsgl.c | 102 HDC hdc = GetDC(hwnd); local in function:windows_create_context 106 SetPixelFormat(hdc, gc->pxfi, NULL); 108 gc->ctx = wglCreateContext(hdc); 113 ReleaseDC(hwnd, hdc); 163 HDC hdc = GetDC(hwnd); local in function:windows_create_context_attribs 170 SetPixelFormat(hdc, gc->pxfi, NULL); 172 gc->ctx = wglCreateContextAttribsARB(hdc, shareContext, attribList); 174 ReleaseDC(hwnd, hdc); 317 HDC hdc = GetDC(hwnd); local in function:windows_call_with_context 320 SetPixelFormat(hdc, 336 windows_check_render_test(HDC hdc,void * args) argument 366 windows_extensions_test(HDC hdc,void * args) argument [all...] |