paragui-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paragui-cvs] CVS: paragui TODO,1.1.1.1,1.1.1.1.2.1 configure.in,1.8,1.8


From: Teunis Peters <address@hidden>
Subject: [paragui-cvs] CVS: paragui TODO,1.1.1.1,1.1.1.1.2.1 configure.in,1.8,1.8.2.1
Date: Tue, 18 Jun 2002 18:40:40 -0400

Update of /cvsroot/paragui/paragui
In directory subversions:/tmp/cvs-serv27818

Modified Files:
      Tag: devel-opengl
        TODO configure.in 
Log Message:
Initial checkin of code by Teunis Peters
Added abstraction layer for display support.
Initial OpenGL testing mode - use SDL_GLSDL to activate
A lot of test code is still present - FIXME
Some demos do not operate at all.  Some work barely.
only animation works flawlessly at this time.


Index: TODO
===================================================================
RCS file: /cvsroot/paragui/paragui/TODO,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -r1.1.1.1 -r1.1.1.1.2.1
*** TODO        15 Apr 2002 13:22:10 -0000      1.1.1.1
--- TODO        18 Jun 2002 22:40:38 -0000      1.1.1.1.2.1
***************
*** 1,4 ****
--- 1,29 ----
  Update me :))
  
+ Teunis Peters
+        ! remember that when you have seperate binary tree that the data is
+                NOT copied over (*.xml and *.bmp from test)
+        ! all my debug code still present
+        - rewritten display management for modularity
+        - now dependant on glSDL (provided with source as LGPL allows :)
+        OpenGL preparation issues:
+               src/draw/: - remove SDL dependancies
+                               stretch
+               weird font probs in:  (more precisely, animation works :)
+                     (fonts show up as '0' only)
+                     dropdown, layouttest, dblbuffer, listbox, navtest,
+                     tabbar, windowresize
+                     the first display in windowtest has no font (all '0')
+                     but the second works.
+               identify crashes in:
+                       windowtest - depth != 0 in SDL_CreateRGBSurface DONE
+                       paratest - crashes on startup.
+                       dblbuffer
+                          (no display, no mouse cursor; note that SDL_Flip() 
sorta works)
+       OpenGL issues:
+              OpenGL not yet active (SDL_GLSDL in flags to activate)
+              display does not refresh properly
+              most widgets aren't displayed.
+              remove glSDL and make work directly with OpenGL
  
  ROADMAP:

Index: configure.in
===================================================================
RCS file: /cvsroot/paragui/paragui/configure.in,v
retrieving revision 1.8
retrieving revision 1.8.2.1
diff -C2 -r1.8 -r1.8.2.1
*** configure.in        6 May 2002 10:40:49 -0000       1.8
--- configure.in        18 Jun 2002 22:40:38 -0000      1.8.2.1
***************
*** 425,428 ****
--- 425,451 ----
  AC_DEFINE_UNQUOTED(PARAGUI_THEMEDIR, "$PARAGUI_THEMEDIR")
  
+ dnl Check to see if OpenGL support is desired
+ AC_ARG_ENABLE(opengl,[  --enable-opengl   include OpenGL support 
[default=yes]],
+               , enable_opengl=yes)
+ if test x$enable_opengl = xyes; then
+    AC_MSG_CHECKING(for OpenGL (GLX) support)
+    vidopengl=no
+    AC_TRY_COMPILE([
+     #include <GL/gl.h>
+     #include <GL/glx.h>
+     #include <dlfcn.h> /* For loading extensions */
+    ],[
+    ],[
+    vidopengl=yes
+    ])
+    AC_MSG_RESULT($vidopengl)
+    if test x$vidopengl = xyes; then
+        CFLAGS="$CFLAGS -DHAVE_OPENGL"
+        SDL_CFLAGS="$SDL_CFLAGS -DHAVE_OPENGL"
+        if test x$use_dlopen != xyes; then
+           AC_CHECK_LIB(dl, dlopen, SYSTEM_LIBS="$SYSTEM_LIBS -ldl")
+        fi
+    fi
+ fi
  
  dnl Check for SDL_image
***************
*** 480,487 ****
  AC_CHECK_FUNCS(strsep)
  
! SIGC_CFLAGS="-I$prefix/include/sigc++-1.2 -I$prefix/lib/sigc++-1.2/include"
  AC_SUBST(SIGC_CFLAGS)
  
! SIGC_LIBS="-lsigc-1.1"
  AC_SUBST(SIGC_LIBS)
  
--- 503,512 ----
  AC_CHECK_FUNCS(strsep)
  
! SIGC_CFLAGS=`pkg-config sigc++-1.2 --cflags`
! dnl SIGC_CFLAGS="-I$prefix/include/sigc++-1.2 
-I$prefix/lib/sigc++-1.2/include"
  AC_SUBST(SIGC_CFLAGS)
  
! SIGC_LIBS=`pkg-config sigc++-1.2 --libs`
! dnl SIGC_LIBS="-lsigc-1.1"
  AC_SUBST(SIGC_LIBS)
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]