[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash configure.ac
From: |
Rob Savoye |
Subject: |
[Gnash-commit] gnash configure.ac |
Date: |
Fri, 23 Feb 2007 16:18:41 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Rob Savoye <rsavoye> 07/02/23 16:18:41
Modified files:
. : configure.ac
Log message:
Add rgba32 pixelformat.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.265&r2=1.266
Patches:
Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.265
retrieving revision 1.266
diff -u -b -r1.265 -r1.266
--- configure.ac 23 Feb 2007 16:13:28 -0000 1.265
+++ configure.ac 23 Feb 2007 16:18:41 -0000 1.266
@@ -15,7 +15,7 @@
dnl Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
dnl
-dnl $Id: configure.ac,v 1.265 2007/02/23 16:13:28 rsavoye Exp $
+dnl $Id: configure.ac,v 1.266 2007/02/23 16:18:41 rsavoye Exp $
AC_PREREQ(2.50)
AC_INIT(gnash, cvs)
@@ -194,7 +194,9 @@
fi
AM_CONDITIONAL(USE_RENDERER_AGG, test x$renderer = xagg)
-
+dnl 16 bit: RGB555, RGB565
+dnl 24 bit: RGB24, BGR24
+dnl 32 bit: RGBA32, BGRA32
pixelformat=all
AC_ARG_WITH(
pixelformat,
@@ -206,6 +208,9 @@
while test -n "${withval}" ; do
val=`echo ${withval} | cut -d ' ' -f 1`
[case "${val}" in
+ rgba32|RGBA32)
+ AC_DEFINE(PIXELFORMAT_RGBA32, [1], [RGBA32])
+ ;;
bgra32|BGRA32)
AC_DEFINE(PIXELFORMAT_BGR32, [1], [BGRA32])
;;
@@ -222,7 +227,7 @@
AC_DEFINE(PIXELFORMAT_RGB565, [1], [RGB565])
;;
*) AC_MSG_ERROR([invalid pixel format ${withval} given (accept: RGB555|RG
-B565|RGB24|BGR24|BGRA32)])
+B565|RGB24|BGR24|BGRA32|RGBA32)])
;;
esac]
withval=`echo ${withval} | cut -d ' ' -f 2-6`
[Gnash-commit] gnash configure.ac, Rob Savoye, 2007/02/23
[Gnash-commit] gnash configure.ac,
Rob Savoye <=