Commit Graph

23369 Commits

Author SHA1 Message Date
Corbin Simpson
05fc9cdfdf r300g: Clean up texture formats. 2009-10-12 21:48:07 -07:00
Brian Paul
3f928b3552 mesa: save/set/restore texture base/wrap state in blitframebuffer_texture() 2009-10-12 18:12:01 -06:00
Brian Paul
b5d6a8e88f mesa: minor clean up in check_begin_texture_render() 2009-10-12 18:12:01 -06:00
Brian Paul
47a7535f41 intel: whitespace/formatting clean-up 2009-10-12 18:12:00 -06:00
Brian Paul
3732d0a77d intel: replace extern decl with #include 2009-10-12 18:12:00 -06:00
Brian Paul
b9c2897957 intel: added INLINE keyword to minify()
This is mainly just to silence some warnings.
2009-10-12 18:12:00 -06:00
Brian Paul
c932e21fa8 intel: code clean-ups 2009-10-12 18:12:00 -06:00
Brian Paul
e6594a22f2 intel: pass zslice to intel_miptree_image_offset()
This lets us get rid of intel_miptree_depth_offsets() and simplify all
of the calling code.
2009-10-12 18:12:00 -06:00
Brian Paul
15d2ef6024 i965: remove unused var 2009-10-12 18:12:00 -06:00
Brian Paul
6c1cd4c558 mesa: print program Id when printing 2009-10-12 18:05:23 -06:00
Patrice Mandin
a5348d435d Add support for more 8 and 16 bits formats 2009-10-12 21:03:26 +02:00
Andre Maasikas
7a32c0a19e r600: implement ProgramStringNotify
need this to properly test with piglit/glean vert/fragprog tests
copied mostly from r300, many thanks to osiris, nha, airlied, others...
2009-10-12 16:28:36 +03:00
Andre Maasikas
da66d9e12d r600: LIT dst.y gets value from src.x
seems I overlooked this when removing hardcoded swizzles for this
one previously
2009-10-12 16:28:25 +03:00
Andre Maasikas
97dd35bd6f r600: DPH adds w comp of second operand, so set first one to 1 instead 2009-10-12 16:28:16 +03:00
Zack Rusin
150d4968e3 st/xorg: initialize pipe in the renderer 2009-10-11 21:52:10 -04:00
Zack Rusin
319a588238 st/xorg: lots of rendering and xv changes
extract all the rendering code to xorg_rendedrer, make both exa and xv
share that code. in the process cleanup the rendering code and implement
a lot more of the xv infrastructure.
2009-10-11 20:02:47 -04:00
Zack Rusin
59ae3d5155 configs: fix some remains of the i915simple driver 2009-10-11 20:02:47 -04:00
Zack Rusin
4969d014e5 st/xorg: implement basics of xv 2009-10-11 20:02:47 -04:00
Nicolai Hähnle
f096cc7dc1 r300g: Fix fragment program constants upload on R300
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-11 12:41:18 +02:00
Dave Airlie
3611d01a44 r300g: fix blending default state + alpha separate.
this makes the default state same as r300
2009-10-11 19:30:23 +10:00
Brian Paul
57e3eb1b17 Merge branch 'mesa_7_6_branch' 2009-10-10 09:25:34 -06:00
Brian Paul
39daa763b5 softpipe: fix multi-drawbuffers regression
This is part of the fix for bug 24401.
2009-10-10 09:24:22 -06:00
Brian Paul
768481ed40 softpipe: revert 564df9dc5f
This change silenced valgrind warnings but broke progs/tests/drawbuffers.
The problem is we don't know the surface's state when we start caching it
(it may or may not be initialized/cleared/etc).  So "clearing" it here was
presumptuous.  Leaving the code in place (but disabled) for reference and
when using valgrind.

Fixes bug 24401
2009-10-10 09:18:14 -06:00
Cooper Yuan
a74e53ddba r300g: add video surface create and destroy functions 2009-10-10 14:41:44 +08:00
Alex Deucher
194ede4bf9 radeon: fix scissor regression
fixes fdo bug 24248
2009-10-09 15:44:32 -04:00
Brian Paul
6164f1fe79 st/mesa: create aux buffers according to visual
Fixes bug 24426 for gallium.
2009-10-09 13:22:15 -06:00
Brian Paul
ce64e063a8 mesa: fix incorrect assertion in _mesa_add_aux_renderbuffers()
Fixes bug 24426.
2009-10-09 13:22:00 -06:00
Jakob Bornecrantz
db828ed758 st/xorg: Old X servers don't deal well with failing accesses 2009-10-08 14:54:38 +02:00
Jakob Bornecrantz
6d629d4aa2 st/xorg: More fallback debugging
Change the fallback debugging around a bit and do the old commit correctly
2009-10-08 14:50:40 +02:00
Jakob Bornecrantz
992b143b25 Revert "st/xorg: Debug fallbacks for composite as well"
This commit included a change that should have been in
its own commit, and turns out that you can do what was
suposed to go in it in much better way as well.

This reverts commit 5080e8bea6.
2009-10-08 14:46:29 +02:00
Jakob Bornecrantz
5080e8bea6 st/xorg: Debug fallbacks for composite as well 2009-10-08 13:42:44 +02:00
Jakob Bornecrantz
552efdae06 st/xorg: Use A8 textures for depth 8 pixmaps
There is no hardware out there that can render to I8 textures.
2009-10-08 13:42:40 +02:00
Jakob Bornecrantz
a31d16cbfa st/xorg: Fix depth stencil buffers on old X servers
Sanity checking is for the weak.
2009-10-08 13:42:31 +02:00
Brian Paul
f36123323c softpipe: restore/fix print_vertex() debug helper 2009-10-09 07:24:37 -06:00
José Fonseca
c595dea23c util: Force ESI register for cpuid's ebx result.
Fixes a segfault and better code. Unfortunately using an arbitrary
register ("=r") causes the gcc to abort when the code is optimized saying
it can't satisfy the constraint. Setting seems to do the trick.
2009-10-09 13:22:42 +01:00
José Fonseca
69588d7ed5 llvmpipe: Eliminate constant mapping/unmapping. 2009-10-09 11:29:33 +01:00
José Fonseca
b858257ca6 gdi: Fix the build when llvmpipe is requested (the default) but llvm is not present. 2009-10-09 11:08:17 +01:00
Andre Maasikas
44c6c20b69 r600: fixup KIL instruction a bit
- KILLGT takes 2 arguments
- arb KIL has no dst register
- add TODO about clause ending but currently piglit fp-kil passes and
  does not hang the card
2009-10-09 11:52:48 +03:00
Eric Anholt
9b8d2e76c3 i965: Use bo_references for the state cache delete function.
This appears to shave about 3% off the CPU usage in cairo-gl for firefox.
2009-10-08 17:12:23 -07:00
Eric Anholt
193dddb04e intel: Use new drm_intel_bo_references() to avoid flushing. 2009-10-08 17:12:23 -07:00
Brian Paul
f49d53594c mesa: free display list state after freeing shared state
Fixes bug 24402.
2009-10-08 12:50:44 -06:00
Brian Paul
f67bc2e872 Merge branch 'mesa_7_6_branch'
Conflicts:

	src/mesa/drivers/common/meta.c
2009-10-08 09:28:07 -06:00
Brian Paul
f001cc0981 mesa: clean up extended opcode code 2009-10-07 16:51:26 -06:00
Brian Paul
33e9ac20e3 mesa: move gl_list_instruction and gl_list_extensions to dlist.c 2009-10-07 16:41:18 -06:00
Brian Paul
15f05e97aa mesa: added _mesa_free_display_list_data() 2009-10-07 16:32:25 -06:00
Brian Paul
fc995c7298 mesa: clean-up display list mem allocation, fix NULL handling
The -1 term in alloc_instruction() foiled later NULL pointer checks.
2009-10-07 16:22:24 -06:00
Brian Paul
77be195cf6 main: replace ALLOC_INSTRUCTION macro with regular function 2009-10-07 16:12:26 -06:00
Brian Paul
6e1697bee7 mesa: rename display list functions
_mesa_alloc_instruction() sounded like it was related to vertex/fragment
program instructions, but it wasn't.
2009-10-07 16:03:09 -06:00
Brian Paul
ee3fbe7067 gallium/xlib: call XQueryExtension() in glXQueryExtension()
See bug 24321.
2009-10-07 14:43:27 -06:00
Brian Paul
9f002e4aaa mesa/xlib: call XQueryExtension() in glXQueryExtension()
See bug 24321.
2009-10-07 14:42:16 -06:00