擅长:python、mysql、java
<p>当过程在某种程度上实现自动化时,从源代码构建Mesa并不那么困难:
<a href="https://github.com/pal1000/mesa-dist-win" rel="nofollow noreferrer">https://github.com/pal1000/mesa-dist-win</a></p>
<p>你不必在缺少GPU的虚拟机上修改文件权限和覆盖opengl32.dll来安装Mesa3D。有一个注册表调整告诉Windows使用Mesa3D作为默认的软件光栅化器。只需将Mesa3D opengl32.dll文件重命名为mesadrv.dll,将它们放到windows\system32和windows\syswow64中(如果适用),然后应用以下注册表调整:</p>
<ul>
<li>对于64位应用程序或32位Windows上的32位应用程序</li>
</ul>
<p><code>REGEDIT4</code></p>
<pre><code>; https://technet.microsoft.com/en-us/library/cc749368.aspx
; https://www.msfn.org/board/topic/143241-portable-windows-7-build-from winpe-30/page-5#entry942596
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\OpenGLDrivers\MSOGL]
"DLL"="mesadrv.dll"
"DriverVersion"=dword:00000001
"Flags"=dword:00000001
"Version"=dword:00000002
</code></pre>
<ul>
<li>对于64位Windows上的32位应用程序</li>
</ul>
<p><code>REGEDIT4</code></p>
^{pr2}$
<p>参考号:<a href="https://www.mesa3d.org/llvmpipe.html" rel="nofollow noreferrer">https://www.mesa3d.org/llvmpipe.html</a></p>