From c727ef01083c873abfaf3c79b28d7cbcd6361bf3 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Thu, 1 Apr 2010 11:17:43 +0800 Subject: [PATCH] progs/egl: Move demos a level deeper. Move the demos to "opengl" subdirectory. --- configs/linux-dri | 2 +- configs/linux-egl | 2 +- configure.ac | 2 +- progs/egl/{ => opengl}/.gitignore | 0 progs/egl/{ => opengl}/Makefile | 2 +- progs/egl/{ => opengl}/demo1.c | 0 progs/egl/{ => opengl}/demo2.c | 0 progs/egl/{ => opengl}/demo3.c | 0 progs/egl/{ => opengl}/eglgears.c | 0 progs/egl/{ => opengl}/eglinfo.c | 0 progs/egl/{ => opengl}/eglscreen.c | 0 progs/egl/{ => opengl}/egltri.c | 0 progs/egl/{ => opengl}/peglgears.c | 0 progs/egl/{ => opengl}/xegl_tri.c | 0 progs/egl/{ => opengl}/xeglgears.c | 0 progs/egl/{ => opengl}/xeglthreads.c | 0 16 files changed, 4 insertions(+), 4 deletions(-) rename progs/egl/{ => opengl}/.gitignore (100%) rename progs/egl/{ => opengl}/Makefile (99%) rename progs/egl/{ => opengl}/demo1.c (100%) rename progs/egl/{ => opengl}/demo2.c (100%) rename progs/egl/{ => opengl}/demo3.c (100%) rename progs/egl/{ => opengl}/eglgears.c (100%) rename progs/egl/{ => opengl}/eglinfo.c (100%) rename progs/egl/{ => opengl}/eglscreen.c (100%) rename progs/egl/{ => opengl}/egltri.c (100%) rename progs/egl/{ => opengl}/peglgears.c (100%) rename progs/egl/{ => opengl}/xegl_tri.c (100%) rename progs/egl/{ => opengl}/xeglgears.c (100%) rename progs/egl/{ => opengl}/xeglthreads.c (100%) diff --git a/configs/linux-dri b/configs/linux-dri index e21a3e95943..9017becdafe 100644 --- a/configs/linux-dri +++ b/configs/linux-dri @@ -52,7 +52,7 @@ GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lXdamage -lXfixes \ # Directories SRC_DIRS := glx egl $(SRC_DIRS) -PROGRAM_DIRS := egl $(PROGRAM_DIRS) +PROGRAM_DIRS := egl/opengl $(PROGRAM_DIRS) # EGL directories EGL_DRIVERS_DIRS = glx diff --git a/configs/linux-egl b/configs/linux-egl index 28165ed5b5a..cd664b4171f 100644 --- a/configs/linux-egl +++ b/configs/linux-egl @@ -48,7 +48,7 @@ GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lXdamage -lXfixes \ # Directories SRC_DIRS = gallium mesa gallium/winsys gallium/targets glu egl -PROGRAM_DIRS = egl +PROGRAM_DIRS = egl/opengl DRIVER_DIRS = dri GALLIUM_WINSYS_DIRS = egl_drm diff --git a/configure.ac b/configure.ac index f2e87f4d4c2..5647442ea17 100644 --- a/configure.ac +++ b/configure.ac @@ -954,7 +954,7 @@ if test "x$enable_egl" = xyes; then fi if test "$with_demos" = yes; then - PROGRAM_DIRS="$PROGRAM_DIRS egl" + PROGRAM_DIRS="$PROGRAM_DIRS egl/opengl" fi fi AC_SUBST([EGL_LIB_DEPS]) diff --git a/progs/egl/.gitignore b/progs/egl/opengl/.gitignore similarity index 100% rename from progs/egl/.gitignore rename to progs/egl/opengl/.gitignore diff --git a/progs/egl/Makefile b/progs/egl/opengl/Makefile similarity index 99% rename from progs/egl/Makefile rename to progs/egl/opengl/Makefile index 890240f9a38..50a60c701d0 100644 --- a/progs/egl/Makefile +++ b/progs/egl/opengl/Makefile @@ -1,6 +1,6 @@ # progs/egl/Makefile -TOP = ../.. +TOP = ../../.. include $(TOP)/configs/current diff --git a/progs/egl/demo1.c b/progs/egl/opengl/demo1.c similarity index 100% rename from progs/egl/demo1.c rename to progs/egl/opengl/demo1.c diff --git a/progs/egl/demo2.c b/progs/egl/opengl/demo2.c similarity index 100% rename from progs/egl/demo2.c rename to progs/egl/opengl/demo2.c diff --git a/progs/egl/demo3.c b/progs/egl/opengl/demo3.c similarity index 100% rename from progs/egl/demo3.c rename to progs/egl/opengl/demo3.c diff --git a/progs/egl/eglgears.c b/progs/egl/opengl/eglgears.c similarity index 100% rename from progs/egl/eglgears.c rename to progs/egl/opengl/eglgears.c diff --git a/progs/egl/eglinfo.c b/progs/egl/opengl/eglinfo.c similarity index 100% rename from progs/egl/eglinfo.c rename to progs/egl/opengl/eglinfo.c diff --git a/progs/egl/eglscreen.c b/progs/egl/opengl/eglscreen.c similarity index 100% rename from progs/egl/eglscreen.c rename to progs/egl/opengl/eglscreen.c diff --git a/progs/egl/egltri.c b/progs/egl/opengl/egltri.c similarity index 100% rename from progs/egl/egltri.c rename to progs/egl/opengl/egltri.c diff --git a/progs/egl/peglgears.c b/progs/egl/opengl/peglgears.c similarity index 100% rename from progs/egl/peglgears.c rename to progs/egl/opengl/peglgears.c diff --git a/progs/egl/xegl_tri.c b/progs/egl/opengl/xegl_tri.c similarity index 100% rename from progs/egl/xegl_tri.c rename to progs/egl/opengl/xegl_tri.c diff --git a/progs/egl/xeglgears.c b/progs/egl/opengl/xeglgears.c similarity index 100% rename from progs/egl/xeglgears.c rename to progs/egl/opengl/xeglgears.c diff --git a/progs/egl/xeglthreads.c b/progs/egl/opengl/xeglthreads.c similarity index 100% rename from progs/egl/xeglthreads.c rename to progs/egl/opengl/xeglthreads.c -- 2.30.2