Commit graph

27608 commits

Author SHA1 Message Date
Jakob Bornecrantz
c6d6a57424 i915: Added a intel be function to wrap a drm bo handle 2008-07-05 15:58:42 +02:00
Jakob Bornecrantz
74db8e9b3f i915: Fix haveDepth and haveStencil for visual in EGL 2008-07-05 14:04:02 +02:00
José Fonseca
152ed98b84 softpipe: Prevent NULL ptr derreference on takedown. 2008-07-05 03:51:26 +09:00
José Fonseca
c23b64f164 softpipe: Compute block size for display targets. 2008-07-05 03:51:25 +09:00
Jakob Bornecrantz
e6c24539c3 i915: Added debug filling code of texture, not active 2008-07-04 19:33:40 +02:00
Jakob Bornecrantz
f6e8963bb1 i915: Clean up intel_egl.c a bit 2008-07-04 19:33:34 +02:00
Patrice Mandin
f99643ca6e nv30: Emit sampler state using state objects 2008-07-04 18:53:44 +02:00
Brian Paul
ba9e633902 gallium: fix trim() function bug when count < first
If the user called glDrawArrays(GL_TRIANGLES, count=1), trim() returned a
very large integer because of the unsigned arithmetic.
2008-07-04 10:02:43 -06:00
José Fonseca
4a18324c0b psb: Fill all texture fields when creating texture blanket. 2008-07-05 00:56:36 +09:00
José Fonseca
1942e29bf7 softpipe: Implement texture blankets. 2008-07-05 00:55:18 +09:00
Ben Skeggs
77f8167d75 Merge remote branch 'upstream/gallium-0.1' into gallium-0.1 2008-07-05 00:53:13 +10:00
Brian Paul
51abbdd227 gallium: added a4r4g4b4_put_tile_rgba() 2008-07-03 17:21:22 -06:00
Brian Paul
f042d662e2 gallium: increase TGSI interpreter's number of temp registers to 64
Also, clean up the definitions of the misc/extra temp regs.
A few new assertions too.
2008-07-03 17:21:22 -06:00
Brian Paul
3c12874857 gallium: increase TGSI_EXEC_MAX_COND_NESTING, etc 2008-07-03 17:21:21 -06:00
Patrice Mandin
6f56b527d8 nv30: Reemit state when changing context 2008-07-03 22:47:15 +02:00
Patrice Mandin
568b477b9c nv30: Emit viewport state using state objects 2008-07-03 22:42:30 +02:00
Patrice Mandin
e7e231a511 nv30: Emit polygon stipple state using state objects 2008-07-03 22:31:23 +02:00
Patrice Mandin
f1d24c1d27 nv30: Emit scissor state using state objects 2008-07-03 22:18:38 +02:00
Patrice Mandin
c66f376e27 nv30: Emit depth/stencil/alpha state using state objects 2008-07-03 22:10:53 +02:00
Patrice Mandin
360f7a3e23 nv30: Emit rasterizer state using state objects 2008-07-03 21:48:18 +02:00
Patrice Mandin
c0e9eb3b09 nv30: Emit blend state using state objects 2008-07-03 21:25:47 +02:00
Patrice Mandin
52cf7a6c1c nv30: Emit blend color state using state objects 2008-07-03 21:11:07 +02:00
Patrice Mandin
36488ed052 nv30: Emit framebuffer state using state objects 2008-07-03 20:58:31 +02:00
José Fonseca
ade03755bc pipebuffer: Silent warnings.
Although rarely hit in normal apps, they are too noisy with test suites.
2008-07-03 21:28:56 +09:00
José Fonseca
c193cc506f gallium: Don't forget to get overllaping blits working again. 2008-07-03 20:50:23 +09:00
Jakob Bornecrantz
d94c7063ec i915: EGL almost works again 2008-07-03 12:12:25 +02:00
José Fonseca
8ccab31356 gallium: Use surface_copy for 1:1 blits. 2008-07-03 15:06:24 +09:00
Brian Paul
8fb4d602db gallium: nr_attrs was off by one, updated comments, minor code movement 2008-07-02 19:05:18 -06:00
Brian Paul
019ad5e284 gallium: replace 128 with MAX_LABELS 2008-07-02 12:41:39 -06:00
Michel Dänzer
cc31eecbcb gallium: Allow draw module to work on non-x86 platforms again. 2008-07-02 12:10:15 +02:00
José Fonseca
d16fcd07f8 pipebuffer: Debug buffer manager to detect buffer under- and overflows.
It should detect both cpu and gpu buffer overflows.
2008-07-02 12:29:07 +09:00
José Fonseca
ea4ca10b1b pipebuffer: Verify usage flag consistency. Minor cleanups. 2008-07-02 12:29:07 +09:00
Jakob Bornecrantz
e99ce4af8a i915: Last reference to surface -> pitch 2008-07-01 15:52:37 +02:00
José Fonseca
b3da2a9524 gallium: Use the inline keyword on C++. 2008-07-01 22:04:58 +09:00
Younes Manton
9833aec6cb g3dvl: Use block and stride instead of cpp and pitch. 2008-06-30 19:26:22 -04:00
Younes Manton
1c893fd513 g3dvl: Simplify shader code. 2008-06-30 10:11:02 -04:00
Younes Manton
3933fec6bd g3dvl: Support for field and frame based MC for progressive pictures.
MC support for frame and field based motion prediction. Also various bug
fixes, clean up.
2008-06-30 10:11:02 -04:00
Younes Manton
0a6aec8c0f g3dvl: Work around SP tex cache bug, specify resource usage flags. 2008-06-30 10:11:02 -04:00
Younes Manton
14d4f9e44e g3dvl: Get rid of some Valgrind errors.
Get rid of some Valgrind memory leak and uninitialized var errors.
2008-06-30 10:11:02 -04:00
Ben Skeggs
c6ddcc10e3 nouveau: oops, bump the drm patchlevel back down again 2008-06-29 16:02:01 +10:00
Ben Skeggs
bf94027fdd nv50: fixes after rebase + commits note on the code that was just pushed.
OK, seems a lot of people have been getting the idea that nouveau is
dying lately - I decided to commit some of the work I've been doing lately
to prove them wrong :)  Progress on my side is slow due to lack of time
mainly, but I'm still around.

Firstly, don't even bother trying to use gallium on G8x/G9x yet, it won't
work.  I've deliberately left all the necessary winsys changes out of the
commits for a very good reason - I don't know what we're going to need from
the DRM exactly yet and don't want to be continually breaking interfaces
as I discover additional requirements.  On my side, I think I've gone
through about 3 different DRM interface changes, and have just discovered
that I may need more yet.  It'd be very annoying for everyone who uses
nouveau to keep things in sync.  Once I've got it sorted - I'll commit a
lot of cool stuff. Stay tuned.

Also, don't look at the shader code.. it's horribly nasty and full of hacks,
I used it as an opportunity to learn G8x GPU programs at the same time.
New semi-decent code is in works, and will follow at some point. :)
2008-06-29 16:00:42 +10:00
Ben Skeggs
70f0f0ebdf nv50: reverse stencil sides, header is wrong 2008-06-29 15:46:53 +10:00
Ben Skeggs
e52d37d56c nv50: fix line stipple 2008-06-29 15:46:53 +10:00
Ben Skeggs
fea9eb2842 nv50: don't multiply polygon offset units by 2.0 like on nv40 2008-06-29 15:46:53 +10:00
Ben Skeggs
e05f67cbe6 nv50: maybe some scissor fixes.. 2008-06-29 15:46:53 +10:00
Ben Skeggs
95d64ceb5a nv50: vpt translate/scale backwards 2008-06-29 15:46:53 +10:00
Ben Skeggs
e002ad7739 nv50: whoops 2008-06-29 15:46:52 +10:00
Ben Skeggs
2c2cb86461 nv50: rework miptree/texture/texsurf code a bit 2008-06-29 15:46:52 +10:00
Ben Skeggs
5a3362521d nv50: turn on depth test/write again, not 100% but winsys handles it better 2008-06-29 15:46:20 +10:00
Ben Skeggs
47771bcd2f nv50: maintain pipe surface status field 2008-06-29 15:46:19 +10:00