[Mesa-dev] [Bug 50754] Building 32 bit mesa on 64 bit OS fails since change for automake

2013-11-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50754 Alexandre Demers changed: What|Removed |Added Attachment #65690|0 |1 is obsolete|

[Mesa-dev] [PATCH] dri3: Support GLX_INTEL_swap_event

2013-11-21 Thread Keith Packard
The easy part is turning on the extension, now that the X server has a patch to send the events. The only trick was making sure the Present extension reliably provided the right 'sbc' count back in the event, and that's done by making sure the sbc count is always the same as the sequence number th

[Mesa-dev] [PATCH] present: Send GLX_BufferSwapComplete events from present extension

2013-11-21 Thread Keith Packard
This allows GL to support the GLX_INTEL_swap_event extension Signed-off-by: Keith Packard --- This is the X server side; the mesa patch will be sent shortly (it's tiny) glx/Makefile.am | 3 ++- glx/glxcmds.c | 69 + glx/glxdri2

[Mesa-dev] [Bug 50754] Building 32 bit mesa on 64 bit OS fails since change for automake

2013-11-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50754 --- Comment #24 from Alexandre Demers --- (In reply to comment #23) > (In reply to comment #22) > > I'm closing this bug because I'm able to crosscompile anytime with the help > > of some variables. > > This is Mesa bug. You being able to work

[Mesa-dev] [Bug 45466] Updated configure.ac check for llvm-config to use 32 version when appropriate

2013-11-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45466 --- Comment #3 from Alexandre Demers --- Comment on attachment 56473 --> https://bugs.freedesktop.org/attachment.cgi?id=56473 Improved version of the patch that touches mklib as well Review of attachment 56473:

Re: [Mesa-dev] [PATCH 2/2] radeonsi: implement MSAA for CIK

2013-11-21 Thread Michel Dänzer
On Mit, 2013-11-20 at 15:20 +0100, Marek Olšák wrote: > From: Marek Olšák > > There are also some changes to the printfs. This series is Reviewed-and-Tested-by: Michel Dänzer -- Earthling Michel Dänzer| http://www.amd.com Libre software enthusiast |

[Mesa-dev] [PATCH] v2: dri3: Free resources when drawable is destroyed.

2013-11-21 Thread Keith Packard
Always nice to clean up after ourselves. Signed-off-by: Keith Packard --- v2: Include changes to dri3_priv.h as well src/glx/dri3_glx.c | 17 - src/glx/dri3_priv.h | 5 - 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/src/glx/dri3_glx.c b/src/glx/dri3_glx

[Mesa-dev] [PATCH] dri3: Free resources when drawable is destroyed.

2013-11-21 Thread Keith Packard
Always nice to clean up after ourselves. Signed-off-by: Keith Packard --- Ok, so not having this in the dri3 code led to a bit of extra memory usage in apps and the X server. src/glx/dri3_glx.c | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/glx/dri3_g

Re: [Mesa-dev] [PATCH] llvmpipe: support 8bit subpixel precision

2013-11-21 Thread Zack Rusin
> For me too, other than the fixed_position members, looks good. Thanks for > your perseverance on this Zack! Thanks! ok, attached is a version that makes position and dx/dy 32bit again, it seems to work great. I have a question for you guys if you run the piglits: ./bin/triangle-rasterization-o

[Mesa-dev] [Bug 71904] New: [swrast] piglit glsl-reload-source regression

2013-11-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71904 Priority: medium Bug ID: 71904 Keywords: regression CC: airl...@freedesktop.org Assignee: mesa-dev@lists.freedesktop.org Summary: [swrast] piglit glsl-reload-source regression

[Mesa-dev] [Bug 71903] New: [swrast] piglit hiz-depth-read-window-stencil0 regression

2013-11-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71903 Priority: medium Bug ID: 71903 Keywords: regression CC: airl...@freedesktop.org Assignee: mesa-dev@lists.freedesktop.org Summary: [swrast] piglit hiz-depth-read-window-stencil0

[Mesa-dev] [PATCH] dri3: Prepare for API change in libxshmfence

2013-11-21 Thread Keith Packard
libxshmfence foolishly advertises the type of a fence as 'int32_t *', which works when the fence is a linux futex. However, that library is going to change the exported datatype to 'struct xshmfence *', which will provide some nice typechecking. Anticipate the change by just using 'void *' in mesa,

[Mesa-dev] [PATCH] gallium: Use base.stamp for all drawable invalidation checks.

2013-11-21 Thread Keith Packard
Upper levels of the stack use base.stamp to tell when a drawable needs to be revalidated, but the dri state tracker was using dPriv->lastStamp. Those two, along with dri2.stamp, all get simultaneously incremented when a dri2 invalidate event was delivered, and so end up containing precisely the sam

[Mesa-dev] [PATCH] dri3, i915, i965: Add __DRI_IMAGE_FOURCC_SARGB8888

2013-11-21 Thread Keith Packard
The __DRIimage createImageFromFds function takes a fourcc code, but there was no fourcc code that match __DRI_IMAGE_FORMAT_SARGB8. This adds a define for that format, adds a translation in DRI3 from __DRI_IMAGE_FORMAT_SARGB8 to __DRI_IMAGE_FOURCC_SARGB and then adds translations *back* to __IMA

Re: [Mesa-dev] [v3 7/8] mesa: add texture_view helper function for TexStorage

2013-11-21 Thread Brian Paul
On 11/19/2013 04:16 PM, Courtney Goeltzenleuchter wrote: Add helper function to set texture_view state from TexStorage calls. Signed-off-by: Courtney Goeltzenleuchter --- src/mesa/main/textureview.c | 59 + src/mesa/main/textureview.h | 4 +++ 2

Re: [Mesa-dev] [v3 5/8] mesa: Add driver entry point for ARB_texture_view

2013-11-21 Thread Brian Paul
On 11/19/2013 04:16 PM, Courtney Goeltzenleuchter wrote: Signed-off-by: Courtney Goeltzenleuchter --- src/mesa/drivers/common/driverfuncs.c | 3 +++ src/mesa/main/dd.h| 5 + 2 files changed, 8 insertions(+) diff --git a/src/mesa/drivers/common/driverfuncs.c b/src/m

Re: [Mesa-dev] [v3 0/8] Add ARB_texture_view

2013-11-21 Thread Brian Paul
On 11/19/2013 04:16 PM, Courtney Goeltzenleuchter wrote: The following patches add the necessary functions to Mesa to support ARB_texture_view. These patches do not include the actual driver elements, just the device independent portion. This extension requires ARB_texture_storage. The extension

Re: [Mesa-dev] [v3 6/8] mesa: Fill out ARB_texture_view entry points

2013-11-21 Thread Brian Paul
I'd rename this summary as something like "mesa: implement the _mesa_TextureView() function" On 11/19/2013 04:16 PM, Courtney Goeltzenleuchter wrote: Add Mesa TextureView logic. Incorporate feedback on ARB_texture_view Signed-off-by: Courtney Goeltzenleuchter --- src/mesa/main/textureview.

Re: [Mesa-dev] [PATCH 0/3] Implement DRI_PRIME support for Wayland

2013-11-21 Thread Kristian Høgsberg
On Thu, Nov 07, 2013 at 05:13:35PM +0100, Axel Davy wrote: > These patches enable using DRI_PRIME to use a different card > than the compositor card (with render-nodes). > > At the time of writing, Mesa Wayland egl backend doesn't > support render-nodes, because it uses the dri2 backend, which > r

Re: [Mesa-dev] [PATCH 2/3] Create untiled buffers in get_back_bo when needed.

2013-11-21 Thread Kristian Høgsberg
On Thu, Nov 07, 2013 at 05:13:37PM +0100, Axel Davy wrote: > We must send to the compositor buffer it is able to read. > > Since tiling modes are different on graphic cards, we have > to disable tiling when creating the buffers if we render > with a different graphic card than the compositor. > >

Re: [Mesa-dev] [PATCH 1/3] Move the code to open the graphic device. Support for render-nodes.

2013-11-21 Thread Kristian Høgsberg
On Thu, Nov 07, 2013 at 05:13:36PM +0100, Axel Davy wrote: > This patch moves the code to open the graphic device in the Wayland backend, > removes the authentication request when we are on a render-node, > and has a few fixes. > > Signed-off-by: Axel Davy > --- > src/egl/drivers/dri2/egl_dri2.h

Re: [Mesa-dev] [PATCH 3/9] gallium/dri2: Set winsys_handle type to KMS for stride query.

2013-11-21 Thread Christopher James Halse Rogers
On Thu, 2013-11-21 at 14:12 +0100, Thomas Hellstrom wrote: > On 11/21/2013 05:11 AM, christopher.halse.rog...@canonical.com wrote: > > From: Christopher James Halse Rogers > > > > Otherwise the default is TYPE_SHARED, which will flink the bo. This seems > > rather unnecessary for a simple stride q

Re: [Mesa-dev] [PATCH 15/18] mesa: Add ARB_viewport_array plumbing

2013-11-21 Thread Chris Forbes
I was just comparing to the list in the ARB_viewport_array spec. On Fri, Nov 22, 2013 at 11:33 AM, Courtney Goeltzenleuchter < court...@lunarg.com> wrote: > Hi Chris, > > Where are you getting your defines? > I copied them from include/GL/gl.h > #define GL_VIEWPORT 0x0BA2 > /* Scissor box */ > #

Re: [Mesa-dev] [PATCH 2/2] mesa: fix indentation in ffvertex_prog.c

2013-11-21 Thread Roland Scheidegger
On 11/21/2013 10:12 PM, Brian Paul wrote: And use a better assertion. --- src/mesa/main/ffvertex_prog.c | 26 ++ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/src/mesa/main/ffvertex_prog.c b/src/mesa/main/ffvertex_prog.c index be6ac0f..074fbf9 100644

Re: [Mesa-dev] [PATCH v2 5/5] i965: Fix fast clear of depth buffers.

2013-11-21 Thread Jordan Justen
I sent one suggestion on patch 1. Series: Reviewed-by: Jordan Justen On Wed, Nov 20, 2013 at 2:29 PM, Paul Berry wrote: > From section 4.4.7 (Layered Framebuffers) of the GLSL 3.2 spec: > > When the Clear or ClearBuffer* commands are used to clear a > layered framebuffer attachment, all

Re: [Mesa-dev] [PATCH 15/18] mesa: Add ARB_viewport_array plumbing

2013-11-21 Thread Courtney Goeltzenleuchter
Hi Chris, Where are you getting your defines? I copied them from include/GL/gl.h #define GL_VIEWPORT 0x0BA2 /* Scissor box */ #define GL_SCISSOR_BOX 0x0C10 #define GL_SCISSOR_TEST 0x0C11 #define GL_SCISSOR_TEST 0x0C11 #define GL_DEPTH_RANGE 0x0B70 Ah, FIRST_VERTEX looks different. #define GL_FIRS

Re: [Mesa-dev] [PATCH v2 1/5] mesa: Track number of layers in layered framebuffers.

2013-11-21 Thread Jordan Justen
On Wed, 2013-11-20 at 14:29 -0800, Paul Berry wrote: > In order to properly clear layered framebuffers, we need to know how > many layers they have. The easiest way to do this is to record it in > the gl_framebuffer struct when we check framebuffer completeness. > > This patch replaces the gl_fra

[Mesa-dev] [PATCH 2/2] mesa: fix indentation in ffvertex_prog.c

2013-11-21 Thread Brian Paul
And use a better assertion. --- src/mesa/main/ffvertex_prog.c | 26 ++ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/src/mesa/main/ffvertex_prog.c b/src/mesa/main/ffvertex_prog.c index be6ac0f..074fbf9 100644 --- a/src/mesa/main/ffvertex_prog.c +++ b/src

[Mesa-dev] [PATCH 1/2] st/mesa: simplify writemask for emitting fog result

2013-11-21 Thread Brian Paul
--- src/mesa/state_tracker/st_mesa_to_tgsi.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/state_tracker/st_mesa_to_tgsi.c b/src/mesa/state_tracker/st_mesa_to_tgsi.c index 7d79c62..1c2abc1 100644 --- a/src/mesa/state_tracker/st_mesa_to_tgsi.c +++ b/src/mesa/state

[Mesa-dev] [PATCH 1/5] i965: Keep pointers to IF/ELSE/ENDIF instructions in the cfg.

2013-11-21 Thread Matt Turner
Useful for finding the associated control flow instructions, given a block ending in one. --- v2: Handle nested control flow properly. When we reach the ENDIF, we have still have the pointers to the IF and ELSE (if it exists). The confusing bit of this code is that while bblock_t *cur_if i

Re: [Mesa-dev] [PATCH 2/2] tgsi: Prevent emission of instructions with empty writemask.

2013-11-21 Thread Brian Paul
On 11/21/2013 07:01 AM, jfons...@vmware.com wrote: From: José Fonseca These degenerate instructions can often be emitted by state trackers when the semantics of instructions don't match precisely. --- src/gallium/auxiliary/tgsi/tgsi_ureg.c | 8 src/gallium/auxiliary/tgsi/tgsi_ureg.

Re: [Mesa-dev] [PATCH 15/18] mesa: Add ARB_viewport_array plumbing

2013-11-21 Thread Chris Forbes
I'm surprised the build system accepts the conflicting second definition of SCISSOR_BOX at all, actually -- that's weird. On Fri, Nov 22, 2013 at 8:55 AM, Chris Forbes wrote: > I mean some of the values don't match the spec :) > > > On Fri, Nov 22, 2013 at 7:52 AM, Courtney Goeltzenleuchter < >

Re: [Mesa-dev] [PATCH 2/5] meta: fix meta clear of layered framebuffers

2013-11-21 Thread Marek Olšák
I currently work on a simpler solution for Gallium. I'm using AMD_vertex_shader_layer and this vertex shader (I wrote it in TGSI though): void main() { gl_Position = gl_Vertex; gl_TexCoord[0] = MultiTexCoord0; // clear color gl_Layer = gl_InstanceID; } Then I render the quad with Draw

[Mesa-dev] Anonymous structure in uniform question

2013-11-21 Thread f.josef
Hello, just recently I encountered a problem when linking shaders, containing uniform consisting of anonymous structure. Here is the code of shaders, triggering the problem: //vertex shader uniform struct {vec3 a; vec3 b;} a; void main() {   gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;

[Mesa-dev] [PATCH 1/2] tgsi_ureg: Refactor the ureg_* inline so that all variables are pre-declared.

2013-11-21 Thread jfonseca
From: José Fonseca Mere syntactical change. --- src/gallium/auxiliary/tgsi/tgsi_ureg.h | 200 + 1 file changed, 104 insertions(+), 96 deletions(-) diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.h b/src/gallium/auxiliary/tgsi/tgsi_ureg.h index e104cd9..cf0c75e

Re: [Mesa-dev] [PATCH 0/9] DRI Image 7 support for gallium

2013-11-21 Thread Thomas Hellstrom
On 11/21/2013 05:11 AM, christopher.halse.rog...@canonical.com wrote: Now includes support for Image 6 as a bonus feature, and 7 is only exposed on the gallium drivers which support dma-buf import/export. Still useful for Wayland-Prime and Mir, now also useful for DRI3000 __

Re: [Mesa-dev] [PATCH 3/9] gallium/dri2: Set winsys_handle type to KMS for stride query.

2013-11-21 Thread Thomas Hellstrom
On 11/21/2013 05:11 AM, christopher.halse.rog...@canonical.com wrote: From: Christopher James Halse Rogers Otherwise the default is TYPE_SHARED, which will flink the bo. This seems rather unnecessary for a simple stride query. Is there no way we can cache this stuff in a __DRIimage? Changing

Re: [Mesa-dev] [PATCH v2 2/5] meta: fix meta clear of layered framebuffers

2013-11-21 Thread Eric Anholt
Eric Anholt writes: > Paul Berry writes: > >> From section 4.4.7 (Layered Framebuffers) of the GLSL 3.2 spec: >> >> When the Clear or ClearBuffer* commands are used to clear a >> layered framebuffer attachment, all layers of the attachment are >> cleared. >> >> This patch fixes meta

Re: [Mesa-dev] [PATCH 15/18] mesa: Add ARB_viewport_array plumbing

2013-11-21 Thread Chris Forbes
I mean some of the values don't match the spec :) On Fri, Nov 22, 2013 at 7:52 AM, Courtney Goeltzenleuchter < court...@lunarg.com> wrote: > > > On Wed, Nov 20, 2013 at 7:28 PM, Chris Forbes wrote: > >> Oops -- the 8E4E is obviously correct. Artifact of me switching how I >> was commenting half

Re: [Mesa-dev] [PATCH 2/5] meta: fix meta clear of layered framebuffers

2013-11-21 Thread Paul Berry
On 21 November 2013 05:21, Marek Olšák wrote: > I currently work on a simpler solution for Gallium. I'm using > AMD_vertex_shader_layer and this vertex shader (I wrote it in TGSI > though): > > void main() > { > gl_Position = gl_Vertex; > gl_TexCoord[0] = MultiTexCoord0; // clear color >

Re: [Mesa-dev] [PATCH 1/2] tgsi_ureg: Refactor the ureg_* inline so that all variables are pre-declared.

2013-11-21 Thread Brian Paul
The patch looks fine, but I'm not sure I understand the comment with respect to the code change. I'd probably just call it something like "tgsi: rework calls to ureg_emit_insn()" But not a big deal. Reviewed-by: Brian Paul On 11/21/2013 07:01 AM, jfons...@vmware.com wrote: From: José Fons

Re: [Mesa-dev] [PATCH] llvmpipe: support 8bit subpixel precision

2013-11-21 Thread Jose Fonseca
- Original Message - > Great! > > Couple of comments inline. > > On 11/21/2013 12:02 AM, Zack Rusin wrote: > > 8 bit precision is required by d3d10 but unfortunately > > requires 64 bit rasterizer. This commit implements > > 64 bit rasterization with full support for 8bit subpixel > > pre

Re: [Mesa-dev] [PATCH 2/2] tgsi: Prevent emission of instructions with empty writemask.

2013-11-21 Thread Roland Scheidegger
On 11/21/2013 02:01 PM, jfons...@vmware.com wrote: From: José Fonseca These degenerate instructions can often be emitted by state trackers when the semantics of instructions don't match precisely. --- src/gallium/auxiliary/tgsi/tgsi_ureg.c | 8 src/gallium/auxiliary/tgsi/tgsi_ureg.

Re: [Mesa-dev] [PATCH 15/18] mesa: Add ARB_viewport_array plumbing

2013-11-21 Thread Courtney Goeltzenleuchter
On Wed, Nov 20, 2013 at 7:28 PM, Chris Forbes wrote: > Oops -- the 8E4E is obviously correct. Artifact of me switching how I > was commenting halfway through. > > On Thu, Nov 21, 2013 at 3:25 PM, Chris Forbes wrote: > > These are bogus: > > > > + > > + > > + > > + > > + > Wh

[Mesa-dev] [Bug 71591] Second Life shaders fail to compile

2013-11-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71591 --- Comment #6 from Eero Tamminen --- Giving an error when the extension changes behavior of existing functionality can be useful for developers, as such things may cause grief for them. For anything else, it's the error itself that causes grief

[Mesa-dev] [PATCH 2/2] tgsi: Prevent emission of instructions with empty writemask.

2013-11-21 Thread jfonseca
From: José Fonseca These degenerate instructions can often be emitted by state trackers when the semantics of instructions don't match precisely. --- src/gallium/auxiliary/tgsi/tgsi_ureg.c | 8 src/gallium/auxiliary/tgsi/tgsi_ureg.h | 22 ++ 2 files changed, 30 inse

Re: [Mesa-dev] [PATCH] docs: Add a section with recommended reading for llvmpipe development.

2013-11-21 Thread Roland Scheidegger
On 11/21/2013 06:03 PM, jfons...@vmware.com wrote: From: José Fonseca Several links contributed by Keith Whitwell and Roland Scheidegger. --- docs/llvmpipe.html | 58 -- 1 file changed, 56 insertions(+), 2 deletions(-) diff --git a/docs/ll

Re: [Mesa-dev] [PATCH 2/5] meta: fix meta clear of layered framebuffers

2013-11-21 Thread Marek Olšák
Considering you're the only user of meta_clear who cares about it, it's all up to you. If your hardware can do AMD_vertex_shader_layer, you won't ever have to implement any other code path. It's silly to have multiple GLSL shaders for different versions of the API. I think this should be API-indep

[Mesa-dev] [PATCH] docs: Add a section with recommended reading for llvmpipe development.

2013-11-21 Thread jfonseca
From: José Fonseca Several links contributed by Keith Whitwell and Roland Scheidegger. --- docs/llvmpipe.html | 58 -- 1 file changed, 56 insertions(+), 2 deletions(-) diff --git a/docs/llvmpipe.html b/docs/llvmpipe.html index 80f8a01..d695907

Re: [Mesa-dev] [PATCH v2 2/5] meta: fix meta clear of layered framebuffers

2013-11-21 Thread Eric Anholt
Paul Berry writes: > From section 4.4.7 (Layered Framebuffers) of the GLSL 3.2 spec: > > When the Clear or ClearBuffer* commands are used to clear a > layered framebuffer attachment, all layers of the attachment are > cleared. > > This patch fixes meta clears to properly clear all lay

Re: [Mesa-dev] [PATCH] docs: Add a section with recommended reading for llvmpipe development.

2013-11-21 Thread Brian Paul
On 11/21/2013 11:03 AM, jfons...@vmware.com wrote: From: José Fonseca Several links contributed by Keith Whitwell and Roland Scheidegger. --- Nice. Reviewed-by: Brian Paul ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.free

Re: [Mesa-dev] [PATCH] llvmpipe: support 8bit subpixel precision

2013-11-21 Thread Roland Scheidegger
Great! Couple of comments inline. On 11/21/2013 12:02 AM, Zack Rusin wrote: 8 bit precision is required by d3d10 but unfortunately requires 64 bit rasterizer. This commit implements 64 bit rasterization with full support for 8bit subpixel precision. It's a combination of all individual commits

[Mesa-dev] [Bug 41700] Gallium won't build with --enable-32-bit on a 64-bit system

2013-11-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41700 Bug 41700 depends on bug 50754, which changed state. Bug 50754 Summary: Building 32 bit mesa on 64 bit OS fails since change for automake https://bugs.freedesktop.org/show_bug.cgi?id=50754 What|Removed |Added

[Mesa-dev] [Bug 45466] Updated configure.ac check for llvm-config to use 32 version when appropriate

2013-11-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45466 Bug 45466 depends on bug 50754, which changed state. Bug 50754 Summary: Building 32 bit mesa on 64 bit OS fails since change for automake https://bugs.freedesktop.org/show_bug.cgi?id=50754 What|Removed |Added

[Mesa-dev] [Bug 50754] Building 32 bit mesa on 64 bit OS fails since change for automake

2013-11-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50754 Eero Tamminen changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

Re: [Mesa-dev] [PATCH] Don't use gbm_dri_device when its not there

2013-11-21 Thread Kenneth Graunke
On 10/23/2013 01:41 AM, Jørgen Lind wrote: > --- > src/egl/drivers/dri2/egl_dri2.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c > index b29eb1c..b143a95 100644 > --- a/src/egl/drivers/dri2/egl_dri2.c > +++ b/src/egl/d

Re: [Mesa-dev] [PATCH] mesa: Update MESA_INFO to eliminate error

2013-11-21 Thread Kenneth Graunke
On 10/24/2013 12:13 PM, Courtney Goeltzenleuchter wrote: > If a user set MESA_INFO and the OpenGL application uses a > 3.0 or later context then the MESA_INFO debug output will have > an error when it queries for extensions using the deprecated > enum GL_EXTENSIONS. Passing context argument allows

Re: [Mesa-dev] [PATCH 9/9] svga/winsys: Implement surface sharing using prime fd handles

2013-11-21 Thread Thomas Hellstrom
On 11/21/2013 05:11 AM, christopher.halse.rog...@canonical.com wrote: From: Thomas Hellstrom This needs a prime-aware vmwgfx kernel module to work properly. (With additions by Christopher James Halse Rogers ) Signed-off-by: Thomas Hellstrom --- src/gallium/targets/dri-vmwgfx/target.c

Re: [Mesa-dev] [PATCH 0/3] i965: Let driconf clamp_max_samples affect context version

2013-11-21 Thread Kenneth Graunke
On 11/20/2013 02:10 PM, Chad Versace wrote: > This series makes clamp_max_samples actually useful enabling/disabling MSAA on > Chromium. Without this series, clamp_max_samples=0 makes WebGL context > creation > fail on Chromium. > > Eric complained that brw_clamp_max_samples() too closely resembl