Bill Currie
0bfac8dd88
win32 compile fixes
...
This is an imperfect revision of history.
2004-11-06 02:21:00 +00:00
Bill Currie
cefc6df98c
grievre's patch to trade (minor) frame rate for frame (non-)latency
2004-07-10 02:32:30 +00:00
Bill Currie
f2d7d97319
Grievre's fix for his weirdness when toggling fullscren. Thanks Grievre
2004-05-10 01:17:55 +00:00
Bill Currie
4f71b39827
it seems glGetProcAddressARB is obsolete so check for glGetProcAddress first
2004-05-06 07:13:18 +00:00
Bill Currie
fc4211c257
the rest of Grievre's lighting tweaks
2004-05-02 21:21:00 +00:00
Bill Currie
1c0735d0c9
* taniwha mutters about end-runs (sorry, Grievre)
2004-04-28 04:07:50 +00:00
Bill Currie
785307fd9a
Grievre's lighting tweeks
2004-04-27 22:18:23 +00:00
Bill Currie
dd989c18ff
fix a braino
2004-04-16 04:21:16 +00:00
Bill Currie
45c304ffc0
add a -novideo option to allow for headless operation
2004-04-13 02:13:35 +00:00
Bill Currie
969cf7ac66
make sure the mouse input updates properly when going from fullscreen to
...
windowed
2004-03-22 03:23:59 +00:00
Bill Currie
23e8ef1dd8
do the viewport forcing in configure_notify. fixes Grievre's uncentered
...
viewport
2004-03-22 02:16:41 +00:00
Bill Currie
4b33ba547a
don't know why the expose event was being waited for. doesn't seem to be
...
needed (now, anyway) when going windowed and causes lockup when starting
fullscreen
2004-03-21 20:21:57 +00:00
Bill Currie
7feaa3d631
Want for the mouse to move when going fullscreen before moving the
...
viewport. This should fix the uncetnered viewport when going fullscreen.
Also discard mouse events caused by fullscreen toggling to avoid chaning
orientation.
2004-03-21 05:21:27 +00:00
Bill Currie
0b808b0c49
so that's why you would want to use XMaskEvent... don't lose the FocusIn
...
and EnterNotify events when starting fullscreened
2004-03-21 00:34:24 +00:00
Bill Currie
60ca9854aa
dead code removal
2004-03-19 21:12:12 +00:00
Bill Currie
78fd6d2513
minor cleanup of window position handling. hopefully no more window off
...
screen issues (wait for ConfigureNotify instead of MapNotify on window
creation (ConfigureNotify gives us our window position)).
2004-03-19 20:24:26 +00:00
Bill Currie
9099baeb6d
minor cleanups preparing for an overhaul
2004-03-18 06:05:59 +00:00
Bill Currie
e24cbd75e0
M_BUTTON6 and M_BUTTON7. nuff said :)
2004-03-16 04:12:28 +00:00
Ragnvald Maartmann-Moe IV
6c6047ccb8
Fix from Grievre.
2004-03-15 21:44:56 +00:00
Ragnvald Maartmann-Moe IV
29502c8f5a
Lots of optimizations, particularly for GL state changes, and tweak lighting a
...
bit more.
Also a cleanup from Grievre: Use VectorIsZero in two places in gl_mod_alias.c.
2004-03-15 21:32:19 +00:00
Ragnvald Maartmann-Moe IV
1fe06c326b
More of my experimental GL lighting tweaks.
2004-03-11 01:03:51 +00:00
Ragnvald Maartmann-Moe IV
9cd16b8dfd
Grievre's lighting patch, plus some of my own changes.
...
My changes:
Emit normals if truform is enabled.
Attempt to avoid 0,0,0 normals (makes lighting & tesselation unhappy).
Fix some (ancient) apparent bugs in GetAliasFrameVerts16().
Clamp minlight, instead of adding it.
Apply colormod as glColor, rather than adding it to emission, to prevent QSG2
issues with fullbrights.
Rearrange init code, and don't go quite as wild with responsiveness to lights.
Material & lightmode settings will need tweaking & testing to work well on all
cards. Feedback needed there.
2004-03-10 08:14:38 +00:00
Ragnvald Maartmann-Moe IV
b7df0b5278
Remove gl_doublebright, remove fractional overbrights, clean up init a bit,
...
uglify init a bit. Stuff for taniwha to look at. Nothing to see here, move
along.
2004-03-07 23:51:29 +00:00
Ragnvald Maartmann-Moe IV
58d67f9a75
Lighting init fixes.
2004-02-29 04:50:01 +00:00
Ragnvald Maartmann-Moe IV
fde6e5bf61
Reduce ifs a bit, clean up init a bit. Minor problem with gl_doublebright. LIH.
2004-02-29 01:49:41 +00:00
Ragnvald Maartmann-Moe IV
28fda91e8c
If (!var) checking for a cvar setup. Can't believe that one slipped by for so
...
long... Also set a few globals static.
2004-02-27 20:40:26 +00:00
Ragnvald Maartmann-Moe IV
44c89c1904
Optimize fullbright testing for brushes, assorted other cleanups, test for
...
functions built into current GL drivers, as well as the old extensions, and
add incorrectly rendering BGRA support.
Whee!
2004-02-24 20:50:55 +00:00
Ragnvald Maartmann-Moe IV
872498a1f0
Reorder a lot of code, removing tons of ifs. multitexture paths are a bit more
...
sane now. Also optimize QSG2 color handling, and fix some QSG2 bugs. Not that
anyone cares, nobody uses it anyways.
Should be faster, but isn't here. *grmbl*
2004-02-22 06:00:15 +00:00
Chris Ison
ca6112767c
Grievres' water HOM and mtex FB only rendering FB texture fix
2004-02-21 09:04:52 +00:00
Ragnvald Maartmann-Moe IV
5157f668ad
Fix a bunch of state leaks that made multitextured fullbrights smear the world.
...
Now just have one (known) issue with bmodels with fullbright textures not
rendering their base texture. Floating fullbrights are nifty!
Also a number of optimizations, which need wider performance testing.
2004-02-21 05:36:19 +00:00
Chris Ison
6642686e33
removal of legacy MGL block_drawing variable. Fixed window restore bug that prevented the screen from being updated.
2004-02-15 03:40:50 +00:00
Ragnvald Maartmann-Moe IV
fef9b30bd7
QF, now complete with underbrights, thanks to Grievre.
...
Play with gl_overbright and gl_doublebright. That's an order.
2004-02-15 00:02:04 +00:00
Bill Currie
64c156653f
should fix the seg on ^C early in the startup
2004-02-14 07:53:49 +00:00
Bill Currie
85a268c62f
Grievre's lightmap/fullbright multitexture patch (fbs not tested due to
...
lack of drivers supporting 3 tmus)
2004-02-14 05:10:29 +00:00
Ragnvald Maartmann-Moe IV
372b763704
Inconsequential changes.
2004-02-09 04:11:13 +00:00
Ragnvald Maartmann-Moe IV
654cc35482
Mysteriously uncommitted. Fixed.
2004-02-09 04:02:08 +00:00
Bill Currie
a45981bc6a
don't look up the gl functions until after the context has been setup, just
...
incase it affects which functions glGetProcAddress actually returns.
2004-02-06 00:58:35 +00:00
Ragnvald Maartmann-Moe IV
0e6681a069
Add QFGL_WANT, and ability to handle non-required extensions.
2004-01-28 02:49:57 +00:00
Ragnvald Maartmann-Moe IV
31aca31d17
Warn users if their system doesn't support GL_ATI_pn_triangles.
2004-01-26 03:58:19 +00:00
Ragnvald Maartmann-Moe IV
767b0c61db
Fix help for gl_tessellate cvar.
2004-01-26 00:40:31 +00:00
Ragnvald Maartmann-Moe IV
e1146a541c
TruForm support. Controlled by gl_tessellate
2004-01-26 00:13:47 +00:00
Bill Currie
283d49bd8e
first chunk of Mike Gorchak's <mike@malva.ua> QNX patches
2004-01-20 05:57:39 +00:00
Bill Currie
e154c9add5
be consistent with WIN32 and _WIN32 (now all _WIN32)
2004-01-20 03:47:27 +00:00
Bill Currie
e0567f75cc
it seems ATI's libGL needs to be loaded with global symbols in order to
...
work properly.
2004-01-09 23:37:04 +00:00
Bill Currie
acd54afff7
move to using a hash table for builtin number -> builtin lookup so sparse
...
ranges can be used efficiently. move the auto-allocated builtins to
0x10000000-0x7fffffff. should be more than enough :)
use static builtin tables ("nul" terminated) instead of a series of
function calls to add builtins to a vm. should be more memory efficient.
2004-01-06 05:51:09 +00:00
Ragnvald Maartmann-Moe IV
a87fc16d12
Whitespace.
2004-01-06 03:38:48 +00:00
Ragnvald Maartmann-Moe IV
067080296c
Futureproofing.
2004-01-06 03:38:16 +00:00
Bill Currie
e53967b346
--disable-static now works (thanks for the heads-up, raorn)
2003-12-22 20:51:08 +00:00
Bill Currie
069ee8657f
fix a typo that prevented the asm lib getting the correct flags
2003-12-22 19:59:33 +00:00
Bill Currie
3a8cfb050e
fix alpha blending in 2d mode when 3d has never been rendered
2003-09-05 06:48:03 +00:00