GLdc: an OpenGL implementation for the SEGA Dreamcast
Go to file
2018-05-16 21:50:05 +01:00
containers Replace the entire matrix stack handling to work towards fixing lighting 2018-05-16 21:00:41 +01:00
GL Implement normal matrix calculation 2018-05-16 21:30:11 +01:00
include Replace the entire matrix stack handling to work towards fixing lighting 2018-05-16 21:00:41 +01:00
kos Remove +x permissions bits... 2016-01-03 22:24:52 -05:00
.gitattributes Ignore the noise... Just testing something. 2014-08-30 13:33:02 -04:00
.gitignore Added gitignore 2012-07-17 16:47:56 -05:00
gl-api.c More immediate mode 2018-05-12 14:54:06 +01:00
gl-api.h Start reimplementing immediate mode and removing dead code 2018-05-12 14:39:20 +01:00
gl-cap.c Start reimplementing immediate mode and removing dead code 2018-05-12 14:39:20 +01:00
gl-clip-arrays.c Remove +x permissions bits... 2016-01-03 22:24:52 -05:00
gl-clip.c Remove +x permissions bits... 2016-01-03 22:24:52 -05:00
gl-clip.h Remove +x permissions bits... 2016-01-03 22:24:52 -05:00
gl-error.c Reimplement or refactor Texturing, State, and Drawing 2018-05-11 15:39:28 +01:00
gl-fog.c Remove +x permissions bits... 2016-01-03 22:24:52 -05:00
gl-framebuffer.c Simplify gl-error.c 2017-07-22 21:12:26 +01:00
gl-light.c Replace the entire matrix stack handling to work towards fixing lighting 2018-05-16 21:00:41 +01:00
gl-light.h Remove +x permissions bits... 2016-01-03 22:24:52 -05:00
gl-pvr.c Add glNormalX, remove more dead code 2018-05-12 21:20:26 +01:00
gl-pvr.h Reimplement or refactor Texturing, State, and Drawing 2018-05-11 15:39:28 +01:00
gl-rgb.c Remove +x permissions bits... 2016-01-03 22:24:52 -05:00
gl-rgb.h Remove +x permissions bits... 2016-01-03 22:24:52 -05:00
gl-sh4-light.S Remove +x permissions bits... 2016-01-03 22:24:52 -05:00
gl-sh4.h Remove +x permissions bits... 2016-01-03 22:24:52 -05:00
glu-texture.c Refactor glTexImage2D and associated enums 2018-05-01 09:07:09 +01:00
Makefile Remove some old code 2018-05-16 21:43:56 +01:00
README.md Add a readme 2018-05-16 21:50:05 +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:

  • Fog
  • Near-Z clipping
  • Spotlights and point lights
  • Framebuffer extension

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