OSDN Git Service

nv30/draw: only use the DMA1 object (GART) if the bo is not in VRAM
[android-x86/external-mesa.git] / src / SConscript
1 Import('*')
2
3
4 if env['platform'] == 'windows':
5     SConscript('getopt/SConscript')
6
7 SConscript('util/SConscript')
8 SConscript('glsl/SConscript')
9
10 if env['hostonly']:
11     # We are just compiling the things necessary on the host for cross
12     # compilation
13     Return()
14
15 SConscript('loader/SConscript')
16
17 # When env['gles'] is set, the targets defined in mapi/glapi/SConscript are not
18 # used.  libgl-xlib and libgl-gdi adapt themselves to use the targets defined
19 # in mapi/glapi-shared/SConscript.  mesa/SConscript also adapts itself to
20 # enable OpenGL ES support.
21 SConscript('mapi/glapi/gen/SConscript')
22 SConscript('mapi/glapi/SConscript')
23
24 # Haiku C++ libGL dispatch (renderers depend on libgl)
25 if env['platform'] in ['haiku']:
26     SConscript('hgl/SConscript')
27
28 SConscript('mesa/SConscript')
29
30 SConscript('mapi/vgapi/SConscript')
31
32 if not env['embedded']:
33     if env['platform'] not in ('cygwin', 'darwin', 'freebsd', 'haiku', 'windows'):
34         SConscript('glx/SConscript')
35     if env['platform'] not in ['darwin', 'haiku', 'sunos']:
36         if env['dri']:
37             SConscript('egl/drivers/dri2/SConscript')
38         SConscript('egl/main/SConscript')
39     if env['platform'] == 'haiku':
40         SConscript('egl/drivers/haiku/SConscript')
41         SConscript('egl/main/SConscript')
42
43     if env['gles']:
44         SConscript('mapi/shared-glapi/SConscript')
45
46 SConscript('gallium/SConscript')
47