Commit graph

30036 commits

Author SHA1 Message Date
Vinson Lee
cf061c24e0 swrast: Remove unnecessary header from s_depth.c. 2010-01-13 22:36:01 -08:00
Vinson Lee
d1631f734a swrast: Remove unnecessary header from s_drawpix.c. 2010-01-13 22:30:04 -08:00
Vinson Lee
f649870c9b swrast: Remove unnecessary header from s_feedback.c. 2010-01-13 22:20:44 -08:00
Corbin Simpson
6a2936b876 gallium/docs: Random things sitting around in my stash. 2010-01-13 20:46:53 -08:00
Corbin Simpson
264e548d86 r300g: Use indices to translate index buffers of ubytes.
progs/redbook/aapoly, among others, works fine now.
2010-01-13 20:44:49 -08:00
Corbin Simpson
8feb27b8ff radeong: Change DRI driver name to radeong. 2010-01-13 18:37:17 -08:00
Corbin Simpson
9bb2b90191 r300g: Disable immediate mode rendering for now.
Will re-enable when the bugs are ironed out.
2010-01-13 18:36:54 -08:00
Brian Paul
bc1b38af71 gallium/draw: s/clipper/clip_stage/ to be consistant with other stages 2010-01-13 17:39:45 -07:00
Brian Paul
c873613403 gallium/draw: whitespace and comments 2010-01-13 17:39:45 -07:00
Brian Paul
ee343feba1 gallium/draw: remove always-true conditional 2010-01-13 17:39:45 -07:00
Brian Paul
8519b244f7 gallium: remove forward struct decl
Other struct types (like pipe_texture) are referenced before they're
defined so no reason to special-case this one.
2010-01-13 17:39:44 -07:00
Jesse Barnes
1cfd769c2e DRI2: don't send DRI2 requests the server doesn't know about
At init time, NULL out the hooks that send the server new requests.
DRI2 never supported these extensions, so this preserves old behavior on
old servers with new Mesa.
2010-01-13 19:01:51 -05:00
Jesse Barnes
62eb28c810 GLX/DRI2: pass X drawable ID instead
These happened to be the same in my testing since I was using apps that
depend on the GLX 1.2 behavior where X and GLX drawables are
interchangeable.
2010-01-13 18:42:55 -05:00
Jesse Barnes
ed59b13da8 GLX: use glproto CFLAGS etc. when building
Roll the glproto check into the dri2proto and libdrm check so we get the
proper CFLAGS and LDFLAGS for the package.
2010-01-13 15:48:14 -05:00
Thomas Hellstrom
a9086f2d17 st/dri: Make sure we always request a fake front.
This should be the correct, but sub-optimal way to handle things on
pre-1.7 servers. For servers that automatically adds a fake front
we should never request the fake front and handle the reply differently.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-01-13 17:45:21 +01:00
José Fonseca
1b333453e4 svga: Fix compile_vs error code.
It could erroneously return PIPE_OK in some circumstances.

Make compile_fs code identical.
2010-01-13 13:40:09 +00:00
Michal Krol
ea0cc47a4f svga: Fix call to translate::run(). 2010-01-13 11:13:00 +01:00
Corbin Simpson
aeb34b2489 r300g: Account for CS space used per atom.
Oh yeah, those atoms are startin' to pay off. The main obstacle now
for OA playability is the absurdly low default mouse sensitivity, IMO.
Not totally smooth yet, but getting there.
2010-01-13 01:44:58 -08:00
Corbin Simpson
a930dc7ee9 r300g: Two dirty state optimizations. 2010-01-13 01:07:49 -08:00
Corbin Simpson
ae4eb25132 r300g: DCE in emit. 2010-01-13 00:57:03 -08:00
Vinson Lee
831764fa75 swrast: Remove unnecessary header from s_fragprog.c. 2010-01-12 23:54:15 -08:00
Corbin Simpson
e4e5acc833 r300g: Lower the immd mode threshold. 2010-01-12 22:22:22 -08:00
Vinson Lee
d6588a9372 swrast: Remove unnecessary header in s_lines.c. 2010-01-12 21:59:58 -08:00
Corbin Simpson
c1db20280c r300g: Fix is_r400 status for rs4xx and rc4xx.
As suggested by agd5f.
2010-01-12 21:52:00 -08:00
Vinson Lee
7debc532d5 swrast: Remove unnecessary header from s_points.c. 2010-01-12 21:51:19 -08:00
Corbin Simpson
948b7e97a6 r300g: Switch to immediate mode for tiny renders.
Useful for e.g. blitter.
2010-01-12 21:50:14 -08:00
Vinson Lee
11034bfa97 swrast: Remove unnecessary header from s_readpix.c. 2010-01-12 21:41:09 -08:00
Vinson Lee
a01b9eac04 swrast: Remove unnecessary header from s_texcombine.c. 2010-01-12 20:36:33 -08:00
Vinson Lee
c239f38709 tnl: Remove unnecessary header from t_context.c. 2010-01-12 20:14:36 -08:00
Vinson Lee
2c7cf3f9c9 tnl: Remove unnecessary headers from t_draw.c. 2010-01-12 20:02:44 -08:00
Vinson Lee
dffcbee8e7 tnl: Remove unnecessary header from t_pipeline.c. 2010-01-12 19:55:24 -08:00
Vinson Lee
a24d852630 tnl: Remove unnecessary header from t_rasterpos.c. 2010-01-12 19:49:19 -08:00
Vinson Lee
264f4101cd tnl: Remove unnecessary header from t_vb_program.c. 2010-01-12 19:45:25 -08:00
Marek Olšák
50ae9c6073 r300g: emit blend LTE/GTE thresholds on >=RV350
As per classic r300.
2010-01-12 18:08:58 -08:00
Marek Olšák
46992664d1 r300g: update the texture initialization so that it respects tiling
This is still work-in-progress and tiling is not enabled by default.
2010-01-12 18:08:58 -08:00
Marek Olšák
99ea4c0c7e r300g: add emission of texture tiling bits 2010-01-12 18:08:58 -08:00
Marek Olšák
e279d18232 r300g: add is_r400 flag
r4xx has some additional fragment shader registers compared to r3xx.
2010-01-12 18:08:58 -08:00
Marek Olšák
4c9a8a14e5 r300g: silence a warning 2010-01-12 18:08:58 -08:00
Marek Olšák
f3c4f2ef62 r300g: only emit scissor when needed
Reverting some bits from ce1c493ff8.

Given the latest fixes, it's not needed to always emit scissor, really.
2010-01-12 18:08:57 -08:00
Marek Olšák
a2926a2a8b Revert "r300g: Placate kernel checker by explicitly disabling depth test."
This reverts commit e920ee23b3.

Assuming the FB state is not dirty and the DSA state is, then the depth test
will be re-enabled, making the kernel checker angry. Reverting the commit
fixes piglit/glsl-bug-22603.
2010-01-12 18:08:57 -08:00
Marek Olšák
6633484774 r300g: mark all states as dirty after flush
It fixes almost all regressions introduced lately.
2010-01-12 18:08:57 -08:00
Vinson Lee
c631501003 vbo: Remove unnecessary headers from vbo_exec.c. 2010-01-12 17:07:24 -08:00
Vinson Lee
94d238e757 vbo: Remove unnecessary header from vbo_exec_array.c. 2010-01-12 16:55:36 -08:00
Vinson Lee
37d326503d vbo: Remove unnecessary header from vbo_exec_draw.c. 2010-01-12 16:37:30 -08:00
Michal Krol
8c53a2576e gallium: draw_arrays/elements_instanced() are of type void. 2010-01-12 18:51:27 +01:00
Marcin Slusarz
90762bd355 nv50: fix 2 off by one memory leaks (nv50_miptree_level->image_offset) 2010-01-12 17:39:23 +01:00
Marcin Slusarz
c83093973e nv50: fix memory leak on nv50_pc free 2010-01-12 17:38:52 +01:00
José Fonseca
26c78a4968 gallium: Rename ALIGN_STACK -> PIPE_ALIGN_STACK for consistency. 2010-01-12 12:15:24 +00:00
José Fonseca
5dfd5ed5e7 gallium: Simplify PIPE_ALIGN_VAR.
gcc allows pre-fix variable attributes.

Suggested by Ian Romanick.
2010-01-12 12:11:04 +00:00
José Fonseca
86bfe974b8 gallium: Generalize the alignment macros to other compilers and any alignment. 2010-01-12 12:11:04 +00:00