Lines Matching refs:hdc
251 stw_framebuffer_create(HDC hdc, int iPixelFormat)
258 hWnd = WindowFromDC( hdc );
367 * Given an hdc, return the corresponding stw_framebuffer.
371 stw_framebuffer_from_hdc_locked(HDC hdc)
375 hwnd = WindowFromDC(hdc);
389 stw_framebuffer_from_hdc(HDC hdc)
397 fb = stw_framebuffer_from_hdc_locked(hdc);
422 DrvSetPixelFormat(HDC hdc, LONG iPixelFormat)
436 fb = stw_framebuffer_from_hdc_locked(hdc);
449 fb = stw_framebuffer_create(hdc, iPixelFormat);
459 if (GetPixelFormat(hdc) == 0) {
460 BOOL bRet = SetPixelFormat(hdc, iPixelFormat, NULL);
471 stw_pixelformat_get(HDC hdc)
476 fb = stw_framebuffer_from_hdc(hdc);
487 DrvPresentBuffers(HDC hdc, PGLPRESENTBUFFERSDATA data)
496 fb = stw_framebuffer_from_hdc( hdc );
529 stw_dev->stw_winsys->present( screen, res, hdc );
549 stw_framebuffer_present_locked(HDC hdc,
567 return stw_dev->callbacks.wglCbPresentBuffers(hdc, &data);
572 stw_dev->stw_winsys->present( screen, res, hdc );
584 DrvSwapBuffers(HDC hdc)
592 fb = stw_framebuffer_from_hdc( hdc );
618 return stw_st_swap_framebuffer_locked(hdc, fb->stfb);
623 DrvSwapLayerBuffers(HDC hdc, UINT fuPlanes)
626 return DrvSwapBuffers(hdc);