DRI2: Allow building without libdrm
Some drivers use DRI protocol but implement their own kernel rendering manager. For these drivers, libdrm becomes useless. --disable-libdrm configure parameter can be used to disable libdrm support in dri2. To provide ABI/API compatibility for libdrm based drivers, libdrm call is wrapped in ifdef. Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com> Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
This commit is contained in:
@@ -139,4 +139,7 @@
|
||||
/* Support PC98 */
|
||||
#undef SUPPORT_PC98
|
||||
|
||||
/* Build with libdrm support */
|
||||
#undef WITH_LIBDRM
|
||||
|
||||
#endif /* _XORG_CONFIG_H_ */
|
||||
|
||||
Reference in New Issue
Block a user