Vladimír Vondruš
8d95781fc4
package/ci: disable doctest on AppVeyor as that requires numpy too.
7 years ago
Vladimír Vondruš
9872f23e58
package/ci: initial AppVeyor setup.
7 years ago
Vladimír Vondruš
9dc569945f
python: a better way to skip GL tests.
...
Because we want to test building GLX, EGL and WGL implementations.
7 years ago
Vladimír Vondruš
067c45e792
python: skip numpy tests if it's not installed.
7 years ago
Vladimír Vondruš
0d671c823c
python: wire in the WindowlessWglApplication.
7 years ago
Vladimír Vondruš
eb6576c6af
python: sad workaround for a nasty problem deep inside pybind.
...
:(
7 years ago
Vladimír Vondruš
a62c1fe29d
python: add new sRGB PixelFormat values.
7 years ago
Cameron Egbert
14fa2247e9
python: MSVC doesn't like pure virtual methods in local classes.
7 years ago
Vladimír Vondruš
4718de1ed3
python: don't define negation on unsigned vector types.
...
Thanks, MSVC.
7 years ago
Vladimír Vondruš
ff9003d10c
python: silence annoying GCC 4.8 warnings.
7 years ago
Vladimír Vondruš
fd85c2ff81
python/corrade: huh, this one was missing.
7 years ago
Vladimír Vondruš
e8198cb97e
python: fix PyInit_* declarations to work on Windows as well.
...
Co-authored-by: Cameron Egbert <cegbert@oculus.com>
7 years ago
Vladimír Vondruš
a6c8b0107e
Explicitly use C++11, like all other Magnum projects.
...
We're testing with GCC 4.8 on Travis, so we can't go with C++14 anyway.
7 years ago
Vladimír Vondruš
c536caaf13
CMake: avoid /W3 overriding warnings and enable -DUNICODE on Windows.
...
Consistent with how all other Magnum projects do it.
7 years ago
Vladimír Vondruš
6555424d86
package/ci: add a static macOS build as well.
7 years ago
Vladimír Vondruš
232b559984
package/ci: build also SDL2 and GLFW apps on Travis.
...
Why that was not done?
7 years ago
Vladimír Vondruš
7f79f455d9
package/ci: we always build w/o deprecated functionality.
7 years ago
Vladimír Vondruš
3c96880f2e
modules: updated GL-related Find modules.
7 years ago
Vladimír Vondruš
1ec7269732
python: expose more from GL framebuffers.
7 years ago
Vladimír Vondruš
5a438ed474
python: um, why a 8-bit type?
7 years ago
Vladimír Vondruš
d36aa31a37
python: properly provide virtual destructors for Application classes.
...
This time I actually have to thank you, Clang.
7 years ago
Vladimír Vondruš
375a22f08d
python: suppress Clang's -Wgnu-zero-variadic-macro-arguments warning.
...
Hmm. I seem to be the only one on Earth using pybind11 with Clang. Or
does everyone else just ignore all those warnings?!
7 years ago
Vladimír Vondruš
7e057863c8
python: fix Clang's -Wself-assign-overloaded warnings.
...
It's unfortunate that the pybind11 operator helpers need this, but well.
7 years ago
Vladimír Vondruš
68e28685ff
python: fix Clang's -Wmissing-prototypes warnings.
...
This is a temporary change until a PR fixing this on pybind11 side is
merged (and a new version released).
7 years ago
Vladimír Vondruš
cfce76dde4
package: include public headers in coverage reports as well.
7 years ago
Vladimír Vondruš
d5036b4c97
python: expose the new flags in meshtools.compile().
7 years ago
Vladimír Vondruš
fa3c0bdd05
python: better name for the gl.Framebuffer attachment owners property.
7 years ago
Vladimír Vondruš
f3c0454c72
python: ensure memory owners are compared with `is`.
...
Otherwise it gives false positives (as was the case with one
comparison).
7 years ago
Vladimír Vondruš
c40627c96c
python: better name [Strided]ArrayView memory owner property.
...
Mirroring Python's obj is not good, as the name is absolutely not
describing what it is.
7 years ago
Vladimír Vondruš
c28f36e04a
python: move refcounting in GL types also to holders.
...
Much cleaner now, yay.
7 years ago
Vladimír Vondruš
fe3837e34a
python: put all public Python headers into the same IDE folder.
7 years ago
Vladimír Vondruš
65d39b079e
python: make the PyNonDestructibleClass helper public.
...
We'll need it for GL holder types.
7 years ago
Vladimír Vondruš
76d7ee0dc7
python: store memory owner references in the holder type instead.
...
Compared to having to subclass every type that can reference external
data, this has several advantages for 3rd party binding code:
* it doesn't need to worry about the additional type when binding
function arguments (currently it had to provide lambdas that accept
the PyFoo subtype instead of just Foo)
* and it can now easily bind those types also for function
return values and properties -- the return type doesn't need to be
subclassed (which in case of move-only types is practically
impossible) but instead just wrapped in a holder along with the
memory owner object reference
The new holders also assert that memory owner is always specified unless
the data is empty.
7 years ago
Vladimír Vondruš
e28e58b5b8
python: hide cryptic shit in less cryptic wrappers.
...
UGH.
7 years ago
Vladimír Vondruš
1fc142d193
python: add wrappers for often needed but terribly cryptic pybind APIs.
7 years ago
Vladimír Vondruš
5a49164bb0
modules: updated FindCorrade.cmake.
7 years ago
Vladimír Vondruš
4cbda8081b
corrade/containers: finally give up on testing ArrayView dimensions.
...
Numpy's array sometimes has 0 dimensions even though everything else is
okay.
7 years ago
Vladimír Vondruš
b3206b138f
python/corrade: implicit conversion of np.array to (Strided)ArrayView.
7 years ago
Vladimír Vondruš
1ee3b69b98
python: added a TODO.
7 years ago
Vladimír Vondruš
3b7cfa4117
python: bind framebuffer reading.
7 years ago
Vladimír Vondruš
2ac4ca3338
python: expose basic Framebuffer.
7 years ago
Vladimír Vondruš
b5e4253960
python: expose GL::RenderbufferFormat and GL::Renderbuffer.
7 years ago
Vladimír Vondruš
d36c847362
python: add an underscore to Matrix4.shearing_ab() parameter name.
...
Better readability.
7 years ago
Vladimír Vondruš
2d1022b739
python: rename a header for further additions.
7 years ago
Vladimír Vondruš
bfdfad1226
python: expose GL::Renderer::setClearColor().
...
Uh oh, something's weird there.
7 years ago
Vladimír Vondruš
59969c3f67
python: expose (Mutable)ImageView.
7 years ago
Vladimír Vondruš
d5379c10eb
python: expose buffer objects owned by gl.Mesh.
...
Makes testing much easier.
7 years ago
Vladimír Vondruš
a18c438352
python: so we need MutableStridedArrayView4D as well.
...
In order to access pixel data in 3D images, of course.
7 years ago
Vladimír Vondruš
f1aeb0fd0e
python: whoops, forgot to bind some MutableStridedArrayView3D functions.
7 years ago
Vladimír Vondruš
1e4a9c424e
python: bind PixelFormat and PixelStorage.
...
Just the uncompressed ones for now.
7 years ago