Add xcb dynamic loading support#99
Conversation
|
Error management is not done, I did not find a way to convey an clean error if the lib or a symbol is not available. There is an error code stuff but I'd need to be able to abort right during the manager creation. |
|
Looks good to me but I think @dacap wanted to have a CMake variable to switch between link and dynamic load mode. |
Right, completely forgot about that. |
|
@dacap in the meantime I have added a simple exception system |
d3092d9 to
b0a7ba0
Compare
I agree that my contributions are licensed under the MIT License.
You can find a copy of this license at https://opensource.org/licenses/MIT
This adds supports for loading xcb dynamically instead of linking against it, by providing all needed symbols as function pointers.
TODO: Error management
Fix: #98
Fix: f3d-app/f3d#3326