pal1000 / mesa-dist-win

Pre-built Mesa3D drivers for Windows
MIT License
859 stars 77 forks source link

Is it possible to change the calling convention of the libraries? #132

Open vAnderegg opened 1 year ago

vAnderegg commented 1 year ago

My problem is that i use one mesa and one native opengl from windows and switch dynamically between the two libraries at runtime. I noticed that mesa uses cdecl and native uses stdcall, so i was wondering if it is possible to compile the mesa libraries with a different calling convention?

Thanks in advance for an answer

pal1000 commented 1 year ago

Ask upstream: https://gitlab.freedesktop.org/mesa/mesa/-/issues

vAnderegg commented 1 year ago

Hello pal1000

Thank you for your awnser.

I have submitted my questions to the mesa committee but have not received a response yet, if I hear anything I will comment in this ticket. But I have another question now, is it possible to add the debug info's for mesa version 20.3.4 to the release?

This would help me a lot. I tried to compile mesa etc. in this version, but always failed to compile the 32-bit version of it. I would personally upgrade to a newer version, but unfortunately it is not compatible with my current code.

Thanks in advance for an answer and your help

pal1000 commented 1 year ago

20.3.4 is too old and it won't work with current build dependencies. Trying this will definitely be a nightmare.