forked from enlightenment/efl
ecore_drm2: Add an env var to disable atomic pageflips
Allows testing non-atomic paths without a reboot or a rebuild.
This commit is contained in:
parent
0595e70b22
commit
950df19c67
|
@ -620,8 +620,10 @@ ecore_drm2_device_open(Ecore_Drm2_Device *device)
|
|||
# if 0
|
||||
/* check that this system can do atomic */
|
||||
_ecore_drm2_use_atomic = _drm2_atomic_usable(device->fd);
|
||||
if (_ecore_drm2_use_atomic)
|
||||
# endif
|
||||
if (getenv("ECORE_DRM2_ATOMIC_DISABLE"))
|
||||
_ecore_drm2_use_atomic = EINA_FALSE;
|
||||
if (_ecore_drm2_use_atomic)
|
||||
#endif
|
||||
{
|
||||
if (sym_drmSetClientCap(device->fd,
|
||||
|
|
Loading…
Reference in New Issue