Brian Paul
b74f4bc6b8
nvfx: move declarations before code
15 years ago
Brian Paul
d84b8cb1a8
llvmpipe: update comment
15 years ago
Brian Paul
d7c336dc49
nvfx: move declarations before code to silence warnings
15 years ago
Luca Barbieri
f9ea7a2ea9
auxiliary: add util_dirty_surfaces to track dirty render temporaries
15 years ago
Luca Barbieri
ac4b8db62d
auxiliary: add util_surfaces to track a resource's pipe_surface structs
15 years ago
Luca Barbieri
24af25df2b
u_inlines: add function to initialize pipe_surface
15 years ago
Luca Barbieri
2ac088141a
nvfx: fix fragment program constant updates
15 years ago
Marek Olšák
7a1b5c937f
r300g: do not tell st that a buffer is referenced by hw
It saves a few libdrm calls and unnecessary flushes.
15 years ago
Luca Barbieri
bc8fa67926
r300g: save vertex buffers around u_blitter calls
Not strictly needed by the Mesa state tracker, but needed in general.
Only compile tested.
15 years ago
Luca Barbieri
64aa67a360
u_blitter: add support for saving vertex buffers
Currently r300g does not save vertex buffer on blitter calls.
It gets away with it because the current Mesa state tracker usually
resets vertex buffers on every draw calls.
However, this is wrong.
nvfx won't be lucky because it needs to use the blitter inside draw
calls.
15 years ago
Luca Barbieri
5df6c43061
p_compiler: add likely/unlikely macros
Defined like the Linux kernel.
A explanatory comment is included.
15 years ago
Dave Airlie
851edfe3c9
r300g: fixup 0 stride buffer properly.
Just set the max index to 1, this lets doom3 run and seems correct,
though it would be better to just emit a constant like SVGA does.
Signed-off-by: Dave Airlie <airlied@redhat.com>
15 years ago
José Fonseca
4b148bcf5e
llvmpipe: Emit only the vertex attributes necessary for the FS, and ensure the first one is always position.
With this we correctly handle vertex shaders whose output position is not
in index zero.
15 years ago
José Fonseca
4272c01fbf
softpipe: Preserve/check the signal of the number of scanlines in an edge.
It can become negative in some weird triangles.
15 years ago
José Fonseca
b609cfc7c9
draw: Cosmetic cleanups and comments.
15 years ago
José Fonseca
d036e9312f
retrace: Fix vertex/index/constant buffer dumping.
15 years ago
José Fonseca
53c3c914a7
trace: Handle transfers with zero strides correctly.
15 years ago
José Fonseca
4b95c9549d
st/python: Set the bind flag for the default texture.
15 years ago
José Fonseca
5c898af870
retrace: Remove deprecated code.
15 years ago
José Fonseca
6aae062bdf
mesa: Restore comment too.
15 years ago
Vinson Lee
4e98116c23
glsl: Fix handling of OPCODE_PRINT for no registers case.
A register file value is unsigned so could never be -1. A
value of 0 also aliased to PROGRAM_TEMPORARY.
If an OPCODE_PRINT has no registers to print, set the register
file value to PROGRAM_UNDEFINED and check for that value when
executing this instruction.
15 years ago
Vinson Lee
4485dd8a3e
i965: Assert that an OPCODE_IF was seen before an OPCODE_ELSE.
15 years ago
Vinson Lee
010f81f32b
st/dri: Check for NULL before dereference and assignment.
15 years ago
Vinson Lee
63c6d6add1
nvfx: Initialize variables.
15 years ago
Vinson Lee
0268e8984c
r300g: Cast rbuf->user_buffer to 'uint8_t *' before arithmetic.
Fixes this SCons build error.
"pointer of type 'void *' uses in arithmetic"
15 years ago
Vinson Lee
fe52b585f2
nvfx: Remove unused variables.
15 years ago
Vinson Lee
891e9d6f3f
nv50: Initialize variables.
Silences GCC uninitialized variable warnings.
15 years ago
Vinson Lee
b054d7912d
nv50: Remove unused variable.
15 years ago
Jakob Bornecrantz
5db285b742
i915g: Remove broken power of two function
15 years ago
Jakob Bornecrantz
d14c4ca209
i915g: Add some helper functions
Mostly to make the lines not so long.
15 years ago
Jakob Bornecrantz
ed94e744d3
i915g: Fix cubemap layouts
15 years ago
Jakob Bornecrantz
762ed4db47
i915g: Clean and add some debug printing
Disabled by default
15 years ago
Jakob Bornecrantz
29ff6e87f5
gallium/tests: Make trivial apps depend on libs
15 years ago
Marek Olšák
0b4df63609
r300g: various other cleanups
It seems to me that the resource management code is the most blurry.
Also some of my notes about fastfill are wrong, removing them too.
15 years ago
Marek Olšák
d3e7dfc1fd
r300g: inline screen_buffer functions
15 years ago
Marek Olšák
9f2f6096a8
r300g: remove unused declarations
15 years ago
Marek Olšák
5b609badf7
r300g: add debugging options "notiling" and "noimmd" (for testing)
notiling = Disable texture tiling
noimmd = Disable immediate mode (this optimization was really worth it!)
15 years ago
Marek Olšák
4185d9770f
r300g: remove r300_transfer::ctx
15 years ago
Marek Olšák
bb4f5fff0c
r300g: remove use of c++ keywords
15 years ago
Marek Olšák
c383defdaa
r300g: always create microtiled zbuffer regardless of texture dimensions
15 years ago
Vinson Lee
65a3c316ba
i915g: Remove unnecessary headers.
15 years ago
Vinson Lee
e68c6be2f6
nvfx: Remove unnecessary headers.
15 years ago
Vinson Lee
c5e4a6dc9d
nv50: Remove redundant assignment.
15 years ago
Vinson Lee
f426295521
i965g: Remove redundant assert.
15 years ago
Vinson Lee
35aae6839e
os: Implement pipe_barrier for POSIX platforms without pthread_barrier_t.
This patch was tested on Mac OS X.
15 years ago
Jakob Bornecrantz
44bafca1a0
i915g: Add a software only debuging winsys
15 years ago
Jakob Bornecrantz
3e3d6864da
gallium/tests: Fix trivial examples
15 years ago
Jakob Bornecrantz
08f2a6cad1
gallium/util: Ignores
15 years ago
Jakob Bornecrantz
a656f2f0f3
progs/tests: Ignores
15 years ago
Vinson Lee
0a2ae64b77
r300/compiler: Remove unnecessary header.
15 years ago