Brian Paul
c5a97eda32
gallium: license, copyright
16 vuotta sitten
Mathias Gottschlag
b8fff1f9f1
r300-gallium: Fix CS size mismatch
This fixes some warnings which appear because the driver assumes a wrong
cs size (13 vs 16 register writes in some cases).
16 vuotta sitten
Brian Paul
d27d79db4a
softpipe: fix softpipe_is_buffer/texture_referenced() regression
Return the conservative PIPE_REFERENCED_FOR_READ | PIPE_REFERENCED_FOR_WRITE
value for now.
This fixes a bunch of regressions seen in piglit and glean.
16 vuotta sitten
José Fonseca
be6037d459
wgl: Don't implement broken gl_dispatch_stub_xxx.
These don't respect the stdcall, so they crash upon return.
16 vuotta sitten
Keith Whitwell
c7c76ba561
util: don't set unused blend state
Try to avoid creating multiple blend atoms.
16 vuotta sitten
Jakob Bornecrantz
8ae52413c7
trace: Add initializer for static variables
16 vuotta sitten
Jakob Bornecrantz
f2d2b3d8e2
trace: Enable dumping to be turned on and off
16 vuotta sitten
José Fonseca
dc1153ce83
softpipe: Simplify softpipe_create's prototype.
16 vuotta sitten
José Fonseca
876e95dcc8
softpipe: Fix softpipe_is_texture_referenced prototype.
16 vuotta sitten
José Fonseca
eb63e8cc75
softpipe: Remove softpipe_winsys.
Not used by softpipe anyway.
16 vuotta sitten
Jakob Bornecrantz
867afa4c09
xlib/trace: Fixup xlib trace
16 vuotta sitten
José Fonseca
86ed894e47
pipe: Get the p_atomic_dec_zero logic right this time.
16 vuotta sitten
Michel Dänzer
3b76072915
gallium: Fix PIPE_ATOMIC_GCC_INTRINSIC build.
16 vuotta sitten
Jakob Bornecrantz
44d0e0caf4
trace: Keep screen objects on lists
16 vuotta sitten
Jakob Bornecrantz
1e42f68fd6
trace: Fix is_referenced functions
16 vuotta sitten
Jakob Bornecrantz
5800e0aad1
trace: Simplify trace_buffer function
16 vuotta sitten
José Fonseca
dbb90436f8
pipe: Fix InterlockedDecrement usage.
16 vuotta sitten
José Fonseca
995a168dea
wgl: Put commas in the right places.
16 vuotta sitten
José Fonseca
5458f8eff6
wgl: Flip the pixel format order.
List 32bit pixel formats first, as nobody is interested in 16bit pixel
formats nowadays.
16 vuotta sitten
Zack Rusin
ee2a5f307a
egl: don't crash with one more khronos api
16 vuotta sitten
Keith Whitwell
687f331a1f
gallium: simplify further the logic for selecting mutex implementation
Cleaner than the previous cleanup...
16 vuotta sitten
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().
16 vuotta sitten
Keith Whitwell
db93dcecc8
gallium: add #warning to mutex-based atomic implementation
Some builds end up picking this up.
16 vuotta sitten
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
16 vuotta sitten
Jakob Bornecrantz
5a118d4650
util: Fix surface usage
16 vuotta sitten
Brian Paul
49b40f9bf4
gallium: new, simple RGBA surface create/destroy helpers
Use these for quickly creating an RGBA drawing surface.
16 vuotta sitten
Thomas Hellstrom
b83cf05d0d
r300-gallium: Fixup for commit 9b75627fab5bf2ea90f27ddd31b60c54895f6de6.
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
16 vuotta sitten
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>
16 vuotta sitten
Corbin Simpson
1a84072db9
r300-gallium: Use viewport state.
16 vuotta sitten
Corbin Simpson
a4e0a46a8d
r300-gallium: Don't use indexbufs for now.
They aren't working, so best to turn it off.
16 vuotta sitten
Corbin Simpson
a5f68b40cb
r300-gallium: Point size is at OVM position 15, not 1.
Or so sayeth osiris, and he would know. :3
16 vuotta sitten
Corbin Simpson
ada7ced189
r300-gallium: vs: Dot products.
16 vuotta sitten
Ben Skeggs
352de305bd
nv50: fix mrt clear
16 vuotta sitten
Corbin Simpson
9340c994b7
r300-gallium: Split up vertex format tallying for HW and SW TCL.
This makes things draw (again) with HW TCL. Yay?
16 vuotta sitten
Corbin Simpson
1b5b083d5c
r300-gallium: Finish up cleanup of vertex format state.
This makes texcoords route properly, and also fixes a few asserts.
16 vuotta sitten
Corbin Simpson
e825609d81
r300-gallium: Clean up vertex format setup.
16 vuotta sitten
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.
16 vuotta sitten
José Fonseca
6fc244c68d
wgl: Note down the gallium pixel formats, instead of re-guessing them.
16 vuotta sitten
José Fonseca
aa405a2a77
wgl: Query the screen for supported formats.
16 vuotta sitten
José Fonseca
0bca413ce9
wgl: Walk through the pixel formats combinations.
16 vuotta sitten
José Fonseca
e5d700721b
wgl: Keep copies of the PIXELFORMATDESCRIPTOR structures.
16 vuotta sitten
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).
16 vuotta sitten
José Fonseca
0a2269703c
wgl: Slightly simplify pixelformat creation.
16 vuotta sitten
José Fonseca
87b04ce59b
wgl: Move pixel format information into device structure.
16 vuotta sitten
José Fonseca
3f2420e2e0
wgl: Combine alpha pixelformat info in color.
16 vuotta sitten
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.
16 vuotta sitten
José Fonseca
0dd81ec97b
stw: Don't make assumptions about integer size.
16 vuotta sitten
José Fonseca
f14497a9cd
stw: Free the mesa framebuffer.
16 vuotta sitten
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.
16 vuotta sitten
Michal Krol
05c70f8f5d
rtasm: Silence `static function not used' warning.
16 vuotta sitten