mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 08:50:09 +01:00
Largely superseeded by src/egl, and WGL/GLX_EXT_create_context_es_profile extensions. Note this will break Android.mk with gallium drivers -- somebody familiar with that build infrastructure will need to update it to use gallium drivers through egl_dri2. v2: Remove the _EGL_BUILT_IN_DRIVER_GALLIUM define from src/egl/main/Android.mk; and update the src/egl/main/Sconscript to create a SharedLibrary, add versioning, create symlink - copy the bits from egl-static, per Emil Velikov. Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> v3: Disallow undefined symbols in libEGL.so. Update release notes
99 lines
1.8 KiB
Python
99 lines
1.8 KiB
Python
Import('env')
|
|
|
|
#
|
|
# Auxiliary modules
|
|
#
|
|
|
|
SConscript('auxiliary/SConscript')
|
|
|
|
#
|
|
# Drivers
|
|
#
|
|
|
|
# These are common and work across all platforms
|
|
SConscript([
|
|
'drivers/galahad/SConscript',
|
|
'drivers/llvmpipe/SConscript',
|
|
'drivers/rbug/SConscript',
|
|
'drivers/softpipe/SConscript',
|
|
'drivers/svga/SConscript',
|
|
'drivers/trace/SConscript',
|
|
])
|
|
|
|
#
|
|
# Winsys
|
|
#
|
|
|
|
SConscript([
|
|
'winsys/sw/null/SConscript',
|
|
'winsys/sw/wrapper/SConscript',
|
|
])
|
|
|
|
if env['x11']:
|
|
SConscript([
|
|
'winsys/sw/xlib/SConscript',
|
|
])
|
|
|
|
if env['platform'] == 'windows':
|
|
SConscript([
|
|
'winsys/sw/gdi/SConscript',
|
|
])
|
|
|
|
if env['platform'] == 'haiku':
|
|
SConscript([
|
|
'winsys/sw/hgl/SConscript',
|
|
])
|
|
|
|
if env['dri']:
|
|
SConscript([
|
|
'winsys/sw/dri/SConscript',
|
|
'winsys/sw/kms-dri/SConscript',
|
|
'winsys/svga/drm/SConscript',
|
|
])
|
|
|
|
|
|
#
|
|
# State trackers and targets
|
|
#
|
|
|
|
SConscript([
|
|
'targets/graw-null/SConscript',
|
|
])
|
|
|
|
if not env['embedded']:
|
|
SConscript('state_trackers/vega/SConscript')
|
|
|
|
if env['x11']:
|
|
SConscript([
|
|
'state_trackers/glx/xlib/SConscript',
|
|
'targets/graw-xlib/SConscript',
|
|
'targets/libgl-xlib/SConscript',
|
|
])
|
|
|
|
if env['platform'] == 'windows':
|
|
SConscript([
|
|
'state_trackers/wgl/SConscript',
|
|
'targets/graw-gdi/SConscript',
|
|
'targets/libgl-gdi/SConscript',
|
|
])
|
|
|
|
if env['platform'] == 'haiku':
|
|
SConscript([
|
|
'state_trackers/hgl/SConscript',
|
|
'targets/haiku-softpipe/SConscript',
|
|
])
|
|
|
|
if env['dri']:
|
|
SConscript([
|
|
'state_trackers/dri/SConscript',
|
|
'targets/dri/SConscript',
|
|
])
|
|
|
|
|
|
#
|
|
# Unit tests & tools
|
|
#
|
|
|
|
if not env['embedded']:
|
|
SConscript('tests/unit/SConscript')
|
|
SConscript('tests/graw/SConscript')
|