[q-lang-cvs] q ChangeLog,1.6,1.7 config.h.in,1.3,1.4 configure.in,1.4,1.5
Brought to you by:
agraef
From: <ag...@us...> - 2003-12-23 01:15:06
|
Update of /cvsroot/q-lang/q In directory sc8-pr-cvs1:/tmp/cvs-serv23691 Modified Files: ChangeLog config.h.in configure.in Log Message: major overhaul of GGI interface; see ChangeLog for details Index: ChangeLog =================================================================== RCS file: /cvsroot/q-lang/q/ChangeLog,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ChangeLog 20 Dec 2003 22:17:50 -0000 1.6 --- ChangeLog 23 Dec 2003 01:15:01 -0000 1.7 *************** *** 1,2 **** --- 1,30 ---- + 2003-12-22 Albert Graef <Dr....@t-...> + + * ggi: yet another major overhaul of the ggi module + + Support for the GGI buffer extension has been dropped for now, as + the current libggibuf from cvs really isn't ready for prime time + yet. Support for simple alpha blending is now provided through our + own code, but no z buffers yet. The API has been simplified + accordingly, and has been dubbed "stable" now. + + Note that there a few incompatibilities between the new API and + the one from the Q 4.5 release, namely that ggi_fill_screen has + been replaced by ggi_clear (which now fills the screen with the + background instead of the foreground color), and that + ggi_get_char_size has been replaced by the more general + ggi_get_string_size (which takes a string to be measured as the + second argument, and also works for FreeType-managed fonts). + + TODO: 1. Optimizations. 2. Alpha blending for text rendered in the + builtin font -- probably not worth the effort, so please don't ask + for it. ;-) + + 2003-12-21 Albert Graef <Dr....@t-...> + + * ggi_demo.q: replaced ggi_get_char_size with ggi_get_string_size + + * ggi.c: more bug fixes in text renderer + 2003-12-20 Albert Graef <Dr....@t-...> Index: config.h.in =================================================================== RCS file: /cvsroot/q-lang/q/config.h.in,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** config.h.in 19 Dec 2003 21:31:34 -0000 1.3 --- config.h.in 23 Dec 2003 01:15:01 -0000 1.4 *************** *** 210,216 **** #undef HAVE_GETUID - /* Define if you have the `ggiBufInit' function. */ - #undef HAVE_GGIBUFINIT - /* Define if you have the `grantpt' function. */ #undef HAVE_GRANTPT --- 210,213 ---- Index: configure.in =================================================================== RCS file: /cvsroot/q-lang/q/configure.in,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** configure.in 19 Dec 2003 21:31:34 -0000 1.4 --- configure.in 23 Dec 2003 01:15:01 -0000 1.5 *************** *** 233,257 **** AC_SUBST(GGI_MODULE) - GGI_LIBBUF="yes" - AC_ARG_WITH(ggibuf, - [ --with-ggibuf[[=LIBS]] use the GGI buffer extension (alpha/z buffer support)], - [case "${withval}" in - no) GGI_LIBBUF="" ;; - *) GGI_LIBBUF="${withval}" ;; - esac]) - if test "${GGI_LIBS}" = ""; then - GGI_LIBBUF="" - fi - if test "${GGI_LIBBUF}" = "yes"; then - GGI_LIBBUF="" - AC_CHECK_LIB(ggibuf, ggiBufInit, [ GGI_LIBBUF="-lggibuf -lggigalloc" ]) - if test "${GGI_LIBBUF}" = ""; then - AC_MSG_WARN([could not find the GGI buffer extension, building without buffer support]) - else - AC_MSG_RESULT([defining GGI_LIBBUF to be ${GGI_LIBBUF}]) - fi - fi - AC_SUBST(GGI_LIBBUF) - GGI_INCLUDES="" AC_ARG_WITH(ggi-includes, --- 233,236 ---- *************** *** 585,592 **** AC_CHECK_FUNCS(pthread_atfork) LIBS=$OLDLIBS - dnl ggi buffer support - LIBS="$LIBS ${GGI_LIBBUF}" - AC_CHECK_FUNCS(ggiBufInit) - LIBS=$OLDLIBS dnl freetype2 support LIBS="$LIBS ${FT2_LIBS}" --- 564,567 ---- *************** *** 701,705 **** fi if test "${GGI_LIBS}" != ""; then ! AC_MSG_RESULT([ GGI: libraries: ${GGI_LIBS} ${GGI_LIBBUF}]) AC_MSG_RESULT([ includes : ${GGI_INCLUDES}]) else --- 676,680 ---- fi if test "${GGI_LIBS}" != ""; then ! AC_MSG_RESULT([ GGI: libraries: ${GGI_LIBS}]) AC_MSG_RESULT([ includes : ${GGI_INCLUDES}]) else |