Add low-level CGL context management for macOS.
This allows rendering from non-main threads as the context is not tied to a Cocoa window. Fixes #742 Fixes #798 PiperOrigin-RevId: 523144359 Change-Id: I98432debdd034814c313eda94e38c248c3c1f76c
This commit is contained in:
committed by
Copybara-Service
parent
b536e46cc0
commit
6d63e046fd
@@ -20,6 +20,13 @@ General
|
||||
equivalent body inertias with ellipsoids instead of the default boxes.
|
||||
- Added documentation for :ref:`engine plugins<exPlugin>`.
|
||||
|
||||
Python bindings
|
||||
^^^^^^^^^^^^^^^
|
||||
|
||||
- Offscreen rendering on macOS is no longer restricted to the main thread. This is achieved by using the low-level
|
||||
Core OpenGL (CGL) API to create the OpenGL context, rather than going via GLFW which relies on Cocoa's NSOpenGL.
|
||||
The resulting context is not tied to a Cocoa window, and is therefore not tied to the main thread.
|
||||
|
||||
Bug fixes
|
||||
^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user