Thomas Hellström
682393944c
Fix an infinite loop error that may occur when many contexts are bound
...
to the same drawable in a multithreading environment. This one slipped out
of the texman merge.
2006-12-01 12:41:43 +00:00
Claudio Ciccani
40dc5902d3
Fixed compilation errors/warnings.
...
Duplicate destination surface to avoid saving/restoring the rendering state during each Clear.
2006-12-01 11:42:58 +00:00
Sean D'Epagnier
10cbd089ae
the following improvements to linux-fbdev:
...
1. updated makefiles to build libOSMesa as well as libGL
these are improvements to fbdev-glut
1. mouse cursor will timeout and be invisible if not being used
2. do not restore colormaps to truecolor targets, this causes problems at
exit on my g450
3. fixed a crash when cleaning up from failure by munmaping what had not
yet been mmaped
4. Resize event handling is improved, the resize function is not invoked
from a signal handler now.
5. The main loop can detect if it is running very fast (greater than 2khz)
6. keyboard up and special up events are generated from stdin input mode
and if it is also not redrawing, it sleeps
7. corrections in escape sequences for function keys for stdin input
2006-11-30 03:25:28 +00:00
Roland Scheidegger
21cf414489
fix mixed conventional / generic vertex arrays which caused a wrong array order leading to very bogus rendering (for instance WoW intro screen mentioned in #8250 ).
2006-11-30 00:52:54 +00:00
Roland Scheidegger
e731d8aafa
check for target instead of program->Target in _tnl_program_string, avoids segfault if program is NULL
2006-11-29 22:16:16 +00:00
Roland Scheidegger
ac8620f375
fix a bug in the sanity code when outputting vertex progs
2006-11-29 19:18:50 +00:00
Roland Scheidegger
5785e328e0
call Driver.ProgramStringNotify if a ati_fragment_shader changes and pick up the change in the r200 driver accordingly.
2006-11-29 16:41:28 +00:00
Eric Anholt
3cd06cf8c5
Add accelerated CopyPixels for non-overlapping, 1:1 blits.
...
Submitted by Gary Wong <gtw@gnu.org>
2006-11-29 01:16:12 +00:00
Brian Paul
716091a6a0
indent, comments, etc
2006-11-28 15:46:50 +00:00
Dave Airlie
c058f69daa
add support to miniglx for updating drawables ..
...
requires hacks to DRM to remove MASTER from UPDATE_DRAW and ADD_DRAW
2006-11-28 04:50:54 +00:00
Dave Airlie
4a6f47c23b
Update miniglx support for new memory manager
2006-11-28 04:50:07 +00:00
Brian Paul
d9a8cc430d
comments
2006-11-27 17:48:59 +00:00
Brian Paul
c0815bc01f
remove assertions to match i915tex code (bug 8726)
2006-11-27 17:40:07 +00:00
Brian Paul
744c3a367b
get rid of meaningless XFree86LOADER test (bug 9144)
2006-11-27 16:50:10 +00:00
Brian Paul
3e6ef125f0
replace check for XFree86LOADER and IN_MODULE with XFree86Server (bug 9144)
2006-11-27 16:33:43 +00:00
Ben Skeggs
98818f159b
- Add InitInstruction to hw shader backend, and remove SetUnusedSource.
...
- NV30FP/NV40VP: Clear any fields before we OR new values into them
- NV40VP: It seems that it might be possible to write a result reg at the
same time a temp is written. In InitInstruction, initialise OUT_DEST to
OUT_DEST_TEMP so result regs don't get clobbered by default.
2006-11-27 01:57:37 +00:00
Ben Skeggs
2f411b0a8b
Fix RSQ emulation
2006-11-26 13:18:41 +00:00
Ben Skeggs
6ff3d2577e
Fix progs/fp/tri-xpd
...
Fragprog consts are inlined, so make sure we update *all* occurances of a
param :)
2006-11-26 10:19:44 +00:00
Tilman Sauerbeck
85365e6aa4
Bug #6044 : actually delete the texture object in mgaDeleteTexture
2006-11-26 09:39:21 +00:00
Ben Skeggs
9c9e6abbf8
Incomplete shader stuff, should mostly work for NV40. Other cards, not so
...
much..
2006-11-25 09:58:35 +00:00
Ben Skeggs
902b26a0d6
fix scissor
2006-11-25 06:02:10 +00:00
Patrice Mandin
2911551727
nv10,nv20,nv30: send correct values for spot light direction X,Y,Z and
...
cutoff parameter C
2006-11-24 23:34:03 +00:00
Patrice Mandin
78e5f414cb
nv10: rename spot light coefs like nv20,nv30
2006-11-24 23:23:18 +00:00
Brian Paul
16e7ca9d72
call slang_variable_construct() inside slang_variable_scope_grow()
2006-11-24 19:21:42 +00:00
Brian Paul
e49d06e619
new slang_variable_scope_grow() function
2006-11-24 19:01:14 +00:00
Brian Paul
d4c4bdfa1e
const correctness, clean-ups
2006-11-23 16:56:55 +00:00
Brian Paul
f6ed86a1a5
indent
2006-11-23 16:52:18 +00:00
Brian Paul
308b85f29f
fix several program-related bugs (bug 9136)
2006-11-23 15:58:30 +00:00
Keith Whitwell
897b9c5cb2
Haihao Xiang's edgeflag patch.
2006-11-23 10:13:22 +00:00
Keith Whitwell
c4649208f0
Haihao Xiang's pointsize initialization patch.
2006-11-23 10:12:05 +00:00
Stephane Marchesin
0faf23c26a
That was really stupid.
2006-11-23 09:21:44 +00:00
Dave Airlie
50b3f5654e
realign some of the i830 code from the i915
2006-11-23 01:12:41 +00:00
Brian Paul
17e97ea869
fix typo
2006-11-23 00:44:14 +00:00
Brian Paul
ba02b07c75
fix indirect glMap* bugs
2006-11-23 00:43:23 +00:00
Brian Paul
14c427573e
s/ource/source/
2006-11-23 00:42:25 +00:00
Brian Paul
d426c13e46
move comments
2006-11-23 00:41:44 +00:00
Brian Paul
dfc98c0bec
indent
2006-11-23 00:38:50 +00:00
Dave Airlie
d98e1f3761
fixup draw/depth region handling in i830 along lines of i915
2006-11-23 00:09:16 +00:00
Brian Paul
6ab6518735
clean-up, comments
2006-11-23 00:09:00 +00:00
Brian Paul
0cb0a04eca
indent
2006-11-22 23:58:47 +00:00
Roland Scheidegger
46e454863e
decrease the current vertex count by 1 if an uneven number of vertices is copied by _tnl_copy_vertices. Otherwise, since in this case it will copy an extra vertex to avoid problems with vertex order in the new buffer, one triangle will be drawn twice. This fixes bug #9062 .
2006-11-22 22:07:35 +00:00
Brian Paul
40c7cb7e17
const correctness
2006-11-22 21:59:28 +00:00
Brian Paul
98ea0a3f1f
new comments
2006-11-22 21:49:14 +00:00
Brian Paul
f9f4625367
clean-up, comments
2006-11-22 21:34:47 +00:00
Brian Paul
958a8af3b0
reindent
2006-11-22 21:34:30 +00:00
Brian Paul
982ceb6773
fix comments
2006-11-22 21:33:44 +00:00
Ben Skeggs
7398748add
Some missing state init
2006-11-22 20:15:56 +00:00
Roland Scheidegger
22b74ff2b7
fix the gl version test
2006-11-22 19:37:21 +00:00
Ian Romanick
b0d8b13777
Add tdfx updates to release notes.
2006-11-22 19:05:20 +00:00
Roland Scheidegger
7f9afedeb5
remove unneded call to _tnl_invalidate_state() in _tnl_need_projected_coords(). Connected to bug #9103 , though that bug got fixed without this change too.
2006-11-22 17:54:31 +00:00