HomeSort by: relevance | last modified time | path
    Searched refs:hdc (Results 1 - 25 of 91) sorted by relevancy

1 2 3 4

  /xsrc/external/mit/libepoxy/dist/test/
wgl_common.h 27 make_window_and_test(int (*callback)(HDC hdc));
wgl_usefontbitmaps.c 30 test_function(HDC hdc)
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]);
wgl_per_context_funcptrs.c 90 test_createshader(HDC hdc, HGLRC ctx)
95 wglMakeCurrent(hdc, ctx);
121 test_function(HDC hdc)
123 ctx1 = wglCreateContext(hdc);
124 ctx2 = wglCreateContext(hdc);
130 if (!wglMakeCurrent(hdc, ctx1)) {
144 test_createshader(hdc, ctx1);
145 test_createshader(hdc, ctx1)
    [all...]
wgl_common.c 28 static int (*test_callback)(HDC hdc);
31 setup_pixel_format(HDC hdc)
55 pixel_format = ChoosePixelFormat(hdc, &pfd);
61 if (SetPixelFormat(hdc, pixel_format, &pfd) != TRUE) {
70 HDC hdc = GetDC(hwnd); local
75 setup_pixel_format(hdc);
76 ret = test_callback(hdc);
    [all...]
wgl_core_and_exts.c 30 test_function(HDC hdc)
36 ctx = wglCreateContext(hdc);
41 if (!wglMakeCurrent(hdc, ctx)) {
  /xsrc/external/mit/xorg-server.old/dist/hw/xwin/
winrop.c 40 ROP16 (HDC hdc, int rop);
80 ROP16 (HDC hdc, int rop)
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)
    [all...]
winmisc.c 110 HDC hdc; local
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/
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);
stw_ext_extensionsstring.c 54 HDC hdc )
56 if (!hdc) {
stw_ext_context.h 32 typedef HGLRC (WINAPI *wglCreateContext_t)(HDC hdc);
  /xsrc/external/mit/MesaLib/dist/src/gallium/targets/libgl-gdi/
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
    [all...]
stw_wgl.c 64 HDC hdc )
67 return (HGLRC)(UINT_PTR)DrvCreateContext(hdc);
72 HDC hdc,
76 return (HGLRC)(UINT_PTR)DrvCreateLayerContext( hdc, iLayerPlane );
93 WINGDIAPI HDC APIENTRY
102 HDC hdc,
105 return DrvSetContext( hdc, (DHGLRC)(UINT_PTR)hglrc, NULL ) ? TRUE : FALSE
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/wgl/
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
    [all...]
stw_wgl.c 67 HDC hdc )
70 return (HGLRC) DrvCreateContext(hdc);
75 HDC hdc,
79 return (HGLRC) DrvCreateLayerContext( hdc, iLayerPlane );
96 WINGDIAPI HDC APIENTRY
102 WINGDIAPI HDC APIENTRY
111 HDC hdc,
    [all...]
stw_ext_extensionsstring.c 54 HDC hdc )
56 if (!hdc) {
stw_pixelformat.h 65 stw_pixelformat_choose( HDC hdc,
69 stw_pixelformat_get(HDC hdc);
stw_ext_context.h 32 typedef HGLRC (WINAPI *wglCreateContext_t)(HDC hdc);
stw_st.h 50 stw_st_swap_framebuffer_locked(HDC hdc, struct st_framebuffer_iface *stfb);
stw_framebuffer.c 248 * HDC/window. If successful, we return the new stw_framebuffer object
252 stw_framebuffer_create(HDC hdc, int iPixelFormat)
259 hWnd = WindowFromDC( hdc );
368 * Given an hdc, return the corresponding stw_framebuffer.
372 stw_framebuffer_from_hdc_locked(HDC hdc)
376 hwnd = WindowFromDC(hdc);
386 * Given an HDC, return the corresponding stw_framebuffer.
390 stw_framebuffer_from_hdc(HDC hdc
    [all...]
  /xsrc/external/mit/mesa-demos/dist/src/wgl/
wglinfo.c 90 print_screen_info(HDC _hdc, const struct options *opts, GLboolean coreProfile)
96 HDC hdc; local
127 hdc = GetDC(win);
128 if (!hdc) {
129 fprintf(stderr, "Couldn't obtain HDC\n");
144 visinfo = ChoosePixelFormat(hdc, &pfd);
147 visinfo = ChoosePixelFormat(hdc, &pfd);
155 SetPixelFormat(hdc, visinfo, &pfd);
156 ctx = wglCreateContext(hdc);
669 HDC hdc; local
    [all...]
  /xsrc/external/mit/xorg-server/dist/hw/xwin/glx/
wgl_ext_api.h 41 const char *wglGetExtensionsStringARBWrapper(HDC hdc);
42 BOOL wglMakeContextCurrentARBWrapper(HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
43 HDC wglGetCurrentReadDCARBWrapper(VOID);
45 BOOL wglGetPixelFormatAttribivARBWrapper(HDC hdc,
52 BOOL wglGetPixelFormatAttribfvARBWrapper(HDC hdc,
59 BOOL wglChoosePixelFormatARBWrapper(HDC hdc
    [all...]
  /xsrc/external/mit/libepoxy/dist/src/
dispatch_wgl.c 41 HDC hdc = wglGetCurrentDC(); local
43 if (!hdc)
46 return epoxy_has_wgl_extension(hdc, ext);
50 epoxy_has_wgl_extension(HDC hdc, const char *ext)
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)
    [all...]
  /xsrc/external/mit/xorg-server/dist/hw/xwin/
winengine.c 116 HDC hdc; local
120 hdc = GetDC(NULL);
121 if (hdc == NULL) {
122 ErrorF("winSetEngine - Couldn't get an HDC\n");
131 dwBPP = GetDeviceCaps(hdc, BITSPIXEL);
134 ReleaseDC(NULL, hdc);
135 hdc = NULL;
  /xsrc/external/mit/MesaLib/dist/src/glx/windows/
windowsgl.c 102 HDC hdc = GetDC(hwnd); local
106 SetPixelFormat(hdc, gc->pxfi, NULL);
108 gc->ctx = wglCreateContext(hdc);
113 ReleaseDC(hwnd, hdc);
163 HDC hdc = GetDC(hwnd); local
170 SetPixelFormat(hdc, gc->pxfi, NULL);
172 gc->ctx = wglCreateContextAttribsARB(hdc, shareContext, attribList);
174 ReleaseDC(hwnd, hdc);
317 HDC hdc = GetDC(hwnd); local
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/glx/windows/
windowsgl.c 102 HDC hdc = GetDC(hwnd); local
106 SetPixelFormat(hdc, gc->pxfi, NULL);
108 gc->ctx = wglCreateContext(hdc);
113 ReleaseDC(hwnd, hdc);
163 HDC hdc = GetDC(hwnd); local
170 SetPixelFormat(hdc, gc->pxfi, NULL);
172 gc->ctx = wglCreateContextAttribsARB(hdc, shareContext, attribList);
174 ReleaseDC(hwnd, hdc);
317 HDC hdc = GetDC(hwnd); local
    [all...]

Completed in 21 milliseconds

1 2 3 4