Home
last modified time | relevance | path

Searched refs:scrn (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_winsys_dri3.c96 dri3_free_front_buffer(struct vl_dri3_screen *scrn, in dri3_free_front_buffer() argument
99 xcb_sync_destroy_fence(scrn->conn, buffer->sync_fence); in dri3_free_front_buffer()
106 dri3_free_back_buffer(struct vl_dri3_screen *scrn, in dri3_free_back_buffer() argument
109 xcb_free_pixmap(scrn->conn, buffer->pixmap); in dri3_free_back_buffer()
110 xcb_sync_destroy_fence(scrn->conn, buffer->sync_fence); in dri3_free_back_buffer()
112 if (!scrn->output_texture) in dri3_free_back_buffer()
120 dri3_handle_stamps(struct vl_dri3_screen *scrn, uint64_t ust, uint64_t msc) in dri3_handle_stamps() argument
124 if (scrn->last_ust && (ust_ns > scrn->last_ust) && in dri3_handle_stamps()
125 scrn->last_msc && (msc > scrn->last_msc)) in dri3_handle_stamps()
126 scrn->ns_frame = (ust_ns - scrn->last_ust) / (msc - scrn->last_msc); in dri3_handle_stamps()
[all …]
Dvl_winsys_dri.c81 vl_dri2_handle_stamps(struct vl_dri_screen *scrn, in vl_dri2_handle_stamps() argument
88 if (scrn->last_ust && (ust > scrn->last_ust) && in vl_dri2_handle_stamps()
89 scrn->last_msc && (msc > scrn->last_msc)) in vl_dri2_handle_stamps()
90 scrn->ns_frame = (ust - scrn->last_ust) / (msc - scrn->last_msc); in vl_dri2_handle_stamps()
92 scrn->last_ust = ust; in vl_dri2_handle_stamps()
93 scrn->last_msc = msc; in vl_dri2_handle_stamps()
97 vl_dri2_get_flush_reply(struct vl_dri_screen *scrn) in vl_dri2_get_flush_reply() argument
101 assert(scrn); in vl_dri2_get_flush_reply()
103 if (!scrn->flushed) in vl_dri2_get_flush_reply()
106 scrn->flushed = false; in vl_dri2_get_flush_reply()
[all …]
/external/mesa3d/src/mesa/drivers/dri/common/
Ddri_util.c112 driCreateNewScreen2(int scrn, int fd, in driCreateNewScreen2() argument
145 psp->myNum = scrn; in driCreateNewScreen2()
188 dri2CreateNewScreen(int scrn, int fd, in dri2CreateNewScreen() argument
192 return driCreateNewScreen2(scrn, fd, extensions, NULL, in dri2CreateNewScreen()
198 driSWRastCreateNewScreen(int scrn, const __DRIextension **extensions, in driSWRastCreateNewScreen() argument
201 return driCreateNewScreen2(scrn, -1, extensions, NULL, in driSWRastCreateNewScreen()
206 driSWRastCreateNewScreen2(int scrn, const __DRIextension **extensions, in driSWRastCreateNewScreen2() argument
210 return driCreateNewScreen2(scrn, -1, extensions, driver_extensions, in driSWRastCreateNewScreen2()
/external/mesa3d/src/glx/
Ddri_glx.c410 CallCreateNewScreen(Display *dpy, int scrn, struct dri_screen *psc, in CallCreateNewScreen() argument
442 if (!XF86DRIOpenConnection(dpy, scrn, &hSAREA, &BusID)) { in CallCreateNewScreen()
474 if (newlyopened && !XF86DRIAuthConnection(dpy, scrn, magic)) { in CallCreateNewScreen()
482 if (!XF86DRIGetClientDriverName(dpy, scrn, in CallCreateNewScreen()
498 if (!XF86DRIGetDeviceInfo(dpy, scrn, &hFB, &junk, in CallCreateNewScreen()
506 framebuffer.width = DisplayWidth(dpy, scrn); in CallCreateNewScreen()
507 framebuffer.height = DisplayHeight(dpy, scrn); in CallCreateNewScreen()
526 psp = (*psc->legacy->createNewScreen) (scrn, in CallCreateNewScreen()
571 if (num_visuals > 0 && visuals->depth != DefaultDepth(dpy, scrn)) in CallCreateNewScreen()
597 XF86DRICloseConnection(dpy, scrn); in CallCreateNewScreen()
Dglxcmds.c152 GetGLXScreenConfigs(Display * dpy, int scrn) in GetGLXScreenConfigs() argument
158 NULL) ? priv->screens[scrn] : NULL; in GetGLXScreenConfigs()
163 GetGLXPrivScreenConfig(Display * dpy, int scrn, struct glx_display ** ppriv, in GetGLXPrivScreenConfig() argument
180 if ((scrn < 0) || (scrn >= ScreenCount(dpy))) { in GetGLXPrivScreenConfig()
185 *ppsc = (*ppriv)->screens[scrn]; in GetGLXPrivScreenConfig()
Dglxclient.h804 extern struct glx_screen *GetGLXScreenConfigs(Display * dpy, int scrn);
/external/mesa3d/src/gallium/state_trackers/xvmc/
Dcontext.c185 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()
/external/libxkbcommon/xkbcommon/src/xkbcomp/
Daction.c578 const ExprDef *scrn; in HandleSwitchScreen() local
587 scrn = value->unary.child; in HandleSwitchScreen()
591 scrn = value; in HandleSwitchScreen()
594 if (!ExprResolveInteger(ctx, scrn, &val)) in HandleSwitchScreen()
/external/mesa3d/src/glx/tests/
Dcreate_context_unittest.cpp58 GetGLXScreenConfigs(Display * dpy, int scrn) in GetGLXScreenConfigs() argument
61 (void) scrn; in GetGLXScreenConfigs()
/external/mesa3d/docs/specs/OLD/
DEGL_MESA_screen_surface.txt115 disabled or turned off by calling eglShowSurface(dpy, scrn,