Commit graph

40366 commits

Author SHA1 Message Date
Thomas Balling Sørensen
a565f58eda vl: enable target va-r600 2010-10-28 13:40:59 +02:00
Thomas Balling Sørensen
3fac09ad87 vl: Initial implementation of vlVaQuerySubpictureFormats. 2010-10-28 12:51:35 +02:00
Thomas Balling Sørensen
fd2cbe94df vl: small typos and stuff 2010-10-28 09:40:25 +02:00
Thomas Balling Sørensen
6b6310e67c vl: morefixes to Luc's patch 2010-10-27 20:27:11 +02:00
Thomas Balling Sørensen
664f10625a vl: rest of Luc's patch 2010-10-27 13:01:18 +02:00
Thomas Balling Sørensen
990cb62963 vl: commited Orasanu Lucian's patch containing va stubs. 2010-10-27 11:00:11 +02:00
Thomas Balling Sørensen
17ea7d16bd vl: creating cleaner way of naming libraries 2010-10-26 14:06:01 +02:00
Thomas Balling Sørensen
050dfe9caf vl: fix some build issues after the merge 2010-10-26 13:58:19 +02:00
Thomas Balling Sørensen
6ac1bbe21a vl: pipe-video branch merged with Königs pipe-video branch 2010-10-26 13:44:19 +02:00
Thomas Balling Sørensen
4926c57480 Merge branch 'pipe-video' of git://anongit.freedesktop.org/~deathsimple/xvmc-r600 into pipe-video
Conflicts:
	configure.ac
	src/gallium/auxiliary/vl/vl_compositor.c
	src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c
	src/gallium/drivers/softpipe/sp_video_context.c
	src/gallium/include/pipe/p_defines.h
	src/gallium/include/pipe/p_screen.h
2010-10-26 13:01:40 +02:00
Thomas Balling Sørensen
dbf3a15313 Merge branch 'master' into pipe-video
Conflicts:
	src/gallium/include/pipe/p_format.h
2010-10-26 12:49:41 +02:00
Chia-I Wu
547e7619aa egl_dri2: Fix a typo that make glFlush be called at wrong time.
We want to call glFlush when there is a current context.  That is,
old_ctx.  This is a regression introduced by
d19afc57fe.
2010-10-26 15:04:28 +08:00
Dave Airlie
d1acb92016 r600g: add assembler support for all the kcache fields. 2010-10-26 12:08:00 +10:00
Brian Paul
326b981d3f mesa: additional teximage error checks for GL_EXT_texture_integer 2010-10-25 19:21:55 -06:00
Brian Paul
862bb1b0ff mesa: additional switch cases for GL_EXT_texture_integer 2010-10-25 19:21:55 -06:00
Brian Paul
751e10fc01 mesa: additional glReadPixels error checks for GL_EXT_texture_integer 2010-10-25 19:21:55 -06:00
Dave Airlie
2d2bafdb30 r600g: fix magic 0x1 ->flat shade ena 2010-10-26 09:47:02 +10:00
Kenneth Graunke
ba2382f50d glsl: Fix constant component count in vector constructor emitting.
Fixes freedesktop.org bug #31101 as well as piglit test cases
assignment-type-mismatch.vert and constructor-28.vert.
2010-10-25 12:56:47 -07:00
Thomas Balling Sørensen
1dccc4cfaa vl: add'ed stub for VaCreateImage 2010-10-25 21:38:08 +02:00
Thomas Balling Sørensen
aea4d004d2 vl: more stub work for a va implementation 2010-10-25 20:52:02 +02:00
Christian König
97a7cf230a Workaround for skipping vertex elements for r600g 2010-10-25 19:59:31 +02:00
Chad Versace
6e00627384 glsl: Fix ast-to-hir for ARB_fragment_coord_conventions
Function ast_declarator_list::hir(), when processing keywords added by
extension ARB_fragment_coord_conventions, made the mistake of checking only if
the extension was __supported by the driver__. The correct behavior is to check
if the extensi0n is __enabled in the parse state__.

NOTE: this is a candidate for the 7.9 branch.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2010-10-25 10:10:58 -07:00
Brian Paul
af03c14d4c translate: remove unused prototypes 2010-10-25 10:34:44 -06:00
Brian Paul
81d5afbbec translate: use function typedefs, casts to silence warnings 2010-10-25 10:31:56 -06:00
Marek Olšák
64276cffcb st/mesa: support RGBA16 and use it for RGBA12 as well
Tested with r300g.

Signed-off-by: Marek Olšák <maraeo@gmail.com>
2010-10-25 18:21:12 +02:00
Brian Paul
1686db70d6 rtasm: use pointer_to_func() to silence warning 2010-10-25 09:18:07 -06:00
Brian Paul
e1e7843d03 util: use pointer_to_func() to silence warning 2010-10-25 09:17:40 -06:00
Brian Paul
da580dbbe8 xlib: silence unused var warning 2010-10-25 09:17:09 -06:00
Brian Paul
2701eb342b mesa: fix uninitialized var warning
http://bugs.freedesktop.org/show_bug.cgi?id=31067
2010-10-25 09:11:26 -06:00
Brian Paul
f72e4b306b mesa: silence enum comparison warning
http://bugs.freedesktop.org/show_bug.cgi?id=31069
2010-10-25 09:10:36 -06:00
Marek Olšák
8449a4772a r300g: fix texture border for 16-bits-per-channel formats
This is kinda hacky, but it's hard to come up with a generic solution for
all formats when only a few are used in practice (I mostly get B8G8R8*8).
2010-10-24 23:43:13 +02:00
Marek Olšák
6e61853590 mesa: allow FBO attachments of formats LUMINANCE, LUMINANCE_ALPHA, and INTENSITY
As per the GL_ARB_framebuffer_object specification.

Signed-off-by: Marek Olšák <maraeo@gmail.com>
2010-10-24 23:14:01 +02:00
Thomas Balling Sørensen
501ac572c6 vl: va state-tracker configuration scripts 2010-10-24 19:27:29 +02:00
Jon TURNEY
70f60c9c89 Ensure -L$(TOP)/$(LIB_DIR) appears in link line before any -L in $LDFLAGS
Ensure -L$(TOP)/$(LIB_DIR) (the staging dir for build products), appears
in the link line before any -L in $LDFLAGS, so that we link driver we are
building with libEGL we have just built, and not an installed version

[olv: make a similar change to targets/egl]

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2010-10-24 23:13:49 +08:00
Dave Airlie
a20c2347a0 r600g: drop more common state handling code 2010-10-24 13:04:44 +10:00
Tilman Sauerbeck
f4a2c62af5 r600g: Also clear bc data when we're destroying a shader.
[airlied: remove unused vars]

Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-10-24 12:56:35 +10:00
Tilman Sauerbeck
ccb9be1056 r600g: Added r600_pipe_shader_destroy().
Not yet complete.

Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-10-24 12:55:18 +10:00
Dave Airlie
9612b482e2 r600g: merge more of the common r600/evergreen state handling 2010-10-24 12:53:50 +10:00
Tilman Sauerbeck
9f9d24c89a r600g: Fixed r600_vertex_element leak.
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-10-24 12:44:56 +10:00
Christian König
b0dfc3f261 Remove code copied over from r300 2010-10-24 00:53:49 +02:00
Brian Paul
d8740b77ac softpipe: remove >32bpp color restriction
The comment was out of date.  The tile cache does handle >32-bit colors.
2010-10-23 10:27:21 -06:00
Brian Paul
e6ac8d5353 st/mesa: be smarter choosing texture format for glDrawPixels()
This lets us get an integer texture format for integer pixel formats.
2010-10-23 10:23:08 -06:00
Brian Paul
efd9e24312 mesa: display list support for GL_EXT_texture_integer 2010-10-23 10:19:31 -06:00
Brian Paul
98bb70ac84 mesa: plug in GL_EXT_texture_integer functions 2010-10-23 10:19:31 -06:00
Brian Paul
01e13a7d75 mesa: regenerated API files for GL_EXT_texture_integer 2010-10-23 10:19:31 -06:00
Brian Paul
fd6f17c21a glapi: include/build EXT_texture_integer.xml 2010-10-23 10:19:31 -06:00
Brian Paul
9d73c4a9d5 glapi: GL_EXT_texture_integer API 2010-10-23 10:19:31 -06:00
Brian Paul
646afcc340 mesa: simplify target_can_be_compressed() function 2010-10-23 10:19:31 -06:00
Brian Paul
77ca2044a0 st/mesa: add format selection for signed/unsigned integer formats 2010-10-23 10:19:30 -06:00
Brian Paul
d72bf5e79d mesa: added cases for GL_EXT_texture_integer 2010-10-23 10:19:30 -06:00