Glenn Maynard
1182fa0390
pull in GL ourself
2004-06-14 05:54:01 +00:00
Glenn Maynard
6440ee4936
LowLevelWindow is responsible for setting g_X11Display
2004-06-14 05:48:28 +00:00
Glenn Maynard
b481fc465b
excessively large commit: use RageSurface
2004-06-14 00:51:00 +00:00
Glenn Maynard
1efd594730
byte swap update
2004-06-13 07:35:08 +00:00
Glenn Maynard
a6f0b840e9
Swap24BE
2004-06-13 07:10:26 +00:00
Glenn Maynard
349acbd121
don't log point/line info
2004-06-06 08:11:36 +00:00
Glenn Maynard
247aaeba4e
fix paletted textures (oops)
2004-06-01 01:22:39 +00:00
Glenn Maynard
6e7189306a
fix type name
2004-05-24 19:32:12 +00:00
Thad Ward
72e53bf1f0
fix vc6 compile error.
...
("Member function defined in unnamed class")
2004-05-24 08:18:11 +00:00
Glenn Maynard
b3125ac086
fix crashes due to X returning garbage when asked for an extension function
...
that doesn't exist
2004-05-24 03:56:08 +00:00
Glenn Maynard
0c9c336dc3
make GLExt a struct, so it can be zeroed as a unit, and so extension functions
...
don't take two lines to declare
2004-05-24 03:41:49 +00:00
Glenn Maynard
d5b79a4cd3
info.txt cleanups
2004-05-23 22:32:10 +00:00
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