st/egl_g3d: Rename to st/egl.

Simply the name to egl.
This commit is contained in:
Chia-I Wu
2010-01-22 16:31:43 +08:00
parent 3a4b7d3071
commit 3c967a9207
36 changed files with 25 additions and 26 deletions

View File

@@ -61,7 +61,7 @@ DRIVER_DIRS = dri
WINDOW_SYSTEM = dri WINDOW_SYSTEM = dri
GALLIUM_WINSYS_DIRS = drm GALLIUM_WINSYS_DIRS = drm
GALLIUM_WINSYS_DRM_DIRS = vmware intel i965 GALLIUM_WINSYS_DRM_DIRS = vmware intel i965
GALLIUM_STATE_TRACKERS_DIRS = egl_g3d GALLIUM_STATE_TRACKERS_DIRS = egl
DRI_DIRS = i810 i915 i965 mach64 mga r128 r200 r300 radeon \ DRI_DIRS = i810 i915 i965 mach64 mga r128 r200 r300 radeon \
savage sis tdfx unichrome ffb swrast savage sis tdfx unichrome ffb swrast

View File

@@ -9,7 +9,7 @@ LIB_DIR = lib
SRC_DIRS = egl glsl mesa/es gallium gallium/winsys SRC_DIRS = egl glsl mesa/es gallium gallium/winsys
PROGRAM_DIRS = es1/screen es1/xegl es2/xegl PROGRAM_DIRS = es1/screen es1/xegl es2/xegl
# egl_g3d needs this # egl st needs this
DEFINES += -DGLX_DIRECT_RENDERING DEFINES += -DGLX_DIRECT_RENDERING
# no mesa or egl drivers # no mesa or egl drivers
@@ -23,6 +23,6 @@ GALLIUM_STATE_TRACKERS_DIRS = es
# build egl_x11_{swrast,i915}.so # build egl_x11_{swrast,i915}.so
GALLIUM_DRIVERS_DIRS += trace i915 GALLIUM_DRIVERS_DIRS += trace i915
GALLIUM_STATE_TRACKERS_DIRS += egl_g3d GALLIUM_STATE_TRACKERS_DIRS += egl
GALLIUM_WINSYS_DIRS += drm GALLIUM_WINSYS_DIRS += drm
GALLIUM_WINSYS_DRM_DIRS += intel swrast GALLIUM_WINSYS_DRM_DIRS += intel swrast

View File

@@ -1165,7 +1165,7 @@ yes)
dri) dri)
GALLIUM_STATE_TRACKERS_DIRS="dri" GALLIUM_STATE_TRACKERS_DIRS="dri"
if test "x$enable_egl" = xyes; then if test "x$enable_egl" = xyes; then
GALLIUM_STATE_TRACKERS_DIRS="$GALLIUM_STATE_TRACKERS_DIRS egl_g3d" GALLIUM_STATE_TRACKERS_DIRS="$GALLIUM_STATE_TRACKERS_DIRS egl"
fi fi
# Have only tested st/xorg on 1.6.0 servers # Have only tested st/xorg on 1.6.0 servers
PKG_CHECK_MODULES(XORG, [xorg-server >= 1.6.0], PKG_CHECK_MODULES(XORG, [xorg-server >= 1.6.0],
@@ -1182,9 +1182,9 @@ yes)
AC_MSG_ERROR([state tracker '$tracker' doesn't exist]) AC_MSG_ERROR([state tracker '$tracker' doesn't exist])
case "$tracker" in case "$tracker" in
egl_g3d) egl)
if test "x$enable_egl" != xyes; then if test "x$enable_egl" != xyes; then
AC_MSG_ERROR([cannot build egl_g3d state tracker without EGL library]) AC_MSG_ERROR([cannot build egl state tracker without EGL library])
fi fi
;; ;;
xorg) xorg)
@@ -1223,7 +1223,7 @@ yes)
# verify the requested driver directories exist # verify the requested driver directories exist
egl_displays=`IFS=', '; echo $with_egl_displays` egl_displays=`IFS=', '; echo $with_egl_displays`
for dpy in $egl_displays; do for dpy in $egl_displays; do
test -d "$srcdir/src/gallium/state_trackers/egl_g3d/$dpy" || \ test -d "$srcdir/src/gallium/state_trackers/egl/$dpy" || \
AC_MSG_ERROR([EGL display '$dpy' does't exist]) AC_MSG_ERROR([EGL display '$dpy' does't exist])
done done
EGL_DISPLAYS="$egl_displays" EGL_DISPLAYS="$egl_displays"

View File

@@ -32,10 +32,10 @@ cards.</p>
the Gallium driver for your hardware. For example</p> the Gallium driver for your hardware. For example</p>
<pre> <pre>
$ ./configure --with-state-trackers=egl_g3d,es,vega --enable-gallium-intel $ ./configure --with-state-trackers=egl,es,vega --enable-gallium-intel
</pre> </pre>
<p>The main library will be enabled by default. The <code>egl_g3d</code> state <p>The main library will be enabled by default. The <code>egl</code> state
tracker is needed by a number of EGL drivers. EGL drivers will be covered tracker is needed by a number of EGL drivers. EGL drivers will be covered
later. The <a href="opengles.html">es state tracker</a> provides OpenGL ES 1.x later. The <a href="opengles.html">es state tracker</a> provides OpenGL ES 1.x
and 2.x and the <a href="openvg.html">vega state tracker</a> provides OpenVG and 2.x and the <a href="openvg.html">vega state tracker</a> provides OpenVG
@@ -77,9 +77,8 @@ bare KMS (kernel modesetting).</p>
<p>The argument is a comma separated string. It is usually used to specify the <p>The argument is a comma separated string. It is usually used to specify the
rendering APIs, like OpenGL ES or OpenVG, to build. But it should be noted rendering APIs, like OpenGL ES or OpenVG, to build. But it should be noted
that a number of EGL drivers depend on the <code>egl_g3d</code> state tracker. that a number of EGL drivers depend on the <code>egl</code> state tracker.
They will <em>not</em> be built without the <code>egl_g3d</code> state They will <em>not</em> be built without the <code>egl</code> state tracker.</p>
tracker.</p>
</li> </li>
@@ -160,7 +159,7 @@ variable to true forces the use of software rendering.</p>
<p>Gallium EGL drivers supports all rendering APIs specified in EGL 1.4. The <p>Gallium EGL drivers supports all rendering APIs specified in EGL 1.4. The
support for optional EGL functions and EGL extensions is usually more complete support for optional EGL functions and EGL extensions is usually more complete
than the classic ones. These drivers depend on the <code>egl_g3d</code> state than the classic ones. These drivers depend on the <code>egl</code> state
tracker to build. The available drivers are</p> tracker to build. The available drivers are</p>
<ul> <ul>
@@ -218,8 +217,8 @@ runtime.</p>
<h2>Developers</h2> <h2>Developers</h2>
The sources of the main library and the classic drivers can be found at The sources of the main library and the classic drivers can be found at
<code>src/egl/</code>. The sources of the <code>egl_g3d</code> state tracker <code>src/egl/</code>. The sources of the <code>egl</code> state tracker can
can be found at <code>src/gallium/state_trackers/egl_g3d/</code>. be found at <code>src/gallium/state_trackers/egl/</code>.
<h3>TODOs</h3> <h3>TODOs</h3>

View File

@@ -20,7 +20,7 @@ for more information about EGL.</p>
<h2>Build the Libraries</h2> <h2>Build the Libraries</h2>
<ol> <ol>
<li>Run <code>configure</code> with <code>--with-state-trackers=egl_g3d,es</code> and enable the Gallium driver for your hardware.</li> <li>Run <code>configure</code> with <code>--with-state-trackers=egl,es</code> and enable the Gallium driver for your hardware.</li>
<li>Build and install Mesa as usual.</li> <li>Build and install Mesa as usual.</li>
</ol> </ol>

View File

@@ -34,7 +34,7 @@ Please refer to <a href="egl.html">Mesa EGL</a> for more information about EGL.
<h3>Sample build</h3> <h3>Sample build</h3>
A sample build looks as follows: A sample build looks as follows:
<pre> <pre>
$ ./configure --with-state-trackers=egl_g3d,vega --enable-gallium-intel $ ./configure --with-state-trackers=egl,vega --enable-gallium-intel
$ make $ make
$ make install $ make install
</pre> </pre>

View File

@@ -1,4 +1,4 @@
# src/gallium/winsys/drm/Makefile.egl_g3d # src/gallium/winsys/drm/Makefile.egl
# The driver Makefile should define # The driver Makefile should define
# #
@@ -13,10 +13,10 @@ EGL_DRIVER_OBJECTS = $(EGL_DRIVER_SOURCES:.c=.o)
common_LIBS = -ldrm -lm -ldl common_LIBS = -ldrm -lm -ldl
x11_ST = $(TOP)/src/gallium/state_trackers/egl_g3d/libeglx11.a x11_ST = $(TOP)/src/gallium/state_trackers/egl/libeglx11.a
x11_LIBS = $(common_LIBS) -lX11 -lXext -lXfixes x11_LIBS = $(common_LIBS) -lX11 -lXext -lXfixes
kms_ST = $(TOP)/src/gallium/state_trackers/egl_g3d/libeglkms.a kms_ST = $(TOP)/src/gallium/state_trackers/egl/libeglkms.a
kms_LIBS = $(common_LIBS) kms_LIBS = $(common_LIBS)
##### RULES ##### ##### RULES #####

View File

@@ -11,4 +11,4 @@ EGL_DRIVER_PIPES = \
$(TOP)/src/gallium/drivers/trace/libtrace.a \ $(TOP)/src/gallium/drivers/trace/libtrace.a \
$(TOP)/src/gallium/drivers/i965/libi965.a $(TOP)/src/gallium/drivers/i965/libi965.a
include ../../Makefile.egl_g3d include ../../Makefile.egl

View File

@@ -11,4 +11,4 @@ EGL_DRIVER_PIPES = \
$(TOP)/src/gallium/drivers/trace/libtrace.a \ $(TOP)/src/gallium/drivers/trace/libtrace.a \
$(TOP)/src/gallium/drivers/i915/libi915.a $(TOP)/src/gallium/drivers/i915/libi915.a
include ../../Makefile.egl_g3d include ../../Makefile.egl

View File

@@ -16,4 +16,4 @@ EGL_DRIVER_PIPES = \
$(TOP)/src/gallium/drivers/nouveau/libnouveau.a \ $(TOP)/src/gallium/drivers/nouveau/libnouveau.a \
$(TOP)/src/gallium/drivers/softpipe/libsoftpipe.a $(TOP)/src/gallium/drivers/softpipe/libsoftpipe.a
include ../../Makefile.egl_g3d include ../../Makefile.egl

View File

@@ -11,4 +11,4 @@ EGL_DRIVER_PIPES = \
$(TOP)/src/gallium/drivers/trace/libtrace.a \ $(TOP)/src/gallium/drivers/trace/libtrace.a \
$(TOP)/src/gallium/drivers/r300/libr300.a $(TOP)/src/gallium/drivers/r300/libr300.a
include ../../Makefile.egl_g3d include ../../Makefile.egl

View File

@@ -9,4 +9,4 @@ EGL_DRIVER_PIPES = \
$(TOP)/src/gallium/winsys/drm/swrast/core/libswrastdrm.a \ $(TOP)/src/gallium/winsys/drm/swrast/core/libswrastdrm.a \
$(TOP)/src/gallium/drivers/softpipe/libsoftpipe.a $(TOP)/src/gallium/drivers/softpipe/libsoftpipe.a
include ../../Makefile.egl_g3d include ../../Makefile.egl

View File

@@ -11,4 +11,4 @@ EGL_DRIVER_PIPES = \
$(TOP)/src/gallium/drivers/trace/libtrace.a \ $(TOP)/src/gallium/drivers/trace/libtrace.a \
$(TOP)/src/gallium/drivers/svga/libsvga.a $(TOP)/src/gallium/drivers/svga/libsvga.a
include ../../Makefile.egl_g3d include ../../Makefile.egl