Brian Paul
dd5691e802
mesa: code refactoring to eliminate a switch stmt in bind_buffer_object()
2009-10-27 20:10:59 -06:00
Brian Paul
b44304efde
glsl: avoid redundant state changes in _mesa_use_program()
2009-10-27 20:10:59 -06:00
Zack Rusin
2947d14202
st/xorg: fix xv
2009-10-27 21:00:47 -04:00
Brian Paul
f8155ef51f
intel: silence warning
2009-10-27 17:01:26 -06:00
Brian Paul
21f8d31cfd
mesa: debug code for glBlitFramebuffer()
2009-10-27 17:00:31 -06:00
Brian Paul
507cf530b9
via: silence unused var warnings
2009-10-27 17:00:31 -06:00
Brian Paul
3c71666921
intel: minor clean-up, comments
2009-10-27 17:00:31 -06:00
Brian Paul
7fd8c6ca2a
intel: use _mesa_get_current_tex_unit() helper
2009-10-27 17:00:31 -06:00
Brian Paul
05ec586851
mesa: s/Bilt/Blit
2009-10-27 17:00:31 -06:00
Brian Paul
403181b913
mesa: more texture debug code changes, improvements
2009-10-27 17:00:31 -06:00
Brian Paul
58a4328e96
mesa: minor code clean-up in client_state()
2009-10-27 17:00:31 -06:00
Brian Paul
72cb441c2f
mesa: avoid redundant state setting in glClientActiveTexture
...
Plus add code for verbose/debugging.
2009-10-27 17:00:31 -06:00
Brian Paul
33531614de
intel: fix comment, formatting
2009-10-27 17:00:31 -06:00
Brian Paul
3bee7610be
progs/tests: added new blitfb.c test
...
Tests glBlitFramebuffer() between two texture/renderbuffer surfaces.
In particular, blit from level[1] of a cube map face to a 2D texture.
Used to find/fix bug in intel do_copy_texsubimage().
See commit aef1ab1073f3e30d699b99dae17518ed48b57c72
2009-10-27 17:00:31 -06:00
Brian Paul
3e45788d5d
intel: fix src offset bug in do_copy_texsubimage()
...
Use src->draw_offset intead of zero. Zero usually worked, except when
the src renderbuffer is actually a texture mipmap level higher than zero.
Fixes progs/test/blitfb.c test.
2009-10-27 17:00:31 -06:00
Brian Paul
4c2a7bc438
glsl: fix memory leak
...
A slightly modified version of a patch from Vinson Lee.
2009-10-27 17:00:30 -06:00
Eric Anholt
4f9f5a7840
i915: Fix driver for the miptree x/y offset changes.
...
Bug #24734 .
2009-10-27 17:00:30 -06:00
Brian Paul
e9b17d6477
i965: be clear that the Fallback field is a boolean, not a bitfield
2009-10-27 16:59:44 -06:00
Brian Paul
755161b888
Revert "i965: fix hacked Fallback usage in brw_prepare_vertices()"
...
This reverts commit 8810b8f671 .
It turns out the i965 driver uses the intel->Fallback field as a boolean,
not as a bitmask. The intelFallback() function is a no-op in the i965
driver. It would have been nice if there were some comments about this.
I'll fix that next...
2009-10-27 16:59:44 -06:00
Vinson Lee
b7ab7d3627
draw: Fix memory leak.
...
This would only be hit if we got and invalid index_size.
2009-10-27 16:59:44 -06:00
Brian Paul
b73c4ad98b
docs: document Intel glBitmap fixes
2009-10-27 16:59:44 -06:00
Brian Paul
fe818ea797
intel: fix GL state bugs in intel_texture_bitmap()
...
Need to push texture state and polygon state too.
Fixes rendering glitches seen in progs/demos/engine when changing
the rendering mode (wireframe, texture modes).
This makes bitmap rendering a little slower, unfortunately.
2009-10-27 16:59:43 -06:00
Christoph Bumiller
7d967b9b7c
nv50: activate more lanes in a warp
...
Some cards have crippling defaults set and use only 4
of 32 lanes. This should activate 16 on these.
Those that allow 32 by default should still do so.
Found out by Marcin Kościelnicki.
2009-10-28 00:57:18 +01:00
Jakob Bornecrantz
8a1f239ca9
st/xorg: Adopt to new dirty clip rect type
2009-10-27 17:40:55 +01:00
Vinson Lee
50e113e375
progs/tests: Fix MSVC build.
2009-10-26 15:03:52 -06:00
José Fonseca
ad0975f701
scons: Define _USE_MATH_DEFINES on MSVC.
2009-10-26 15:17:26 +00:00
Brian Paul
87127c83dc
windows: added remap.[ch] to project files
...
Untested. Other updates may be needed to reflect the current source files.
2009-10-26 09:06:00 -06:00
Chia-I Wu
c9d715da39
mesa: Add remap.c to SConscript.
...
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-26 09:01:29 -06:00
Zack Rusin
b5fb60041e
st/xorg: initialize indexes before reswizzling for yuv
2009-10-26 08:15:48 -04:00
Zack Rusin
0b069d648b
st/xorg: stop overflowing yuv buffers
2009-10-26 08:15:48 -04:00
Zack Rusin
a9f8baf00b
st/xorg: add yuv vertex shader
...
plus some general fixes
2009-10-26 08:15:48 -04:00
Zack Rusin
6b8ce4cc4f
st/xorg: add yuv shaders
2009-10-26 08:15:48 -04:00
Marek Olšák
5241b9568c
r300g: read occlusion query results from both Z pipes on RV530
2009-10-26 02:07:32 +01:00
Marek Olšák
827002f5ff
r300g: add cubemap support
...
Also, set a pitch for rectangles only.
2009-10-26 02:07:26 +01:00
José Fonseca
3a49497f10
gallium: Move enum pipe_error into p_defines.h.
...
It's really just another define. No need for its own header.
2009-10-25 21:11:54 +00:00
José Fonseca
88e08d7c6d
llvmpipe: Human friendlier sampler state dump.
2009-10-25 12:27:14 +00:00
José Fonseca
47f0529806
util: Human readable output of texture states.
2009-10-25 12:26:39 +00:00
José Fonseca
5fcb75758c
llvmpipe: Dump the sampler state of the shader key.
2009-10-25 11:49:01 +00:00
José Fonseca
e4c5e01c10
llvmpipe: Immediate multiplication.
2009-10-25 11:48:17 +00:00
José Fonseca
e1342f871b
llvmpipe: Fast path for sampling rgba8 textures with linear filtering.
...
Implement Keith's suggestion of doing most of the sampling with 16x8
and 8x16 AoS, and only doing the conversion to floating point SoA at
the very last step.
Improves gloss performance by 10%.
2009-10-25 09:53:49 +00:00
José Fonseca
f3893ca9c8
llvmpipe: Make lerping work for 8.8 fixed point values.
2009-10-25 09:53:49 +00:00
José Fonseca
bfd7a9ca96
llvmpipe: New module to help make assertions about formats.
2009-10-25 09:53:49 +00:00
José Fonseca
47d241be9f
llvmpipe: New function to unpack rgba8 formats into 4 x u8n AoS.
2009-10-25 09:53:49 +00:00
José Fonseca
abff4214ef
llvmpipe: Split the format swizzling step from the unpacking.
2009-10-25 09:53:48 +00:00
José Fonseca
8d80fd3f55
llvmpipe: Allow different signs when unpacking.
2009-10-25 09:53:48 +00:00
José Fonseca
b544ab7299
llvmpipe: Add inlines to quickly generate types matching the native SIMD register bitwidth.
2009-10-25 09:53:48 +00:00
José Fonseca
a55b305c5b
llvmpipe: Merge lp_build_load_rgba_soa into lp_build_sample_texel.
2009-10-25 09:53:48 +00:00
José Fonseca
bc93e9181c
llvmpipe: Factor our pixel offset computation.
2009-10-25 09:53:48 +00:00
José Fonseca
fedd054d53
llvmpipe: Share testing infrastructure with lp_test_format.
2009-10-25 09:53:48 +00:00
José Fonseca
17afb6dd69
llvmpipe: Eliminate lp_build_store_rgba_aos.
2009-10-25 09:53:48 +00:00