diff options
author | Emil Velikov <[email protected]> | 2018-08-08 14:19:05 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2018-08-24 11:50:36 +0100 |
commit | 3827966643b63061027bbe9320b8e371c49e2033 (patch) | |
tree | bec62c2539cebb62b44aa9679fb4d99d15d577db /src/glx/renderpix.c | |
parent | cff80b6c153661ed40a207815a3d3a132daae656 (diff) |
egl/android: use drmDevice instead of the manual /dev/dri iteration
Replace the manual handling of /dev/dri in favor of the drmDevice API.
The latter provides a consistent way of enumerating the devices,
providing device details as needed.
v2:
- Use ARRAY_SIZE (Frank)
- s/famour/favor/ typo (Frank)
- Make MAX_DRM_DEVICES a macro - fix vla errors (RobF)
- Remove left-over dev_path instance (RobF)
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Robert Foss <[email protected]> (v1)
Reviewed-by: Tomasz Figa <[email protected]>
Diffstat (limited to 'src/glx/renderpix.c')
0 files changed, 0 insertions, 0 deletions