Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_winsys_dri.c74 vl_dri2_handle_stamps(struct vl_dri_screen* scrn, in vl_dri2_handle_stamps() argument
81 if (scrn->last_ust && scrn->last_msc && (ust > scrn->last_ust) && (msc > scrn->last_msc)) in vl_dri2_handle_stamps()
82 scrn->ns_frame = (ust - scrn->last_ust) / (msc - scrn->last_msc); in vl_dri2_handle_stamps()
84 if (scrn->next_msc && (scrn->next_msc < msc)) in vl_dri2_handle_stamps()
85 scrn->skew_msc++; in vl_dri2_handle_stamps()
87 scrn->last_ust = ust; in vl_dri2_handle_stamps()
88 scrn->last_msc = msc; in vl_dri2_handle_stamps()
92 vl_dri2_get_flush_reply(struct vl_dri_screen *scrn) in vl_dri2_get_flush_reply() argument
96 assert(scrn); in vl_dri2_get_flush_reply()
98 if (!scrn->flushed) in vl_dri2_get_flush_reply()
[all …]
/external/mesa3d/src/gallium/targets/xorg-radeonsi/
Dxorg.c131 ScrnInfoPtr scrn = NULL; in radeonsi_xorg_pci_probe() local
134 scrn = xf86ConfigPciEntity(scrn, 0, entity_num, radeonsi_xorg_pci_devices, in radeonsi_xorg_pci_probe()
136 if (scrn != NULL) { in radeonsi_xorg_pci_probe()
137 scrn->driverVersion = 1; in radeonsi_xorg_pci_probe()
138 scrn->driverName = "radeonsi"; in radeonsi_xorg_pci_probe()
139 scrn->name = "RADEONSI"; in radeonsi_xorg_pci_probe()
140 scrn->Probe = NULL; in radeonsi_xorg_pci_probe()
145 xorg_tracker_set_functions(scrn); in radeonsi_xorg_pci_probe()
147 return scrn != NULL; in radeonsi_xorg_pci_probe()
/external/mesa3d/src/gallium/targets/xorg-i915/
Dintel_xorg.c130 ScrnInfoPtr scrn = NULL; in intel_xorg_pci_probe() local
133 scrn = xf86ConfigPciEntity(scrn, 0, entity_num, intel_xorg_pci_devices, in intel_xorg_pci_probe()
135 if (scrn != NULL) { in intel_xorg_pci_probe()
136 scrn->driverVersion = 1; in intel_xorg_pci_probe()
137 scrn->driverName = "i915"; in intel_xorg_pci_probe()
138 scrn->name = "modesetting"; in intel_xorg_pci_probe()
139 scrn->Probe = NULL; in intel_xorg_pci_probe()
144 xorg_tracker_set_functions(scrn); in intel_xorg_pci_probe()
146 return scrn != NULL; in intel_xorg_pci_probe()
/external/mesa3d/src/gallium/targets/xorg-r600/
Dxorg.c131 ScrnInfoPtr scrn = NULL; in r600_xorg_pci_probe() local
134 scrn = xf86ConfigPciEntity(scrn, 0, entity_num, r600_xorg_pci_devices, in r600_xorg_pci_probe()
136 if (scrn != NULL) { in r600_xorg_pci_probe()
137 scrn->driverVersion = 1; in r600_xorg_pci_probe()
138 scrn->driverName = "r600"; in r600_xorg_pci_probe()
139 scrn->name = "R600G"; in r600_xorg_pci_probe()
140 scrn->Probe = NULL; in r600_xorg_pci_probe()
145 xorg_tracker_set_functions(scrn); in r600_xorg_pci_probe()
147 return scrn != NULL; in r600_xorg_pci_probe()
/external/mesa3d/src/gallium/targets/xorg-r300/
Dxorg.c131 ScrnInfoPtr scrn = NULL; in r300_xorg_pci_probe() local
134 scrn = xf86ConfigPciEntity(scrn, 0, entity_num, r300_xorg_pci_devices, in r300_xorg_pci_probe()
136 if (scrn != NULL) { in r300_xorg_pci_probe()
137 scrn->driverVersion = 1; in r300_xorg_pci_probe()
138 scrn->driverName = "r300"; in r300_xorg_pci_probe()
139 scrn->name = "r300"; in r300_xorg_pci_probe()
140 scrn->Probe = NULL; in r300_xorg_pci_probe()
145 xorg_tracker_set_functions(scrn); in r300_xorg_pci_probe()
147 return scrn != NULL; in r300_xorg_pci_probe()
/external/mesa3d/src/egl/main/
Deglscreen.c180 _EGLScreen *scrn, EGLint x, EGLint y) in _eglScreenPositionMESA() argument
182 scrn->OriginX = x; in _eglScreenPositionMESA()
183 scrn->OriginY = y; in _eglScreenPositionMESA()
194 _EGLScreen *scrn, _EGLSurface **surf) in _eglQueryScreenSurfaceMESA() argument
196 *surf = scrn->CurrentSurface; in _eglQueryScreenSurfaceMESA()
205 _eglQueryScreenModeMESA(_EGLDriver *drv, _EGLDisplay *dpy, _EGLScreen *scrn, in _eglQueryScreenModeMESA() argument
208 *m = scrn->CurrentMode; in _eglQueryScreenModeMESA()
214 _eglQueryScreenMESA(_EGLDriver *drv, _EGLDisplay *dpy, _EGLScreen *scrn, in _eglQueryScreenMESA() argument
219 value[0] = scrn->OriginX; in _eglQueryScreenMESA()
220 value[1] = scrn->OriginY; in _eglQueryScreenMESA()
[all …]
Deglmode.c61 const _EGLScreen *scrn = disp->Screens->Elements[scrnum]; in _eglLookupMode() local
68 if (mode >= scrn->Handle && in _eglLookupMode()
69 mode < scrn->Handle + _EGL_SCREEN_MAX_MODES) { in _eglLookupMode()
70 idx = mode - scrn->Handle; in _eglLookupMode()
72 assert(idx < scrn->NumModes && scrn->Modes[idx].Handle == mode); in _eglLookupMode()
74 return &scrn->Modes[idx]; in _eglLookupMode()
260 _eglChooseModeMESA(_EGLDriver *drv, _EGLDisplay *dpy, _EGLScreen *scrn, in _eglChooseModeMESA() argument
280 for (i = count = 0; i < scrn->NumModes && count < modes_size; i++) { in _eglChooseModeMESA()
281 if (_eglModeQualifies(scrn->Modes + i, &min)) { in _eglChooseModeMESA()
282 modeList[count++] = scrn->Modes + i; in _eglChooseModeMESA()
[all …]
Deglscreen.h97 _eglScreenPositionMESA(_EGLDriver *drv, _EGLDisplay *dpy, _EGLScreen *scrn, EGLint x, EGLint y);
102 _EGLScreen *scrn, _EGLSurface **surface);
106 _eglQueryScreenModeMESA(_EGLDriver *drv, _EGLDisplay *dpy, _EGLScreen *scrn, _EGLMode **m);
110 _eglQueryScreenMESA(_EGLDriver *drv, _EGLDisplay *dpy, _EGLScreen *scrn, EGLint attribute, EGLint *…
Deglapi.c153 #define _EGL_CHECK_SCREEN(disp, scrn, ret, drv) \ argument
154 _EGL_CHECK_OBJECT(disp, Screen, scrn, ret, drv)
238 _eglCheckScreen(_EGLDisplay *disp, _EGLScreen *scrn, const char *msg) in _eglCheckScreen() argument
243 if (!scrn) { in _eglCheckScreen()
979 _EGLScreen *scrn = _eglLookupScreen(screen, disp); in eglChooseModeMESA() local
983 _EGL_CHECK_SCREEN(disp, scrn, EGL_FALSE, drv); in eglChooseModeMESA()
984 ret = drv->API.ChooseModeMESA(drv, disp, scrn, attrib_list, in eglChooseModeMESA()
996 _EGLScreen *scrn = _eglLookupScreen(screen, disp); in eglGetModesMESA() local
1000 _EGL_CHECK_SCREEN(disp, scrn, EGL_FALSE, drv); in eglGetModesMESA()
1001 ret = drv->API.GetModesMESA(drv, disp, scrn, modes, mode_size, num_mode); in eglGetModesMESA()
[all …]
Deglmode.h66 _eglChooseModeMESA(_EGLDriver *drv, _EGLDisplay *dpy, _EGLScreen *scrn,
72 _eglGetModesMESA(_EGLDriver *drv, _EGLDisplay *dpy, _EGLScreen *scrn,
/external/mesa3d/src/gallium/targets/xorg-nouveau/
Dnouveau_xorg.c127 ScrnInfoPtr scrn = NULL; in nouveau_xorg_pci_probe() local
180 scrn = xf86ConfigPciEntity(scrn, 0, entity_num, nouveau_xorg_pci_devices, in nouveau_xorg_pci_probe()
182 if (scrn != NULL) { in nouveau_xorg_pci_probe()
183 scrn->driverVersion = 1; in nouveau_xorg_pci_probe()
184 scrn->driverName = "nouveau"; in nouveau_xorg_pci_probe()
185 scrn->name = "nouveau2"; in nouveau_xorg_pci_probe()
186 scrn->Probe = NULL; in nouveau_xorg_pci_probe()
191 xorg_tracker_set_functions(scrn); in nouveau_xorg_pci_probe()
193 return scrn != NULL; in nouveau_xorg_pci_probe()
/external/mesa3d/src/gallium/state_trackers/xorg/
Dxorg_crtc.c91 xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(crtc->scrn); in crtc_set_mode_major()
92 modesettingPtr ms = modesettingPTR(crtc->scrn); in crtc_set_mode_major()
157 modesettingPtr ms = modesettingPTR(crtc->scrn); in crtc_gamma_set()
201 modesettingPtr ms = modesettingPTR(crtc->scrn); in crtc_set_cursor_position()
211 modesettingPtr ms = modesettingPTR(crtc->scrn); in crtc_load_cursor_argb_ga3d()
269 modesettingPtr ms = modesettingPTR(crtc->scrn); in crtc_load_cursor_argb_kms()
314 xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(crtc->scrn); in crtc_load_cursor_argb()
315 modesettingPtr ms = modesettingPTR(crtc->scrn); in crtc_load_cursor_argb()
340 modesettingPtr ms = modesettingPTR(crtc->scrn); in crtc_show_cursor()
351 modesettingPtr ms = modesettingPTR(crtc->scrn); in crtc_hide_cursor()
Dxorg_exa.c368 if (!exa->scrn->is_format_supported(exa->scrn, priv->tex->format, in ExaPrepareSolid()
452 if (!exa->scrn->is_format_supported(exa->scrn, priv->tex->format, in ExaPrepareCopy()
457 if (!exa->scrn->is_format_supported(exa->scrn, src_priv->tex->format, in ExaPrepareCopy()
635 if (!exa->scrn->is_format_supported(exa->scrn, priv->tex->format, in ExaPrepareComposite()
650 if (!exa->scrn->is_format_supported(exa->scrn, priv->tex->format, in ExaPrepareComposite()
667 if (!exa->scrn->is_format_supported(exa->scrn, priv->tex->format, in ExaPrepareComposite()
883 texture = exa->scrn->resource_create(exa->scrn, &template); in ExaModifyPixmapHeader()
955 return exa->scrn->resource_create(exa->scrn, &template); in xorg_exa_create_root_texture()
994 exa->scrn = ms->screen; in xorg_exa_init()
995 exa->pipe = exa->scrn->context_create(exa->scrn, NULL); in xorg_exa_init()
[all …]
Dxorg_output.c94 modesettingPtr ms = modesettingPTR(output->scrn); in output_detect()
152 ddc_mon = xf86InterpretEDID(output->scrn->scrnIndex, in output_get_modes()
197 modesettingPtr ms = modesettingPTR(output->scrn); in output_mode_valid()
202 output->scrn->bitsPerPixel / 8, in output_mode_valid()
Dxorg_winsys.h46 void xorg_tracker_set_functions(ScrnInfoPtr scrn);
Dxorg_driver.c112 xorg_tracker_set_functions(ScrnInfoPtr scrn) in xorg_tracker_set_functions() argument
114 scrn->PreInit = drv_pre_init; in xorg_tracker_set_functions()
115 scrn->ScreenInit = drv_screen_init; in xorg_tracker_set_functions()
116 scrn->SwitchMode = drv_switch_mode; in xorg_tracker_set_functions()
117 scrn->AdjustFrame = drv_adjust_frame; in xorg_tracker_set_functions()
118 scrn->EnterVT = drv_enter_vt; in xorg_tracker_set_functions()
119 scrn->LeaveVT = drv_leave_vt; in xorg_tracker_set_functions()
120 scrn->FreeScreen = drv_free_screen; in xorg_tracker_set_functions()
121 scrn->ValidMode = drv_valid_mode; in xorg_tracker_set_functions()
Dxorg_exa.h18 struct pipe_screen *scrn; member
/external/mesa3d/src/glx/
Ddri_glx.c318 CallCreateNewScreen(Display *dpy, int scrn, struct dri_screen *psc, in CallCreateNewScreen() argument
350 if (!XF86DRIOpenConnection(dpy, scrn, &hSAREA, &BusID)) { in CallCreateNewScreen()
382 if (newlyopened && !XF86DRIAuthConnection(dpy, scrn, magic)) { in CallCreateNewScreen()
390 if (!XF86DRIGetClientDriverName(dpy, scrn, in CallCreateNewScreen()
406 if (!XF86DRIGetDeviceInfo(dpy, scrn, &hFB, &junk, in CallCreateNewScreen()
414 framebuffer.width = DisplayWidth(dpy, scrn); in CallCreateNewScreen()
415 framebuffer.height = DisplayHeight(dpy, scrn); in CallCreateNewScreen()
434 psp = (*psc->legacy->createNewScreen) (scrn, in CallCreateNewScreen()
477 if (num_visuals > 0 && visuals->depth != DefaultDepth(dpy, scrn)) in CallCreateNewScreen()
504 XF86DRICloseConnection(dpy, scrn); in CallCreateNewScreen()
Dglxcmds.c154 GetGLXScreenConfigs(Display * dpy, int scrn) in GetGLXScreenConfigs() argument
160 NULL) ? priv->screens[scrn] : NULL; in GetGLXScreenConfigs()
165 GetGLXPrivScreenConfig(Display * dpy, int scrn, struct glx_display ** ppriv, in GetGLXPrivScreenConfig() argument
182 if ((scrn < 0) || (scrn >= ScreenCount(dpy))) { in GetGLXPrivScreenConfig()
187 *ppsc = (*ppriv)->screens[scrn]; in GetGLXPrivScreenConfig()
Dglxclient.h791 extern struct glx_screen *GetGLXScreenConfigs(Display * dpy, int scrn);
/external/mesa3d/src/gallium/state_trackers/xvmc/
Dcontext.c185 int scrn = 0; in XvMCCreateContext() local
205 &found_port, &scrn, &chroma_format, &mc_type, &surface_flags, in XvMCCreateContext()
231 vscreen = vl_screen_create(dpy, scrn); in XvMCCreateContext()
/external/mesa3d/src/mesa/drivers/dri/common/
Ddrisw_util.c51 driCreateNewScreen(int scrn, const __DRIextension **extensions, in driCreateNewScreen() argument
67 psp->myNum = scrn; in driCreateNewScreen()
Ddri_util.c79 dri2CreateNewScreen(int scrn, int fd, in dri2CreateNewScreen() argument
105 psp->myNum = scrn; in dri2CreateNewScreen()
/external/mesa3d/src/glx/tests/
Dcreate_context_unittest.cpp58 GetGLXScreenConfigs(Display * dpy, int scrn) in GetGLXScreenConfigs() argument
61 (void) scrn; in GetGLXScreenConfigs()
/external/mesa3d/src/egl/docs/
DEGL_MESA_screen_surface115 disabled or turned off by calling eglShowSurface(dpy, scrn,