Re: [Mesa-dev] [PATCH] st/egl: Prepare for EGL_ALPHA_FORMAT

2011-09-01 Thread Chia-I Wu
On Thu, Sep 1, 2011 at 5:53 PM, Benjamin Franzke wrote: > In preparation for wayland ALPHA_FORMAT usage, > see commit 7b1d94e5d1f53ac5f59000176aea1d02fc9a1181. > > Changes: >  - New native_config surface_type bit: alpha_format_pre_bit >  - Introduction of native_surface_attribs >   (as new paramet

Re: [Mesa-dev] [PATCH 4/8] intel: add support for __DRI_IMAGE_FORMAT_RGBA8888_REV

2011-09-01 Thread Chia-I Wu
On Fri, Sep 2, 2011 at 4:09 AM, Eric Anholt wrote: > On Wed, 31 Aug 2011 13:46:35 +0800, Chia-I Wu wrote: >> From: Chia-I Wu >> >> Surfaces of the format can only be sampled from but not render to. > > Does the usage of this format in Android really not allow for binding as > a render target?  I

Re: [Mesa-dev] [PATCH 3/8] dri2: add __DRI_IMAGE_FORMAT_RGBA8888_REV to __DRI_IMAGE

2011-09-01 Thread Chia-I Wu
On Fri, Sep 2, 2011 at 4:03 AM, Eric Anholt wrote: > On Wed, 31 Aug 2011 13:46:34 +0800, Chia-I Wu wrote: >> From: Chia-I Wu >> >> Add a new format token, __DRI_IMAGE_FORMAT_RGBA_REV, to __DRI_IMAGE. >> It maps to MESA_FORMAT_RGBA_REV in core mesa or >> PIPE_FORMAT_R8G8B8A8_UNORM in gall

Re: [Mesa-dev] [PATCH 3/8] dri2: add __DRI_IMAGE_FORMAT_RGBA8888_REV to __DRI_IMAGE

2011-09-01 Thread Eric Anholt
On Wed, 31 Aug 2011 13:46:34 +0800, Chia-I Wu wrote: > From: Chia-I Wu > > Add a new format token, __DRI_IMAGE_FORMAT_RGBA_REV, to __DRI_IMAGE. > It maps to MESA_FORMAT_RGBA_REV in core mesa or > PIPE_FORMAT_R8G8B8A8_UNORM in gallium. It is the format of translucent > surfaces on Androi

Re: [Mesa-dev] [PATCH 7/7] st/vdpau: Implement VdpOutputSurfacePutBitsIndexed and VdpOutputSurfaceRenderOutputSurface

2011-09-01 Thread Kevin DeKorte
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/01/2011 09:08 AM, Christian König wrote: > Am Donnerstag, den 01.09.2011, 08:09 -0600 schrieb Kevin DeKorte: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> >> On 09/01/2011 07:50 AM, Christian König wrote: >>> This gets mplayers menu overla

Re: [Mesa-dev] [PATCH 4/8] intel: add support for __DRI_IMAGE_FORMAT_RGBA8888_REV

2011-09-01 Thread Eric Anholt
On Wed, 31 Aug 2011 13:46:35 +0800, Chia-I Wu wrote: > From: Chia-I Wu > > Surfaces of the format can only be sampled from but not render to. Does the usage of this format in Android really not allow for binding as a render target? It looks like it's exposed as a visual, so I would expect it t

Re: [Mesa-dev] [PATCH 7/7] g3dvl: Rewrite the mpeg 1&2 bitstream parser

2011-09-01 Thread Andy Furniss
Christian König wrote: Looks like there is some garbage at the end of the stream, mplayer is also complaining nicely about "TS_PARSE: COULDN'T SYNC". I played around a bit more, it seems that rather than garbage it's because the TS stream just ends. I now have a bit of a SD TV stream that I

Re: [Mesa-dev] [PATCH 7/7] st/vdpau: Implement VdpOutputSurfacePutBitsIndexed and VdpOutputSurfaceRenderOutputSurface

2011-09-01 Thread Younes Manton
2011/9/1 Christian König : > Am Donnerstag, den 01.09.2011, 13:28 -0400 schrieb Younes Manton: >> 2011/9/1 Christian König : >> > This gets mplayers menu overlay working. >> >> > +   if (destination_rect) { >> > +      res_tmpl.width0 = abs(destination_rect->x0-destination_rect->x1); >> > +      re

Re: [Mesa-dev] [PATCH 7/7] st/vdpau: Implement VdpOutputSurfacePutBitsIndexed and VdpOutputSurfaceRenderOutputSurface

2011-09-01 Thread Christian König
Am Donnerstag, den 01.09.2011, 13:28 -0400 schrieb Younes Manton: > 2011/9/1 Christian König : > > This gets mplayers menu overlay working. > > > + if (destination_rect) { > > + res_tmpl.width0 = abs(destination_rect->x0-destination_rect->x1); > > + res_tmpl.height0 = abs(destination_r

Re: [Mesa-dev] [PATCH 1/7] gallium: try to cleanup a bit of the format mess created with pipe-video merge

2011-09-01 Thread Christian König
Am Donnerstag, den 01.09.2011, 08:42 -0700 schrieb Jose Fonseca: > - Original Message - > > On Thu, Sep 1, 2011 at 11:08 AM, Christoph Bumiller > > wrote: > > > On 01.09.2011 17:02, Younes Manton wrote: > > >> On Thu, Sep 1, 2011 at 10:56 AM, Michel Dänzer > > >> wrote: > > >>> On Don, 20

Re: [Mesa-dev] [PATCH 7/7] st/vdpau: Implement VdpOutputSurfacePutBitsIndexed and VdpOutputSurfaceRenderOutputSurface

2011-09-01 Thread Younes Manton
2011/9/1 Christian König : > This gets mplayers menu overlay working. > +   if (destination_rect) { > +      res_tmpl.width0 = abs(destination_rect->x0-destination_rect->x1); > +      res_tmpl.height0 = abs(destination_rect->y0-destination_rect->y1); > +   } else { > +      res_tmpl.width0 = vlsur

Re: [Mesa-dev] [PATCH 1/7] gallium: try to cleanup a bit of the format mess created with pipe-video merge

2011-09-01 Thread Roland Scheidegger
Am 01.09.2011 17:23, schrieb Younes Manton: > On Thu, Sep 1, 2011 at 11:08 AM, Christoph Bumiller > wrote: >> On 01.09.2011 17:02, Younes Manton wrote: >>> On Thu, Sep 1, 2011 at 10:56 AM, Michel Dänzer wrote: On Don, 2011-09-01 at 15:50 +0200, Christian König wrote: > Start with correct

Re: [Mesa-dev] [PATCH 1/7] gallium: try to cleanup a bit of the format mess created with pipe-video merge

2011-09-01 Thread Christoph Bumiller
On 01.09.2011 18:05, Christian König wrote: > Am Donnerstag, den 01.09.2011, 17:08 +0200 schrieb Christoph Bumiller: >> On 01.09.2011 17:02, Younes Manton wrote: >>> On Thu, Sep 1, 2011 at 10:56 AM, Michel Dänzer wrote: On Don, 2011-09-01 at 15:50 +0200, Christian König wrote: > Start wit

Re: [Mesa-dev] [PATCH 1/7] gallium: try to cleanup a bit of the format mess created with pipe-video merge

2011-09-01 Thread Christian König
Am Donnerstag, den 01.09.2011, 17:08 +0200 schrieb Christoph Bumiller: > On 01.09.2011 17:02, Younes Manton wrote: > > On Thu, Sep 1, 2011 at 10:56 AM, Michel Dänzer wrote: > >> On Don, 2011-09-01 at 15:50 +0200, Christian König wrote: > >>> Start with correctly defining IA44 and AI44 formats. > >

Re: [Mesa-dev] [PATCH 4/7] gallium: add IA88 and AI88 indexed formats.

2011-09-01 Thread Christian König
Am Donnerstag, den 01.09.2011, 08:14 -0700 schrieb Jose Fonseca: > - Original Message - > > - It doesn't look like a typical intensity -- if so then RGB should > > have the same swizzle instead of "x00", and "y00". So either put a > > "xxx" or "yyy" RGB swizzles, or rename these to > > RA4

Re: [Mesa-dev] [PATCH 1/7] gallium: try to cleanup a bit of the format mess created with pipe-video merge

2011-09-01 Thread Jose Fonseca
- Original Message - > On Thu, Sep 1, 2011 at 11:08 AM, Christoph Bumiller > wrote: > > On 01.09.2011 17:02, Younes Manton wrote: > >> On Thu, Sep 1, 2011 at 10:56 AM, Michel Dänzer > >> wrote: > >>> On Don, 2011-09-01 at 15:50 +0200, Christian König wrote: > Start with correctly def

Re: [Mesa-dev] [PATCH 1/7] gallium: try to cleanup a bit of the format mess created with pipe-video merge

2011-09-01 Thread Younes Manton
On Thu, Sep 1, 2011 at 11:08 AM, Christoph Bumiller wrote: > On 01.09.2011 17:02, Younes Manton wrote: >> On Thu, Sep 1, 2011 at 10:56 AM, Michel Dänzer wrote: >>> On Don, 2011-09-01 at 15:50 +0200, Christian König wrote: Start with correctly defining IA44 and AI44 formats. Signed-

Re: [Mesa-dev] [PATCH 4/7] gallium: add IA88 and AI88 indexed formats.

2011-09-01 Thread Jose Fonseca
- Original Message - > - It doesn't look like a typical intensity -- if so then RGB should > have the same swizzle instead of "x00", and "y00". So either put a > "xxx" or "yyy" RGB swizzles, or rename these to > RA44/AR44/RA88/AR88/etc. Never mind this. Just read the other email that "I"

Re: [Mesa-dev] [PATCH 1/7] gallium: try to cleanup a bit of the format mess created with pipe-video merge

2011-09-01 Thread Christoph Bumiller
On 01.09.2011 17:02, Younes Manton wrote: > On Thu, Sep 1, 2011 at 10:56 AM, Michel Dänzer wrote: >> On Don, 2011-09-01 at 15:50 +0200, Christian König wrote: >>> Start with correctly defining IA44 and AI44 formats. >>> >>> Signed-off-by: Christian König >>> --- >>> src/gallium/auxiliary/util/u_

Re: [Mesa-dev] [PATCH 4/7] gallium: add IA88 and AI88 indexed formats.

2011-09-01 Thread Jose Fonseca
- Original Message - > They are mostly used for menu overlay. > > Signed-off-by: Christian König > --- > src/gallium/auxiliary/util/u_format.csv |2 ++ > src/gallium/include/pipe/p_format.h |6 -- > 2 files changed, 6 insertions(+), 2 deletions(-) > > diff --git a/src/ga

Re: [Mesa-dev] [PATCH 7/7] st/vdpau: Implement VdpOutputSurfacePutBitsIndexed and VdpOutputSurfaceRenderOutputSurface

2011-09-01 Thread Christian König
Am Donnerstag, den 01.09.2011, 08:09 -0600 schrieb Kevin DeKorte: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 09/01/2011 07:50 AM, Christian König wrote: > > This gets mplayers menu overlay working. > > > > Signed-off-by: Christian König --- > > src/gallium/state_trackers/vdpau/dev

Re: [Mesa-dev] [PATCH 1/7] gallium: try to cleanup a bit of the format mess created with pipe-video merge

2011-09-01 Thread Younes Manton
On Thu, Sep 1, 2011 at 10:56 AM, Michel Dänzer wrote: > On Don, 2011-09-01 at 15:50 +0200, Christian König wrote: >> Start with correctly defining IA44 and AI44 formats. >> >> Signed-off-by: Christian König >> --- >>  src/gallium/auxiliary/util/u_format.csv   |    6 +++- >>  src/gallium/auxiliary

Re: [Mesa-dev] [PATCH 1/7] gallium: try to cleanup a bit of the format mess created with pipe-video merge

2011-09-01 Thread Michel Dänzer
On Don, 2011-09-01 at 15:50 +0200, Christian König wrote: > Start with correctly defining IA44 and AI44 formats. > > Signed-off-by: Christian König > --- > src/gallium/auxiliary/util/u_format.csv |6 +++- > src/gallium/auxiliary/util/u_format_yuv.c | 38 --- > sr

Re: [Mesa-dev] [PATCH 7/7] g3dvl: Rewrite the mpeg 1&2 bitstream parser

2011-09-01 Thread Christian König
Am Montag, den 29.08.2011, 23:29 +0100 schrieb Andy Furniss: > Ironically your question made me search to see if I had any other mpeg2 > HD not from w6rz - I found one and it has issues with -vf ffmpeg12vdpau :-) Looks like there is some garbage at the end of the stream, mplayer is also complainin

Re: [Mesa-dev] [PATCH 2/7] r600g: add support for IA44 and AI44 textures.

2011-09-01 Thread Alex Deucher
2011/9/1 Christian König : > Sampling worked out of the box, but this make them work as surface as well. > > Signed-off-by: Christian König Reviewed-by: Alex Deucher > --- >  src/gallium/drivers/r600/evergreen_state.c |    4 >  src/gallium/drivers/r600/r600_state.c      |    4 >  2 fi

Re: [Mesa-dev] [PATCH 7/7] st/vdpau: Implement VdpOutputSurfacePutBitsIndexed and VdpOutputSurfaceRenderOutputSurface

2011-09-01 Thread Kevin DeKorte
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/01/2011 07:50 AM, Christian König wrote: > This gets mplayers menu overlay working. > > Signed-off-by: Christian König --- > src/gallium/state_trackers/vdpau/device.c|3 + > src/gallium/state_trackers/vdpau/mixer.c | 13 +

[Mesa-dev] [PATCH 7/7] st/vdpau: Implement VdpOutputSurfacePutBitsIndexed and VdpOutputSurfaceRenderOutputSurface

2011-09-01 Thread Christian König
This gets mplayers menu overlay working. Signed-off-by: Christian König --- src/gallium/state_trackers/vdpau/device.c|3 + src/gallium/state_trackers/vdpau/mixer.c | 13 +- src/gallium/state_trackers/vdpau/output.c| 258 +- src/gallium/state_tra

[Mesa-dev] [PATCH 5/7] g3dvl: extend the functionality of the compositor

2011-09-01 Thread Christian König
Prepares for vdpau menu overlay. --- src/gallium/auxiliary/vl/vl_compositor.c| 84 --- src/gallium/auxiliary/vl/vl_compositor.h| 22 +- src/gallium/state_trackers/vdpau/mixer.c|2 +- src/gallium/state_trackers/vdpau/presentation.c |2 +-

[Mesa-dev] [PATCH 4/7] gallium: add IA88 and AI88 indexed formats.

2011-09-01 Thread Christian König
They are mostly used for menu overlay. Signed-off-by: Christian König --- src/gallium/auxiliary/util/u_format.csv |2 ++ src/gallium/include/pipe/p_format.h |6 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/gallium/auxiliary/util/u_format.csv b/src/galliu

[Mesa-dev] [PATCH 6/7] st/xvmc: the alpha component of palette entries isn't used

2011-09-01 Thread Christian König
--- src/gallium/state_trackers/xorg/xvmc/subpicture.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/gallium/state_trackers/xorg/xvmc/subpicture.c b/src/gallium/state_trackers/xorg/xvmc/subpicture.c index 6fe4773..52677e2 100644 --- a/src/gallium/state_trackers/xorg

[Mesa-dev] [PATCH 3/7] st/xvmc: remove L4A4_UNORM workaround

2011-09-01 Thread Christian König
This is no longer needed, since we now have native support for IA44 and AI44. Signed-off-by: Christian König --- src/gallium/state_trackers/xorg/xvmc/subpicture.c | 38 +++-- 1 files changed, 5 insertions(+), 33 deletions(-) diff --git a/src/gallium/state_trackers/xorg/xvmc/su

[Mesa-dev] [PATCH 2/7] r600g: add support for IA44 and AI44 textures.

2011-09-01 Thread Christian König
Sampling worked out of the box, but this make them work as surface as well. Signed-off-by: Christian König --- src/gallium/drivers/r600/evergreen_state.c |4 src/gallium/drivers/r600/r600_state.c |4 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/galliu

[Mesa-dev] [PATCH 1/7] gallium: try to cleanup a bit of the format mess created with pipe-video merge

2011-09-01 Thread Christian König
Start with correctly defining IA44 and AI44 formats. Signed-off-by: Christian König --- src/gallium/auxiliary/util/u_format.csv |6 +++- src/gallium/auxiliary/util/u_format_yuv.c | 38 --- src/gallium/auxiliary/util/u_format_yuv.h | 40 --

[Mesa-dev] [PATCH] st/egl: Prepare for EGL_ALPHA_FORMAT

2011-09-01 Thread Benjamin Franzke
In preparation for wayland ALPHA_FORMAT usage, see commit 7b1d94e5d1f53ac5f59000176aea1d02fc9a1181. Changes: - New native_config surface_type bit: alpha_format_pre_bit - Introduction of native_surface_attribs (as new parameter in create_{window,pixmap}_surface) - New attrib alpha_format in n