Re: [Mesa-dev] [Mesa-users] glClearColor is broken in a weird way if compiled with mangling enabled

2015-09-21 Thread Yuzhu Lu
With this patch: https://bugs.freedesktop.org/show_bug.cgi?id=91724, osmesa builds fine, but OpenGL2 shader related functions like glCreateShader does not work (It always return 0). Pre 2 fixed pipeline functions all work fine. Does anyone have any clue about this? Yuzhu - On Aug 24, 201

[Mesa-dev] Is there a way to enable shared glapi with scons?

2015-09-17 Thread Yuzhu Lu
I need to build the mangled osmesa for Windows with shared glapi enabled, otherwise functions like glCreateShader will not work(yes, this is a bug.) But I can not find any setting to do that with scons. There is a experimental option gles=yes which will force the shared glapi. But I get build er

Re: [Mesa-dev] [Mesa-users] glClearColor is broken in a weird way if compiled with mangling enabled

2015-08-25 Thread Yuzhu Lu
Now I have osmesa+llvmpipe with mangling enabled on both Linux and Mac. Is there any way to have it on Windows? With cross compiling, I can have a multi-threaded gdi driver. But not osmesa. Yuzhu - Original Message - From: "Yuzhu Lu" To: "Brian Paul&

Re: [Mesa-dev] [Mesa-users] glClearColor is broken in a weird way if compiled with mangling enabled

2015-08-24 Thread Yuzhu Lu
Ahh. You are righ. That fixes it. Yuzhu - Original Message - From: "Brian Paul" To: "Yuzhu Lu" Cc: mesa-dev@lists.freedesktop.org, mesa-us...@lists.freedesktop.org Sent: Monday, August 24, 2015 8:00:52 PM Subject: Re: [Mesa-users] [Mesa-dev] glClearColor

Re: [Mesa-dev] [Mesa-users] glClearColor is broken in a weird way if compiled with mangling enabled

2015-08-24 Thread Yuzhu Lu
GetString(GL_PROGRAM_ERROR_STRING_ARB)); Yuzhu - Original Message - From: "Brian Paul" To: "Yuzhu Lu" Cc: mesa-dev@lists.freedesktop.org, mesa-us...@lists.freedesktop.org Sent: Monday, August 24, 2015 6:07:19 PM Subject: Re: [Mesa-users] [Mesa-dev] glClearCol

Re: [Mesa-dev] [Mesa-users] glClearColor is broken in a weird way if compiled with mangling enabled

2015-08-24 Thread Yuzhu Lu
ower_samplers.cpp:72:9: warning: unused variable 'has_indirect' [-Wunused-variable] bool has_indirect = false; Yuzhu - Original Message - From: "Brian Paul" To: "Yuzhu Lu" , mesa-dev@lists.freedesktop.org, mesa-us...@lists.freedesktop.org Sent:

Re: [Mesa-dev] glClearColor is broken in a weird way if compiled with mangling enabled

2015-08-19 Thread Yuzhu Lu
Update: All function with GLclampf and GLfloat are messed up. But pointer are fine. Other datatype works fine as well. I never had such a weird issue before. The work around to replace it with GLdouble. Yuzhu - Original Message - From: "Yuzhu Lu" To

Re: [Mesa-dev] glClearColor is broken in a weird way if compiled with mangling enabled

2015-08-19 Thread Yuzhu Lu
It seems related to datatype GLclampf, which affects mglClearColor, mglBlendColor... If I replace it with double, everything works fine. Any ideas? Yuzhu - Original Message - From: "Yuzhu Lu" To: mesa-dev@lists.freedesktop.org, mesa-us...@lists.freedesktop.org Se

[Mesa-dev] glClearColor is broken in a weird way if compiled with mangling enabled

2015-08-14 Thread Yuzhu Lu
GetTexParameterxv' ../../../../src/mapi/glapi/.libs/libglapi.a(glapi_libglapi_la-glapi_getproc.o):(.data.rel.ro+0x9f38): undefined reference to `glPointParameterx' ../../../../src/mapi/glapi/.libs/libglapi.a(glapi_libglapi_la-glapi_getproc.o):(.data.rel.ro+0x9f50): undefined reference to `glPointParameterxv' ../../../../src/mapi/glapi/.libs/libglapi.a(glapi_libglapi_la-glapi_getproc.o):(.data.rel.ro+0x9f68): undefined reference to `glTexParameterxv' collect2: error: ld returned 1 exit status Yuzhu Lu Senior User Interface Developer Wolfram Research Inc. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev