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
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
Brian Paul
9540c9c04f
GLX protocol fixes for glMap* functions (bug 8899)
2006-11-22 16:01:48 +00:00
Keith Whitwell
96c0a6de25
Prune incoming state to the atoms of interest. Hopefully this will
...
prevent driver-initiated statechanges in the middle of
DrawElements/DrawArrays from disturbing this code.
2006-11-22 15:27:58 +00:00
Keith Whitwell
b72fbcbe63
Another fix
2006-11-22 13:53:21 +00:00
Keith Whitwell
96228d952d
Set _NEW_LIGHT when materials are present in display lists also.
2006-11-22 09:35:19 +00:00
Keith Whitwell
c8238aa0ff
Move setting of _NEW_LIGHT to only occur when materials are present.
2006-11-22 09:34:55 +00:00
Roland Scheidegger
49a3ea8110
fix segfault with ATI_fs when trying to use a not enabled texture unit (bug #9110 ).
2006-11-21 23:37:21 +00:00
Brian Paul
8f008056b2
list header files in sources files (Dan Nicholson)
2006-11-21 16:04:22 +00:00
Keith Whitwell
f332da515c
blend, logicop changes for intelEmitCopyBlit backported to i915
2006-11-21 14:43:30 +00:00
Keith Whitwell
b1c102d37b
More fixes, glean seems to run now.
2006-11-21 13:22:34 +00:00
Alan Hourihane
33d2835182
Don't define as const's to avoid compiler optimization & warning.
2006-11-21 10:59:31 +00:00
Keith Whitwell
64920ed10a
Fix more typos.
2006-11-21 10:50:01 +00:00
Keith Whitwell
46c04525d2
Gary Wong's patches for CopyPixels Logiop (enable) and Blend
...
(disallow). Slightly cleaned to disallow on all blend states for code
consiseness and turn a table lookup into a function to match other
code in the driver.
2006-11-21 10:43:16 +00:00
Keith Whitwell
f58ec215c5
Gary Wong's fix for 64 bit cleanness of vertex program inputs bitmask.
2006-11-21 10:16:37 +00:00
Keith Whitwell
d6f89107ba
Commit Gary Wong & Keith Packard's changes for bug 8867 -- adjust code
...
after repositioning of INDEX value in BRW_ATTRIB enum.
2006-11-21 10:11:02 +00:00
Sean D'Epagnier
0570fcfd93
Added correct include files to files,
...
No longer modify cmap if the device is truecolor (messes up dual monitors
with vt switching)
2006-11-21 09:35:49 +00:00
Sean D'Epagnier
0337e5635f
glTexCoord3dv was not using third coordinate
2006-11-21 08:48:44 +00:00
Rune Petersen
25e495d605
Disable fragment program debug messages.
2006-11-20 19:57:10 +00:00
Brian Paul
b24320bb30
added new 'sources' file to tarball (might not get used though)
2006-11-20 17:09:04 +00:00
Keith Whitwell
479aca6bf1
Fix typos that meant vbos were never unmapped
2006-11-20 15:15:24 +00:00
Brian Paul
7cc5522f86
fix glPopAttrib/color material bug #9091
2006-11-20 15:14:35 +00:00
Jouk Jansen
d2fc1c8384
Committing in .
...
Solve small definition problem for OpenVMS
Modified Files:
Mesa/src/mesa/shader/descrip.mms
2006-11-20 14:04:04 +00:00
Keith Whitwell
87f602dd82
Don't perform dangling attribute check on POS attribute. It can't by
...
definition dangle (every vertex has a position). However
save->currentsz isn't properly maintained for this attribute, as there
is no current position value to track. Reported by Haihao Xiang.
2006-11-20 11:45:34 +00:00
Brian Paul
2164cf7730
move fix-up code into new slang_fixup_save() function
2006-11-18 17:45:01 +00:00
Brian Paul
4d4373bb0f
delete shader objects when destroying shared context state
2006-11-18 17:44:28 +00:00
Brian Paul
a89e063149
comments
2006-11-18 17:23:30 +00:00
Brian Paul
61068ba46b
reindent
2006-11-18 17:22:44 +00:00
Brian Paul
63c119f771
additional fixes for mipmap building (Greg McGarragh)
2006-11-18 16:58:14 +00:00
Brian Paul
c478f0d25b
name mangling update/fix
2006-11-18 16:44:30 +00:00
Brian Paul
bdb1c3882f
need to specify Xlibs with APP_LIB_DEPS
2006-11-18 16:43:13 +00:00
Brian Paul
1e04ff1741
fix mgl name mangling problem
2006-11-18 16:40:09 +00:00
Rune Petersen
6c9cc81601
fragment.position support
...
World position is calculated in the vertex shader and passed to the
fragment shader via an unused texcoord.
2006-11-17 19:12:42 +00:00
Rune Petersen
0f614df797
r300_select_vertex_shader4:
...
Makes the vertex program output from the fragment input.
It makes the driver capable of catching output-input mismatches safely. Primarily
based on some of Aapo Tahkola's code.
2006-11-17 19:08:05 +00:00
Brian Paul
08d64dfbf6
reindent, doxygen-style comments
2006-11-17 19:06:32 +00:00
Michal Krol
83f52ffc52
Comment and indent the atom functions.
2006-11-17 18:55:34 +00:00
Brian Paul
c15f6a991d
gluBuild2DMipmaps() fixes
2006-11-17 15:59:19 +00:00
Brian Paul
8f28453987
fix some gluBuild2DMipmap bugs (Greg McGarragh)
2006-11-17 15:57:31 +00:00
Brian Paul
a4806c994e
add STATE_INTERNAL_DRIVER, etc (Rune Petersen)
2006-11-17 15:23:32 +00:00
Brian Paul
7984c70070
revert prev check-in
2006-11-16 23:34:02 +00:00