Re: [Mesa-dev] [PATCH] egl_dri2: Fix out of tree builds with the wayland backend enabled

2012-05-03 Thread Sven Joachim
On 2012-05-03 02:31 +0200, Kenneth Graunke wrote: On 05/02/2012 04:04 PM, Robert Hooker wrote: Otherwise it fails like so: CC egl_dri2.lo In file included from egl_dri2.h:40:0, from egl_dri2.c:42: ../../../../../../src/egl/wayland/wayland-drm/wayland-drm.h:8:41:

[Mesa-dev] Cannot build mesa with wayland from the 0.85 branch

2012-05-03 Thread Sven Joachim
Hi folks, Building the wayland backend in mesa with wayland from the 0.85 branch fails: , | make[5]: Entering directory `/usr/local/src/deb-src/mesa/mesa/build/dri/src/gallium/state_trackers/egl' | gcc -c -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary

[Mesa-dev] libGL.so.* are not installed when configured with --enable-xlib-glx

2012-05-03 Thread Sven Joachim
When configuring mesa git master with --enable-xlib-glx, the GL library does not get installed. I configured mesa like this: , | % ./configure --enable-xlib-glx --without-gallium-drivers \ | --without-dri-drivers --disable-egl --prefix=/tmp/mesa ` and after running make, have the

Re: [Mesa-dev] Conflicts between OES/EXT/ARB_framebuffer_object and GL3.0/GLES2

2012-05-03 Thread Marek Olšák
On Thu, May 3, 2012 at 3:32 AM, Chad Versace chad.vers...@linux.intel.com wrote:   (FYI, if I understand the gallium code, the only drivers that currently   enable both are Intel, swrast, and OSMesa). Gallium also enables both if packed depth-stencil textures are supported (which is the case

Re: [Mesa-dev] [PATCH] gbm: Add gbm_bo_write entry point

2012-05-03 Thread Ander Conselvan de Oliveira
I did a simple test here and the patch worked. I have just a couple of comments. On 05/02/2012 10:32 PM, Kristian Høgsberg wrote: This new gbm entry point allows writing data into a gbm bo. The bo has to be created with the GBM_BO_USE_WRITE flag, and it's only required to work for

Re: [Mesa-dev] [PATCH] gbm: Add gbm_bo_write entry point

2012-05-03 Thread Jakob Bornecrantz
Hi Kristian, s/gbm_bo_write/gbm_bo_write_to_cursor/g and make fail on anything other then cursors and I'm happy. Not making it just happen to work on some hardware really sucks for those that it doesn't work on because people will expect it to work. Cheers, Jakob. - Original Message -

Re: [Mesa-dev] Cannot build mesa with wayland from the 0.85 branch

2012-05-03 Thread Sven Joachim
On 2012-05-03 07:20 +0200, Sven Joachim wrote: Building the wayland backend in mesa with wayland from the 0.85 branch fails: , | make[5]: Entering directory `/usr/local/src/deb-src/mesa/mesa/build/dri/src/gallium/state_trackers/egl' | gcc -c -I. -I../../../../src/gallium/include |

Re: [Mesa-dev] [PATCH] gbm: Add gbm_bo_write entry point

2012-05-03 Thread Kristian Høgsberg
On Thu, May 3, 2012 at 7:05 AM, Ander Conselvan de Oliveira conselv...@gmail.com wrote: I did a simple test here and the patch worked. I have just a couple of comments. Good points, patch updated. Kristian On 05/02/2012 10:32 PM, Kristian Høgsberg wrote: This new gbm entry point allows

Re: [Mesa-dev] [PATCH] gbm: Add gbm_bo_write entry point

2012-05-03 Thread Kristian Høgsberg
On Thu, May 3, 2012 at 7:47 AM, Jakob Bornecrantz ja...@vmware.com wrote: Hi Kristian, s/gbm_bo_write/gbm_bo_write_to_cursor/g and make fail on anything other then cursors and I'm happy. Not making it just happen to work on some hardware really sucks for those that it doesn't work on because

Re: [Mesa-dev] Conflicts between OES/EXT/ARB_framebuffer_object and GL3.0/GLES2

2012-05-03 Thread Ian Romanick
On 05/02/2012 06:32 PM, Chad Versace wrote: Mesa has problems in the way it implements glBindFramebuffer and glBindFramebufferEXT due to both being implemented by an overloaded _mesa_BindFramebufferEXT. This problem causes an Android app [1] to crash, and I want your opinion on how we should

Re: [Mesa-dev] [PATCH] egl_dri2: Fix out of tree builds with the wayland backend enabled

2012-05-03 Thread Kristian Høgsberg
On Wed, May 02, 2012 at 07:04:57PM -0400, Robert Hooker wrote: Otherwise it fails like so: CC egl_dri2.lo In file included from egl_dri2.h:40:0, from egl_dri2.c:42: ../../../../../../src/egl/wayland/wayland-drm/wayland-drm.h:8:41: fatal error:

Re: [Mesa-dev] [PATCH 1/6] Scaffolding for ARB_shader_bit_encoding.

2012-05-03 Thread Ian Romanick
On 05/02/2012 02:42 PM, Olivier Galibert wrote: On Wed, May 02, 2012 at 02:17:31PM -0700, Ian Romanick wrote: I've been trying to keep this list alphabetized. Ok. + if (ctx-Const.NativeIntegers) { + ctx-Extensions.ARB_shader_bit_encoding = GL_TRUE; + } + Is this actually true?

Re: [Mesa-dev] [PATCH] gbm: Add gbm_bo_write entry point

2012-05-03 Thread Jakob Bornecrantz
- Ursprungligt meddelande - On Thu, May 3, 2012 at 7:47 AM, Jakob Bornecrantz ja...@vmware.com wrote: Hi Kristian, s/gbm_bo_write/gbm_bo_write_to_cursor/g and make fail on anything other then cursors and I'm happy. Not making it just happen to work on some hardware really sucks

Re: [Mesa-dev] [PATCH] gbm: Add gbm_bo_write entry point

2012-05-03 Thread Jakob Bornecrantz
- Ursprungligt meddelande - This new gbm entry point allows writing data into a gbm bo. The bo has to be created with the GBM_BO_USE_WRITE flag, and it's only required to work for GBM_BO_USE_CURSOR_64X64 bos. The gbm API is designed to be the glue layer between EGL and KMS, but

Re: [Mesa-dev] Conflicts between OES/EXT/ARB_framebuffer_object and GL3.0/GLES2

2012-05-03 Thread Eric Anholt
On Wed, 02 May 2012 18:32:01 -0700, Chad Versace chad.vers...@linux.intel.com wrote: Solutions for core Mesa --- As for fixing _mesa_BindFramebufferEXT, I have two ideas. 1. Enforce in _mesa_BindFramebufferEXT that no more than one of ARB_fbo and EXT_fbo is

Re: [Mesa-dev] Conflicts between OES/EXT/ARB_framebuffer_object and GL3.0/GLES2

2012-05-03 Thread Chad Versace
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/03/2012 10:33 AM, Eric Anholt wrote: On Wed, 02 May 2012 18:32:01 -0700, Chad Versace chad.vers...@linux.intel.com wrote: Solutions for core Mesa --- As for fixing _mesa_BindFramebufferEXT, I have two ideas. 1.

Re: [Mesa-dev] [PATCH v2] i965: Fix mipmap offsets for HiZ and separate stencil buffers.

2012-05-03 Thread Kenneth Graunke
On 05/02/2012 02:48 PM, Paul Berry wrote: When rendering to a miplevel other than 0 within a color, depth, stencil, or HiZ buffer, we need to tell the GPU to render to an offset within the buffer, so that the data is written into the correct miplevel. We do this using a coarse offset (in

Re: [Mesa-dev] Conflicts between OES/EXT/ARB_framebuffer_object and GL3.0/GLES2

2012-05-03 Thread Chad Versace
On 05/03/2012 08:42 AM, Ian Romanick wrote: On 05/02/2012 06:32 PM, Chad Versace wrote: Quick Solution for the Intel drivers A quick solution may be as simple as removing ARB_fbo from the Intel drivers' GLES1/2 extension lists. Do you see any problem

Re: [Mesa-dev] Conflicts between OES/EXT/ARB_framebuffer_object and GL3.0/GLES2

2012-05-03 Thread Ian Romanick
On 05/03/2012 11:49 AM, Chad Versace wrote: On 05/03/2012 08:42 AM, Ian Romanick wrote: On 05/02/2012 06:32 PM, Chad Versace wrote: Quick Solution for the Intel drivers A quick solution may be as simple as removing ARB_fbo from the Intel drivers' GLES1/2

[Mesa-dev] Upcoming Mesa releases

2012-05-03 Thread Ian Romanick
To keep in the habit of doing regular releases, I'd like to propose the following set of release dates. We had previously discussed doing stable releases monthly and feature releases every six months. This set of dates basically reflects that. I should be able to package up most of these,

Re: [Mesa-dev] [PATCH] gbm: Add gbm_bo_write entry point

2012-05-03 Thread Kristian Høgsberg
On Thu, May 3, 2012 at 5:08 PM, Mandeep Baines mandeep.bai...@gmail.com wrote: 2012/5/2 Kristian Høgsberg k...@bitplanet.net: This new gbm entry point allows writing data into a gbm bo.  The bo has to be created with the GBM_BO_USE_WRITE flag, and it's only required to work for

Re: [Mesa-dev] Conflicts between OES/EXT/ARB_framebuffer_object and GL3.0/GLES2

2012-05-03 Thread Chad Versace
On 05/02/2012 06:32 PM, Chad Versace wrote: Mesa has problems in the way it implements glBindFramebuffer and glBindFramebufferEXT due to both being implemented by an overloaded _mesa_BindFramebufferEXT. This problem causes an Android app [1] to crash, and I want your opinion on how we should

[Mesa-dev] [PATCH] intel: Disable ARB_framebuffer_object in ES contexts

2012-05-03 Thread Chad Versace
This patch removes ARB_framebuffer_object from the GLES1 and GLES2 extension lists in intel_extensions_es.c. Fixes a crash in the Android browser on Ice Cream Sandwich. The Android browser crashed because it did the following, which is legal in GLES2 but not in ARB_framebuffer_object.