Re: [Mesa-dev] r600g merged

2010-05-28 Thread Bas Nieuwenhuizen
On Thu, 2010-05-27 at 23:32 +0200, Jerome Glisse wrote: I merged r600g, it's no where from being usefull but people wanted to have it on master. I changed a little bit the backend generation for the shader (i am still not happy the way the backend is but it's better that what was before).

[Mesa-dev] EGL on Windows

2010-05-28 Thread Chia-I Wu
Hi all, I've got access to a Windows machine recently, and I've spent some time today to add GDI backend to st/egl. The code can be found at http://cgit.freedesktop.org/~olv/mesa/log/?h=egl-gdi The command options I use to build the DLLs are $ scons statetrackers=egl drivers=softpipe The

Re: [Mesa-dev] [PATCH] egl: Introduce eglGetDisplayMESA()

2010-05-28 Thread Kristian Høgsberg
2010/5/28 Chia-I Wu olva...@gmail.com: ... The right fix is to define a sensible xorg/drm platform which has different EGLNative{Display,Window,Pixmap}Type than the tentative ones as defined in eglplatform.h.  The new platform should be able to fulfill all your requirements. I think the right

[Mesa-dev] [Bug 28280] Regression in mesa branch 7.7: glXChooseVisual fails to find visual

2010-05-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28280 --- Comment #2 from Matthias Liertzer m_liert...@gmx.at 2010-05-28 08:27:31 PDT --- The regression is also present in the mesa 7.8 branch and has only been fixed in the master branch, see commit 26a9b7e4. -- Configure bugmail:

Re: [Mesa-dev] [PATCH 1/4] egl: Add MESA_get_display infrastructure

2010-05-28 Thread Jakob Bornecrantz
Some thoughs: Hmm I don't like adding new special entry points but I guess its much less magical then what we had before. Anyways thinking about it this does makes more sense. Please read the comments below, otherwise I'm fine with patch 1-3 of this series. Maybe we should not export

Re: [Mesa-dev] [PATCH 4/4] egl: Add EGL_MESA_create_image extension

2010-05-28 Thread Jakob Bornecrantz
I'm not sure everything should be smacked into a single extension like this. Stride and Handle are very DRM but the extension sounds a bit generic. I have some patches implementing similarly functionality and I will post them tomorrow. They are conceptually similarly but the break all of the

Re: [Mesa-dev] [PATCH 1/2] _meta_GenerateMipmap: Set MaxLevel before allocating level

2010-05-28 Thread Will Dyson
On Fri, May 28, 2010 at 1:57 PM, Brian Paul bri...@vmware.com wrote: @@ -2400,6 +2400,9 @@ _mesa_meta_GenerateMipmap(GLcontext *ctx, GLenum target,          break;       }  +      /* Set MaxLevel large enough to hold the new level when we allocate it  */ +      _mesa_TexParameteri(target,

Re: [Mesa-dev] [PATCH 1/2] _meta_GenerateMipmap: Set MaxLevel before allocating level

2010-05-28 Thread Brian Paul
Will Dyson wrote: On Fri, May 28, 2010 at 1:57 PM, Brian Paul bri...@vmware.com wrote: @@ -2400,6 +2400,9 @@ _mesa_meta_GenerateMipmap(GLcontext *ctx, GLenum target, break; } + /* Set MaxLevel large enough to hold the new level when we allocate it */ +

Re: [Mesa-dev] [PATCH] egl: Introduce eglGetDisplayMESA()

2010-05-28 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kristian Høgsberg wrote: Since an application needs to have an EGLDisplay before it can query for extensions, the way to discover this extension is to just use eglGetProcAddress(). Eh... but eglGetProcAddress never returns NULL, does it? I know

Re: [Mesa-dev] [PATCH] egl: Introduce eglGetDisplayMESA()

2010-05-28 Thread Kristian Høgsberg
Kristian Høgsberg wrote: Since an application needs to have an EGLDisplay before it can query for extensions, the way to discover this extension is to just use eglGetProcAddress(). Eh... but eglGetProcAddress never returns NULL, does it?  I know glXGetProcAddress never does.