Re: [Mesa-dev] Error while compiling the MAPI directory

2013-03-20 Thread Ritvik_Sharma
I am using Visual Studio. I found that all these missing constants like MAPI_TABLE_NUM_STATIC are getting there values in mapi_abi.py. Since I am building it in UEFI I am making [.inf] files and using them to generate the makefilesand not the makefiles given in the mesa kit. Could this be a rea

Re: [Mesa-dev] Error while compiling the MAPI directory

2013-03-19 Thread Ritvik_Sharma
Hi, I used the latest mesa and I am still receiving the same errors. It works perfectly fine in Ubuntu though. Can somebody please tell in the file mapi_tmp.h how does the following constant included? #include MAPI_ABI_HEADER Thanks, Ritvik -Original Message- From: Jose Fonseca [ma

[Mesa-dev] Error while compiling the MAPI directory

2013-03-18 Thread Ritvik_Sharma
Hi, I am receiving the following error while compiling the code in the mapi directory. I am using mesa 7.5. (On compiling glapi_dispatch.c) OpenGL\mapi/glapi/glapitemp.h(86) : error C2375: 'glNewList' : redefinition; different linkage c:\poc\edk2\AppPkg\Include\GL/gl.h(944) : see decl

[Mesa-dev] Software Rendering without X

2013-03-11 Thread Ritvik_Sharma
Hi All, I don't have any Graphic Cards that support OpenGL , so I want to perform software rendering with Mesa without X, DRM etc. Also can someone explain how are the functions for eg. glClear (_mesa_clear the actual implementation) are invoked without glx? Thanks Ritvik ___

[Mesa-dev] Using SDL with OpenGL/Mesa

2013-02-12 Thread Ritvik_Sharma
Hi, When we initialize OpenGL using SDL do we need to take care of the rendering part or does SDL does the output rendering and just uses the OpenGL functions? Thanks and Regards Ritvik ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://li

[Mesa-dev] How to implement the OpenGL functions

2013-02-07 Thread Ritvik_Sharma
Hi, If I want to implement some OpesnGL function , say glLoadIdentity. When I see the function declaration in Mesa or OpenGL its usually defined as : WINGDIAPI void APIENTRY glLoadIdentity (void); extern PFNGLLOADIDENTITYPROC __gleLoadIdentity; #define glLoadIdentity __gleLoadIdentity And on s