Browse Source
Move GL Context into Singleton class
Move GL Context into Singleton class
The GL context lock needs to be shared across kifaces. Otherwise, we can end up blocking the lock from one kiface. Unfortunately, I can't find the issue in GitLab right now for where the footprint viewer shows a blank screen after opening too many contexts. But that's what this fixes.pcb_db
13 changed files with 55 additions and 49 deletions
-
183d-viewer/3d_canvas/eda_3d_canvas.cpp
-
123d-viewer/3d_model_viewer/eda_3d_model_viewer.cpp
-
153d-viewer/3d_rendering/opengl/render_3d_opengl.cpp
-
8common/gal/opengl/gl_context_mgr.cpp
-
21common/gal/opengl/opengl_gal.cpp
-
3eeschema/CMakeLists.txt
-
1gerbview/CMakeLists.txt
-
11include/gal/opengl/gl_context_mgr.h
-
2include/pgm_base.h
-
10include/singleton.h
-
1pagelayout_editor/CMakeLists.txt
-
1pcb_calculator/CMakeLists.txt
-
1pcbnew/CMakeLists.txt
Write
Preview
Loading…
Cancel
Save
Reference in new issue