use_cpu_opengl docs

This commit is contained in:
alemuntoni 2020-04-07 14:49:01 +02:00
parent c0ce2b3ea8
commit 42d1d1a03d
3 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,11 @@
# This project is supposed to be compiled only with windows.
# It creates a binary file inside the MESHLAB_DISTRIB folder that is called
# UseCPUOpenGL. This binary file is automatically run by meshlab
# only if glewInit() fails (therefore, drivers do not support newer OpenGL
# versions). When UseCPUOpenGL is run, a file called "opengl32.dll" will be
# renamed/placed in the meshlab folder, overriding the system one and making meshlab
# able to start using a CPU implementation of OpenGL.
if(WIN32)
set(SOURCES

View File

@ -1,6 +1,6 @@
#Use CPU OpenGL
This is a little qmake project **for windows** (it won't be compiled in other platforms) that generates a binary `UseCPUOpenGL.exe` file with admin privileges.
This is a little qmake/cmake project **for windows** (it won't be compiled in other platforms) that generates a binary `UseCPUOpenGL.exe` file with admin privileges.
This binary is useful when MeshLab cannot start due to some graphic drivers that do not implement recent versions of OpenGL. In these cases, a (slow) CPU implementation of newer OpenGL leds MeshLab at least to start.
@ -8,4 +8,4 @@ This binary must be run inside the MeshLab folder, and:
- it renames the file `opengl32sw.dll` if present inside the MeshLab folder, or
- it generates a `opengl32.dll` file that will be used by MeshLab instead of the system one.
Running meshlab, if `glewInit()` fails, `UseCPUOpenGL.exe` will be executed and the new `opengl32.dll` file will be placed in the MeshLab folder, overriding the system one just for MeshLab.
Running meshlab, if `glewInit()` fails, `UseCPUOpenGL.exe` will be executed and the new `opengl32.dll` file will be renamed/placed in the MeshLab folder, overriding the system one just for MeshLab.

View File

@ -3,7 +3,7 @@
# UseCPUOpenGL. This binary file is automatically run by meshlab
# only if glewInit() fails (therefore, drivers do not support newer OpenGL
# versions). When UseCPUOpenGL is run, a file called "opengl32.dll" will be
# placed in the meshlab folder, overriding the system one and making meshlab
# renamed/placed in the meshlab folder, overriding the system one and making meshlab
# able to start using a CPU implementation of OpenGL.
win32 {