[Mesa-dev] [PATCH 1/2] swrast: add an interface createNewContextForAPI

2011-01-29 Thread Feng, Haitao
>From 84b2c96eb2e477ac66b51022604286f555ff2f5b Mon Sep 17 00:00:00 2001 From: Haitao Feng Date: Sat, 29 Jan 2011 23:35:54 -0800 Subject: [PATCH 1/2] swrast: add an interface createNewContextForAPI This new interface could set up context for OpenGL, OpenGL ES1 and OpenGL ES2. It will be used by eg

Re: [Mesa-dev] more EXT_framebuffer_sRGB, 965 support

2011-01-29 Thread Eric Anholt
On Fri, 28 Jan 2011 14:34:19 +1000, Dave Airlie wrote: > Okay looking for some review/comments, esp on the addition to the > ctx->Const structure to denote if sRGB on FBOs is possible. > > Since just enabling the extension doesn't mean anything, we should > probably enable it on anything that ena

[Mesa-dev] [PATCH 1/3] glsl: Add a new opt_copy_propagation variant that does it channel-wise.

2011-01-29 Thread Eric Anholt
This patch cleans up many of the extra copies in GLSL IR introduced by i965's scalarizing passes. It doesn't result in a statistically significant performance difference on nexuiz high settings (n=3) or my demo (n=10), due to brw_fs.cpp's register coalescing covering most of those extra moves anyw

[Mesa-dev] [PATCH 2/3] glsl: Fix a comment typo in copy propagation.

2011-01-29 Thread Eric Anholt
--- src/glsl/opt_copy_propagation.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/glsl/opt_copy_propagation.cpp b/src/glsl/opt_copy_propagation.cpp index 8d07fef..2399748 100644 --- a/src/glsl/opt_copy_propagation.cpp +++ b/src/glsl/opt_copy_propagation.cpp @@ -1

[Mesa-dev] [PATCH 3/3] glsl: Remove extra checks for constant true assignment conditions.

2011-01-29 Thread Eric Anholt
These are already stripped by opt_constant_folding.cpp. --- src/glsl/opt_constant_propagation.cpp |7 ++- src/glsl/opt_constant_variable.cpp |7 ++- src/glsl/opt_copy_propagation.cpp |7 ++- src/glsl/opt_copy_propagation_elements.cpp |7 ++- sr

[Mesa-dev] [Bug 33696] regression with commit u_blitter: use user buffers instead of real buffers

2011-01-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33696 --- Comment #3 from Alexandre Demers 2011-01-29 19:45:39 PST --- I confirm it's fixed. Thanks. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee

[Mesa-dev] [Bug 33696] regression with commit u_blitter: use user buffers instead of real buffers

2011-01-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33696 Marek Olšák changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [Bug 33696] regression with commit u_blitter: use user buffers instead of real buffers

2011-01-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33696 --- Comment #1 from Alexandre Demers 2011-01-29 16:48:08 PST --- I tested on another computer (same versions of everything, but different hardware). The problem appears on my 64bit machine, which is usingthe r600g. It can't be reproduced on a 3

[Mesa-dev] Gallium proposal: add a user pointer in pipe_resource

2011-01-29 Thread Marek Olšák
Hi, I am proposing to add a pointer to a user buffer in pipe_resource. There are two reasons for this: 1) I would like to have a way to query outside of a driver whether a buffer is a user buffer. Simply comparing the pointer with NULL would do the trick. 2) I would like to efficiently obtain a

[Mesa-dev] [PATCH 3/3] glx: Fix leaks in DRISW screen creation error paths.

2011-01-29 Thread Henri Verbeet
--- src/glx/drisw_glx.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c index 237ce17..5c7f40c 100644 --- a/src/glx/drisw_glx.c +++ b/src/glx/drisw_glx.c @@ -452,8 +452,10 @@ driCreateScreen(int screen, struct glx_display *pr

[Mesa-dev] [PATCH 2/3] glx: Fix leaks in DRI screen creation error paths.

2011-01-29 Thread Henri Verbeet
--- src/glx/dri_glx.c | 39 --- 1 files changed, 20 insertions(+), 19 deletions(-) diff --git a/src/glx/dri_glx.c b/src/glx/dri_glx.c index 42b263c..ff027dc 100644 --- a/src/glx/dri_glx.c +++ b/src/glx/dri_glx.c @@ -836,26 +836,24 @@ driCreateScreen(int scree

[Mesa-dev] [PATCH 1/3] glx: Fix leaks in DRI2 screen creation error paths.

2011-01-29 Thread Henri Verbeet
--- src/glx/dri2_glx.c | 14 ++ src/glx/glxclient.h |2 ++ src/glx/glxext.c| 28 +--- 3 files changed, 29 insertions(+), 15 deletions(-) diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c index 75b1a10..ab7915c 100644 --- a/src/glx/dri2_glx.c +++

Re: [Mesa-dev] [PATCH mesa-demos] cmake: fix egl/opengl compilation (needs -lm)

2011-01-29 Thread Chia-I Wu
On Sat, Jan 29, 2011 at 4:08 AM, Paulo Zanoni wrote: > > Signed-off-by: Paulo Zanoni > --- > > My cmake-fu is not good. Maybe there are better ways to fix this. Suggestions > are always welcome =D Thanks for the patch. I've committed a similar fix from Jure Repinc (bug #33505). >  src/egl/opengl

Re: [Mesa-dev] How to use pipe_swrast.so for rendering?

2011-01-29 Thread Chia-I Wu
On Sat, Jan 29, 2011 at 10:19 PM, Arthur Zhu wrote: > > drmdpy->event_handler->new_drm_screen(&drmdpy->base, name, drmdpy->fd); > > Dose there have a chance to call new_sw_screen? You cannot use swrast with DRM. Judging by the log below, you have an i915 card. It is best supported by egl_dri2, w

[Mesa-dev] [Bug 33374] [bisect] FTBFS on commit 9767d3b5 (glapi: Fix OpenGL ES 1.1 and 2.0 interop)

2011-01-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33374 Dave Witbrodt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: [Mesa-dev] Mesa trunk not compiling?

2011-01-29 Thread Chia-I Wu
On Fri, Jan 28, 2011 at 2:08 AM, Alberich de megres wrote: > I did configure again, with the same error. > > I'm using this configure line: > > ./autogen.sh --prefix=$HOME/install --enable-egl --enable-gles2    \ >      --enable-gallium-nouveau --with-state-trackers=glx,dri,egl         \ >      --

[Mesa-dev] [Bug 33676] glew version not detected correctly for cmake/autotools build systems. (WAS: cmake build fail)

2011-01-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33676 Andrew Randrianasulu changed: What|Removed |Added Summary|cmake build fail|glew version not detected

[Mesa-dev] [Bug 33676] cmake build fail

2011-01-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33676 --- Comment #2 from Andrew Randrianasulu 2011-01-29 12:12:54 PST --- "You'll need [3]glew version 1.5.4 or later <...> " - from index.html .. Probably, correct name for this bug then ... glew version not detected correctly for cmake/aut

[Mesa-dev] [Bug 33505] [PATCH] Linking fails for egl/opengl/eglgears_*

2011-01-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33505 Chia-I Wu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: [Mesa-dev] [PATCH] scons: Add support for GLES.

2011-01-29 Thread Chia-I Wu
On Tue, Jan 25, 2011 at 10:08 PM, José Fonseca wrote: > Sorry for the delay. I thought I had replied but didn't. > On Fri, 2011-01-21 at 01:04 -0800, Chia-I Wu wrote: >> On Fri, Jan 21, 2011 at 12:18 AM, José Fonseca wrote: >> > Hi Olv, >> > >> > Looks good to me FWIW. >> Thanks. >> > I think we

[Mesa-dev] [Bug 33696] New: regression with commit u_blitter: use user buffers instead of real buffers

2011-01-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33696 Summary: regression with commit u_blitter: use user buffers instead of real buffers Product: Mesa Version: git Platform: All OS/Version: All Status: NEW S

[Mesa-dev] [Bug 33374] [bisect] FTBFS on commit 9767d3b5 (glapi: Fix OpenGL ES 1.1 and 2.0 interop)

2011-01-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33374 --- Comment #10 from Chia-I Wu 2011-01-29 11:06:52 PST --- (In reply to comment #9) > (In reply to comment #7) > > Thanks, that is helpful. Commit b825e4955243b8ecb57e58afafd8b2286fdd4369 > > should hopefully fix this. Can you try again? > > T

[Mesa-dev] [Bug 32285] Check OpenGL and OpenGL ES2.0 renderer info in one process

2011-01-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32285 --- Comment #6 from Chia-I Wu 2011-01-29 10:59:34 PST --- Created an attachment (id=42698) View: https://bugs.freedesktop.org/attachment.cgi?id=42698 Review: https://bugs.freedesktop.org/review?bug=32285&attachment=42698 patch to renderer_info

Re: [Mesa-dev] [RFC mesa-demos] Add --with-system-data-files configure option

2011-01-29 Thread Henri Verbeet
On 28 January 2011 21:09, Paulo Zanoni wrote: > As a consequence of moving images/ to data/, the patch file is 3.9MB > long, so you can grab it here: > http://www.inf.ufpr.br/paulo/0002-Add-with-system-data-files-option.patch > If you pass -M to format-patch, it becomes a lot smaller.

[Mesa-dev] How to use pipe_swrast.so for rendering?

2011-01-29 Thread Arthur Zhu
drmdpy->event_handler->new_drm_screen(&drmdpy->base, name, drmdpy->fd); Dose there have a chance to call new_sw_screen? gallium/state_trackers/egl/drm/native_drm.c Thanks, Arthur wayland/compositor# ./compositor libEGL debug: added /usr/lib/egl/egl_gallium.so to module array libEGL debug: add

[Mesa-dev] [Bug 33374] [bisect] FTBFS on commit 9767d3b5 (glapi: Fix OpenGL ES 1.1 and 2.0 interop)

2011-01-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33374 --- Comment #9 from Dave Witbrodt 2011-01-29 05:19:59 PST --- (In reply to comment #7) > Thanks, that is helpful. Commit b825e4955243b8ecb57e58afafd8b2286fdd4369 > should hopefully fix this. Can you try again? The build succeeds now. Thanks!

[Mesa-dev] [Bug 33374] [bisect] FTBFS on commit 9767d3b5 (glapi: Fix OpenGL ES 1.1 and 2.0 interop)

2011-01-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33374 --- Comment #8 from Sergey Kondakov 2011-01-29 03:44:33 PST --- fixes things for me. thanks! -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee f

Re: [Mesa-dev] Speed regression(?) in Vega state tracker

2011-01-29 Thread Chia-I Wu
On Sat, Jan 22, 2011 at 5:31 PM, Krzysztof Smiechowicz wrote: > Hello, > > I'm the maintainer of Mesa port for AROS (www.aros.org). I recently > backported Mesa 7.10 and noticed a considerable speed regression. After some > testing I narrowed the problem down to commit: > 859106f196ade77f59f8787b0

[Mesa-dev] [Bug 33374] [bisect] FTBFS on commit 9767d3b5 (glapi: Fix OpenGL ES 1.1 and 2.0 interop)

2011-01-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33374 --- Comment #7 from Chia-I Wu 2011-01-29 03:24:37 PST --- Thanks, that is helpful. Commit b825e4955243b8ecb57e58afafd8b2286fdd4369 should hopefully fix this. Can you try again? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?