Keith Whitwell
3bfbe63806
New debug config for linux-dri
2007-01-17 08:44:13 +00:00
Xiang, Haihao
747c9129c0
I965: fix bug#9625-get the correct PV for quardstrip
...
The order of vertices in payload for quardstrip is (0, 1, 3, 2),
so the PV for quardstrip is c->reg.vertex[2].
2007-01-17 10:39:50 +08:00
Xiang, Haihao
afba8f0d30
Fix bug#9673
...
Cast from pointer to unsinged long and cast to pointer from
unsinged long
2007-01-17 10:17:10 +08:00
Stephane Marchesin
7c8f311e40
nouveau: Use the most recent card list.
2007-01-16 21:43:54 +01:00
Jerome Glisse
a03fc82771
mesa: Update _Current along Current on fragment program bound.
...
Same as a previously committed patch for vertex program, we
update fragment program ptr _Current along the Current one
so that _Current can't end up pointing to a no more valid
program.
2007-01-15 21:21:10 +01:00
Patrice Mandin
7520478eb0
nouveau:nv10: fix setting clip region
2007-01-15 18:58:24 +01:00
Stephane Marchesin
4c7d36b688
nouveau: Fix a bug in the nv04 swtcl.
2007-01-15 12:38:24 +01:00
Ben Skeggs
16f35a3a22
nouveau: Add 0x0244 pciid manually for now..
...
pciids.sf.net is slow to add it so our generator picks it up,
and it's *really* annoying me :)
2007-01-15 17:28:56 +11:00
Ben Skeggs
634b4b3487
nouveau: fail CreateScreen on unknown cards instead of guessing.
2007-01-15 17:23:04 +11:00
Carlos Martín Nieto
89f91d1804
nouveau: Implement much of the fog handling.
2007-01-15 00:00:30 +01:00
Stephane Marchesin
e2295511f5
nouveau: Update nouveau_reg.h from renouveau to the latest version.
2007-01-14 22:39:37 +01:00
Stephane Marchesin
65e3d5e45e
nouveau: Make the state cache hierarchical.
2007-01-14 21:17:08 +01:00
Stephane Marchesin
8d7e5651fb
nouveau: add the nv04 swtcl module (it's untested for now).
2007-01-14 20:39:00 +01:00
Stephane Marchesin
d57ce408b3
nouveau: Cleanup the nv10 swtcl module.
2007-01-14 20:39:00 +01:00
Patrice Mandin
81bd826de8
nouveau: nv10: 16 bits color buffer format
2007-01-14 20:14:58 +01:00
Patrice Mandin
eae7acac16
Merge branch 'master' of git+ssh://pmandin@git.freedesktop.org/git/mesa/mesa
2007-01-14 19:56:30 +01:00
Patrice Mandin
8aabd636f5
nouveau: nv10: added missing functions
2007-01-14 19:55:45 +01:00
Jerome Glisse
9a4e49aef2
r300: Fix vertex program position invariant bug, force position reading.
...
When we have a position invariant program we need to force routing the
position otherwise you may handle transform quite random data which might
be funny but unlikely what you want :).
2007-01-14 19:32:22 +01:00
Jerome Glisse
6dd967e74f
mesa: Update _Current ptr along Current when a new vertex program is bind.
...
On new vertex program bind only the Current ptr where updated to
point to the new program; this could lead to _Current pointing to
and out of date or even a no more existing program which in turn
could lead to a segfault in some driver. To avoid this _Current
ptr is updated along Current if _Current where previously pointing
to the same program.
2007-01-14 14:49:36 +01:00
Patrice Mandin
e7112be732
nouveau: remove already defined NV15_TCL and NV17_TCL
2007-01-14 14:11:10 +01:00
Patrice Mandin
86f10c7144
nouveau: import color material r,g,b,a
2007-01-14 14:09:04 +01:00
Patrice Mandin
faada2485a
nouveau: nv10: stencil functions
2007-01-14 14:03:42 +01:00
Patrice Mandin
29484f24fb
nouveau: nv10: currently fails initcard and bindbuffers, till done
2007-01-14 12:51:30 +01:00
Patrice Mandin
f1ad10b338
nouveau: nv10 blending done, remove nv10Viewport
2007-01-14 12:45:15 +01:00
Patrice Mandin
fb5f359b93
nouveau: update nv10 state
2007-01-13 14:14:19 +01:00
Patrice Mandin
308ef2dc32
nouveau: Add clear color for nv10
2007-01-13 13:56:18 +01:00
Patrice Mandin
ca75853f9d
nv10 has alpha color mask
2007-01-13 13:22:03 +01:00
Jerome Glisse
b55f1ec9af
Fix typo from commit 1d312ae013
.
2007-01-11 12:54:42 +01:00
Eric Anholt
3dd243c59e
Track rename of DamagePost -> DamageAdd.
2007-01-09 16:39:10 -08:00
Roland Scheidegger
96c5db5f7a
put back missing Driver.PolygonMode call (bug 9578)
2007-01-09 14:42:22 +01:00
Michel Dänzer
dfabf96607
i915tex: Remove unused tex_program field.
2007-01-09 12:46:50 +01:00
Michel Dänzer
92fb742065
intel_finalize_mipmap_tree: Only flush batchbuffer when necessary.
2007-01-09 12:46:50 +01:00
Keith Packard
d9dd9013a8
Merge branch 'origin'
2007-01-07 23:00:48 -08:00
Ben Skeggs
026939b008
nouveau: allow the use of multiple subchannels/objects by default.
2007-01-08 11:54:39 +11:00
Keith Packard
62db3cc349
Various warning fixes for i965 driver.
...
vertex/fragment programs provided as const.
bmSetFenceLock should return bmSetFence value.
2007-01-06 17:13:45 -08:00
Keith Packard
9311c29558
Initialize GL_ARB_occlusion_query only if DRM support is present.
...
DRM versions before 1.8 do not include the necessary ioctls to support
GL_ARB_occlusion_query, don't enable it on these versions.
2007-01-06 17:13:29 -08:00
Haihao Xiang
8c1cc5fd80
i965: Support linear format in i965.
...
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-06 15:44:57 -08:00
Zou Nan hai
ef02f8be10
i965: xdemos/glxthreads get: Assertion `block->fenced' failed (9201)
...
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-06 15:18:23 -08:00
Zou Nan hai
652ae2c376
i965: Take clip rects into account when computing max prim
...
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-06 15:18:23 -08:00
Wang Zhenyu
4068e2d1b7
i965: ARB_occlusion_query support
...
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-06 15:18:23 -08:00
Eric Anholt
1b9f78195f
i965: Avoid branch instructions while in single program flow mode.
...
There is an errata for Broadwater that threads don't have the instruction/loop
mask stacks initialized on thread spawn. In single program flow mode, those
stacks are not writable, so we can't initialize them. However, they do get
read during ELSE and ENDIF instructions. So, instead, replace branch
instructions in single program flow mode with predicated jumps (ADD to the ip
register), avoiding use of the more complicated branch instructions that may
fail. This is also a minor optimization as no ENDIF equivalent is necessary.
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-06 15:18:23 -08:00
Eric Anholt
e54ec49155
i965: Connect INTEL_DEBUG=sync up to cmd/batch ioctls.
...
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-06 15:18:22 -08:00
Brian
f1fbaf39ff
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
2007-01-06 14:55:07 -07:00
Brian
ade39f53f6
document 32-bit Z line/point fix
2007-01-06 12:58:28 -07:00
Brian
113b0a7f2e
Use GLuint instead of GLint to store intermediate Z values. Fixes problems when using 32-bit Z buffer.
2007-01-06 12:55:17 -07:00
Eric Anholt
c2b185cff8
Add reporting of damage by DRI drivers when the extension support is available.
...
With this, tools like ximagesrc in gstreamer correctly see updates from GL
rendering. Support requires that the Xdamage library be current (but will be
disabled if not present) plus a new X Server with support for the new
XDamagePost request. libGL now has a new interface version, and also links
against libXdamage and libXfixes to support it, but backwards compatibility
is retained.
Currently, all drivers report damage at SwapBuffers time through common code --
front buffer rendering doesn't result in damage being reported. Also, the
damage is against the root window, as our drivers don't yet render to backing
store when they should (composited environments).
2007-01-05 18:23:57 -08:00
Brian
b530d96216
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
2007-01-05 08:42:45 -07:00
Brian
24cf67fc73
document VBO bug fix 9445
2007-01-05 08:41:16 -07:00
Brian
7da7404fdf
Fix glPush/PopClientAttrib() for VBO state (bug 9445).
2007-01-05 08:40:06 -07:00
Ian Romanick
16f0efca60
Merge branch 'master' of ssh+git://idr@git.freedesktop.org/git/mesa/mesa
2007-01-04 18:37:10 -08:00