GLdc: an OpenGL implementation for the SEGA Dreamcast
Go to file
Luke Benstead da97483eee Switch to using 4-byte colours internally rather than floats
These are stored in BGRA format so they can be directly cast to a uint32_t to get the
correct format for the argb param in pvr_vertex_t (yay endianess)

This results in a performance improvement as it reduces the data requirements.
2018-08-20 09:28:30 +01:00
containers Add a basic profiler and optimise some code 2018-08-16 17:51:15 +01:00
GL Switch to using 4-byte colours internally rather than floats 2018-08-20 09:28:30 +01:00
include Start implementing a multitexture example 2018-08-17 07:09:53 +01:00
samples Start implementing a multitexture example 2018-08-17 07:09:53 +01:00
.gitattributes Ignore the noise... Just testing something. 2014-08-30 13:33:02 -04:00
.gitignore Update gitignore 2018-06-26 08:32:52 +01:00
LICENSE Create LICENSE 2018-05-20 19:51:36 +01:00
Makefile Add a basic profiler and optimise some code 2018-08-16 17:51:15 +01:00
README.md Update README.md 2018-08-09 09:40:26 +01:00

GLdc

This is a partial implementation of OpenGL 1.2 for the SEGA Dreamcast for use with the KallistiOS SDK.

It began as a fork of libGL by Josh Pearson but has undergone a large refactor which is essentially a rewrite.

The aim is to implement as much of OpenGL 1.2 as possible, and to add additional features via extensions.

Things left to (re)implement:

  • Spotlights (Trivial)
  • Framebuffer extension (Trivial)
  • Texture Matrix (Trivial)

Things I'd like to do:

  • Use a clean "gl.h"
  • Define an extension for modifier volumes
  • Support GL_ALPHA_TEST using punch-thru polys
  • Add support for point sprites
  • Optimise, add unit tests for correctness