Brian Paul
614f490ca9
mesa: s/GL_DEPTH_STENCIL/GL_DEPTH_COMPONENT/ for MESA_FORMAT_Z16 renderbuffer
...
MESA_FORMAT_Z16 has no stencil bits.
2010-03-08 09:35:28 -07:00
Alex Deucher
39ab5ae30c
radeon/r200/r600: allow src and dst BOs to be placed in GTT during blit
2010-03-08 10:13:49 -05:00
Alex Deucher
7959274858
radeon/r200/r600: reset bos when validating buffers during blit
2010-03-08 10:04:02 -05:00
Alex Deucher
cbe28cb892
r600: recalculate point size, if point min/max size changes
2010-03-08 10:00:59 -05:00
Alex Deucher
97d40edb07
r600: no need to flush on context init
2010-03-08 09:57:26 -05:00
Keith Whitwell
3ca933623c
Merge commit 'origin/gallium-winsys-handle-rebased'
2010-03-08 12:03:46 +00:00
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
Chia-I Wu
ee6fbf8d2f
st/vega: Fix OpenVG demo segfaults.
...
When the paint is color, paint_bind_samplers binds a dummy sampler
without a texture. It causes demos requiring a sampler (those use a
mask or an image) to crash.
2010-03-08 11:29:25 +08: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
Vinson Lee
661b416e07
gallivm: Initialize variables for default cases.
...
Fixes use of uninitialized variables in non-debug builds.
2010-03-06 20:30:28 -08: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