/third_party/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_winsys_dri3.c | 98 dri3_free_front_buffer(struct vl_dri3_screen *scrn, in dri3_free_front_buffer() argument 101 xcb_sync_destroy_fence(scrn->conn, buffer->sync_fence); in dri3_free_front_buffer() 108 dri3_free_back_buffer(struct vl_dri3_screen *scrn, in dri3_free_back_buffer() argument 112 xcb_xfixes_destroy_region(scrn->conn, buffer->region); in dri3_free_back_buffer() 113 xcb_free_pixmap(scrn->conn, buffer->pixmap); in dri3_free_back_buffer() 114 xcb_sync_destroy_fence(scrn->conn, buffer->sync_fence); in dri3_free_back_buffer() 116 if (!scrn->output_texture) in dri3_free_back_buffer() 124 dri3_handle_stamps(struct vl_dri3_screen *scrn, uint64_t ust, uint64_t msc) in dri3_handle_stamps() argument 128 if (scrn->last_ust && (ust_ns > scrn in dri3_handle_stamps() 137 dri3_handle_present_event(struct vl_dri3_screen *scrn, xcb_present_generic_event_t *ge) dri3_handle_present_event() argument 177 dri3_flush_present_events(struct vl_dri3_screen *scrn) dri3_flush_present_events() argument 188 dri3_wait_present_events(struct vl_dri3_screen *scrn) dri3_wait_present_events() argument 202 dri3_find_back(struct vl_dri3_screen *scrn) dri3_find_back() argument 220 dri3_alloc_back_buffer(struct vl_dri3_screen *scrn) dri3_alloc_back_buffer() argument 318 dri3_get_back_buffer(struct vl_dri3_screen *scrn) dri3_get_back_buffer() argument 395 dri3_set_drawable(struct vl_dri3_screen *scrn, Drawable drawable) dri3_set_drawable() argument 460 dri3_get_front_buffer(struct vl_dri3_screen *scrn) dri3_get_front_buffer() argument 566 struct vl_dri3_screen *scrn = (struct vl_dri3_screen *)context_private; vl_dri3_flush_frontbuffer() local 623 struct vl_dri3_screen *scrn = (struct vl_dri3_screen *)vscreen; vl_dri3_screen_texture_from_drawable() local 643 struct vl_dri3_screen *scrn = (struct vl_dri3_screen *)vscreen; vl_dri3_screen_get_dirty_area() local 653 struct vl_dri3_screen *scrn = (struct vl_dri3_screen *)vscreen; vl_dri3_screen_get_timestamp() local 680 struct vl_dri3_screen *scrn = (struct vl_dri3_screen *)vscreen; vl_dri3_screen_set_next_timestamp() local 702 struct vl_dri3_screen *scrn = (struct vl_dri3_screen *)vscreen; vl_dri3_screen_set_back_texture_from_output() local 714 struct vl_dri3_screen *scrn = (struct vl_dri3_screen *)vscreen; vl_dri3_screen_destroy() local 753 struct vl_dri3_screen *scrn; vl_dri3_screen_create() local [all...] |
H A D | vl_winsys_dri.c | 82 vl_dri2_handle_stamps(struct vl_dri_screen *scrn, in vl_dri2_handle_stamps() argument 89 if (scrn->last_ust && (ust > scrn->last_ust) && in vl_dri2_handle_stamps() 90 scrn->last_msc && (msc > scrn->last_msc)) in vl_dri2_handle_stamps() 91 scrn->ns_frame = (ust - scrn->last_ust) / (msc - scrn->last_msc); in vl_dri2_handle_stamps() 93 scrn->last_ust = ust; in vl_dri2_handle_stamps() 94 scrn in vl_dri2_handle_stamps() 98 vl_dri2_get_flush_reply(struct vl_dri_screen *scrn) vl_dri2_get_flush_reply() argument 128 struct vl_dri_screen *scrn = (struct vl_dri_screen *)context_private; vl_dri2_flush_frontbuffer() local 151 vl_dri2_destroy_drawable(struct vl_dri_screen *scrn) vl_dri2_destroy_drawable() argument 163 vl_dri2_set_drawable(struct vl_dri_screen *scrn, Drawable drawable) vl_dri2_set_drawable() argument 183 struct vl_dri_screen *scrn = (struct vl_dri_screen *)vscreen; vl_dri2_screen_texture_from_drawable() local 265 struct vl_dri_screen *scrn = (struct vl_dri_screen *)vscreen; vl_dri2_screen_get_dirty_area() local 273 struct vl_dri_screen *scrn = (struct vl_dri_screen *)vscreen; vl_dri2_screen_get_timestamp() local 296 struct vl_dri_screen *scrn = (struct vl_dri_screen *)vscreen; vl_dri2_screen_set_next_timestamp() local 376 struct vl_dri_screen *scrn; vl_dri2_screen_create() local 507 struct vl_dri_screen *scrn = (struct vl_dri_screen *)vscreen; vl_dri2_screen_destroy() local [all...] |
H A D | vl_winsys_xlib_swrast.c | 135 struct vl_xlib_screen *scrn = (struct vl_xlib_screen *) vscreen; in vl_swrast_fill_xlib_drawable_desc() local 137 XGetWindowAttributes(scrn->display, x11_window, &x11_window_attrs); in vl_swrast_fill_xlib_drawable_desc() 138 XMatchVisualInfo(scrn->display, scrn->screen, x11_window_attrs.depth, TrueColor, &scrn->xlib_drawable_visual_info); in vl_swrast_fill_xlib_drawable_desc() 139 scrn->xlib_drawable_handle.depth = x11_window_attrs.depth; in vl_swrast_fill_xlib_drawable_desc() 140 scrn->xlib_drawable_handle.drawable = x11_window; in vl_swrast_fill_xlib_drawable_desc() 141 scrn->xlib_drawable_handle.visual = scrn->xlib_drawable_visual_info.visual; in vl_swrast_fill_xlib_drawable_desc() 147 struct vl_xlib_screen *scrn in vl_swrast_texture_from_drawable() local 189 struct vl_xlib_screen *scrn = (struct vl_xlib_screen *) vscreen; vl_swrast_get_private() local 196 struct vl_xlib_screen *scrn = (struct vl_xlib_screen *) vscreen; vl_swrast_get_dirty_area() local [all...] |
/third_party/mesa3d/src/gallium/frontends/dri/ |
H A D | dri_util.c | 103 driCreateNewScreen2(int scrn, int fd, in driCreateNewScreen2() argument 134 psp->myNum = scrn; in driCreateNewScreen2() 179 dri2CreateNewScreen(int scrn, int fd, in dri2CreateNewScreen() argument 183 return driCreateNewScreen2(scrn, fd, extensions, in dri2CreateNewScreen() 189 swkmsCreateNewScreen(int scrn, int fd, in swkmsCreateNewScreen() argument 193 return driCreateNewScreen2(scrn, fd, extensions, in swkmsCreateNewScreen() 200 driSWRastCreateNewScreen(int scrn, const __DRIextension **extensions, in driSWRastCreateNewScreen() argument 203 return driCreateNewScreen2(scrn, -1, extensions, in driSWRastCreateNewScreen() 209 driSWRastCreateNewScreen2(int scrn, const __DRIextension **extensions, in driSWRastCreateNewScreen2() argument 213 return driCreateNewScreen2(scrn, in driSWRastCreateNewScreen2() [all...] |
/third_party/mesa3d/src/gallium/frontends/xvmc/ |
H A D | context.c | 185 int scrn = 0; in XvMCCreateContext() local 206 &found_port, &scrn, &chroma_format, &mc_type, &surface_flags, in XvMCCreateContext() 232 vscreen = vl_dri3_screen_create(dpy, scrn); in XvMCCreateContext() 234 vscreen = vl_dri2_screen_create(dpy, scrn); in XvMCCreateContext()
|
/third_party/mesa3d/src/vulkan/device-select-layer/ |
H A D | device_select_x11.c | 67 int scrn; in device_select_find_xcb_pci_default() local 72 conn = xcb_connect(NULL, &scrn); in device_select_find_xcb_pci_default()
|
/third_party/mesa3d/src/glx/tests/ |
H A D | create_context_unittest.cpp | 58 GetGLXScreenConfigs(Display * dpy, int scrn) in GetGLXScreenConfigs() argument 61 (void) scrn; in GetGLXScreenConfigs()
|
/third_party/mesa3d/src/glx/ |
H A D | glxcmds.c | 141 * \param scrn Screen on \c dpy for which the GLX per-screen information is 143 * \returns A pointer to the GLX per-screen data if \c dpy and \c scrn 146 * \todo Should this function validate that \c scrn is within the screen 151 GetGLXScreenConfigs(Display * dpy, int scrn) in GetGLXScreenConfigs() argument 157 NULL) ? priv->screens[scrn] : NULL; in GetGLXScreenConfigs() 162 GetGLXPrivScreenConfig(Display * dpy, int scrn, struct glx_display ** ppriv, in GetGLXPrivScreenConfig() argument 179 if ((scrn < 0) || (scrn >= ScreenCount(dpy))) { in GetGLXPrivScreenConfig() 184 *ppsc = (*ppriv)->screens[scrn]; in GetGLXPrivScreenConfig()
|
H A D | glxclient.h | 761 extern struct glx_screen *GetGLXScreenConfigs(Display * dpy, int scrn);
|