Glenn Maynard
2b8374e61e
simplify screenshot flip; do it in-place
...
output 32-bit RGBX; 32-bit formats are generally preferable to 24-bit ones
2004-05-19 00:27:48 +00:00
Chris Danford
e9e0a2816f
add pref: TrilinearFiltering
2004-05-18 09:05:21 +00:00
Chris Danford
7ea35ebb25
add prefs: ForceMipMaps, AnisotropicFiltering
2004-05-18 08:43:21 +00:00
Glenn Maynard
70a90469e9
remove SDL_SRCCOLORKEY
2004-05-17 01:49:09 +00:00
Chris Danford
9ec4c6be91
add "draw on z fail" mode
2004-05-15 09:26:21 +00:00
Glenn Maynard
6398054e26
Remove 4-bit palette support. As far as I can tell, no hardware supports
...
it. (New ATI hardware apparently doesn't even support 8-bit palettes?!)
2004-05-15 08:18:37 +00:00
Glenn Maynard
943b3e693d
cleanup
2004-05-15 08:06:06 +00:00
Glenn Maynard
63fba23262
check GL_EXT_paletted_texture before bothering with other checks
2004-05-10 01:06:37 +00:00
Glenn Maynard
33a04b79de
beginning GPL->X11 license transition
...
The conventions I'm using are to put the entire copyright notice at the bottom
of each file, and to put the summary of the source file's use at the top of the
header.
Putting the license text in each file avoids confusion, and is normal practice
for many projects. Putting it at the bottom gets it out of the way; it's a
ton of clutter to put at the top.
The description is in the header. People who don't know what a class is for,
or how to use it, are probably looking at the header to see the interface,
not the implementation, so let's put the description in there. Keep it brief
(one line); any substantial implementation notes should go in the source file.
2004-05-06 00:42:06 +00:00
Chris Danford
3963ee8501
use same zbias in D3D as OpenGL
2004-04-25 18:52:27 +00:00
Chris Danford
7cd77dc83a
fix "glow pass on models doesn't obey glow alpha"
2004-04-24 10:18:15 +00:00
Glenn Maynard
eb3815e26e
fix stale colors
2004-04-21 05:30:23 +00:00
Chris Danford
3df5082068
send normals if texture gen is on
2004-04-17 20:07:39 +00:00
Chris Danford
9591bb93e3
send normals if texture gen is on
2004-04-17 18:11:03 +00:00
Glenn Maynard
63735fe781
fix crash on empty model due to meshInfo.iVertexStart+meshInfo.iVertexCount-1 < meshInfo.iVertexStart
2004-04-16 22:10:25 +00:00
Glenn Maynard
29af57002c
fix crash after context invalidation in Windows
...
fix AssertNoGLError
2004-04-16 21:34:58 +00:00
Chris Danford
28d7037126
oops
2004-04-16 18:39:34 +00:00
Chris Danford
1a182e8f4e
don't setup normals if lighting is off
2004-04-16 18:38:43 +00:00
Chris Danford
fa6d4c9d30
eliminate unnecessary VBO changes
2004-04-16 05:31:08 +00:00
Chris Danford
6043db8dd1
use glDrawRangeElements. I think we can assume it will be present if hardware VBOs are available.
2004-04-16 05:19:02 +00:00
Chris Danford
7de8269a67
pack all geometry for a Model into one set of vertex buffers
2004-04-16 05:09:02 +00:00
Glenn Maynard
83ad8b4d88
fix crash when line AA is disabled
2004-04-16 05:06:31 +00:00
Chris Danford
3dc41e5d94
move rendundant renderer code to be shared by all
2004-04-15 05:24:28 +00:00
Chris Danford
feb14c6b84
draw hardware buffers with glDrawRangeElements
2004-04-15 05:02:35 +00:00
Chris Danford
c93ac846dd
fix wrong buffer type
2004-04-15 04:31:21 +00:00
Glenn Maynard
8c8e449922
add DrawQuadStrip
2004-04-13 07:28:25 +00:00
Chris Danford
ee89943d7f
enable hardware vertex buffers - for real this time
2004-04-12 03:50:15 +00:00
Chris Danford
62a05271de
fix GCC errors/warnings
2004-04-12 03:22:58 +00:00
Chris Danford
3597e45bbc
add hardware vertex buffers for OpenGL renderer
2004-04-12 03:07:44 +00:00
Glenn Maynard
e540237288
fix crashes due to there being two RageModelVertexArraySW classes
2004-04-09 04:28:37 +00:00
Chris Danford
ef998e5e84
move vertex buffers into a separate object in perparation for HW vertex buffers
2004-04-08 08:35:38 +00:00
Steve Checkoway
20a8bab45c
Clean up includes.
2004-04-05 05:22:32 +00:00
Glenn Maynard
7a889e57ba
improve CheckPalettedTextures output
2004-04-03 21:33:10 +00:00
Glenn Maynard
a452258343
refuse to use OpenGL if GLDirect is in use; it's buggy
2004-04-03 00:09:16 +00:00
Glenn Maynard
62691b8d6f
different approach to disabling X screensavers
2004-03-15 02:29:53 +00:00
Glenn Maynard
0a0f43e3bb
cleanup
2004-03-13 07:38:46 +00:00
Glenn Maynard
7ea70ab1b3
fix errors due to weird goto init rules
2004-03-13 07:33:40 +00:00
Glenn Maynard
c39201efcd
improve CheckPalettedTextures output
2004-03-13 06:42:07 +00:00
Glenn Maynard
6601aacc68
log X server version
2004-03-06 02:47:31 +00:00
Glenn Maynard
5338e568c6
Don't log all OpenGL modes; it's noisy and hasn't been useful in a long time.
2004-02-27 09:57:53 +00:00
Glenn Maynard
6c7f3fb898
(one of these days I'll learn not to commit at 3am)
2004-02-17 08:47:27 +00:00
Glenn Maynard
92573c600e
use PREFSMAN->m_bDisableScreenSaver (X11)
2004-02-17 07:17:54 +00:00
Chris Danford
871a1a9c63
add JPEG screenshots
2004-02-12 06:49:13 +00:00
Chris Danford
3ca8601390
add front face culling
2004-02-04 11:05:33 +00:00
Chris Danford
9502f1c262
draw models with 2 textures with multitexture instead of 2 passes. D3D multitexture not tested yet
2004-02-04 09:55:18 +00:00
Glenn Maynard
5d8b2032ee
quiet warning
2004-01-24 22:46:06 +00:00
Chris Danford
b3447701b2
fix paletted textures
2004-01-24 22:18:12 +00:00
Chris Danford
6194103b89
cleanup
2004-01-24 19:35:53 +00:00
Chris Danford
0855f7b4a8
work around "mipmap generation for RBGA4 textures fails"
2004-01-24 19:14:22 +00:00
Chris Danford
b3ff1ef883
re-add mipmapping, support it in OpenGL (D3D unimplemented)
2004-01-23 06:20:28 +00:00