Re: [Mesa-dev] [PATCH] mesa: bump version to 9.1 (devel)

2012-09-09 Thread Kenneth Graunke
Pushed, thanks! ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] Gallium: Moving BlitFramebuffer implementation into drivers

2012-09-09 Thread Christoph Bumiller
On 08.09.2012 23:52, Marek Olšák wrote: > Hi everyone, > > I'd like to move the BlitFramebuffer implementation into gallium > drivers. The pros are: > - allowing MSAA resource blitting to be accelerated on any hardware > - allowing stencil blitting to be accelerated on any hardware > - drivers are

[Mesa-dev] [PATCH 1/4] gbm: Add sRGB formats.

2012-09-09 Thread John Kåre Alsaker
--- src/gbm/main/gbm.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gbm/main/gbm.h b/src/gbm/main/gbm.h index 9d2a030..32211a7 100644 --- a/src/gbm/main/gbm.h +++ b/src/gbm/main/gbm.h @@ -127,6 +127,9 @@ enum gbm_bo_format { #define GBM_FORMAT_RGBA__gbm_fourcc_code('R', 'A',

[Mesa-dev] [PATCH 2/4] gbm: Remove gbm_bo_format and add GBM_FORMAT_NONE.

2012-09-09 Thread John Kåre Alsaker
--- src/gbm/main/gbm.h | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/gbm/main/gbm.h b/src/gbm/main/gbm.h index 32211a7..1bc4740 100644 --- a/src/gbm/main/gbm.h +++ b/src/gbm/main/gbm.h @@ -68,19 +68,13 @@ union gbm_bo_handle { uint64_t u64; }; -/** Forma

[Mesa-dev] [PATCH 3/4] gbm: Removed usage of gbm_bo_format from DRI backend.

2012-09-09 Thread John Kåre Alsaker
--- src/gbm/backends/dri/gbm_dri.c | 4 1 file changed, 4 deletions(-) diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backends/dri/gbm_dri.c index d8b1cc7..84c6de3 100644 --- a/src/gbm/backends/dri/gbm_dri.c +++ b/src/gbm/backends/dri/gbm_dri.c @@ -277,10 +277,8 @@ gbm_dri_is_format_s

[Mesa-dev] [PATCH 4/4] gbm: Removed usage of gbm_bo_format from Gallium backend.

2012-09-09 Thread John Kåre Alsaker
--- src/gallium/state_trackers/gbm/gbm_drm.c | 44 +--- 1 file changed, 29 insertions(+), 15 deletions(-) diff --git a/src/gallium/state_trackers/gbm/gbm_drm.c b/src/gallium/state_trackers/gbm/gbm_drm.c index 8490480..9f2cfe8 100644 --- a/src/gallium/state_trackers/gb

Re: [Mesa-dev] Gallium: Moving BlitFramebuffer implementation into drivers

2012-09-09 Thread Stéphane Marchesin
On Sat, Sep 8, 2012 at 2:52 PM, Marek Olšák wrote: > Hi everyone, > > I'd like to move the BlitFramebuffer implementation into gallium > drivers. The pros are: > - allowing MSAA resource blitting to be accelerated on any hardware > - allowing stencil blitting to be accelerated on any hardware > -

Re: [Mesa-dev] Gallium: Moving BlitFramebuffer implementation into drivers

2012-09-09 Thread Marek Olšák
On Sun, Sep 9, 2012 at 7:43 PM, Stéphane Marchesin wrote: > On Sat, Sep 8, 2012 at 2:52 PM, Marek Olšák wrote: >> Hi everyone, >> >> I'd like to move the BlitFramebuffer implementation into gallium >> drivers. The pros are: >> - allowing MSAA resource blitting to be accelerated on any hardware >>

[Mesa-dev] [Bug 47248] autogen missing dependency on flex and bison, causes infinite loop in glsl build

2012-09-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47248 Behdad Esfahbod changed: What|Removed |Added CC||freedesk...@behdad.org --- Comment #6

[Mesa-dev] [Bug 47248] autogen missing dependency on flex and bison, causes infinite loop in glsl build

2012-09-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47248 --- Comment #7 from Matt Turner 2012-09-10 00:12:26 UTC --- (In reply to comment #6) > The check for lex seems to be missing. I didn't have it installed and got > weird errors from ylwrap. I didn't think it would be needed, but seems it is. I'l

[Mesa-dev] [Bug 47248] autogen missing dependency on flex and bison, causes infinite loop in glsl build

2012-09-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47248 --- Comment #8 from Behdad Esfahbod 2012-09-10 02:15:09 UTC --- Thanks. While at it, glsl also seems to require a C++ compiler but configure doesn't check for it. I didn't have g++ installed and hit it mid-make. -- Configure bugmail: https:/

[Mesa-dev] [Bug 47248] autogen missing dependency on flex and bison, causes infinite loop in glsl build

2012-09-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47248 --- Comment #9 from Matt Turner 2012-09-10 03:36:38 UTC --- configure.ac most certainly uses AC_PROG_CXX, which checks for a C++ compiler. There should be no problem there. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=em

[Mesa-dev] [Bug 47248] autogen missing dependency on flex and bison, causes infinite loop in glsl build

2012-09-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47248 --- Comment #10 from Matt Turner 2012-09-10 03:41:28 UTC --- Created attachment 66899 --> https://bugs.freedesktop.org/attachment.cgi?id=66899 patch to fix lex detection How about this? -- Configure bugmail: https://bugs.freedesktop.org/use

[Mesa-dev] [Bug 47248] autogen missing dependency on flex and bison, causes infinite loop in glsl build

2012-09-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47248 --- Comment #11 from Behdad Esfahbod 2012-09-10 03:56:34 UTC --- Thanks. I'll check both issues tomorrow night. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- Yo

[Mesa-dev] [PATCH v2 00/12] mesa: glGet: fix lookup for apps using multiple APIs

2012-09-09 Thread Imre Deak
Hi, this addresses Brian's and Eric's comments. I opted to use a python script for the build time hash table generation, since if I understood correctly, having support for CC_FOR_BUILD is not planned (at least for master) [1]. PATCH 6 adds things that are later removed, this is for clarity and t

[Mesa-dev] [PATCH v2 01/12] mesa: glGet: fix indentation of _mesa_init_get_hash

2012-09-09 Thread Imre Deak
No functional change. Signed-off-by: Imre Deak --- src/mesa/main/get.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index 24d2a18..57457ef 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -1442,20

[Mesa-dev] [PATCH v2 02/12] mesa: glGet: fix indentation of find_value

2012-09-09 Thread Imre Deak
No functional change. Signed-off-by: Imre Deak --- src/mesa/main/get.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index 57457ef..bb0b619 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -1992,13 +1992,13 @

[Mesa-dev] [PATCH v2 03/12] mesa: glGet: fix indentation of print_table_stats

2012-09-09 Thread Imre Deak
No functional change. Signed-off-by: Imre Deak --- src/mesa/main/get.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index bb0b619..ce5af04 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -1398,29

[Mesa-dev] [PATCH v2 04/12] mesa: glGet: fix API check for EGL_image_external enums

2012-09-09 Thread Imre Deak
These enums are valid only in ES1 and ES2. So far they were marked valid incorrectly, depending on the previous API mask in the enum list. Signed-off-by: Imre Deak --- src/mesa/main/get.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/mesa/main/get.c b/

[Mesa-dev] [PATCH v2 05/12] mesa: add API_NUM

2012-09-09 Thread Imre Deak
Needed by the next patch. Signed-off-by: Imre Deak --- src/mesa/main/context.c |2 ++ src/mesa/main/mtypes.h |2 ++ src/mesa/main/version.c |3 +++ 3 files changed, 7 insertions(+) diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 6b28690..1167ea5 100644 --- a/sr

[Mesa-dev] [PATCH v2 06/12] mesa: glGet: fix parameter lookup for apps using multiple APIs

2012-09-09 Thread Imre Deak
The glGet hash was initialized only once for a single GL API, even if the application later created a context for a different API. This resulted in glGet failing for otherwise valid parameters in a context if that parameter was invalid in another context created earlier. Fix this by using a separa

[Mesa-dev] [PATCH v2 07/12] mesa: glGet: simplify the 'enum not found' condition

2012-09-09 Thread Imre Deak
When traversing the hash table looking up an enum that is invalid we eventually reach the first element in the descriptor array. By looking at the type of that element, which is always TYPE_API_MASK, we know that we can stop the search and return error. Since this element is always the first it's e

[Mesa-dev] [PATCH v2 08/12] gl.h: add missing GL_POLYGON_OFFSET_BIAS definition

2012-09-09 Thread Imre Deak
Signed-off-by: Imre Deak --- include/GL/gl.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/GL/gl.h b/include/GL/gl.h index e65e1bc..850fe4b 100644 --- a/include/GL/gl.h +++ b/include/GL/gl.h @@ -276,6 +276,7 @@ typedef double GLclampd; /* double precision floa

[Mesa-dev] [PATCH v2 09/12] mesa: glGet: rename *{_EXT, _ARB} enums missing from the XML spec

2012-09-09 Thread Imre Deak
The following enums used to be extensions but later became part of the core specification. The _EXT/_ARB versions of these are not present in in the current XML spec files, only defined in GL/glext.h Later we'll need to look up these in a python script using the XML spec. As a preparation for that

[Mesa-dev] [PATCH v2 11/12] mesa: glGet: use the build time generated hash tables

2012-09-09 Thread Imre Deak
Signed-off-by: Imre Deak --- src/mesa/main/get.c | 1022 +-- 1 file changed, 6 insertions(+), 1016 deletions(-) diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index 2e154bf..a9dc68e 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c

[Mesa-dev] [PATCH v2 12/12] mesa: glGet: remove the unused TYPE_API_MASK flags

2012-09-09 Thread Imre Deak
Since we generate the hash tables in build time, these flags aren't used any more, remove them. Signed-off-by: Imre Deak --- src/mesa/main/get.c |6 -- 1 file changed, 6 deletions(-) diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index a9dc68e..0110fcf 100644 --- a/src/mesa/main