[Mesa-dev] [Bug 47878] libXvMC* are not being installed where they should

2012-03-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47878 --- Comment #1 from Alexandre Demers 2012-03-27 22:32:36 PDT --- Makefile.xvmc points to: install: default $(INSTALL) -d $(DESTDIR)$(INSTALL_DIR)/$(LIB_DIR) $(MINSTALL) -m 755 $(TOP)/$(LIB_DIR)/gallium/$(LIB_GLOB) $(DESTDIR)$(INSTALL_DI

[Mesa-dev] [PATCH] gallivm: Fix method overriding in raw_debug_ostream.

2012-03-27 Thread Vinson Lee
Use matching type qualifers to avoid method hiding. Signed-off-by: Vinson Lee --- src/gallium/auxiliary/gallivm/lp_bld_debug.cpp |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_de

[Mesa-dev] [Bug 47873] [PATCH] Building libxatracker.o is broken when using --enable-32-bit on a 64bit OS

2012-03-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47873 Alexandre Demers changed: What|Removed |Added Summary|Building libxatracker.o is |[PATCH] Building |b

[Mesa-dev] [Bug 47873] Building libxatracker.o is broken when using --enable-32-bit on a 64bit OS

2012-03-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47873 --- Comment #1 from Alexandre Demers 2012-03-27 21:43:06 PDT --- Created attachment 59135 --> https://bugs.freedesktop.org/attachment.cgi?id=59135 missing DEFINES and CFLAGS This fixes the build (missing DEFINES and CFLAGS). -- Configure bu

[Mesa-dev] [Bug 47967] gallium driver svga doesn't compile with LIBDRM_LIBS=-L/usr/lib/x86_64-linux-gnu/

2012-03-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47967 --- Comment #1 from Alexandre Demers 2012-03-27 21:41:34 PDT --- By the way, you'll have understood by now that whatever you export into LIBDRM_LIBS breaks the build. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email -

Re: [Mesa-dev] [PATCH] configure: Add --with-llvm-shared-libs

2012-03-27 Thread Matt Turner
On Tue, Mar 27, 2012 at 10:24 PM, wrote: > From: Tom Stellard > > This option allows targets to link against the LLVM shared library > instead of the static libs.  With LLVM 2.9, his saves ~13 MB for each of > the r300 target libraries. Is this only useful for 2.9, and not 3.x?

[Mesa-dev] [PATCH] configure: Add --with-llvm-shared-libs

2012-03-27 Thread tstellar
From: Tom Stellard This option allows targets to link against the LLVM shared library instead of the static libs. With LLVM 2.9, his saves ~13 MB for each of the r300 target libraries. --- configure.ac | 15 +-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/confi

[Mesa-dev] [PATCH] glx: fix compile warnings

2012-03-27 Thread Yuanhan Liu
Fix 'set but not used' warnings; gl_version, gl_versions_profiles and glx_extensions variables are used just only HAVE_XCB_GLX_CREATE_CONTEXT is defined. Thus those warnings are shown when that macro isn't defined. Signed-off-by: Yuanhan Liu --- src/glx/clientinfo.c |2 ++ 1 files changed, 2

[Mesa-dev] [Bug 47967] New: gallium driver svga doesn't compile with LIBDRM_LIBS=-L/usr/lib/x86_64-linux-gnu/

2012-03-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47967 Bug #: 47967 Summary: gallium driver svga doesn't compile with LIBDRM_LIBS=-L/usr/lib/x86_64-linux-gnu/ Classification: Unclassified Product: Mesa Version: git Platfor

[Mesa-dev] [PATCH 2/2] gallium: adapt to get_query_result interface change

2012-03-27 Thread Marek Olšák
--- src/gallium/drivers/galahad/glhd_context.c |2 +- src/gallium/drivers/i915/i915_query.c |2 +- src/gallium/drivers/identity/id_context.c |2 +- src/gallium/drivers/llvmpipe/lp_query.c|4 ++-- src/gallium/drivers/noop/noop_pipe.c |3 ++- src/gallium/drivers/n

[Mesa-dev] [PATCH 1/2] gallium: make get_query_result return union* and not void*

2012-03-27 Thread Marek Olšák
This replaces the cryptic void* parameter with a union. (based on union r600_query_result) Users of this can still pass uint64* in it, but that cannot work for every query type, obviously. Most importantly, the code now documents what should be expected from get_query_result. This also adds pipe_

Re: [Mesa-dev] [PATCH 1/3] gbm: Add gbm_surface interface

2012-03-27 Thread Kristian Høgsberg
On Tue, Mar 27, 2012 at 3:27 PM, Jakob Bornecrantz wrote: >> + >> +   struct gbm_surface *(*surface_create)(struct gbm_device *gbm, >> +                                         uint32_t width, uint32_t height, >> +                                         uint32_t format); >> +   struct gbm_bo *(*s

Re: [Mesa-dev] [Intel-gfx] [PATCH] intel: Fix a case when mapping large texture fails

2012-03-27 Thread Anuj Phogat
On Tue, Mar 27, 2012 at 12:47 AM, Yuanhan Liu wrote: > On Mon, Feb 27, 2012 at 11:45:46AM -0800, Anuj Phogat wrote: > > This patch handles a case when mapping a large texture fails > > in drm_intel_gem_bo_map_gtt(). These changes avoid assertion > > failure later in the driver as reported in follo

Re: [Mesa-dev] [PATCH 1/3] gbm: Add gbm_surface interface

2012-03-27 Thread Jakob Bornecrantz
> + > +   struct gbm_surface *(*surface_create)(struct gbm_device *gbm, > +                                         uint32_t width, uint32_t height, > +                                         uint32_t format); > +   struct gbm_bo *(*surface_lock_front_buffer)(struct gbm_surface *surface); > +   vo

[Mesa-dev] [PATCH 3/3] egl_dri2: use gbm_surface as the native window type in drm platform

2012-03-27 Thread Kristian Høgsberg
From: Ander Conselvan de Oliveira --- src/egl/drivers/dri2/egl_dri2.h | 18 ++ src/egl/drivers/dri2/platform_drm.c | 342 ++- src/gbm/backends/dri/gbm_dri.c | 62 ++- src/gbm/backends/dri/gbm_driint.h |1 + 4 files changed, 420 insertions(+

[Mesa-dev] [PATCH 2/3] gbm: Create hooks for dri2_loader_extension in dri backend

2012-03-27 Thread Kristian Høgsberg
From: Ander Conselvan de Oliveira Pass a dri2_loader extension to the dri driver when gbm creates the dri screen. The implementation jumps through pointers in the gbm device so that an EGL on GBM implementation can provide the real implementations. --- src/gbm/backends/dri/gbm_dri.c| 53 +

[Mesa-dev] [PATCH 1/3] gbm: Add gbm_surface interface

2012-03-27 Thread Kristian Høgsberg
From: Ander Conselvan de Oliveira The idea here is to be able to create an egl window surface from a gbm_surface. This avoids the need for the surfaceless extension and lets the EGL platform handle buffer allocation, while keeping the user in charge of somehow presenting the buffers (using kms p

Re: [Mesa-dev] GBM Surface

2012-03-27 Thread Kristian Høgsberg
On Tue, Mar 27, 2012 at 3:08 PM, Kristian Høgsberg wrote: > Hi, > > Here's a patch series from Ander to implement a new gbm feature: gbm > surface.  The gbm library is useful for allocating surface for scanout > and rendering, but the application needs to create EGLImages for the > gbm bos and the

[Mesa-dev] GBM Surface

2012-03-27 Thread Kristian Høgsberg
Hi, Here's a patch series from Ander to implement a new gbm feature: gbm surface. The gbm library is useful for allocating surface for scanout and rendering, but the application needs to create EGLImages for the gbm bos and then renderbuffers and then render using an FBO. On top of that, we have

Re: [Mesa-dev] GLSL 1.40 and fixed function

2012-03-27 Thread Kenneth Graunke
On 03/27/2012 10:31 AM, Ian Romanick wrote: On 03/26/2012 01:35 PM, Eric Anholt wrote: I've got a question for GLSL 1.40 that could use some interpretation: Section 1.2.5 in the spec says: "The following features, previously deprecated, are removed: ... Fixed functionality for a programmable st

Re: [Mesa-dev] GLSL 1.40 and fixed function

2012-03-27 Thread Ian Romanick
On 03/26/2012 01:35 PM, Eric Anholt wrote: I've got a question for GLSL 1.40 that could use some interpretation: Section 1.2.5 in the spec says: "The following features, previously deprecated, are removed: ... Fixed functionality for a programmable stage. Supply shaders for

Re: [Mesa-dev] [PATCH 1/4] mesa: add support for ARB_blend_func_extended

2012-03-27 Thread Eric Anholt
On Tue, 27 Mar 2012 07:43:44 +0100, Dave Airlie wrote: > On Mon, Mar 26, 2012 at 9:17 PM, Eric Anholt wrote: > > On Mon, 26 Mar 2012 19:14:01 +0100, Dave Airlie wrote: > >> From: Dave Airlie > >> > >> Add implementations of the two API functions, > >> Add a new strings to uint mapping for index

[Mesa-dev] [Bug 47930] Use InitializeNativeTargetDisassembler() on LLVM >= 3.1

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

[Mesa-dev] [Bug 47649] fatal error: shared-glapi/glapi_mapi_tmp.h: No such file or directory

2012-03-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47649 --- Comment #2 from Kristian Høgsberg 2012-03-27 08:10:59 PDT --- (In reply to comment #1) > This compile bug is still reproducible. It is broking building packages of git > mesa, so users can't test new features. > > Can someone fix it or reve

Re: [Mesa-dev] [PATCH v3 09/12] gallium: Add pipe loader for device enumeration and driver multiplexing.

2012-03-27 Thread Jose Fonseca
I'm not equipped to review the actual code, but the new directory and name for this module look good. Jose - Original Message - > The goal is to have a uniform interface to create winsys and > pipe_screen instances for any driver, exposing the device enumeration > capabilities that might

Re: [Mesa-dev] [PATCH v3 05/12] gallium/tgsi/text: Make label parsing optional for branch instructions.

2012-03-27 Thread Jose Fonseca
Looks good thanks. Jose - Original Message - > Structured branch instructions like IF, ELSE, BGNLOOP, ENDLOOP no > longer require a label argument, make it optional for them. > --- > src/gallium/auxiliary/tgsi/tgsi_text.c | 19 +-- > 1 file changed, 9 insertions(+), 10

Re: [Mesa-dev] [PATCH v3 03/12] gallium/tgsi/ureg: Support local temporary emission.

2012-03-27 Thread Jose Fonseca
Looks good to me. Jose - Original Message - > --- > v3: Handle memory allocation failure. Add comment on the purpose of > ureg_DECL_local_temporary. > > src/gallium/auxiliary/tgsi/tgsi_ureg.c | 58 > > src/gallium/auxiliary/tgsi/tgsi_ureg.h |

Re: [Mesa-dev] [PATCH v3 02/12] gallium/tgsi/ureg: Lift the restriction on releasing temporaries over UREG_MAX_TEMP.

2012-03-27 Thread Jose Fonseca
- Original Message - > --- > v3: Handle memory allocation failure. > > src/gallium/auxiliary/tgsi/tgsi_ureg.c | 49 > ++-- > 1 file changed, 22 insertions(+), 27 deletions(-) > > diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.c > b/src/gallium/auxiliar

[Mesa-dev] [Bug 47649] fatal error: shared-glapi/glapi_mapi_tmp.h: No such file or directory

2012-03-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47649 --- Comment #1 from Fabio Pedretti 2012-03-27 07:14:51 PDT --- This compile bug is still reproducible. It is broking building packages of git mesa, so users can't test new features. Can someone fix it or revert the commit? -- Configure bugmai

Re: [Mesa-dev] [PATCH] Add support for GL_EXT_unpack_subimage on GLES2

2012-03-27 Thread Kristian Høgsberg
On Thu, Mar 22, 2012 at 10:02 AM, Kristian Høgsberg wrote: > On Wed, Mar 21, 2012 at 2:08 PM, Neil Roberts wrote: >> This extension just permits GL_UNPACK_ROW_LENGTH, GL_UNPACK_SKIP_ROWS >> and GL_UNPACK_SKIP_PIXELS to be passed to glPixelStore on GLES2 so it >> is trivial to implement. > > Looks

Re: [Mesa-dev] [Intel-gfx] [PATCH] intel: Fix a case when mapping large texture fails

2012-03-27 Thread Yuanhan Liu
On Mon, Feb 27, 2012 at 11:45:46AM -0800, Anuj Phogat wrote: > This patch handles a case when mapping a large texture fails > in drm_intel_gem_bo_map_gtt(). These changes avoid assertion > failure later in the driver as reported in following bugs: > > https://bugs.freedesktop.org/show_bug.cgi?id=4