aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-04-01 13:43:33 +0800
committerChia-I Wu <[email protected]>2010-04-01 22:25:48 +0800
commit7f231cab2b7c13ba70d6aa694f74b6d6eee6470f (patch)
tree49bbe7b55bc1f809acd6525afa834bda0c074fa3
parentc727ef01083c873abfaf3c79b28d7cbcd6361bf3 (diff)
progs/es: Move OpenGL ES demos to subdirectories of progs/egl.
Move progs/es1/xegl -> progs/egl/opengles1, progs/es1/screen -> progs/egl/opengles1/screen, progs/es2/xegl -> progs/egl/opengles2.
-rw-r--r--configs/linux-opengl-es2
-rw-r--r--progs/egl/opengles1/.gitignore11
-rw-r--r--progs/egl/opengles1/Makefile (renamed from progs/es1/xegl/Makefile)2
-rw-r--r--progs/egl/opengles1/bindtex.c (renamed from progs/es1/xegl/bindtex.c)0
-rw-r--r--progs/egl/opengles1/drawtex.c (renamed from progs/es1/xegl/drawtex.c)0
-rw-r--r--progs/egl/opengles1/es1_info.c (renamed from progs/es1/xegl/es1_info.c)0
-rw-r--r--progs/egl/opengles1/msaa.c (renamed from progs/es1/xegl/msaa.c)0
-rw-r--r--progs/egl/opengles1/pbuffer.c (renamed from progs/es1/xegl/pbuffer.c)0
-rw-r--r--progs/egl/opengles1/render_tex.c (renamed from progs/es1/xegl/render_tex.c)0
-rw-r--r--progs/egl/opengles1/screen/Makefile (renamed from progs/es1/screen/Makefile)4
-rw-r--r--progs/egl/opengles1/screen/gears.c (renamed from progs/es1/screen/gears.c)0
-rw-r--r--progs/egl/opengles1/screen/tri.c (renamed from progs/es1/screen/tri.c)0
-rw-r--r--progs/egl/opengles1/screen/winsys.c (renamed from progs/es1/screen/winsys.c)0
-rw-r--r--progs/egl/opengles1/screen/winsys.h (renamed from progs/es1/screen/winsys.h)0
-rw-r--r--progs/egl/opengles1/torus.c (renamed from progs/es1/xegl/torus.c)0
-rw-r--r--progs/egl/opengles1/tri.c (renamed from progs/es1/xegl/tri.c)0
-rw-r--r--progs/egl/opengles1/two_win.c (renamed from progs/es1/xegl/two_win.c)0
-rw-r--r--progs/egl/opengles2/.gitignore3
-rw-r--r--progs/egl/opengles2/Makefile (renamed from progs/es2/xegl/Makefile)4
-rw-r--r--progs/egl/opengles2/tri.c (renamed from progs/es2/xegl/tri.c)0
-rw-r--r--progs/es1/.gitignore11
-rw-r--r--progs/es2/.gitignore3
22 files changed, 20 insertions, 20 deletions
diff --git a/configs/linux-opengl-es b/configs/linux-opengl-es
index 32fe40fb848..ead47136f4a 100644
--- a/configs/linux-opengl-es
+++ b/configs/linux-opengl-es
@@ -7,7 +7,7 @@ CONFIG_NAME = linux-opengl-es
# Directories to build
LIB_DIR = lib
SRC_DIRS = egl glsl mesa/es gallium gallium/winsys gallium/targets
-PROGRAM_DIRS = es1/screen es1/xegl es2/xegl
+PROGRAM_DIRS = egl/opengles1 egl/opengles2
# egl st needs this
DEFINES += -DGLX_DIRECT_RENDERING
diff --git a/progs/egl/opengles1/.gitignore b/progs/egl/opengles1/.gitignore
new file mode 100644
index 00000000000..8c1c9a8ef98
--- /dev/null
+++ b/progs/egl/opengles1/.gitignore
@@ -0,0 +1,11 @@
+screen/gears
+screen/tri
+bindtex
+drawtex
+es1_info
+msaa
+pbuffer
+render_tex
+torus
+tri
+two_win
diff --git a/progs/es1/xegl/Makefile b/progs/egl/opengles1/Makefile
index 6869c443065..0dd47edf1b3 100644
--- a/progs/es1/xegl/Makefile
+++ b/progs/egl/opengles1/Makefile
@@ -1,4 +1,4 @@
-# progs/es1/xegl/Makefile
+# progs/egl/opengles1/Makefile
TOP = ../../..
include $(TOP)/configs/current
diff --git a/progs/es1/xegl/bindtex.c b/progs/egl/opengles1/bindtex.c
index c243b5941b7..c243b5941b7 100644
--- a/progs/es1/xegl/bindtex.c
+++ b/progs/egl/opengles1/bindtex.c
diff --git a/progs/es1/xegl/drawtex.c b/progs/egl/opengles1/drawtex.c
index ca0615e267b..ca0615e267b 100644
--- a/progs/es1/xegl/drawtex.c
+++ b/progs/egl/opengles1/drawtex.c
diff --git a/progs/es1/xegl/es1_info.c b/progs/egl/opengles1/es1_info.c
index 93816b52150..93816b52150 100644
--- a/progs/es1/xegl/es1_info.c
+++ b/progs/egl/opengles1/es1_info.c
diff --git a/progs/es1/xegl/msaa.c b/progs/egl/opengles1/msaa.c
index b4c6c632177..b4c6c632177 100644
--- a/progs/es1/xegl/msaa.c
+++ b/progs/egl/opengles1/msaa.c
diff --git a/progs/es1/xegl/pbuffer.c b/progs/egl/opengles1/pbuffer.c
index 011c2af58fe..011c2af58fe 100644
--- a/progs/es1/xegl/pbuffer.c
+++ b/progs/egl/opengles1/pbuffer.c
diff --git a/progs/es1/xegl/render_tex.c b/progs/egl/opengles1/render_tex.c
index 0200fa4cb06..0200fa4cb06 100644
--- a/progs/es1/xegl/render_tex.c
+++ b/progs/egl/opengles1/render_tex.c
diff --git a/progs/es1/screen/Makefile b/progs/egl/opengles1/screen/Makefile
index 4ba2f9a7dc1..5b2a59c71ca 100644
--- a/progs/es1/screen/Makefile
+++ b/progs/egl/opengles1/screen/Makefile
@@ -1,6 +1,6 @@
-# progs/es1/screen/Makefile
+# progs/egl/opengles1/screen/Makefile
-TOP = ../../..
+TOP = ../../../..
include $(TOP)/configs/current
ES1_CFLAGS = -I$(TOP)/include
diff --git a/progs/es1/screen/gears.c b/progs/egl/opengles1/screen/gears.c
index c7625826b97..c7625826b97 100644
--- a/progs/es1/screen/gears.c
+++ b/progs/egl/opengles1/screen/gears.c
diff --git a/progs/es1/screen/tri.c b/progs/egl/opengles1/screen/tri.c
index bab9499944b..bab9499944b 100644
--- a/progs/es1/screen/tri.c
+++ b/progs/egl/opengles1/screen/tri.c
diff --git a/progs/es1/screen/winsys.c b/progs/egl/opengles1/screen/winsys.c
index 84d00471eba..84d00471eba 100644
--- a/progs/es1/screen/winsys.c
+++ b/progs/egl/opengles1/screen/winsys.c
diff --git a/progs/es1/screen/winsys.h b/progs/egl/opengles1/screen/winsys.h
index 679c7e0bd6d..679c7e0bd6d 100644
--- a/progs/es1/screen/winsys.h
+++ b/progs/egl/opengles1/screen/winsys.h
diff --git a/progs/es1/xegl/torus.c b/progs/egl/opengles1/torus.c
index 9438a4fe59b..9438a4fe59b 100644
--- a/progs/es1/xegl/torus.c
+++ b/progs/egl/opengles1/torus.c
diff --git a/progs/es1/xegl/tri.c b/progs/egl/opengles1/tri.c
index 42a978207c9..42a978207c9 100644
--- a/progs/es1/xegl/tri.c
+++ b/progs/egl/opengles1/tri.c
diff --git a/progs/es1/xegl/two_win.c b/progs/egl/opengles1/two_win.c
index 4785e5304d3..4785e5304d3 100644
--- a/progs/es1/xegl/two_win.c
+++ b/progs/egl/opengles1/two_win.c
diff --git a/progs/egl/opengles2/.gitignore b/progs/egl/opengles2/.gitignore
new file mode 100644
index 00000000000..6158cc6e680
--- /dev/null
+++ b/progs/egl/opengles2/.gitignore
@@ -0,0 +1,3 @@
+es2_info.c
+es2_info
+tri
diff --git a/progs/es2/xegl/Makefile b/progs/egl/opengles2/Makefile
index 5bb167c1c63..710c4d8c130 100644
--- a/progs/es2/xegl/Makefile
+++ b/progs/egl/opengles2/Makefile
@@ -1,4 +1,4 @@
-# progs/es2/xegl/Makefile
+# progs/egl/opengles2/Makefile
TOP = ../../..
include $(TOP)/configs/current
@@ -33,7 +33,7 @@ default: $(PROGRAMS)
-es2_info.c: ../../es1/xegl/es1_info.c
+es2_info.c: ../opengles1/es1_info.c
cp -f $^ $@
es2_info: es2_info.o $(ES2_LIB_DEPS)
diff --git a/progs/es2/xegl/tri.c b/progs/egl/opengles2/tri.c
index 8981d8a7e21..8981d8a7e21 100644
--- a/progs/es2/xegl/tri.c
+++ b/progs/egl/opengles2/tri.c
diff --git a/progs/es1/.gitignore b/progs/es1/.gitignore
deleted file mode 100644
index 5e29a6b5faa..00000000000
--- a/progs/es1/.gitignore
+++ /dev/null
@@ -1,11 +0,0 @@
-screen/gears
-screen/tri
-xegl/bindtex
-xegl/drawtex
-xegl/es1_info
-xegl/msaa
-xegl/pbuffer
-xegl/render_tex
-xegl/torus
-xegl/tri
-xegl/two_win
diff --git a/progs/es2/.gitignore b/progs/es2/.gitignore
deleted file mode 100644
index 7d5c16936c2..00000000000
--- a/progs/es2/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-xegl/es2_info.c
-xegl/es2_info
-xegl/tri