Michal Krol
d29e72633c
util: Fix encoding for R8G8B8A8_UNORM formats and friends.
2010-01-15 19:00:09 +01:00
Michal Krol
42d55953b1
tgsi: Add ureg_property_gs_input_prim().
2010-01-15 19:00:06 +01:00
Michal Krol
181adca5d6
tgsi: Add ureg_src_dimension().
2010-01-15 19:00:03 +01:00
Michal Krol
857b37980c
regress: Add .gitgnore for *.png files.
2010-01-15 18:59:59 +01:00
Michal Krol
b96976cc7c
draw: Add missing header include.
2010-01-15 18:59:55 +01:00
Roland Scheidegger
bf575b6c27
gallium: document set_constant_buffer
2010-01-15 18:25:14 +01:00
Roland Scheidegger
5e5d0ad081
Merge branch 'gallium-noconstbuf'
...
Conflicts:
src/gallium/drivers/softpipe/sp_draw_arrays.c
src/mesa/state_tracker/st_draw_feedback.c
2010-01-15 18:09:45 +01:00
Roland Scheidegger
1c4ad77812
gallium: remove set_edgeflags from docs
2010-01-15 17:55:42 +01:00
Michal Krol
d1767bfdab
tgsi: Fix sanity checks for indirect registers.
2010-01-15 11:44:23 +01:00
Chia-I Wu
8cfdbfbcbd
st/egl_g3d: Avoid validation upon buffer swap or flush frontbuffer.
...
With screen->update_buffer being hooked, leave the job to the state
trackers.
2010-01-15 18:12:23 +08:00
Chia-I Wu
b2c7b08299
st/egl_g3d: Hook to update_buffer of the pipe screen.
...
It is a notification from the client APIs that the surface size might
have changed.
2010-01-15 18:12:20 +08:00
Chia-I Wu
51b00574a2
st/egl_g3d: Always override flush_frontbuffer.
...
Instead of letting the native displays install their own version of
flush_frontbuffer, always override the callback with a version that
calls the flush_frontbuffer of the native surface.
2010-01-15 17:42:57 +08:00
Luca Barbieri
f7748d72b4
draw: Add GALLIUM_DUMP_VS environment variable.
...
Add GALLIUM_DUMP_VS to dump the vertex shader to the console like
GALLIUM_DUMP_FS in softpipe.
2010-01-15 07:30:17 +01:00
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
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
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
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
Corbin Simpson
e4e5acc833
r300g: Lower the immd mode threshold.
2010-01-12 22:22:22 -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
Corbin Simpson
948b7e97a6
r300g: Switch to immediate mode for tiny renders.
...
Useful for e.g. blitter.
2010-01-12 21:50:14 -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
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