Re: [Mesa3d-dev] [PATCH 00/12] EGLImage patches

2010-02-11 Thread Chia-I Wu
Great work! 2010/2/12 Kristian Høgsberg : > Here's a patch series to implement a handful of EGLImage extensions in > the DRI2 EGL driver: >    EGL_KHR_image_base >    EGL_KHR_image_pixmap >    GL_OES_EGL_image > The implementation is a little tricky, since the EGLImage is an EGL > (binding layer)

Re: [Mesa3d-dev] [PATCH 00/12] EGLImage patches

2010-02-11 Thread Kristian Høgsberg
2010/2/11 Kristian Høgsberg : > Hello, > > Here's a patch series to implement a handful of EGLImage extensions in > the DRI2 EGL driver: Oh, and obviously the path with the updated generated files is stuck in moderation, but there's not much to see there anyway. But just for reference, the series

Re: [Mesa3d-dev] [PATCH 02/12] intel: Track named regions and make sure we only have one region per named bo

2010-02-11 Thread Kristian Høgsberg
Eric, I was hoping you could have a look at this one in particular. thanks, Kristian 2010/2/11 Kristian Høgsberg : > > Signed-off-by: Kristian Høgsberg > --- >  src/mesa/drivers/dri/intel/intel_regions.c |   24 +++- >  src/mesa/drivers/dri/intel/intel_regions.h |    3 +++ >  

[Mesa3d-dev] [PATCH 10/12] egl_dri2: Implement EGL_KHR_image and EGL_KHR_image_pixmap

2010-02-11 Thread Kristian Høgsberg
Signed-off-by: Kristian Høgsberg --- src/egl/drivers/dri2/egl_dri2.c | 123 +- 1 files changed, 119 insertions(+), 4 deletions(-) diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index 5d36c49..1590190 100644 --- a/src/egl/drive

[Mesa3d-dev] [PATCH 03/12] intel: Avoid dri_bo_flink() in intel_update_renderbuffers()

2010-02-11 Thread Kristian Høgsberg
Now that we track the global name in struct intel_region, we can just look it up there. Signed-off-by: Kristian Høgsberg --- src/mesa/drivers/dri/intel/intel_context.c | 10 ++ 1 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_context.c b/

[Mesa3d-dev] [PATCH 11/12] egl: Add proposed EGL_KHR_image_pixmap_format extension

2010-02-11 Thread Kristian Høgsberg
This is a proposed extension to let EGL clients specify the format of the pixmap that is used as a source for an EGLImage. This is necessary when later using the EGLImage as a texture source, for example. Signed-off-by: Kristian Høgsberg --- include/EGL/eglext.h|8 src/

[Mesa3d-dev] [PATCH 01/12] dri: Store the loader private passed in at dri context creation

2010-02-11 Thread Kristian Høgsberg
We just threw it away before, but we haven't had a use for it yet. Signed-off-by: Kristian Høgsberg --- src/mesa/drivers/dri/common/dri_util.c |3 ++- src/mesa/drivers/dri/common/dri_util.h |5 + 2 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/mesa/drivers/dri/comm

[Mesa3d-dev] [PATCH 12/12] xeglgears: Add test case for texturing from an EGLImage

2010-02-11 Thread Kristian Høgsberg
Signed-off-by: Kristian Høgsberg --- progs/egl/xeglgears.c | 95 + 1 files changed, 72 insertions(+), 23 deletions(-) diff --git a/progs/egl/xeglgears.c b/progs/egl/xeglgears.c index efb63ef..342d509 100644 --- a/progs/egl/xeglgears.c +++ b/prog

[Mesa3d-dev] [PATCH 04/12] glapi: Add GL_OES_EGL_image

2010-02-11 Thread Kristian Høgsberg
Signed-off-by: Kristian Høgsberg --- src/mesa/glapi/Makefile |5 - src/mesa/glapi/OES_EGL_image.xml | 20 src/mesa/glapi/gl_API.xml|2 ++ 3 files changed, 26 insertions(+), 1 deletions(-) create mode 100644 src/mesa/glapi/OES_EGL_image.xml di

[Mesa3d-dev] [PATCH 07/12] dri_interface.h: Add DRI image and imageLookup extensions

2010-02-11 Thread Kristian Høgsberg
These are used for implementing the various EGLImage extensions. Signed-off-by: Kristian Høgsberg --- include/GL/internal/dri_interface.h | 43 +++ 1 files changed, 43 insertions(+), 0 deletions(-) diff --git a/include/GL/internal/dri_interface.h b/include/GL/

[Mesa3d-dev] [PATCH 02/12] intel: Track named regions and make sure we only have one region per named bo

2010-02-11 Thread Kristian Høgsberg
Signed-off-by: Kristian Høgsberg --- src/mesa/drivers/dri/intel/intel_regions.c | 24 +++- src/mesa/drivers/dri/intel/intel_regions.h |3 +++ src/mesa/drivers/dri/intel/intel_screen.c | 14 ++ src/mesa/drivers/dri/intel/intel_screen.h |1 + 4 files c

[Mesa3d-dev] [PATCH 08/12] intel: Implement DRI image extension

2010-02-11 Thread Kristian Høgsberg
Signed-off-by: Kristian Høgsberg --- src/mesa/drivers/dri/common/dri_util.c |2 + src/mesa/drivers/dri/common/dri_util.h |1 + src/mesa/drivers/dri/intel/intel_regions.h |8 +++ src/mesa/drivers/dri/intel/intel_screen.c | 74 4 files changed, 8

[Mesa3d-dev] [PATCH 09/12] intel: Implement GL_OES_EGL_image entrypoints

2010-02-11 Thread Kristian Høgsberg
Signed-off-by: Kristian Høgsberg --- src/mesa/drivers/dri/intel/intel_fbo.c | 34 + src/mesa/drivers/dri/intel/intel_tex_image.c | 51 ++ 2 files changed, 85 insertions(+), 0 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c b/sr

[Mesa3d-dev] [PATCH 00/12] EGLImage patches

2010-02-11 Thread Kristian Høgsberg
Hello, Here's a patch series to implement a handful of EGLImage extensions in the DRI2 EGL driver: EGL_KHR_image_base EGL_KHR_image_pixmap GL_OES_EGL_image The implementation is a little tricky, since the EGLImage is an EGL (binding layer) type, but it's passed to client API function

[Mesa3d-dev] [PATCH 06/12] core: Implement GL_OES_EGL_image entry points

2010-02-11 Thread Kristian Høgsberg
Signed-off-by: Kristian Høgsberg --- src/mesa/main/dd.h| 11 +++ src/mesa/main/fbobject.c | 24 src/mesa/main/fbobject.h |3 +++ src/mesa/main/mfeatures.h |2 ++ src/mesa/main/teximage.c | 41 + src

Re: [Mesa3d-dev] OS ABI Tag.

2010-02-11 Thread Pat Suwalski
On 11/02/10 05:28 PM, tom fogal wrote: > If all your after is a way to select OpenGL implementation at runtime > for *your* app, I have some GLEW patches you might be interested in. > Of course, your scheme works globally / for all OGL apps on the system, > which may be valuable to you. Yes, it ne

Re: [Mesa3d-dev] OS ABI Tag.

2010-02-11 Thread tom fogal
Pat Suwalski writes: > I would like an opinion on the patch I've attached. > > In the past in my company, we have always had the Mesa libGL, > nVidia libGL, and ATI libGL installed in /usr/lib, /usr/lib/nvidia, > and /usr/lib/ati respectively. We would then simply change > /etc/ld.so.conf(.d) to g

Re: [Mesa3d-dev] nouveau changes for gallium-dynamicstencilref

2010-02-11 Thread Roland Scheidegger
On 11.02.2010 22:21, Christoph Bumiller wrote: > On 02/11/2010 10:10 PM, Roland Scheidegger wrote: >> On 11.02.2010 21:42, Christoph Bumiller wrote: >>> On 02/11/2010 09:02 PM, Roland Scheidegger wrote: Hi, could one of the nouveau developers please take a look at the nv30 chang

Re: [Mesa3d-dev] nouveau changes for gallium-dynamicstencilref

2010-02-11 Thread Christoph Bumiller
On 02/11/2010 10:10 PM, Roland Scheidegger wrote: > On 11.02.2010 21:42, Christoph Bumiller wrote: >> On 02/11/2010 09:02 PM, Roland Scheidegger wrote: >>> Hi, >>> >>> could one of the nouveau developers please take a look at the nv30 >>> changes I did for the stencil ref changes in gallium-dynamic

Re: [Mesa3d-dev] nouveau changes for gallium-dynamicstencilref

2010-02-11 Thread Roland Scheidegger
On 11.02.2010 21:42, Christoph Bumiller wrote: > On 02/11/2010 09:02 PM, Roland Scheidegger wrote: >> Hi, >> >> could one of the nouveau developers please take a look at the nv30 >> changes I did for the stencil ref changes in gallium-dynamicstencilref >> branch? >> I've just done that in a way I t

Re: [Mesa3d-dev] Gallium query types

2010-02-11 Thread Brian Paul
Keith Whitwell wrote: > On Thu, 2010-02-11 at 10:13 -0800, michal wrote: >> Hi, >> >> I can't find any information regarding two Gallium query types. No >> documentation, no source code. >> >> #define PIPE_QUERY_PRIMITIVES_GENERATED 1 >> #define PIPE_QUERY_PRIMITIVES_EMITTED2 >> >> Do they ha

Re: [Mesa3d-dev] nouveau changes for gallium-dynamicstencilref

2010-02-11 Thread Christoph Bumiller
On 02/11/2010 09:02 PM, Roland Scheidegger wrote: > Hi, > > could one of the nouveau developers please take a look at the nv30 > changes I did for the stencil ref changes in gallium-dynamicstencilref > branch? > I've just done that in a way I think it might make sense, but I've > absolutely no ide

[Mesa3d-dev] OS ABI Tag.

2010-02-11 Thread Pat Suwalski
Hello, I would like an opinion on the patch I've attached. In the past in my company, we have always had the Mesa libGL, nVidia libGL, and ATI libGL installed in /usr/lib, /usr/lib/nvidia, and /usr/lib/ati respectively. We would then simply change /etc/ld.so.conf(.d) to give the appropriate l

[Mesa3d-dev] nouveau changes for gallium-dynamicstencilref

2010-02-11 Thread Roland Scheidegger
Hi, could one of the nouveau developers please take a look at the nv30 changes I did for the stencil ref changes in gallium-dynamicstencilref branch? I've just done that in a way I think it might make sense, but I've absolutely no idea if it would work like that (and even if it would in theory the

Re: [Mesa3d-dev] Gallium query types

2010-02-11 Thread Keith Whitwell
On Thu, 2010-02-11 at 10:13 -0800, michal wrote: > Hi, > > I can't find any information regarding two Gallium query types. No > documentation, no source code. > > #define PIPE_QUERY_PRIMITIVES_GENERATED 1 > #define PIPE_QUERY_PRIMITIVES_EMITTED2 > > Do they have something to do with NV_tra

[Mesa3d-dev] Gallium query types

2010-02-11 Thread michal
Hi, I can't find any information regarding two Gallium query types. No documentation, no source code. #define PIPE_QUERY_PRIMITIVES_GENERATED 1 #define PIPE_QUERY_PRIMITIVES_EMITTED2 Do they have something to do with NV_transform_feedback extension? If not, do they mean the number of prim

Re: [Mesa3d-dev] Mesa (master): Merge branch 'master' of git+ssh://git.freedesktop.org/git/ mesa/mesa

2010-02-11 Thread Brian Paul
Feel free to add a "Git Tips" section to the end of that page, Karl. -Brian Karl Schultz wrote: > Thanks Jose! After talking to someone who knows more about git and > looking at ten or so tutorials, I was going to try rebase on the next > change. Looks like that's the right thing; I don't want

Re: [Mesa3d-dev] Mesa (master): Merge branch 'master' of git+ssh://git.freedesktop.org/git/ mesa/mesa

2010-02-11 Thread Karl Schultz
Thanks Jose! After talking to someone who knows more about git and looking at ten or so tutorials, I was going to try rebase on the next change. Looks like that's the right thing; I don't want those merges either. I wonder if your tip could be added to mesa3d.org, in the "Source Code Repository"

Re: [Mesa3d-dev] [PATCH] mesa/st: Gallium quads, by spec, never change provoking vertex.

2010-02-11 Thread Brian Paul
Corbin Simpson wrote: >>From 215714d54a7f38b9add236bcc1c795e8b5d92867 Mon Sep 17 00:00:00 2001 > From: Corbin Simpson > Date: Wed, 10 Feb 2010 10:39:18 -0800 > Subject: [PATCH] mesa/st: Gallium quads, by spec, never change provoking > vertex. > > Fixes glean/clipFlat. Softpipe might be broken; I

[Mesa3d-dev] [Bug 20043] tnl/t_draw.c:203: bind_inputs: Assertion `inputs[i]->BufferObj->Pointer' failed.

2010-02-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=20043 --- Comment #3 from Christopher Egert 2010-02-11 06:20:34 PST --- Created an attachment (id=33234) --> (http://bugs.freedesktop.org/attachment.cgi?id=33234) flybye winedbg output broken again on i945gm with libdrm git, mesa git, intel-xorg

[Mesa3d-dev] scons and progs

2010-02-11 Thread José Fonseca
FYI, progs take a long time to build so they are not built by default now with scons. To build them pass "progs" to the command line: scons progs To build the source and progs simultaneously do scons src progs Jose

Re: [Mesa3d-dev] /src/mesa/drivers/dri/mach64 does not compile

2010-02-11 Thread Kristian Høgsberg
This is fixed now. On Wed, Feb 10, 2010 at 4:48 PM, Johannes Obermayr wrote: > Please CC me... > > author  Corbin Simpson      2010-02-10 09:39:21 > (GMT) > committer       Corbin Simpson      2010-02-10 > 20:35:39 (GMT) > commit  412ffb7a3ab8c0174aa921a4a10af3eaa03648da > > > gmake[6]: Leavi

Re: [Mesa3d-dev] Mesa (master): Merge branch 'master' of git+ssh://git.freedesktop.org/git/ mesa/mesa

2010-02-11 Thread Jose Fonseca
Karl, When doing git pull pass the --rebase option as: git pull --rebase That will prevent these distracting tiny merges. There are also ways to set rebase as the default so that the --rebase option becomes implicit, as: git config branch.master.rebase true git config --global branch.