Commit graph

3608 commits

Author SHA1 Message Date
Jakob Bornecrantz
867afa4c09 xlib/trace: Fixup xlib trace 2009-04-17 21:33:12 +02:00
José Fonseca
86ed894e47 pipe: Get the p_atomic_dec_zero logic right this time. 2009-04-17 18:40:46 +01:00
Michel Dänzer
3b76072915 gallium: Fix PIPE_ATOMIC_GCC_INTRINSIC build. 2009-04-17 17:02:34 +02:00
Jakob Bornecrantz
44d0e0caf4 trace: Keep screen objects on lists 2009-04-17 16:03:01 +02:00
Jakob Bornecrantz
1e42f68fd6 trace: Fix is_referenced functions 2009-04-17 16:03:01 +02:00
Jakob Bornecrantz
5800e0aad1 trace: Simplify trace_buffer function 2009-04-17 16:03:01 +02:00
José Fonseca
dbb90436f8 pipe: Fix InterlockedDecrement usage. 2009-04-17 15:01:38 +01:00
José Fonseca
995a168dea wgl: Put commas in the right places. 2009-04-17 14:55:49 +01:00
José Fonseca
5458f8eff6 wgl: Flip the pixel format order.
List 32bit pixel formats first, as nobody is interested in 16bit pixel
formats nowadays.
2009-04-17 14:53:29 +01:00
Zack Rusin
ee2a5f307a egl: don't crash with one more khronos api 2009-04-17 07:11:16 -04:00
Keith Whitwell
687f331a1f gallium: simplify further the logic for selecting mutex implementation
Cleaner than the previous cleanup...
2009-04-17 11:02:07 +01:00
Keith Whitwell
29a2f6fead util: flush stdout before emitting debug_printf on stderr
A lot of the mesa demos emit commentary on stdout, try to keep it in
sync with the corresponding output from debug_printf().
2009-04-17 11:02:07 +01:00
Keith Whitwell
db93dcecc8 gallium: add #warning to mutex-based atomic implementation
Some builds end up picking this up.
2009-04-17 11:02:07 +01:00
José Fonseca
3a618da6e1 python/retrace: Rename module as it conflicts with a builtin module.
And there is no way to override a builtin module... sigh
2009-04-17 10:07:53 +01:00
José Fonseca
e80d1e367a Merge branch 'gallium-s3tc' 2009-04-16 10:51:42 +01:00
Jakob Bornecrantz
5a118d4650 util: Fix surface usage 2009-04-15 23:33:07 +02:00
Brian Paul
49b40f9bf4 gallium: new, simple RGBA surface create/destroy helpers
Use these for quickly creating an RGBA drawing surface.
2009-04-15 09:36:03 -06:00
Thomas Hellstrom
b83cf05d0d r300-gallium: Fixup for commit 9b75627fab.
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-04-15 17:24:06 +02:00
Thomas Hellstrom
9b75627fab gallium: Make sure we flush before some texture / buffer operations.
Also implement context member functions to optimize away those
flushes whenever possible.

Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-04-15 17:16:58 +02:00
Corbin Simpson
1a84072db9 r300-gallium: Use viewport state. 2009-04-15 15:10:24 -07:00
Corbin Simpson
a4e0a46a8d r300-gallium: Don't use indexbufs for now.
They aren't working, so best to turn it off.
2009-04-15 15:10:24 -07:00
Corbin Simpson
a5f68b40cb r300-gallium: Point size is at OVM position 15, not 1.
Or so sayeth osiris, and he would know. :3
2009-04-15 15:10:23 -07:00
Corbin Simpson
ada7ced189 r300-gallium: vs: Dot products. 2009-04-15 15:10:23 -07:00
Ben Skeggs
352de305bd nv50: fix mrt clear 2009-04-13 14:41:06 +10:00
Corbin Simpson
9340c994b7 r300-gallium: Split up vertex format tallying for HW and SW TCL.
This makes things draw (again) with HW TCL. Yay?
2009-04-10 18:35:58 -07:00
Corbin Simpson
1b5b083d5c r300-gallium: Finish up cleanup of vertex format state.
This makes texcoords route properly, and also fixes a few asserts.
2009-04-10 18:35:57 -07:00
Corbin Simpson
e825609d81 r300-gallium: Clean up vertex format setup. 2009-04-10 18:35:57 -07:00
José Fonseca
11084d5827 wgl: Protect the framebuffer with a lock.
Unfortunately this doesn't catch all the cases, as the mesa state tracker
can still use the framebuffer without giving the wgl state tracker
the chance to lock it.
2009-04-10 19:50:35 +01:00
José Fonseca
6fc244c68d wgl: Note down the gallium pixel formats, instead of re-guessing them. 2009-04-10 19:50:35 +01:00
José Fonseca
aa405a2a77 wgl: Query the screen for supported formats. 2009-04-10 19:50:35 +01:00
José Fonseca
0bca413ce9 wgl: Walk through the pixel formats combinations. 2009-04-10 19:50:35 +01:00
José Fonseca
e5d700721b wgl: Keep copies of the PIXELFORMATDESCRIPTOR structures. 2009-04-10 19:50:34 +01:00
Brian Paul
88999de8b7 gallium: remove pipe_texture::compressed field
The format field encodes compressed vs. uncompressed already.  We can easily
check if a texture is compressed with pf_is_compressed(texture->format).
2009-04-10 08:05:10 -06:00
José Fonseca
0a2269703c wgl: Slightly simplify pixelformat creation. 2009-04-10 13:26:36 +01:00
José Fonseca
87b04ce59b wgl: Move pixel format information into device structure. 2009-04-10 13:26:35 +01:00
José Fonseca
3f2420e2e0 wgl: Combine alpha pixelformat info in color. 2009-04-10 13:26:35 +01:00
José Fonseca
2921a49033 stw: Reorder the pixelformats, so that no alpha pixelformats get chosen before alpha.
Some applications might not handle a alpha visual when when they did not
request for one.
2009-04-10 13:26:35 +01:00
José Fonseca
0dd81ec97b stw: Don't make assumptions about integer size. 2009-04-10 13:26:34 +01:00
José Fonseca
f14497a9cd stw: Free the mesa framebuffer. 2009-04-10 13:26:34 +01:00
Michal Krol
5fae9514c2 tgsi/sse2: Cleanup NRM/NRM4 implementation.
Fix comments.
Make sure .w is set to 1.0 for NRM.
Optimise for non-.xyzw writemasks.
2009-04-10 11:58:49 +02:00
Michal Krol
05c70f8f5d rtasm: Silence `static function not used' warning. 2009-04-10 09:07:22 +02:00
Michal Krol
13be57df3a draw: Silence pointer-to-integer cast warning. 2009-04-10 09:07:19 +02:00
Michal Krol
f4cc0692e6 draw: Fix vertex_header initialisation. 2009-04-10 09:07:17 +02:00
Brian Paul
92d3b2a4da gallium: comments for surface_copy(), surface_fill() in p_context.h 2009-04-09 18:40:24 -06:00
Brian Paul
7e0d4598fb gallium: change // comment to /* */ style 2009-04-09 16:10:43 -06:00
Brian Paul
985e71866a gallium: updated comments in p_screen.h 2009-04-09 16:03:50 -06:00
Brian Paul
a35e745826 i965simple: remove pipe_texture::compressed reference 2009-04-09 15:33:09 -06:00
Michal Krol
c27c670ad8 tgsi/sse2: Fix build. 2009-04-09 23:24:57 +02:00
Michal Krol
5f31890861 draw: Fix LIT instruction. 2009-04-09 23:19:22 +02:00
José Fonseca
c09ef3e747 python: Fix bad pointer. 2009-04-09 22:11:48 +01:00