Search results

  1. N

    How Check Sd Inserted Or Not

    3 ways from the top of my head: 1) stat the /mnt/sd and /mnt if both have the same device id, the sdcard is not mounted 2) open /proc/mounts and if you find any mention of sd there, it's mounted 3) open a pipe to the mount command and parse the output, if you see any mention of sd there, it's...
  2. N

    GP2X Opengl For The Gp2x

    I haven't profiled on the GP2X, but given the fact that I can see a *very* visible speedup when I disable lighting, it doesn't take much to realize gl_shade is the bottleneck there (due to floating point stuff :) I have a few ideas on how to go about doing all the lighting in fixed point, I'll...
  3. N

    GP2X Opengl For The Gp2x

    Why not... I haven't had the time to investigate how the second gp2x processor can be used. If you want to give it a try, drop me an email (nuclear@siggraph.org) so that we can figure the best way to do this without breaking the library for other platforms. Also I'm generally on #gp2xdev on...
  4. N

    GP2X Opengl For The Gp2x

    Not necessary, just link the static lib with your program directly, i.e. if you were to run the compiler directly for linking something like "gcc -o foo foo.o bar.o libgl_gp2x.a -lm" should do fine.
  5. N

    GP2X Opengl For The Gp2x

    These are all very good ideas for consideration, I have only thought about the last one. The rasterizer is quite fast, as far as general purpose polygon fillers which also perform various per-pixel tests go :) and optimizing it further is not my first priority right now for two reasons: 1) It's...
  6. N

    GP2X Opengl For The Gp2x

    I realize that the name OpenGL is trademarked by SGI, and thus it's "usage" controlled. So I ensure you that if Silicon Graphics has nothing better to do in its current state (bunkrapcy), than to pay lawyers to hunt down OpenGL implementations to make them call their ducks, monkeys, due to...
  7. N

    GP2X Opengl For The Gp2x

    You don't even have to ask my permission, you are free to do whatever you like within the bounds of the GNU GPL, meaning (in this case) that you can redistribute all you like provided you also redistribute the code, or give some sort of indication on where the code can be found. However let me...
  8. N

    GP2X Opengl For The Gp2x

    In the libfixgl source there is an example program, but it's a bit extreme, it displays a model with 10 thousand polygons, with lighting and everything, which is very slow on the gp2x at the moment. (it also switches to a simple cube with a spacebar, which works if you run it through STerm, and...
  9. N

    GP2X Opengl For The Gp2x

    Hello, this is my first message in this forum, good to meet you all. I just wanted to announce, that I started a project recently for creating a fixed point OpenGL implementation, for the gp2x (which of course could also be used on other fpu-less platforms). I just finished a first working...
Back
Top