Commit Graph

8 Commits

Author SHA1 Message Date
Lephenixnoir 019cf416fa
meta: move submodules to 3rdparty/ (still internal)
This properly separates the libraries developed here from the (now
clearly) third-part software that we build at the same time.

There is still no install script for these libraries, they are only
usable from the main CMakeLists.txt. This will change soon.
2022-06-02 21:28:00 +01:00
Lephenixnoir e2e73c4934
meta: updated build system with gint install, README 2022-06-02 21:18:58 +01:00
Lephe e124719de3
azur: share command data between fragments (with updates) 2022-05-27 20:55:44 +01:00
Lephe 911cc8e5ac
azur: documentation and optimization on rendering 2022-05-27 20:55:44 +01:00
Lephe 5d65459c41
meta: update ImGui, make GL3W as external module 2022-05-27 20:55:34 +01:00
Lephe 028d927b6d
meta: add GLM as a submodule 2022-05-27 20:55:33 +01:00
Lephe 31da1c0998
meta: build system for Dear ImGui + GL3W + FreeType2
* Add build instructions for Dear ImGui that build the SDL +
  OpenGL 3 / OpenGL ES 2 backend.
* Use Dear ImGui's bundled GL3W as a loader (including in azur itself,
  which has not been using a loader until now).
* Properly select headers for OpenGL ES 2.0 (with the VAO extension) and
  attributes for WebGL; clear up OpenGL 4 error codes.
* If FreeType2 is available through pkg-config, or if empscripten is
  used (since it has a FreeType port), use FreeType to render fonts in
  Dear ImGui for much-appreciated hinting quality.

Minor changes:
* Add window title to azur_init().
* Use emscripten's infinite loop simulation to make sure everything
  stays in the same thread. This is needed for Dear ImGui to work.
2022-05-27 20:55:24 +01:00
Lephe bbc431e137
meta: top-level build system
Mostly sets settings for azur (the engine) and loads backend libraries.
2022-05-27 20:55:19 +01:00