Commit graph

28654 commits

Author SHA1 Message Date
Michel Dänzer
f2651264d3 radeon: FBO fixes for big endian. 2009-11-17 08:05:22 +01:00
Michel Dänzer
2d0c295256 Add MESA_FORMAT_XRGB8888_REV. 2009-11-17 08:05:22 +01:00
Dave Airlie
e015a4c29b radeon: rn50's have no 3D engine so don't try and init 3D driver. 2009-11-17 16:06:26 +10:00
Vinson Lee
0e790ac353 progs/util: Fix memory leak if LoadYUVImage fails. 2009-11-16 18:24:06 -08:00
Jakob Bornecrantz
60769b232c svga: Build svga driver 2009-11-17 03:18:06 +01:00
Jakob Bornecrantz
f7109aaf6c svga: Add vmwgfx_drm.h file from vmwgfx kernel driver
Add the vmwgfx_drm.h header for now, this allows the svga driver
to be enabled by default without forcing people to install the
vmwgfx_drm.h header on their system.

To be removed once vmwgfx_drm.h is in libdrm.
2009-11-17 03:18:05 +01:00
Jakob Bornecrantz
3192633d4a svga: Add svga driver 2009-11-17 03:18:04 +01:00
Vinson Lee
6b480dc21d progs/demos: Fix memory leak in ray.c. 2009-11-16 18:06:40 -08:00
Jakob Bornecrantz
648e8b4c46 st/xorg: Fix copy-pasto
Thanks Alan.
2009-11-17 01:48:53 +01:00
Vinson Lee
ee555e3d69 progs/demos: Fix memory leak in projtex.c. 2009-11-16 16:31:34 -08:00
Vinson Lee
a1afe303de progs/demos: Fix memory leak in ipers.c. 2009-11-16 15:44:52 -08:00
Ian Romanick
fdfbae3381 i965: Use MESA_FORMAT_AL1616 when appropriate 2009-11-16 15:23:17 -08:00
Ian Romanick
b1616b2a81 Move 'static' to start of declaration to silence compiler warning 2009-11-16 15:23:16 -08:00
Ian Romanick
12982e381d AL1616: Enable MESA_FORMAT_AL1616 for software paths 2009-11-16 15:23:16 -08:00
Ian Romanick
3325dc91be AL1616: Add TexImage storage path 2009-11-16 15:23:16 -08:00
Ian Romanick
975871b4d5 AL1616: Add texel fetch / store routines 2009-11-16 15:23:16 -08:00
Ian Romanick
eb437fabe0 AL1616: Add formats for GL_LUMINANCE16_ALPHA16 textures 2009-11-16 15:23:16 -08:00
Ian Romanick
5fb07a4046 AL1616: Add macros to pack two GLushorts into a texel 2009-11-16 15:23:16 -08:00
Vinson Lee
aef3218f0b progs/demos: Fix memory leak in fslight.c. 2009-11-16 14:56:07 -08:00
Jakob Bornecrantz
cb060f3b98 st/xorg: Fix comp alpha code and deal with luminance masks
There are two fixes in here one is a one liner that fixes
component alpha logic. The other deals better with luminance
formats used for masks, sources not yet implemented.

Fixes component alpha text and icons in gnome. There are a one
or two cases that this code misses. Like if src_luminance is set
but no mask image is given.
2009-11-16 23:33:45 +01:00
Jakob Bornecrantz
5438ee3ecf st/xorg: Incase of format missmatch swizzle channels and set alpha
This path is only hit for icons in gnome so far
2009-11-16 23:33:44 +01:00
Alex Deucher
d683acb101 r600: don't force Z order
Let the hw decide (early vs late Z)
fixes fdo bug 25092

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-11-16 15:03:48 -05:00
Corbin Simpson
0f060250fc docs: Update r300g status. 2009-11-16 10:46:20 -08:00
Brian Paul
664b7303c2 docs: fixes, changes for Mesa 7.7 2009-11-16 11:33:45 -07:00
Brian Paul
fcf8dea36c progs/tests: silence warning 2009-11-16 11:33:45 -07:00
Brian Paul
f549f4c4b6 mesa: remove unused vertex array driver hooks 2009-11-16 11:33:44 -07:00
Brian Paul
652828ec0e mesa: check BaseLevel, MaxLevel in _mesa_GenerateMipmapEXT() 2009-11-16 08:25:17 -07:00
Brian Paul
a719395b45 mesa: use _mesa_get_current_tex_object() 2009-11-16 08:21:28 -07:00
Brian Paul
ecb03d75a2 mesa: added another check in check_gen_mipmap()
We don't need to call ctx->Driver.GenerateMipmap() if we're updating
a texture level >= MAX_LEVEL.
2009-11-16 08:18:03 -07:00
Michel Dänzer
d3a37d93ab st/xorg: Only reference new picture formats when they're defined.
Fixes http://bugs.freedesktop.org/show_bug.cgi/?id=25094 .
2009-11-16 11:59:39 +01:00
Brian Paul
afae49cc15 st/mesa: comments for st_draw.c 2009-11-15 16:22:53 -07:00
Brian Paul
4581f70578 st/egl: add some basic comments 2009-11-15 16:22:52 -07:00
Keith Whitwell
07fafc7c93 mesa/st: refactor vertex and fragment shader translation
Translate vertex shaders independently of fragment shaders.

Previously tried to make fragment shader semantic indexes always start
at zero and exclude holes.  This was unnecessary but meant that vertex
shader translation had to be adjusted to take this into account.

Now use a fixed scheme for labelling special FS input semantics
(color, etc), and another fixed scheme for the generics.

With this, vertex shaders can be translated independently of the bound
fragment shader, assuming mesa has done its own job and ensured that
the vertex shader provides at least the inputs the fragment shader is
looking for.  The state-tracker didn't attempt to do anything about
this previously, so it shouldn't be needed now.
2009-11-15 11:23:30 -08:00
Keith Whitwell
1454f20a99 mesa/st: emit tgsi vertex shader directly for drawpixels
One of several cases where we build mesa shaders and then translate
them to tgsi.  Many of those cases it's because we're combining two
mesa programs and there are helpers for that, but in this case at
least can go straight to tgsi.
2009-11-15 11:23:29 -08:00
Keith Whitwell
9953fe4cb4 mesa/st: don't calculate unused output_flags data either 2009-11-15 11:23:29 -08:00
Keith Whitwell
0ffdd1c1e8 mesa/st: don't calculate unused input_flags data 2009-11-15 11:23:29 -08:00
Keith Whitwell
b44b70dc11 mesa/st: don't calculate unused vs input semantic tags 2009-11-15 11:23:29 -08:00
Francisco Jerez
abefd7dcdf nv20: Fix build for the last nouveau_class.h changes.
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-11-15 18:20:19 +02:00
Francisco Jerez
ed9c4933af nv10: Fix build for the last nouveau_class.h changes.
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-11-15 18:20:19 +02:00
Vinson Lee
a420056750 progs: Ignore Mac OS dSYM directories. 2009-11-14 21:39:31 -08:00
Maciej Cencora
ad83aeccdc radeon: return false on texture validation if texture isn't complete 2009-11-14 18:11:16 +01:00
Maciej Cencora
23ec7c4574 radeon: rework mipmap tree 2009-11-14 16:55:39 +01:00
Maciej Cencora
8f88cf3938 radeon: more texture code refactoring 2009-11-14 16:55:38 +01:00
Maciej Cencora
9d0af686b2 radeon: minor refactoring of texture code
Also properly set dstImageOffsets for TexSubImage case.
2009-11-14 16:55:38 +01:00
Maciej Cencora
7628b06ba3 radeon: rework mipmap tree reference counting 2009-11-14 16:55:34 +01:00
Maciej Cencora
6e5d473cc1 r300: fix regression introduced in 1d5a06a1f7
Spotted by Dave Airlie
2009-11-14 14:43:34 +01:00
Maciej Cencora
aa19561158 radeon: use radeon_bo_is_referenced_by_cs for query objects 2009-11-14 14:43:18 +01:00
Maciej Cencora
d3fa67c9b8 radeon/r300: don't flush cmdbuf if not necessary 2009-11-14 14:43:10 +01:00
Maciej Cencora
286bf89e5a radeon/r300: no need to flush the cmdbuf when changing scissors state in KMM mode 2009-11-14 14:42:48 +01:00
Maciej Cencora
f6d0993212 radeon: fix glBufferSubData 2009-11-14 14:42:34 +01:00