Vladimír Vondruš
8f37ebe9cf
Better usage of external OpenGL headers.
...
Moved them to `OpenGL/` subdirectory, allowing them to be included
explicitly with e.g. <OpenGL/GLES2/gl2ext.h> overriding the system
<GLES2/gl2ext.h> header. Our versions of the headers are thus now
explicitly included in `OpenGL.h`, but they can be also included using
no-prefix path if no system version is available. It might break some ES
platforms, they will be fixed when found.
The headers are now installed into `Magnum/OpenGL` (not into any
artificial `external` directory). Now also installing GLES2 headers for
OpenGL ES 2 (previously ES3 headers were installed for both ES2 and
ES3).
13 years ago
Vladimír Vondruš
a0b83edd2b
Relicensing to MIT/Expat license, part 4: CMake and documentation files.
...
They didn't contain license header before, but I think adding it also
there wouldn't do any harm. Documentation is also integral part of the
codebase.
13 years ago
Vladimír Vondruš
6a1d061a3a
Updated FindCorrade.cmake from Corrade repository.
13 years ago
Vladimír Vondruš
005ae96cf3
FindMagnum: fixed formatting with `cmake --help-module`.
13 years ago
Vladimír Vondruš
1a051707da
FindMagnum: it's FindFreetype.cmake, not FindFreeType.cmake.
...
Although the library is still named FreeType. Fixes warnings in
dependent projects.
13 years ago
Vladimír Vondruš
1f8efd4a97
Updated FindCorrade.cmake from Corrade repository.
13 years ago
Vladimír Vondruš
27020f62c1
Updated documentation on building and library finding.
13 years ago
Vladimír Vondruš
122b1f3bbd
Require HarfBuzz in FindMagnum.cmake only if it was compiled with it.
13 years ago
Vladimír Vondruš
8e3005d625
Updated FindGLEW.cmake, fixed Windows support.
...
On Win it needs both *.dll and *.lib to be successfully linked,
currently the variables must be set manually.
13 years ago
Vladimír Vondruš
b38ec8152b
Text: ability to compile the library without HarfBuzz support.
...
The text will be rendered without all the nifty features like kerning
and it will most probably fail on everything non-latin, but HarfBuzz is
currently PITA on some systems.
HarfBuzz usage can be configured using USE_HARFBUZZ CMake option.
13 years ago
Vladimír Vondruš
e67142db1d
Properly check (and document) dependencies for Text library.
13 years ago
Vladimír Vondruš
3c347441e6
Ability to build Magnum for OpenGL ES emulated with desktop OpenGL.
14 years ago
Vladimír Vondruš
3b92d711c7
CMake module for finding HarfBuzz library.
14 years ago
Vladimír Vondruš
a208a289ba
Initial support for Text library.
14 years ago
Vladimír Vondruš
96e936039c
New TextureTools library with joke implementation of atlas packer.
14 years ago
Vladimír Vondruš
c0a3ce84a4
Moved Profiler and debug draw from Physics to new DebugTools library.
...
Also cleaned up the code and split renderer creation from resource
manager.
14 years ago
Vladimír Vondruš
e0728baf03
Adapt to "recent" (sic) Platform changes, update docs.
14 years ago
Vladimír Vondruš
8e947fbabb
Platform: Added WindowlessGlxApplication.
...
Finally something that can be used for:
* Unit tests
* Resource compilation
* Benchmarks
* ...
I also desperately need something similar for Windows (and Mac OS, too).
14 years ago
Vladimír Vondruš
508200d99e
Updated FindCorrade.cmake from Corrade repository.
14 years ago
Vladimír Vondruš
1482dd9f50
FindMagnum.cmake: Don't expose *_LIBRARY and *_INCLUDE_DIR to users.
14 years ago
Vladimír Vondruš
67f2e0fc7f
GCC 4.6 compatibility is now handled by Corrade.
14 years ago
Vladimír Vondruš
b1025b7bc0
Updated FindCorrade.cmake from Corrade repository.
14 years ago
Vladimír Vondruš
3fd6480a1b
FindMagnum.cmake: show library path in FPHSA rather than include dir.
...
Library path will reflect various lib dir suffixes.
14 years ago
Vladimír Vondruš
4d69874c92
Updated FindCorrade.cmake from Corrade repository.
14 years ago
Vladimír Vondruš
643977abbd
Platform: support for NaCl applications.
14 years ago
Vladimír Vondruš
e1cd13021b
Platform/Application renaming.
...
Because with NaCl WindowContext doesn't make sense anymore, the classes
are now renamed:
* Contexts namespace -> Platform
* *WindowContext -> Application
Hopefully this is (one of) last crazy renaming runs.
14 years ago
Vladimír Vondruš
4d3dd19b9d
Initial NaCl support.
...
* Explicitly set OpenGL ES 2.0 support.
* Provide information about NaCl target to users.
14 years ago
Vladimír Vondruš
ae9914c587
Provide information about compatibility and ES 2.0 target to users.
14 years ago
Vladimír Vondruš
7c7163e17b
FindOpenGLES2.cmake: added library name for NaCl.
14 years ago
Vladimír Vondruš
d46bc34390
Moved flat shader from internal physics implementation to Shaders.
...
It is so general that it can be reused elsewhere.
14 years ago
Vladimír Vondruš
1cf0179377
Avoid linker errors with *WindowContext on mingw.
14 years ago
Vladimír Vondruš
f85a7fc568
Physics: Minimal initial implementation of debug draw.
14 years ago
Vladimír Vondruš
8a7c86d700
Initial implementation of ShapedObject.
...
Physics library now depends on SceneGraph, which must be explicitly
linked too.
14 years ago
Vladimír Vondruš
a5ab6253b7
Contexts refactoring.
...
Contexts attached to window are now *WindowContext, pure contexts are
just *Context.
14 years ago
Vladimír Vondruš
e378195d20
Added headers for OpenGL 4.3 and OpenGL ES 3.0.
14 years ago
Vladimír Vondruš
31e4e8d95e
Added GLX context.
14 years ago
Vladimír Vondruš
61cac0f1b3
Renamed EglContext to XEglContext.
...
X11 window and event handling will be used also elsewhere for desktop
OpenGL, reflect its presence in the class name.
14 years ago
Vladimír Vondruš
e3ee7b487b
Moved Object, Scene and Light to separate SceneGraph library.
14 years ago
Vladimír Vondruš
9d7b3d6d6b
FindMagnum: don't expose internal ${COMPONENT}_INCLUDE_DIR to users.
14 years ago
Vladimír Vondruš
450100afbe
Revert "Added lost parameter to FPHSA in FindMagnum.cmake."
...
It shouldn't probably be there.
This reverts commit 64b6c6d6b5 .
14 years ago
Vladimír Vondruš
e3b21c57db
Improved formatting of FindMagnum.cmake documentation.
14 years ago
Vladimír Vondruš
b3e3d8718e
Updated FindCorrade.cmake from Corrade repository.
14 years ago
Vladimír Vondruš
64b6c6d6b5
Added lost parameter to FPHSA in FindMagnum.cmake.
...
Lost during rework in e8403c5123 .
14 years ago
Vladimír Vondruš
7e0b8601f7
Added MAGNUM_*_INCLUDE_DIRS for all modules too.
...
Some modules need it (Sdl2Context), some not.
14 years ago
Vladimír Vondruš
fd78db3f47
Plural versions of *_INCLUDE_DIR and *_LIBRARY FindMagnum variables.
...
It took me years to fully accept this CMake policy. Now it's enough to
specify ${MAGNUM_LIBRARIES} instead of all those Corrade, OpenGL /
OpenGL ES, GLEW etc. dependencies (heh).
14 years ago
Vladimír Vondruš
bf649d3bb8
Follow CMake coding guidelines in FindMagnum.cmake.
14 years ago
Vladimír Vondruš
3d750c5e7d
Don't check if OpenGL ES 2 was found when looking for EglContext.
...
Missed in 7e62a19401 .
14 years ago
Vladimír Vondruš
9f59288253
Checking whether Magnum was build for OpenGL ES in FindMagnum.cmake.
14 years ago
Vladimír Vondruš
3a4041ce69
Updated FindMagnum.cmake documentation.
14 years ago
Vladimír Vondruš
7e62a19401
Don't try to find OpenGL ES more times than necessary.
14 years ago