Home
last modified time | relevance | path

Searched refs:driScreen (Results 1 – 15 of 15) sorted by relevance

/third_party/mesa3d/src/loader/
Dloader_dri_helper.c77 static int dri_vblank_mode(__DRIscreen *driScreen, const __DRI2configQueryExtension *config) in dri_vblank_mode() argument
82 config->configQueryi(driScreen, "vblank_mode", &vblank_mode); in dri_vblank_mode()
87 int dri_get_initial_swap_interval(__DRIscreen *driScreen, in dri_get_initial_swap_interval() argument
90 int vblank_mode = dri_vblank_mode(driScreen, config); in dri_get_initial_swap_interval()
103 bool dri_valid_swap_interval(__DRIscreen *driScreen, in dri_valid_swap_interval() argument
106 int vblank_mode = dri_vblank_mode(driScreen, config); in dri_valid_swap_interval()
Dloader_dri_helper.h35 int dri_get_initial_swap_interval(__DRIscreen *driScreen,
38 bool dri_valid_swap_interval(__DRIscreen *driScreen,
/third_party/mesa3d/src/glx/
Ddri_common_query_renderer.c97 ret = psc->rendererQuery->queryInteger(psc->driScreen, dri_attribute, in dri2_query_renderer_integer()
119 return psc->rendererQuery->queryString(psc->driScreen, dri_attribute, value); in dri2_query_renderer_string()
140 ret = psc->rendererQuery->queryInteger(psc->driScreen, dri_attribute, in dri3_query_renderer_integer()
162 return psc->rendererQuery->queryString(psc->driScreen, dri_attribute, value); in dri3_query_renderer_string()
183 ret = psc->rendererQuery->queryInteger(psc->driScreen, dri_attribute, in drisw_query_renderer_integer()
205 return psc->rendererQuery->queryString(psc->driScreen, dri_attribute, value); in drisw_query_renderer_string()
Ddri3_glx.c127 return (gc != &dummyContext && psc) ? psc->driScreen : NULL; in glx_dri3_get_dri_screen()
319 (*psc->image_driver->createContextAttribs) (psc->driScreen, in dri3_create_context_attribs()
403 psc->driScreen, in dri3_create_drawable()
633 loader_dri3_close_screen(psc->driScreen); in dri3_destroy_screen()
634 (*psc->core->destroyScreen) (psc->driScreen); in dri3_destroy_screen()
652 if (!dri_valid_swap_interval(psc->driScreen, psc->config, interval)) in dri3_set_swap_interval()
738 extensions = psc->core->getExtensions(psc->driScreen); in dri3_bind_extensions()
747 mask = psc->image_driver->getAPIMask(psc->driScreen); in dri3_bind_extensions()
792 if (psc->rendererQuery->queryInteger(psc->driScreen, in dri3_bind_extensions()
932 psc->driScreen = in dri3_create_screen()
[all …]
Dglxcmds.c755 if (psc->driScreen == NULL) in glXCreateGLXPixmap()
759 pdraw = psc->driScreen->createDrawable(psc, pixmap, xid, GLX_PIXMAP_BIT, config); in glXCreateGLXPixmap()
857 if (pdraw->psc->driScreen->swapBuffers(pdraw, 0, 0, 0, flush) == -1) in glXSwapBuffers()
1334 is_direct_capable = (psc->driScreen != NULL); in glXQueryExtensionsString()
1757 if (gc->isDirect && psc && psc->driScreen && in glXSwapIntervalSGI()
1758 psc->driScreen->setSwapInterval) { in glXSwapIntervalSGI()
1765 psc->driScreen->setSwapInterval(pdraw, interval); in glXSwapIntervalSGI()
1809 if (psc && psc->driScreen && psc->driScreen->setSwapInterval) { in glXSwapIntervalMESA()
1819 return psc->driScreen->setSwapInterval(pdraw, interval); in glXSwapIntervalMESA()
1836 if (psc && psc->driScreen && psc->driScreen->getSwapInterval) { in glXGetSwapIntervalMESA()
[all …]
Ddri2_glx.c244 (*psc->dri2->createContextAttribs) (psc->driScreen, in dri2_create_context_attribs()
314 pdraw->swap_interval = dri_get_initial_swap_interval(psc->driScreen, psc->config); in dri2CreateDrawable()
321 (*psc->dri2->createNewDrawable) (psc->driScreen, in dri2CreateDrawable()
614 (*psc->core->destroyScreen) (psc->driScreen); in dri2DestroyScreen()
815 if (!dri_valid_swap_interval(psc->driScreen, psc->config, interval)) in dri2SetSwapInterval()
948 const unsigned mask = psc->dri2->getAPIMask(psc->driScreen); in dri2BindExtensions()
952 extensions = psc->core->getExtensions(psc->driScreen); in dri2BindExtensions()
1012 if (psc->rendererQuery->queryInteger(psc->driScreen, in dri2BindExtensions()
1120 psc->driScreen = in dri2CreateScreen()
1127 psc->driScreen = in dri2CreateScreen()
[all …]
Ddrisw_glx.c570 if (!psc->base.driScreen) in drisw_create_context_attribs()
641 (*psc->swrast->createContextAttribs) (psc->driScreen, in drisw_create_context_attribs()
723 … (*kopper->createNewDrawable) (psc->driScreen, config->driConfig, pdp, !(type & GLX_WINDOW_BIT)); in driswCreateDrawable()
725 pdp->swapInterval = dri_get_initial_swap_interval(psc->driScreen, psc->config); in driswCreateDrawable()
730 (*swrast->createNewDrawable) (psc->driScreen, config->driConfig, pdp); in driswCreateDrawable()
788 (*psc->core->destroyScreen) (psc->driScreen); in driswDestroyScreen()
790 psc->driScreen = NULL; in driswDestroyScreen()
848 if (psc->rendererQuery->queryInteger(psc->driScreen, in driswBindExtensions()
918 if (!dri_valid_swap_interval(psc->driScreen, psc->config, interval)) in kopperSetSwapInterval()
986 psc->driScreen = in driswCreateScreenDriver()
[all …]
Ddriwindows_glx.c52 __DRIscreen *driScreen; member
129 if (!psc->base.driScreen) in driwindows_create_context()
203 if (!psc->base.driScreen || !config_base) in driwindows_create_context_attribs()
350 psc->driScreen = NULL; in driwindowsDestroyScreen()
508 psc->base.driScreen = psp; in driwindowsCreateScreen()
Dglx_pbuffer.c188 if (psc->driScreen == NULL) in CreateDRIDrawable()
191 pdraw = psc->driScreen->createDrawable(psc, drawable, glxdrawable, in CreateDRIDrawable()
304 if (psc->driScreen->getBufferAge != NULL) in __glXGetDrawableAttribute()
305 *value = psc->driScreen->getBufferAge(pdraw); in __glXGetDrawableAttribute()
312 *value = pdraw->psc->driScreen->getSwapInterval(pdraw); in __glXGetDrawableAttribute()
315 *value = pdraw->psc->driScreen->maxSwapInterval; in __glXGetDrawableAttribute()
Ddrisw_priv.h49 __DRIscreen *driScreen; member
Ddri2_priv.h43 __DRIscreen *driScreen; member
Ddri3_priv.h83 __DRIscreen *driScreen; member
Dglxext.c258 if (psc->driScreen) { in FreeScreenConfigs()
259 psc->driScreen->destroyScreen(psc); in FreeScreenConfigs()
Dglxclient.h531 __GLXDRIscreen *driScreen; member
Ddri_common.c408 pdraw = psc->driScreen->createDrawable(psc, glxDrawable, glxDrawable, in driFetchDrawable()