summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/egl/SConscript
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-05-31 12:03:39 +0800
committerChia-I Wu <[email protected]>2010-05-31 13:27:44 +0800
commita8e195ec24dc244d975cbd3526debc2c22e717be (patch)
tree9cd7e95c627632719a266d2c42081a55937db5b2 /src/gallium/state_trackers/egl/SConscript
parent1e6c10f4be9e36cc052a6b47fb2cb1eae60caa00 (diff)
st/egl: Add GDI backend.
The backend uses Windows GDI driver to provide a software EGL implementation on Windows.
Diffstat (limited to 'src/gallium/state_trackers/egl/SConscript')
-rw-r--r--src/gallium/state_trackers/egl/SConscript31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/egl/SConscript b/src/gallium/state_trackers/egl/SConscript
new file mode 100644
index 00000000000..855bc5bb6b3
--- /dev/null
+++ b/src/gallium/state_trackers/egl/SConscript
@@ -0,0 +1,31 @@
+#######################################################################
+# SConscript for egl state_tracker
+
+Import('*')
+
+if 'egl' in env['statetrackers']:
+
+ env = env.Clone()
+
+ env.Append(CPPPATH = [
+ '#/src/egl/main',
+ '#/src/gallium/winsys/sw',
+ '.',
+ ])
+
+ common_sources = [
+ 'common/egl_g3d.c',
+ 'common/egl_g3d_api.c',
+ 'common/egl_g3d_image.c',
+ 'common/egl_g3d_st.c',
+ ]
+
+ gdi_sources = common_sources + [
+ 'gdi/native_gdi.c',
+ ]
+
+ st_egl_gdi = env.ConvenienceLibrary(
+ target = 'st_egl_gdi',
+ source = gdi_sources,
+ )
+ Export('st_egl_gdi')