Re: [Mesa-dev] link error caused by "-l -O2"

2012-08-14 Thread Kevin H. Hobbs
On 08/14/2012 06:59 PM, Matt Turner wrote: > > Ian says (and I agree) that shared-glapi doesn't make any sense for > non-DRI configurations. So build with --disable-shared-glapi until I > get a patch to disable it on Xlib/OSMesa/... > Thank you. --disable-shared-glapi allows the build to procee

[Mesa-dev] [QUESTION] If shared dricode/glapi is enabled by default, why it isn't used by gallium

2012-08-14 Thread Maxim Levitsky
I noticed that recently in addition to nouveau_dri.so, I also get installed libdricore.so and libglsl.so. But two later files aren't linked to anything and can be deleted. Obviously nouveau_dri.so statically links its code. Quick glance over Makefiles makes me thing that same issue exists in othe

[Mesa-dev] [PATCH] glsl: Fix array overflow.

2012-08-14 Thread Stéphane Marchesin
Otherwise we run past the end of the array and crash. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Stéphane Marchesin --- src/glsl/link_uniforms.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/glsl/link_uniforms.cpp b/src/glsl/link_uniforms.cpp

[Mesa-dev] [PATCH] gallium/st: Use driver name to access driconf

2012-08-14 Thread Maxim Levitsky
This fixes fetching driconf options from the gallium drivers. Patch written by, Carl-Philip Haensch (http://lists.freedesktop.org/archives/mesa-dev/2011-May/007743.html) Signed-off-by: Maxim Levitsky --- .../state_trackers/dri/common/dri_context.c|5 +++-- 1 file changed, 3 insertio

[Mesa-dev] (no subject)

2012-08-14 Thread Maxim Levitsky
Hi, I have this backported patch here for more that an year, and forgot all about it. It just makes gallium drivers use driver name instread of 'dri' in driconf parser, thus making it compatable with 'driconf' GUI. Can you merge it? Best regards, Maxim Levitsky _

[Mesa-dev] [Bug 43477] force_glsl_extensions_warn not implemented in Gallium (was: rendering errors in unigine tropics and sanctuary (regression))

2012-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43477 --- Comment #11 from maximlevit...@gmail.com 2012-08-15 00:42:05 UTC --- Created attachment 65577 --> https://bugs.freedesktop.org/attachment.cgi?id=65577 quick fix This patch adds support for this via environment variable, like this: export fo

[Mesa-dev] [PATCH 2/3] intel: Eliminate unneeded hiz resolves

2012-08-14 Thread Chad Versace
On creating a hiz miptree, we conservatively marked that each miptree slice needed a hiz resolve. But the resolves are unneeded when creating a non-texture miptree, so this patch removes them. This eliminates one hiz resolve per each creation of a non-texture depth miptree. Hence, this eliminates

[Mesa-dev] [PATCH 3/3] i965: Remove redundant null check

2012-08-14 Thread Chad Versace
intel_renderbuffer_resolve_hiz checks if rb->mt is null, so there is no need for the caller to do so. Signed-off-by: Chad Versace --- src/mesa/drivers/dri/i965/brw_draw.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/driver

[Mesa-dev] [PATCH 1/3] i965: Move hiz resolve to after renderbuffer resizing

2012-08-14 Thread Chad Versace
Do all pre-draw hiz resolves *after* the renderbuffers are resized by intel_prepare_render. Otherwise, we may resolve buffers that are immediately discarded afterwards. Fixes the assertion failure below when resizing windows in KDE and under some unknown circumstance in Chrome OS: intel_resolv

[Mesa-dev] [PATCH 0/3] intel: A hiz bugfix and some little hiz cleanups

2012-08-14 Thread Chad Versace
Patch 1 fixes an ugly assertion failure in KDE and Chrome OS. Pathces 2-3 are little hiz cleanups that will improve performance by an infinitesimal amount. Chad Versace (3): i965: Move hiz resolve to after renderbuffer resizing intel: Eliminate unneeded hiz resolves i965: Remove redundant n

Re: [Mesa-dev] [PATCH weston 1/2] compositor: a couple debug logs

2012-08-14 Thread Kristian Høgsberg
On Mon, Aug 13, 2012 at 05:39:17PM -0500, Rob Clark wrote: > From: Rob Clark > > Well, they were useful to me in debugging, so probably sooner or later > useful to someone else. Yeah, they look pretty reasonable. Committed. Kristian > Signed-off-by: Rob Clark > --- > src/compositor.c |6

Re: [Mesa-dev] [PATCH] mesa: Remove C++11 narrowing warnings

2012-08-14 Thread Chad Versace
On 08/10/2012 03:40 PM, Chí-Thanh Christopher Nguyễn wrote: > Chad Versace schrieb: > >> This opens a larger question. gcc 4.2 was released in May 2007, over 5 years >> ago, and received its last update in May 2008. How old of a gcc should new >> Mesa >> releases support? >> >> Before 2007 I had

[Mesa-dev] [Bug 9733] Bug when calling glPixelZoom( 1.0, -1.0 )?

2012-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=9733 --- Comment #4 from almos 2012-08-14 23:10:23 UTC --- Does this problem apply to r300g? The classic r300 driver has been obsoleted. (btw the links in comment 2 yield error 404) -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab

[Mesa-dev] [Bug 4716] glxgears segfaults in neutral_VertexAttrib4fvARB, with mach64 dri

2012-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=4716 almos changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [Bug 53513] New: src/gallium/state_trackers/egl/common/egl_g3d_api.c:56:18: error: ‘_EGLContext’ has no member named ‘ClientVersion’

2012-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53513 Bug #: 53513 Summary: src/gallium/state_trackers/egl/common/egl_g3d_api.c:56 :18: error: ‘_EGLContext’ has no member named ‘ClientVersion’ Classification: Unclassified

Re: [Mesa-dev] link error caused by "-l -O2"

2012-08-14 Thread Matt Turner
On Tue, Aug 14, 2012 at 3:54 PM, Matt Turner wrote: > On Tue, Aug 14, 2012 at 10:34 AM, Kevin H. Hobbs wrote: >> I just checked out mesa from git. >> >> My system runs Fedora 17 x86_64. >> >> I configured mesa with : >> >> $ ./autogen.sh \ >> --prefix=/home/kevin/mesa_build/ \ >> --disable-dr

Re: [Mesa-dev] link error caused by "-l -O2"

2012-08-14 Thread Matt Turner
On Tue, Aug 14, 2012 at 10:34 AM, Kevin H. Hobbs wrote: > I just checked out mesa from git. > > My system runs Fedora 17 x86_64. > > I configured mesa with : > > $ ./autogen.sh \ > --prefix=/home/kevin/mesa_build/ \ > --disable-dri \ > --enable-glx \ > --enable-xlib-glx \ > --enable-osme

[Mesa-dev] [Bug 10999] GL_EXT_paletted_texture is not support without 3D driver

2012-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=10999 almos changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [Bug 43477] force_glsl_extensions_warn not implemented in Gallium (was: rendering errors in unigine tropics and sanctuary (regression))

2012-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43477 --- Comment #10 from maximlevit...@gmail.com 2012-08-14 22:30:28 UTC --- Yep, because Gallium ignores this setting as I said. It very easy to fix, so I'll send a patch in a hour -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?ta

[Mesa-dev] [Bug 43477] force_glsl_extensions_warn not implemented in Gallium (was: rendering errors in unigine tropics and sanctuary (regression))

2012-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43477 --- Comment #9 from almos 2012-08-14 22:25:12 UTC --- I understand that it's not Mesa3D's fault, but r600g doesn't seem to adhere to those drirc settings (yes, I changed the name of the driver to r600 in .drirc). If I run Tropics as ESA_EXTENSIO

Re: [Mesa-dev] [PATCH 03/19] gallium: make pipe_box signed in order to represent flipped blits

2012-08-14 Thread Roland Scheidegger
Am 12.08.2012 17:07, schrieb Marek Olšák: > On Fri, Aug 10, 2012 at 1:42 AM, Roland Scheidegger > wrote: >> Am 10.08.2012 00:37, schrieb Marek Olšák: >>> I'd like to have either signed pipe_box or a new struct for that purpose. >> It looks to me like conceptually what you want is more like a coor

[Mesa-dev] [Bug 43477] force_glsl_extensions_warn not implemented in Gallium (was: rendering errors in unigine tropics and sanctuary (regression))

2012-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43477 --- Comment #8 from maximlevit...@gmail.com 2012-08-14 22:06:00 UTC --- So, a quick glance at gallium code reveals that this workaround is not wired up in Gallum. And disable_blend_func_extended doesn't exist in recent mesa at all. -- Configure

[Mesa-dev] [Bug 43477] force_glsl_extensions_warn not implemented in Gallium (was: rendering errors in unigine tropics and sanctuary (regression))

2012-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43477 maximlevit...@gmail.com changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|NOT

[Mesa-dev] [Bug 53226] mesa/demos does not build with mesa git because of gbm API changes

2012-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53226 Olivier Blin changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [Bug 53226] mesa/demos does not build with mesa git because of gbm API changes

2012-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53226 Olivier Blin changed: What|Removed |Added CC||k...@bitplanet.net -- Configure bugmail:

[Mesa-dev] [Bug 53226] mesa/demos does not build with mesa git because of gbm API changes

2012-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53226 Olivier Blin changed: What|Removed |Added CC||ore...@gmail.com -- Configure bugmail: h

Re: [Mesa-dev] [PATCH 1/3] build: Require X11 pkg-config files

2012-08-14 Thread Jeremy Sequoia
On 08/14/12, Matt Turner wrote: > Cc: Jeremy Huddleston > --- > Jeremy, does OS X ship the pkg-config files? > Yes, Leopard and later ship the pkg-config files with Apple's X11.  XQuartz also ships the pkg-config files. I've been meaning to get mesa building on OS X using autoconf.  mast

Re: [Mesa-dev] [PATCH 1/8] mesa: update glext.h to version 83

2012-08-14 Thread Kenneth Graunke
On 08/13/2012 06:23 PM, Ian Romanick wrote: > From: Ian Romanick > > Signed-off-by: Ian Romanick > --- > include/GL/glext.h | 1039 > ++-- > 1 files changed, 1013 insertions(+), 26 deletions(-) For the series: Reviewed-by: Kenneth Graunke _

[Mesa-dev] [Bug 52140] Ubuntu Unity - Launcher and switcher icons disappeared

2012-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=52140 --- Comment #18 from Robert Hooker (Sarvatt) 2012-08-14 20:16:36 UTC --- This is now fixed for me on intel at least as of a 20120814 checkout up to b4977197 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email

[Mesa-dev] [PATCH 3/3] build: Remove -shared from OSMesa's LDFLAGS

2012-08-14 Thread Matt Turner
Would break the static build. --- Static build still broken in a number of other places because of ln -sf *.so. src/mesa/drivers/osmesa/Makefile.am |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/drivers/osmesa/Makefile.am b/src/mesa/drivers/osmesa/Makefile.am

[Mesa-dev] [PATCH 2/3] build: Remove EXTRA_LIB_PATH

2012-08-14 Thread Matt Turner
You can add extra library paths to LDFLAGS directly. --- configure.ac |6 +- src/gallium/targets/Makefile.va|2 +- src/gallium/targets/Makefile.vdpau |2 +- src/gallium/targets/Makefile.xvmc |2 +- 4 files changed, 4 insertions(+), 8 deletions(-) dif

[Mesa-dev] [PATCH 1/3] build: Require X11 pkg-config files

2012-08-14 Thread Matt Turner
Cc: Jeremy Huddleston --- Jeremy, does OS X ship the pkg-config files? configure.ac | 85 +++--- 1 files changed, 16 insertions(+), 69 deletions(-) diff --git a/configure.ac b/configure.ac index 2ecedaf..e1c8818 100644 --- a/configure.ac +++

Re: [Mesa-dev] [PATCH 4/8] mesa: Add skeleton implementations of glInvalidate{Sub, }Framebuffer

2012-08-14 Thread Kenneth Graunke
On 08/13/2012 06:23 PM, Ian Romanick wrote: > From: Ian Romanick > > These are part of GL_ARB_invalidate_subdata and OpenGL ES 3.0. > > Signed-off-by: Ian Romanick > --- > src/mesa/main/api_exec.c |5 ++ > src/mesa/main/fbobject.c | 141 > ++ >

[Mesa-dev] [Bug 43477] rendering errors in unigine tropics and sanctuary (regression)

2012-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43477 --- Comment #7 from maximlevit...@gmail.com 2012-08-14 19:43:35 UTC --- The point is that I do have a drirc. I also did this before running the demo: export force_glsl_extensions_warn=true export disable_blend_func_extended=true And yet, I am g

Re: [Mesa-dev] [PATCH] intel: Don't advertise GLX_SWAP_COPY_OML

2012-08-14 Thread Ian Romanick
On 08/13/2012 08:43 AM, Eric Anholt wrote: Ian Romanick writes: The tail should not wag the dog. If the application requests such a config, we should not page flip. There are cases where the copy is preferable because it leaves the backbuffer intact. Well, that would require extra work in dr

Re: [Mesa-dev] [PATCH] intel: Don't advertise GLX_SWAP_COPY_OML

2012-08-14 Thread Chad Versace
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/13/2012 08:43 AM, Eric Anholt wrote: > Ian Romanick writes: >> The tail should not wag the dog. If the application requests such a >> config, we should not page flip. There are cases where the copy is >> preferable because it leaves the backb

[Mesa-dev] link error caused by "-l -O2"

2012-08-14 Thread Kevin H. Hobbs
I just checked out mesa from git. My system runs Fedora 17 x86_64. I configured mesa with : $ ./autogen.sh \ --prefix=/home/kevin/mesa_build/ \ --disable-dri \ --enable-glx \ --enable-xlib-glx \ --enable-osmesa \ --without-gallium-drivers and built with : $ make -ij8 && make I get

Re: [Mesa-dev] [PATCH 7/8] mesa: Add skeleton implementations of glInvalidateTex{Sub, }Image

2012-08-14 Thread Ian Romanick
On 08/13/2012 08:01 PM, Brian Paul wrote: On Mon, Aug 13, 2012 at 7:24 PM, Ian Romanick wrote: From: Ian Romanick These are part of GL_ARB_invalidate_subdata (but not OpenGL ES 3.0). Signed-off-by: Ian Romanick --- src/mesa/main/api_exec.c |5 + src/mesa/main/texobj.c | 194 ++

[Mesa-dev] [PATCH] radeon/llvm: Adds a pass that try to propagates NEG/ABS flags to their user

2012-08-14 Thread Vincent Lejeune
--- src/gallium/drivers/radeon/AMDGPUTargetMachine.cpp | 1 + src/gallium/drivers/radeon/AMDIL.h | 2 + src/gallium/drivers/radeon/Makefile.sources| 1 + src/gallium/drivers/radeon/R600CodeEmitter.cpp | 5 +- .../drivers/radeon/R600ModifiersPropagation.cpp|

[Mesa-dev] [Bug 43477] rendering errors in unigine tropics and sanctuary (regression)

2012-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43477 Kenneth Graunke changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [Bug 53458] SCons KeyError: 'top_srcdir':

2012-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53458 José Fonseca changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: [Mesa-dev] [PATCH weston 2/2] compositor: add support for OES_EGL_image_external

2012-08-14 Thread Pekka Paalanen
On Mon, 13 Aug 2012 18:59:33 -0500 Rob Clark wrote: > On Mon, Aug 13, 2012 at 5:39 PM, Rob Clark wrote: > > From: Rob Clark > > > > In cases where the GPU can natively handle certain YUV formats, > > eglQueryWaylandBufferWL() can return the value EGL_TEXTURE_EXTERNAL_OES > > and the compositor