Jakob Bornecrantz
b01ffb12ed
Merge branch 'mesa_7_7_branch'
...
Conflicts:
src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c
src/gallium/auxiliary/util/Makefile
src/gallium/drivers/r300/r300_state_derived.c
2010-01-14 22:31:04 +00:00
Michal Krol
ffd2848056
gallium: Document drawing commands.
2010-01-14 18:55:52 +01:00
Michal Krol
5184b02b07
Merge branch 'instanced-arrays'
...
Conflicts:
src/gallium/drivers/softpipe/sp_draw_arrays.c
2010-01-14 18:11:41 +01:00
Corbin Simpson
1bc77e9931
r300g: Cleanup from last few commits.
...
Strangely enough, the code solidified pretty quickly.
2010-01-14 09:01:37 -08:00
Łukasz Krotowski
60628c65c9
r300g: Really destroy translated buffer at the end.
...
Note that indexSize is changed by r300_translate_elts(). Also make sure
it's destroyed on errors.
2010-01-14 09:01:37 -08:00
Brian Paul
7fcfb71931
progs/trivial: test user clip plane in tri-point-line-clipped.c
2010-01-14 09:38:47 -07:00
Brian Paul
0a82692154
progs/trivial: test glPolygonMode(POINT/LINE) with frustum clipping
...
Note whether the new verts introduced by clipping show up as points
and lines along the edge of the window...
2010-01-14 09:22:30 -07:00
Brian Paul
d6b4655e13
gallium/util: silence warning about array initializers
2010-01-14 09:22:30 -07:00
Chia-I Wu
81430b95d0
egl_g3d: Check if the creation of pipe or st context fails.
...
It should not return an incomplete EGLContext to the users.
2010-01-14 17:29:48 +08:00
Chia-I Wu
6cb89b23ee
st/egl_g3d: Use a sequence number to decide if validation is required.
...
It is not safe to assume that the native surface has not changed since
the last validation by checking the geometry alone. Add a sequence
number to "validate" callback for that purpose. This is inspired by
Luca Barbieri's work.
2010-01-14 17:25:19 +08:00
Vinson Lee
252812bf15
st/mesa: Remove unnecessary header from st_program.c.
2010-01-13 23:28:00 -08:00
Vinson Lee
c109ca9c49
st/mesa: Remove unnecessary header from st_texture.c.
2010-01-13 23:16:05 -08:00
Vinson Lee
6b39e8aeb0
swrast: Remove unnecessary header from s_accum.c.
2010-01-13 23:01:03 -08:00
Vinson Lee
78411881d3
swrast: Remove unnecessary header from s_atifragshader.c.
2010-01-13 22:58:07 -08:00
Vinson Lee
0a70868131
swrast: Remove unnecessary header from s_bitmap.c.
2010-01-13 22:45:54 -08:00
Vinson Lee
886cffb44e
swrast: Remove unnecessary headers from s_copypix.c.
2010-01-13 22:43:16 -08:00
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