Re: [Mesa-dev] [PATCH] vbo: Clean up recalculate_input_bindings.

2011-12-26 Thread Mathias Fröhlich
Hi, On Tuesday, December 27, 2011 00:17:09 Brian Paul wrote: > LGTM. I presume you've done a piglit run and tested with a few other > things? I have run piglit quick with classic swrast an piglit r600g on gallium rv670 with this change. Also I am pretty sure that I have started osgviewer and p

Re: [Mesa-dev] [PATCH 0/5] Replace RENDERINPUTS with direct GLbitfield64 usage.

2011-12-26 Thread Brian Paul
2011/12/26 Mathias Fröhlich : > > Hi, > > Following a series as suggested to me by a review to a recent checkin. > > The series replaces the RENDERINPUTS* macros with direct usage of GLbitfield64 > values. > The patchset is piglit quick regression tested with traditional swrast. > > Due to the lack

Re: [Mesa-dev] [PATCH 1/4] mklib: Add Haiku build support

2011-12-26 Thread Brian Paul
On Sat, Dec 24, 2011 at 9:44 AM, Alexander von Gluck wrote: > On 24.12.2011 07:29, Brian Paul wrote: >> >> On Fri, Dec 23, 2011 at 4:24 PM, Alexander von Gluck >> wrote: >>> >>> >>> --- >>>  bin/mklib |   37 + >>>  1 files changed, 37 insertions(+), 0 deletions

Re: [Mesa-dev] [PATCH] gallium/u_pack: fix l8/i8 pack color ub

2011-12-26 Thread Brian Paul
On Sat, Dec 24, 2011 at 12:32 PM, Dave Airlie wrote: > From: Dave Airlie > > just noticed this in passing, not sure it actually fixes any issus. > > Signed-off-by: Dave Airlie > --- >  src/gallium/auxiliary/util/u_pack_color.h |    2 +- >  1 files changed, 1 insertions(+), 1 deletions(-) > > dif

Re: [Mesa-dev] [PATCH] vbo: Clean up recalculate_input_bindings.

2011-12-26 Thread Brian Paul
2011/12/25 Mathias Fröhlich : > > Hi, > > I have posted a very similar patch already with the array object change > series. But I have omitted applying this one because of a general issue that > Brian pointed me to in a patch prior to this one in the series. > But it turns out that this one should

Re: [Mesa-dev] [PATCH] Fix build with LLVM >= r145623.

2011-12-26 Thread Brian Paul
2011/12/26 Johannes Obermayr : > Am Dienstag, 20. Dezember 2011, 11:11:25 schrieb Michel > =?ISO-8859-1?Q?D=E4nzer?=: >> On Mon, 2011-12-19 at 23:11 +0100, Johannes Obermayr wrote: >> > This is a workaround for >> > https://bugs.freedesktop.org/show_bug.cgi?id=43861. >> > >> > Actually the issue

[Mesa-dev] [PATCH 1/2] intel: pass xoffset, yoffset = 0 to _mesa_texstore()

2011-12-26 Thread Brian Paul
From: Brian Paul --- src/mesa/drivers/dri/intel/intel_tex_subimage.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_tex_subimage.c b/src/mesa/drivers/dri/intel/intel_tex_subimage.c index 4572747..258c3f5 100644 --- a/src/mesa/drivers

[Mesa-dev] [PATCH 4/4] mesa: simplify Driver.GetCompressedTexImage() parameters

2011-12-26 Thread Brian Paul
From: Brian Paul --- src/mesa/main/dd.h |7 +++ src/mesa/main/texgetimage.c | 10 -- src/mesa/main/texgetimage.h |7 +++ 3 files changed, 10 insertions(+), 14 deletions(-) diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index 5a306e3..6707e78 100644 --- a

[Mesa-dev] [PATCH 3/4] mesa: simplify Driver.CompressedTex[Sub]Image function parameters

2011-12-26 Thread Brian Paul
From: Brian Paul As with previous commits, the target, level and texObj info can be obtained through the texImage pointer. --- src/mesa/main/dd.h | 95 +++- src/mesa/main/teximage.c | 30 -- src/mesa/main/texstore.c

[Mesa-dev] [PATCH 2/4] mesa: simplify Driver.TexImage() parameters

2011-12-26 Thread Brian Paul
From: Brian Paul As with TexSubImage(), the target, level and texObj values can be obtained through the texImage pointer. --- src/mesa/drivers/dri/intel/intel_tex_image.c | 43 src/mesa/drivers/dri/nouveau/nouveau_texture.c | 42 +-- src/mesa/drivers/dr

[Mesa-dev] [PATCH 1/4] mesa: simplify Driver.TexSubImage() parameters

2011-12-26 Thread Brian Paul
From: Brian Paul There's no need to pass the target, level and texObj parameters since they can be easily obtained from the texImage pointer. --- src/mesa/drivers/common/meta.c | 18 +- src/mesa/drivers/dri/intel/intel_tex_subimage.c | 31 ++-- src/mesa/d

[Mesa-dev] [PATCH] st/mesa: remove TexSubImage code, use core mesa routines instead.

2011-12-26 Thread Brian Paul
From: Brian Paul Since the move to Map/UnmapTextureImage, the core mesa routines are equivalent to what the state tracker was doing. The TexImage functions can be replaced too, but there's a few differences that will need to be handled. --- src/mesa/state_tracker/st_cb_texture.c | 143 +---

Re: [Mesa-dev] [PATCH 1/3] vl: call decode_bitstream only once

2011-12-26 Thread Maarten Lankhorst
2011/12/26 Christian König : > Submit all bitstreams at once to decode_bitstream. > > Signed-off-by: Christian König Signed-off-by: Maarten Lankhorst ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/

[Mesa-dev] [PATCH 3/3] vl: replace decode_buffers with auxiliary data field

2011-12-26 Thread Christian König
Based on patches from Maarten Lankhorst Signed-off-by: Christian König --- src/gallium/auxiliary/vl/vl_decoder.c | 20 +--- src/gallium/auxiliary/vl/vl_decoder.h |9 +-- src/gallium/auxiliary/vl/vl_mpeg12_decoder.c | 100 ++-- src/gallium/a

[Mesa-dev] [PATCH 2/3] vl: seperate shader buffers from components

2011-12-26 Thread Christian König
Buffers for shader based decoding can now be released without its component still being around. Signed-off-by: Christian König --- src/gallium/auxiliary/vl/vl_idct.c | 29 ++--- src/gallium/auxiliary/vl/vl_idct.h |6 +--- src/gallium/auxiliary/vl/vl_

Re: [Mesa-dev] [PATCH 1/2] vl: Remove decode buffers

2011-12-26 Thread Christian König
The patch caused some problems with XvMC (try for example skipping forward/backwards, or just fast forward playing). So I split it up into three separate patches and reworked the handling of buffers in the XvMC case, please review. Christian. ___ mes

[Mesa-dev] [PATCH 1/3] vl: call decode_bitstream only once

2011-12-26 Thread Christian König
Submit all bitstreams at once to decode_bitstream. Signed-off-by: Christian König --- src/gallium/auxiliary/vl/vl_mpeg12_bitstream.c |5 +++-- src/gallium/auxiliary/vl/vl_mpeg12_bitstream.h |3 ++- src/gallium/auxiliary/vl/vl_mpeg12_decoder.c |6 -- src/gallium/include/pipe/p_v

Re: [Mesa-dev] [PATCH] Fix build with LLVM >= r145623.

2011-12-26 Thread Johannes Obermayr
Am Dienstag, 20. Dezember 2011, 11:11:25 schrieb Michel =?ISO-8859-1?Q?D=E4nzer?=: > On Mon, 2011-12-19 at 23:11 +0100, Johannes Obermayr wrote: > > This is a workaround for https://bugs.freedesktop.org/show_bug.cgi?id=43861. > > > > Actually the issue which makes -pedantic failing should be sol

[Mesa-dev] [Bug 44151] glXDestroyWindow after glXDestroyContext -> Invalid read

2011-12-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44151 Lauri Kasanen changed: What|Removed |Added Attachment #54822|application/octet-stream|text/plain mime type|

[Mesa-dev] [Bug 44151] New: glXDestroyWindow after glXDestroyContext -> Invalid read

2011-12-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44151 Bug #: 44151 Summary: glXDestroyWindow after glXDestroyContext -> Invalid read Classification: Unclassified Product: Mesa Version: git Platform: Other OS/Versi

[Mesa-dev] [PATCH 5/5] mesa: Convert to use GLbitfield64 directly.

2011-12-26 Thread Mathias Fröhlich
Signed-off-by: Mathias Froehlich --- src/mesa/swrast_setup/ss_context.c | 30 +- src/mesa/swrast_setup/ss_context.h |2 +- src/mesa/tnl/t_context.c | 20 +--- src/mesa/tnl/t_context.h | 14 +- 4 files changed, 2

[Mesa-dev] [PATCH 4/5] radeon: Convert to use GLbitfield64 directly.

2011-12-26 Thread Mathias Fröhlich
Signed-off-by: Mathias Froehlich --- src/mesa/drivers/dri/r200/r200_swtcl.c | 35 +- .../drivers/dri/radeon/radeon_common_context.h |2 +- src/mesa/drivers/dri/radeon/radeon_swtcl.c | 38 ++-- 3 files changed, 37 insertions(+), 38 d

[Mesa-dev] [PATCH 3/5] nouveau: Convert to use GLbitfield64 directly.

2011-12-26 Thread Mathias Fröhlich
Signed-off-by: Mathias Froehlich --- src/mesa/drivers/dri/nouveau/nouveau_swtnl_t.c |2 +- src/mesa/drivers/dri/nouveau/nv04_render.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/nouveau/nouveau_swtnl_t.c b/src/mesa/drivers/dri/nouveau/no

[Mesa-dev] [PATCH 1/5] mesa: Convert RENDERINPUTS* macros to GLbitfield64.

2011-12-26 Thread Mathias Fröhlich
Signed-off-by: Mathias Froehlich --- src/mesa/main/mtypes.h |6 ++ src/mesa/tnl/t_context.h | 25 + 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 02452aa..28cf6d7 100644 --- a/src/mesa/mai

[Mesa-dev] [PATCH 2/5] i915: Convert to use GLbitfield64 directly.

2011-12-26 Thread Mathias Fröhlich
Signed-off-by: Mathias Froehlich --- src/mesa/drivers/dri/i915/i830_context.h |2 +- src/mesa/drivers/dri/i915/i830_vtbl.c| 24 +++- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/src/mesa/drivers/dri/i915/i830_context.h b/src/mesa/drivers/dri/i915

[Mesa-dev] [PATCH 0/5] Replace RENDERINPUTS with direct GLbitfield64 usage.

2011-12-26 Thread Mathias Fröhlich
Hi, Following a series as suggested to me by a review to a recent checkin. The series replaces the RENDERINPUTS* macros with direct usage of GLbitfield64 values. The patchset is piglit quick regression tested with traditional swrast. Due to the lack of all this old hardware to test, plenty rev