]> git.tdb.fi Git - libs/gl.git/commit
Add vertex arrays and buffers
authorMikko Rasa <tdb@tdb.fi>
Tue, 12 Jun 2007 12:06:12 +0000 (12:06 +0000)
committerMikko Rasa <tdb@tdb.fi>
Tue, 12 Jun 2007 12:06:12 +0000 (12:06 +0000)
commit84bc56b96c21c831104a22e0cbd0f3b72ab5d8c3
tree10849859f48ccc6345edc62844ec50f5e5b55505
parent7adcad3b40a03000a82e32db4523761c218309b8
Add vertex arrays and buffers
Add (some) matrix operations
Add transform operations
Texture changes:
- Throw if trying to bind a texture without a target
- Track textures per-unit
- Move the dimension getting functions from the base class to dimensioned textures
Font changes:
- Change descent of glyphs to x and y offsets
- Add wstring versions of get_string_width and draw_string
- Use a vertex array to store glyph vertices
- Add a default size for fonts
19 files changed:
source/error.h [new file with mode: 0644]
source/font.cpp
source/font.h
source/matrix.cpp [new file with mode: 0644]
source/matrix.h [new file with mode: 0644]
source/select.cpp
source/texenv.h
source/texture.cpp
source/texture.h
source/texture2d.cpp
source/texture2d.h
source/texunit.cpp [new file with mode: 0644]
source/texunit.h [new file with mode: 0644]
source/transform.cpp [new file with mode: 0644]
source/transform.h [new file with mode: 0644]
source/vertexarray.cpp [new file with mode: 0644]
source/vertexarray.h [new file with mode: 0644]
source/vertexbuffer.cpp [new file with mode: 0644]
source/vertexbuffer.h [new file with mode: 0644]