docs: Update Windows llvmpipe doc for driver split

Reviewed By: Bill Kristiansen <billkris@microsoft.com>

Reviewed-by: Charmaine Lee >charmainel@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12677>
This commit is contained in:
Jesse Natalie 2021-09-01 07:28:30 -07:00
parent f36921effe
commit 076c8f041a
1 changed files with 5 additions and 4 deletions

View File

@ -106,9 +106,10 @@ Windows
On Windows, building will create On Windows, building will create
``build/windows-x86-debug/gallium/targets/libgl-gdi/opengl32.dll`` which ``build/windows-x86-debug/gallium/targets/libgl-gdi/opengl32.dll`` which
is a drop-in alternative for system's ``opengl32.dll``. To use it put it is a drop-in alternative for system's ``opengl32.dll``, which will use
in the same directory as your application. It can also be used by the Mesa ICD, ``build/windows-x86-debug/gallium/targets/wgl/libgallium_wgl.dll``.
replacing the native ICD driver, but it's quite an advanced usage, so if To use it put both dlls in the same directory as your application. It can also
be used by replacing the native ICD driver, but it's quite an advanced usage, so if
you need to ask, don't even try it. you need to ask, don't even try it.
There is however an easy way to replace the OpenGL software renderer There is however an easy way to replace the OpenGL software renderer
@ -116,7 +117,7 @@ that comes with Microsoft Windows 7 (or later) with llvmpipe (that is,
on systems without any OpenGL drivers): on systems without any OpenGL drivers):
- copy - copy
``build/windows-x86-debug/gallium/targets/libgl-gdi/opengl32.dll`` to ``build/windows-x86-debug/gallium/targets/wgl/libgallium_wgl.dll`` to
``C:\Windows\SysWOW64\mesadrv.dll`` ``C:\Windows\SysWOW64\mesadrv.dll``
- load this registry settings: - load this registry settings: