Marek Olšák
9860f652e2
r300g: fix updating the tiling flags for the framebuffer state
2010-03-08 04:43:51 +01:00
Marek Olšák
6abe6145fb
r300g: remove unnecessary state emissions and clean up
2010-03-08 04:34:27 +01:00
Francisco Jerez
ea027bda8e
dri/nouveau: Split big client buffers in the indexed case too.
2010-03-07 22:40:11 +01:00
Francisco Jerez
75f52d1e52
dri/nouveau: Fix nv[12]x color sum.
2010-03-07 22:40:11 +01:00
Andrew Randrianasulu
6a15edfed3
dri/nv04: GL_EXT_secondary_color
...
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-03-07 22:40:10 +01:00
Andrew Randrianasulu
e64680bc1e
dri/nouveau: Trivially add GL_NV_blend_square
...
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-03-07 22:40:10 +01:00
Francisco Jerez
5befb6f810
dri/nouveau: Check _ColorDrawBuffers[0] before emitting fb state.
2010-03-07 22:40:09 +01:00
Maciej Cencora
ba196a8318
radeon: handle compressed sRGB texture formats
2010-03-07 22:13:44 +01:00
Marek Olšák
6b39abb63a
r300g: fix DRM errors
2010-03-07 16:24:17 +01:00
Marek Olšák
57a1395ec3
r300g: disable macrotiling when the texture height is smaller than a macrotile
...
Otherwise incorrect rendering occurs (no idea why).
2010-03-07 16:24:09 +01:00
Marek Olšák
b37d633375
r300g: enable micro- and macrotiling for all textures and renderbuffers
2010-03-07 16:23:42 +01:00
Marek Olšák
6c7fac846e
r300g: add ability to tile/detile textures using blit during transfers
2010-03-07 15:39:37 +01:00
Marek Olšák
4012219f1f
r300g: move r300_transfer to separate files
2010-03-07 15:39:37 +01:00
Maciej Cencora
ccbe3f0314
radeon: move glGetTexImage handlers to seperate file
2010-03-07 12:22:09 +01:00
Maciej Cencora
2b801066a1
radeon: Some possible improvements that I spoted in radeon_tiled_texture branch.
2010-03-07 12:21:30 +01:00
Maciej Cencora
d0ca5c3100
radeon: properly calculate rowstride for tiled images
2010-03-07 12:21:30 +01:00
Maciej Cencora
0d3835475f
radeon: minor refactoring of mipmap code
2010-03-07 12:21:30 +01:00
Maciej Cencora
b078a613be
radeon: add texture helper function
2010-03-07 12:21:30 +01:00
Maciej Cencora
8014b5f068
radeon: add some debugging info to sw tiling/untiling functions
2010-03-07 12:21:29 +01:00
Maciej Cencora
5fefca5dba
radeon: add software untiling functions
2010-03-07 12:07:45 +01:00
Maciej Cencora
65faa27aa6
radeon: add tile size getter
2010-03-07 12:07:36 +01:00
Maciej Cencora
88a99bb305
radeon: added tiling functions
2010-03-07 12:07:29 +01:00
Maciej Cencora
9c0c6c26de
r300: don't enable EXT_packed_depth_stencil
...
R300 hw doesn't support sampling from Z24_S8 or S8_Z24 formats.
2010-03-07 12:07:06 +01:00
Maciej Cencora
78eb4a2ea5
radeon: no need to emit full state twice after flush
2010-03-07 12:05:38 +01:00
Maciej Cencora
ea3494b98c
r300: allow src and dst BOs to be placed in GTT during blit
...
Fixes some relocation failures
2010-03-07 12:05:01 +01:00
Maciej Cencora
c0a0a1933d
r300: reset bos when validating buffers during blit
2010-03-07 12:04:44 +01:00
Maciej Cencora
9543f7f05f
radeon: fallback to software in glCopyTexImage if blit isn't available
2010-03-07 12:04:30 +01:00
Maciej Cencora
042779dc85
r300: VAP flush is needed only when vertex program or constants are changed
2010-03-07 12:02:28 +01:00
Maciej Cencora
89ea402237
r300: recalculate point size, if point min/max size changes
...
Fixes two wine d3d9 unit tests
2010-03-07 12:00:48 +01:00
Maciej Cencora
e2d96b2bf8
r300: no need to flush on context init
2010-03-07 12:00:40 +01:00
Maciej Cencora
bbab68ae2d
r300: remove unnecessary code
...
_tnl_UpdateFixedFunctionProgram is already called in r300_draw.c
2010-03-07 12:00:26 +01:00
Marek Olšák
690ded32cd
r300g: disable emitting the HWTCL-related state when SWTCL is in use
...
Now SWTCL renders at least "something", we're close...
2010-03-07 03:41:00 +01:00
Marek Olšák
81992f37da
r300g: resurrect r300_emit_vertex_buffer for SWTCL
...
Taken over from c9928ac3ee .
2010-03-07 03:33:41 +01:00
Marek Olšák
b03b70f658
r300g: validate buffers when using SWTCL
2010-03-07 02:44:57 +01:00
Marek Olšák
4f541db80c
r300g: share the VS-output-mapping state with SWTCL
...
And associated cleanups.
2010-03-07 02:44:20 +01:00
Marek Olšák
6f4a19ca56
r300g: abort if FS compilation fails on non-debug builds
2010-03-07 01:12:57 +01:00
Marek Olšák
09653d65e9
r300g: minor cleanups after the no-rhw merge
2010-03-06 23:29:17 +01:00
Marek Olšák
c37a20416d
r300g: clamp vertex max index according to currently bound buffers
2010-03-06 21:27:02 +01:00
José Fonseca
45ae4434b5
util: Use bitshift arithmetic to unpack pixels.
...
All test cases pass now.
2010-03-06 14:36:51 +00:00
José Fonseca
b999e9c03d
progs/gallium/unit: Remove the test cases.
2010-03-06 14:36:51 +00:00
José Fonseca
212e7433db
util: Move the format tests cases here so that they can be easily shared.
2010-03-06 14:36:51 +00:00
George Sapountzis
323238864f
include/GL: drop more deprecated headers
2010-03-06 15:18:51 +02:00
José Fonseca
0869f0edf1
util: Several fixes to clamping and test.
...
All tests pass here except util_format_b5g5r5a1_unorm_unpack_4ub, due to
apparently a gcc 4.4.3 bug.
2010-03-06 12:50:47 +00:00
José Fonseca
f342ceca38
util: Fix the maximum value computation for SSCALED channels.
2010-03-06 12:49:14 +00:00
José Fonseca
cfde6c50ae
util: Add a new flag, for formats that can be described as a bitmask.
2010-03-06 12:48:39 +00:00
José Fonseca
6718f03258
progs/gallium/unit: Skip test cases which cannot be represented in 4ub.
2010-03-06 12:47:49 +00:00
José Fonseca
709dffcd12
progs/gallium/unit: Use the shortened name to reconstruct the function being tested.
2010-03-06 12:47:01 +00:00
José Fonseca
4afae877e6
util: Add the shortened format name to the description.
2010-03-06 12:46:29 +00:00
José Fonseca
f133861a93
progs/gallium/unit: Cleanup/fix PIPE_FORMAT_R8SG8SB8UX8U_NORM test cases.
2010-03-06 12:45:36 +00:00
José Fonseca
69602b4dd3
gallivm: Add some notes about sampler static state construction.
...
Recover some logic to make state canonical, although it is admittedly very
shy compared with what could be done.
We really need an helper module to make state canonical.
2010-03-06 10:23:07 +00:00