Brian Paul
f76cbac04a
mesa: use _mesa_get_texstore_func()
2009-09-27 18:28:22 -06:00
Brian Paul
e07862d2c9
st/mesa: use _mesa_get_texstore_func()
2009-09-27 18:27:59 -06:00
Brian Paul
8abb984dc9
mesa: null-out StoreTexImageFunc fields
2009-09-27 18:19:24 -06:00
Younes Manton
e44c85637a
g3dvl: Implement XvMC using pipe_video_context.
2009-09-27 20:18:02 -04:00
Brian Paul
431ba64222
mesa: use _mesa_get_texel_store_func()
2009-09-27 18:17:32 -06:00
Brian Paul
da5722bea6
mesa: use new look-up table to get texel fetch/store funcs
2009-09-27 18:09:23 -06:00
Brian Paul
7116ae857c
mesa: make some s3tc/fxt1 functions public
2009-09-27 18:08:49 -06:00
Younes Manton
f547472bfa
g3dvl: pipe_video_context interface, softpipe impl, auxiliary libs
2009-09-27 19:49:06 -04:00
Younes Manton
da793b7434
util: Add util_next_power_of_two() for rounding a uint up to a POT.
2009-09-27 19:25:57 -04:00
Brian Paul
0f91e4461f
mesa: minor clean-up in _mesa_texstore_srgb8()
2009-09-27 17:07:22 -06:00
Brian Paul
722b761564
mesa: use _mesa_get_texstore_func() to get texture image store func
2009-09-27 17:01:41 -06:00
Maciej Cencora
540039887a
r300g: fix erroneous condition
2009-09-27 22:44:29 +02:00
Maciej Cencora
98f6bea168
r300g: don't force vertex position for HW TCL path
...
It could be generated by vertex shader.
2009-09-27 22:44:28 +02:00
Maciej Cencora
bedc6b7bdf
r300g: add some assertions
...
Not sure why we are getting a shader with two inputs with position semantic, but we don't know how to handle it correctly so it's better to stop the app than lock the machine.
2009-09-27 22:44:28 +02:00
Maciej Cencora
8c8b77a5f3
r300g: plug memory leak
2009-09-27 22:44:27 +02:00
Maciej Cencora
a6eb593072
r300g: add some debugging info
2009-09-27 22:44:27 +02:00
Dave Airlie
d85fe842b8
r300g: fix r300 rs path
2009-09-28 06:42:25 +10:00
Dave Airlie
b1252c7a34
r300g: rewrite RS state setup.
...
Not 100% sure this is correct, but its more correct than what was here previous
however it may require changes in the input routing for the frag shader.
2009-09-28 06:28:32 +10:00
Dave Airlie
225c3375fd
r300g: silence compiler warning
2009-09-28 06:28:31 +10:00
Jakob Bornecrantz
48c45959ee
i915g: Submit direct vertex buffers
2009-09-27 13:19:49 -07:00
Jakob Bornecrantz
2d71b541d7
i915g: Fix warning
2009-09-27 13:19:49 -07:00
Jakob Bornecrantz
973e9a774a
i915g: Tile shared buffers as well
2009-09-27 13:19:49 -07:00
Jakob Bornecrantz
5aecddc153
i915g: Make sure to map tiled buffers via the gtt
2009-09-27 13:19:49 -07:00
Jakob Bornecrantz
60d72d9e45
i915g: Use boolean
2009-09-27 13:19:48 -07:00
Jakob Bornecrantz
c3663bdc35
i915g: Enable reuse of buffers
2009-09-27 13:19:48 -07:00
Jakob Bornecrantz
dd586078be
st/egl: Remove buffer from screen
...
It is no longer needed since the new drm api code,
and it incorrectly checked if the buffer where there
for testing completeness when it should have checked
the texture instead.
2009-09-27 13:19:48 -07:00
Richard Li
eea30906de
r600 : Enable draw_prim.
2009-09-27 14:47:12 -04:00
Younes Manton
a77226071f
softpipe: Grab a ref when the fb is set.
...
Nasty bug when the surface is freed and another is allocated right on
top of it. The next time we set the fb state SP thinks it's the same
surface and doesn't flush, and when the flush eventually happens the
surface belongs to a completely different texture.
2009-09-27 10:56:42 -04:00
Brian Paul
485105ed18
mesa: move _mesa_get_texstore_func() to texstore.c
2009-09-26 12:32:13 -06:00
Brian Paul
22108bb571
mesa: begin removing dependencies on gl_texture_format in texstore code
2009-09-26 12:26:18 -06:00
Brian Paul
a7455f9fc6
mesa: added formats.c to build
2009-09-26 12:25:02 -06:00
Brian Paul
9e7b56c980
mesa: include formats.h
2009-09-26 12:24:17 -06:00
Brian Paul
813870fd95
mesa: initial check-in of new formats.[ch] files
2009-09-26 12:21:03 -06:00
Dave Airlie
eb5dd947fb
r300g: add tx depth support in register.
...
also enable cube/3d bits in txformat reg
2009-09-26 19:32:46 +10:00
Dave Airlie
9bf85f6b95
r300g: only pass complete texture state to hw setup function
...
No point passing things twice here, also allows more state
to be setup properly.
2009-09-26 18:39:54 +10:00
Dave Airlie
ec9c02187e
r300g: add missing break in OQ emit
2009-09-26 18:39:54 +10:00
José Fonseca
1df539ce87
llvmpipe: Allow building with LLVM 2.6 too.
2009-09-26 09:37:43 +01:00
Dave Airlie
28f531e3fe
r300g: report GL1.5, enable cap bits for OQ and shadow.
...
Its not like it works well on 1.3 so may as well reach for greater
heights.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-09-26 18:25:00 +10:00
Dave Airlie
20d3c85128
r300g: add z16 unorm texture format
2009-09-26 18:24:34 +10:00
Dave Airlie
07183b73eb
r300g: fix texture pitch to correct value.
...
pitch is pixels - 1, not bytes.
2009-09-26 16:39:13 +10:00
Ian Romanick
8130375e77
Merge branch 'asm-shader-rework-2'
...
Conflicts:
src/mesa/shader/program_parse.tab.c
2009-09-25 16:57:38 -07:00
Michel Dänzer
151e0c0aea
intel: Handle GL_RGB8 for glCopyTex(Sub)Image.
...
Avoids an unnecessary fallback.
2009-09-25 21:00:28 +02:00
Michel Dänzer
c19482b16f
st/xorg: Re-enable accelerated fills and copies.
...
These seem to work well enough now with the new code. Composite acceleration
isn't quite there yet and thus remains disabled in xorg_composite_bind_state()
for now.
2009-09-25 20:49:53 +02:00
Michel Dänzer
07e2d6edfa
st/xorg: Flush render cache if but only if a source has pending write operations.
2009-09-25 20:49:53 +02:00
Michel Dänzer
626553f327
st/xorg: Reject Composite acceleration for some cases not working yet.
2009-09-25 20:49:53 +02:00
Michel Dänzer
9c449502a2
st/xorg: Make sure struct is fully initialized.
...
gcc complained about a missing initializer.
2009-09-25 20:49:00 +02:00
Michel Dänzer
b0ddfe8a3d
st/xorg: Use generic semantic for Composite mask coordinates.
2009-09-25 20:38:49 +02:00
Michel Dänzer
ac2e0ddcd8
st/xorg: Flesh out EXA PrepareComposite hook a little.
...
Check that the formats are supported, and don't crash with source-only
pictures.
2009-09-25 20:38:49 +02:00
Michel Dänzer
b97547027e
st/xorg: Use I8 format instead of A8 for depth 8 pixmaps.
...
Seems to work better for Composite acceleration.
2009-09-25 20:38:49 +02:00
Michel Dänzer
67fb13ba68
st/xorg: Bind rasterizer state for copies.
2009-09-25 20:38:49 +02:00