Henri Verbeet
da8c877733
r600g: Cleanup the fenced_bo list in r600_context_fini().
2010-11-15 22:20:12 +01:00
Jerome Glisse
5da246944a
gallium/noop: no operation gallium driver
...
This driver is a fake swdri driver that perform no operations
beside allocation gallium structure and buffer for upper layer
usage.
It's purpose is to help profiling core mesa/gallium without
having pipe driver overhead hidding hot spot of core code.
scons file are likely inadequate i am unfamiliar with this
build system.
To use it simply rename is to swrast_dri.so and properly set
LIBGL_DRIVERS_PATH env variable.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-11-15 14:56:40 -05:00
Francisco Jerez
88850b3e4f
dri/nouveau: Kill a bunch of ternary operators.
2010-11-15 17:42:08 +01:00
Francisco Jerez
aceb5b3277
dri/nouveau: Fix typo.
2010-11-15 17:42:08 +01:00
Viktor Novotný
8c94c7138e
dri/nouveau: Remove nouveau_class.h, finishing switch to rules-ng-ng headers
...
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-11-15 17:42:07 +01:00
Viktor Novotný
69f54d2a7e
dri/nouveau nv20: Use rules-ng-ng headers
...
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-11-15 17:42:07 +01:00
Viktor Novotný
f4efc256fd
dri/nouveau: nv10: Use rules-ng-ng headers
...
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-11-15 17:42:07 +01:00
Viktor Novotný
8983855012
dri/nouveau: nv04: Use rules-ng-ng headers
...
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-11-15 17:42:06 +01:00
Viktor Novotný
dfc2bf818b
dri/nouveau: Import headers from rules-ng-ng
...
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-11-15 17:42:06 +01:00
Brian Paul
3e910faed5
evergreen: set gl_texture_image::TexFormat field in evergreenSetTexBuffer()
...
See https://bugs.freedesktop.org/show_bug.cgi?id=31544
Note: this is a candidate for the 7.9 branch.
2010-11-15 09:31:33 -07:00
Brian Paul
f2f1c61950
r300: set gl_texture_image::TexFormat field in r300SetTexBuffer2()
...
See https://bugs.freedesktop.org/show_bug.cgi?id=31544
Note: this is a candidate for the 7.9 branch
2010-11-15 09:31:27 -07:00
Brian Paul
401f1efd3a
r200: set gl_texture_image::TexFormat field in r200SetTexBuffer2()
...
See https://bugs.freedesktop.org/show_bug.cgi?id=31544
Note: this is a candidate for the 7.9 branch.
2010-11-15 09:31:21 -07:00
Brian Paul
0ef3b298e6
r600: set gl_texture_image::TexFormat field in r600SetTexBuffer2()
...
See https://bugs.freedesktop.org/show_bug.cgi?id=31544
Note: this is a candidate for the 7.9 branch.
2010-11-15 09:18:47 -07:00
Brian Paul
86abc1f104
radeon: set gl_texture_image::TexFormat field in radeonSetTexBuffer2()
...
See https://bugs.freedesktop.org/show_bug.cgi?id=31544
Note: this is a candidate for the 7.9 branch
2010-11-15 09:18:40 -07:00
Julien Cristau
e86b4c9194
Makefile: don't include the same files twice in the tarball
...
src/mesa/drivers/dri/*/*/*.[chS] is a superset of
src/mesa/drivers/dri/*/server/*.[ch] and
src/mesa/drivers/dri/common/xmlpool/*.[ch].
include/GL/internal/glcore.h is already in MAIN_FILES, no need for it in
DRI_FILES too. src/glx/Makefile was listed twice.
Signed-off-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-11-15 08:46:22 -07:00
Daniel Lichtenberger
ef0720758e
radeon: fix potential segfault in renderbuffer update
...
Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=31617
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-11-15 01:32:42 -05:00
Christian König
508a4a056c
[g3dvl] add skeleton and incomplete idct
2010-11-14 23:16:49 +01:00
Marek Olšák
9cf25b3d1c
r300g: return shader caps from Draw for SWTCL vertex shaders
2010-11-14 23:04:18 +01:00
Christian König
3cbe27a988
[g3dvl] ups missed this check
2010-11-14 20:35:02 +01:00
Christian König
3886295a0c
[g3dvl] remove need for XVMC_INTRA_UNSIGNED
...
Move from unsigned to signed intra dct blocks.
You also need to update xf86-video-ati for this to work.
2010-11-14 20:14:25 +01:00
Marek Olšák
ed7cb289b3
r300g: clean up redundancy in draw functions
2010-11-14 19:28:04 +01:00
Eric Anholt
3b337f5cd9
i965: Fix gl_FragCoord inversion when drawing to an FBO.
...
This showed up as cairo-gl gradients being inverted on everyone but
Intel, where I'd apparently tweaked the transformation to work around
the bug. Fixes piglit fbo-fragcoord.
2010-11-14 22:35:17 +08:00
Vinson Lee
d11db2a857
i965: Silence uninitialized variable warning.
...
Silences this GCC warning.
brw_fs.cpp: In member function 'void fs_visitor::split_virtual_grfs()':
brw_fs.cpp:2516: warning: unused variable 'reg'
2010-11-13 21:19:59 -08:00
Christian König
48e19e8f35
[g3dvl] fix of my one bug in SCALE_FACTOR_16_TO_9
2010-11-14 02:17:39 +01:00
Christian König
0bc51ba484
[g3dvl] switch to using macroblock vertices
2010-11-13 17:16:27 +01:00
Christian König
35a8efe577
[g3dvl] move empty block handling completely into shaders
2010-11-13 16:56:59 +01:00
Marek Olšák
7e2256688a
r300g: fix texture border color for all texture formats
...
This fixes 8 texwrap format tests.
The code should handle arbitrary formats now and is cleaner.
NOTE: This is a candidate for the 7.9 branch.
2010-11-13 16:43:20 +01:00
Christian König
d128c091c7
[g3dvl] use quads instead of triangles
2010-11-13 14:06:47 +01:00
Vinson Lee
3f6b1756f8
mesa: Clean up header file inclusion in points.h.
2010-11-13 01:16:12 -08:00
Christian König
33311ffed5
[g3dvl] cleanup
...
Add missing comments simplyfy shaders etc...
2010-11-12 23:49:33 +01:00
Brian Paul
56b4819932
mesa: consolidate assertions in teximage code
2010-11-12 07:21:29 -07:00
Christian König
1eaf4806cd
[g3dvl] and finally move field codec dct handling into shaders
2010-11-12 12:00:33 +01:00
Marek Olšák
93edd15178
svga: fill out CAPs for indirect addressing
...
As per the ps_3_0 and vs_3_0 documentation.
The aL register in D3D9 is quite tricky to use, though.
2010-11-12 03:13:23 +01:00
Marek Olšák
5c7127c07c
r600g: fill out CAPs for indirect addressing
2010-11-12 03:13:23 +01:00
Marek Olšák
d279902b40
r300g: fill out CAPs for indirect addressing
...
To match shader model 2.0 (it's impossible to fully implement ARL
with shader model 3.0 relative addressing).
2010-11-12 03:13:22 +01:00
Marek Olšák
abe2c0d3b0
nvfx: fill out CAPs for indirect addressing
...
To match shader model 2.0.
2010-11-12 03:13:22 +01:00
Marek Olšák
3c6309e2f7
nv50: fill out CAPs for indirect addressing
2010-11-12 03:13:22 +01:00
Marek Olšák
04bafb2b55
i965g: fill out CAPs for indirect addressing
2010-11-12 03:13:22 +01:00
Marek Olšák
5bf7d668ac
i915g: fill out CAPs for indirect addressing
2010-11-12 03:13:22 +01:00
Marek Olšák
53b7ec91ca
tgsi: fill out CAPs for indirect addressing
2010-11-12 03:13:22 +01:00
Marek Olšák
cbfdf262cc
gallium: add CAPs for indirect addressing and lower it in st/mesa when needed
...
Required because ATI and NVIDIA DX9 GPUs do not support indirect addressing
of temps, inputs, outputs, and consts (FS-only) or the hw support is so
limited that we cannot use it.
This should make r300g and possibly nvfx more feature complete.
Signed-off-by: Marek Olšák <maraeo@gmail.com>
2010-11-12 03:13:22 +01:00
Christian König
fa4d274516
[g3dvl] make room for second z-coord and interlaced flag
2010-11-12 01:04:22 +01:00
Brian Paul
d18df9e336
tdfx: s/Format/_BaseFormat/
...
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31560
2010-11-11 16:56:45 -07:00
Christian König
7af05c4fe6
[g3dvl] move applying z-coord to fragment shader
2010-11-12 00:29:37 +01:00
Christian König
d8192f1821
[g3dvl] use constants for vertex shader outputs and move field calculation into own function
2010-11-12 00:17:56 +01:00
Eric Anholt
6929cdd14b
glsl: Free the loop state context when we free the loop state.
...
Since this was talloced off of NULL instead of the compile state, it
was a real leak over the course of the program. Noticed with
valgrind --leak-check=full --show-reachable=yes. We should really
change these passes to generally get the compile context as an argument
so simple mistakes like this stop mattering.
2010-11-11 15:12:37 -08:00
Brian Paul
78587ea012
mesa: fix glDeleteBuffers() regression
...
This fixes a regression (failed assertion) from commit
c552f273f5 which was hit if glDeleteBuffers()
was called on a buffer that was never bound.
NOTE: this is a candidate for the 7.9 branch.
2010-11-11 15:31:36 -07:00
Brian Paul
c552f273f5
mesa: make glIsBuffer() return false for never bound buffers
...
Use a dummy buffer object as we do for frame/renderbuffer objects.
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31514
Note: this is a candidate for the 7.9 branch.
2010-11-11 14:49:53 -07:00
Christian König
97e92ab63b
[g3dvl] move xfer_buffers_map/unmap into flush
2010-11-11 22:08:00 +01:00
Christian König
195bbe8ce2
Merge remote branch 'origin/master' into pipe-video
2010-11-11 21:07:42 +01:00