Commit Graph

27147 Commits

Author SHA1 Message Date
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
José Fonseca
232b586464 llvmpipe: Eliminate lp_build_load_rgba_aos. 2009-10-25 09:53:48 +00:00
José Fonseca
b4f6907b8d llvmpipe: Move a few format/sampling functions into better space. 2009-10-25 09:53:47 +00:00
Marek Olšák
c2df759cd7 r300g: fix redefining mipmaps and fetching from them 2009-10-25 10:16:59 +01:00
Marek Olšák
118dfe1688 r300g: added support for 3D textures
Mipmaps not tested. Also, I am not sure why piglit/texturing/tex3d needs
to have color tolerance +-1 to pass. The classic Mesa driver doesn't
need that.
2009-10-25 08:06:19 +01:00
Joakim Sindholt
94a63dccdd r300g: fix scons build yet again 2009-10-24 02:43:21 +02:00
Brian Paul
46a784b7fd Merge branch 'mesa_7_6_branch' 2009-10-23 18:38:43 -06:00
Brian Paul
26f1ad65b9 mesa: simplify att->CubeMapFace assignment 2009-10-23 18:31:03 -06:00
Brian Paul
346250b190 mesa: refactor, new print_shader_info() 2009-10-23 18:31:03 -06:00
Brian Paul
81a4d34f07 mesa: rework error checking code for glGetCompressedTexImage()
Do all error checking in new getcompressedteximage_error_check() func.
Move some additional PBO checks out of the driver fallbacks into the
error checking functions.
2009-10-23 18:31:03 -06:00
Brian Paul
d66965c9a1 mesa: remove misplaced VERBOSE_TEXTURE tests 2009-10-23 18:31:02 -06:00
Brian Paul
9b50ceac03 mesa: more detailed error messages in fbo code 2009-10-23 18:31:02 -06:00
Brian Paul
dc8b139aa2 mesa: remove FBO texture depth/stencil test
The texture format should not be checked until validation time since
the format might be changed by a subsequent glTexImage() call.
2009-10-23 18:22:41 -06:00
Zack Rusin
b17c885a8a st/xorg: fix text with component alpha rendering 2009-10-23 19:39:16 -04:00
Brian Paul
0acb057ad1 mesa: fix broken _mesa_str_checksum() 2009-10-23 16:36:15 -06:00
Eric Anholt
49d402e275 Merge remote branch 'origin/mesa_7_6_branch'
Conflicts:
	src/mesa/drivers/dri/intel/intel_fbo.c
	src/mesa/drivers/dri/intel/intel_mipmap_tree.c
	src/mesa/drivers/dri/intel/intel_mipmap_tree.h
	src/mesa/drivers/dri/intel/intel_tex_copy.c
	src/mesa/drivers/dri/intel/intel_tex_image.c
2009-10-23 15:21:05 -07:00
Eric Anholt
bfd51dc34d i965: Annotate _NEW_COLOR dependency for brw_update_renderbuffer_surface(). 2009-10-23 14:13:57 -07:00
Eric Anholt
2d17dbfb53 intel: Keep track of x,y offsets in miptrees and use them for blitting.
By just using offsets, we confused the hardware's tiling calculations,
resulting in failures in miptree validation and blit clears.

Fixes piglit fbo-clearmipmap.

Bug #23552. (automatic mipmap generation)
2009-10-23 14:12:24 -07:00
Brian Paul
b01937a3c9 progs/tests: print requested/internal format info 2009-10-23 14:52:10 -06:00
Brian Paul
96d7d66dff docs: document updated GL extension header files 2009-10-23 14:49:47 -06:00
Brian Paul
5c0dc902e7 gl: updated wglext.h to version 17 2009-10-23 14:49:26 -06:00