modified include guards with defined(HAVE_SURFACELESS_PLATFORM)
v6: use O_CLOEXEC for drm fd
Signed-off-by: Haixia Shi
Signed-off-by: Zach Reizner
---
configure.ac| 6 +
src/egl/drivers/dri2/Makefile.am| 5 +
src/egl/drivers/dri2/egl_dri2.c
modified include guards with defined(HAVE_SURFACELESS_PLATFORM)
Signed-off-by: Haixia Shi
Signed-off-by: Zach Reizner
---
configure.ac| 6 ++
src/egl/drivers/dri2/Makefile.am| 5 +
src/egl/drivers/dri2/egl_dri2.c | 7 ++
src/egl
-by: Haixia Shi
Signed-off-by: Zach Reizner
---
configure.ac| 6 ++
src/egl/drivers/dri2/Makefile.am| 5 +
src/egl/drivers/dri2/egl_dri2.c | 11 +-
src/egl/drivers/dri2/egl_dri2.h | 3 +
src/egl/drivers/dri2
: Zach Reizner
---
configure.ac| 3 +-
src/egl/drivers/dri2/Makefile.am| 5 +
src/egl/drivers/dri2/egl_dri2.c | 13 ++-
src/egl/drivers/dri2/egl_dri2.h | 3 +
src/egl/drivers/dri2/platform_surfaceless.c | 167
From: Haixia Shi
The surfaceless platform is for off-screen rendering only. Render node support
is required.
Only consider the render nodes. Do not use normal nodes as they require
auth hooks.
v3: change platform_null to platform_surfaceless
Signed-off-by: Haixia Shi
Signed-off-by: Zach