Vladimír Vondruš
c51928c07e
python: expose gl.Context.
...
It's a bit involved as we need to ensure that gl.Context.current doesn't
outline the Application instance, so we need to:
- remember the Application object when it gets constructed (and clear
it again when it gets destructed)
- in gl.Context.current check if there's an active Application (which
means sharing data across two different Python modules, and even
though pybind11 docs suggest to "simply export a symbol", this
*cannot* possibly work in practice; instead we share data using a
Python capsule), and increase its refcount when returning the Context
instance
- decrease the Application refcount again when the Context gets
destructed
5 years ago
Vladimír Vondruš
84f9bb2a9d
Updated copyright year.
5 years ago
Vladimír Vondruš
ac8491a619
modules: updated dependency modules.
5 years ago
Vladimír Vondruš
b63ae43f1e
modules: provide additional info about not found components on CMake 3.16.
5 years ago
Vladimír Vondruš
3a82b18566
modules: use if(IN_LIST) from CMake 3.4.
...
And add a dependency-handling code for when this might get useful. For
consistency.
5 years ago
Vladimír Vondruš
32b4c3dcff
doc: updated credits and changelog.
5 years ago
Vladimír Vondruš
177ea859d8
package/homebrew: a patch to make 2020.06 compile with latest pybind.
5 years ago
John Laxson
e64a27e156
package/homebrew: use std_cmake_args.
5 years ago
Vladimír Vondruš
2b7a1af397
python: make it possible to get py::object from a raw void*/type pair.
5 years ago
Vladimír Vondruš
05e0bb764a
Test: prefix VersionTest with repo name to avoid conflicts.
...
Would break due to a conflicting target name / executable in subproject
setups that enable BUILD_TESTS.
5 years ago
Vladimír Vondruš
52f2073ff9
package/ci: we don't need ShaderTools here.
5 years ago
Vladimír Vondruš
5dad3bb8af
package/ci: note to self: don't use CIRCLE_WORKING_DIRECTORY ever again.
5 years ago
Vladimír Vondruš
c6699187cb
package/ci: apparently 4 GB RAM is not enough FOR MODERN C++ FFS.
5 years ago
Vladimír Vondruš
fa81020de7
package/ci: migrate to CircleCI.
5 years ago
Vladimír Vondruš
372c5e0065
doc: updated credits and changelog.
6 years ago
Vladimír Vondruš
15bee01a04
Update README and docs for travis-ci.com migration.
6 years ago
Aaron Gokaslan
41b720e44c
Apply clang-tidy performance fixes
6 years ago
Vladimír Vondruš
4bb19e0b3f
python: re-add an inverse of pybind11 2.2.4 workarounds for 2.6.
...
Sigh. AMAZING how they can break one thing twice in a span of a year
and a half.
This reverts commit aae98e0f02 .
6 years ago
Vladimír Vondruš
57db13422f
python: make this compatible with pybind11 2.6.
...
Pybind changed py::module to py::module_ in order to support C++
modules, adapting to that change. It still builds on older versions,
but we're using only the new APIs.
6 years ago
Vladimír Vondruš
b83e12a8fd
package/homebrew: update to what's actually latest.
6 years ago
Vladimír Vondruš
0f98d2f172
python: expose new shaders.Phong features.
6 years ago
Vladimír Vondruš
bbb2d0a395
python: document args of gl.Renderer.enable() and friends.
6 years ago
Vladimír Vondruš
5594a64c2a
python: add new clip distance features to gl.Renderer.
6 years ago
Vladimír Vondruš
4cb109f592
python: add remaining gl.Renderer.set_blend*() overloads and a test.
6 years ago
Vladimír Vondruš
615551a390
doc: updated changelog and credits.
6 years ago
Vladimír Vondruš
be5ffdd916
doc: switch to explicit :ref: as default roles don't work well.
6 years ago
Vladimir Gamalyan
fe559e69bd
python: expose GL::Renderer::setBlendEquation(), GL::Renderer::setBlendFunction() and related enums.
6 years ago
Vladimír Vondruš
11075a4adf
package/ci: rename Windows builds to not include GL anymore.
...
It'll be GL + Vulkan now.
6 years ago
Vladimír Vondruš
799629e410
python: adapt to Magnum changes.
6 years ago
Vladimír Vondruš
ea4c792d26
doc: ArchLinux uses zst now.
6 years ago
Vladimír Vondruš
66681d4dee
Fix generation of versionBindings.h when inside a Git submodule.
6 years ago
Vladimír Vondruš
579107365d
modules: adapt FindMagnumBindings.cmake to recent header renames.
6 years ago
Vladimír Vondruš
dffa0fa7f8
python: oh, forgot to install Containers/PythonBindings.h.
6 years ago
Vladimír Vondruš
1d278d1112
python: rename all Python.h headers to PythonBindings.h.
...
It conveys clearer what those headers are for and avoids issues where
shitty IDE indexers (Eclipse?) confuse this with Python's Python.h.
6 years ago
Vladimír Vondruš
24b18aff93
Update project version.
6 years ago
Vladimír Vondruš
661e8243cd
Of course I messed up generating the version header.
...
Trailing zeros, undef'd "falsy" variable. Sigh.
6 years ago
Vladimír Vondruš
2df41d3afe
doc: updated changelog for 2020.06.
6 years ago
Vladimír Vondruš
9b0e7bcf3e
package/archlinux: actually, those are transitive deps.
6 years ago
Vladimír Vondruš
01d0abb9fc
modules: updated FindMagnum and FindGLFW.
6 years ago
Vladimír Vondruš
267f7c36d9
package/archlinux: switch to Ninja.
6 years ago
Vladimír Vondruš
f5d78009a2
package/archlinux: interestingly enough, this got never commited.
6 years ago
Vladimír Vondruš
f2cba9cb57
python: adapt to Magnum changes.
6 years ago
Vladimír Vondruš
e7b5708ca9
Add a TODO for CMake 3.15.
6 years ago
Vladimír Vondruš
3d519d6c19
Add a version header containing full Git version information.
6 years ago
Vladimír Vondruš
fe7e6eb545
Bootstrap for C++-side unit tests.
...
So far all tests were done only in Python, but now we'll need them in
CMake / CTest also.
6 years ago
Vladimír Vondruš
b1d45fc85a
Updated copyright year.
6 years ago
Vladimír Vondruš
1a7efcac4c
modules: updated Corrade and Magnum modules.
6 years ago
Vladimír Vondruš
5950f00f01
modules: updated FindMagnum.cmake.
6 years ago
Vladimír Vondruš
8de3e91ce3
python: fix build against latest Magnum.
...
Not sure what the extra {}s were doing there.
6 years ago
Vladimír Vondruš
a611455034
package/ci: make tests using static plugins work again.
...
There's no dynamic Magnum library to autodetect the location from, so we
have to supply the hardcoded path explicitly.
6 years ago