Lines Matching refs:hdc
416 * Given an hdc, return the corresponding stw_framebuffer.
420 stw_framebuffer_from_hdc_locked(HDC hdc)
424 hwnd = WindowFromDC(hdc);
438 stw_framebuffer_from_hdc(HDC hdc)
446 fb = stw_framebuffer_from_hdc_locked(hdc);
471 DrvSetPixelFormat(HDC hdc, LONG iPixelFormat)
481 count = stw_pixelformat_get_count(hdc);
485 fb = stw_framebuffer_from_hdc_locked(hdc);
498 fb = stw_framebuffer_create(WindowFromDC(hdc), iPixelFormat, STW_FRAMEBUFFER_WGL_WINDOW);
508 if (GetPixelFormat(hdc) == 0) {
509 BOOL bRet = SetPixelFormat(hdc, iPixelFormat, NULL);
520 stw_pixelformat_get(HDC hdc)
525 fb = stw_framebuffer_from_hdc(hdc);
536 DrvPresentBuffers(HDC hdc, LPPRESENTBUFFERS data)
547 fb = stw_framebuffer_from_hdc( hdc );
582 stw_dev->stw_winsys->present( screen, pipe, res, hdc );
602 stw_framebuffer_present_locked(HDC hdc,
629 return stw_dev->callbacks.pfnPresentBuffers(hdc, &data);
636 stw_dev->stw_winsys->present( screen, pipe, res, hdc );
682 stw_framebuffer_swap_locked(HDC hdc, struct stw_framebuffer *fb)
711 return stw_st_swap_framebuffer_locked(hdc, ctx->st, fb->stfb);
715 DrvSwapBuffers(HDC hdc)
722 fb = stw_framebuffer_from_hdc( hdc );
726 return stw_framebuffer_swap_locked(hdc, fb);
731 DrvSwapLayerBuffers(HDC hdc, UINT fuPlanes)
734 return DrvSwapBuffers(hdc);