Vladimír Vondruš
d7a922bfb5
Remove old std::u32string-related MinGW workarounds.
11 years ago
Vladimír Vondruš
e2c1ca1487
Remove old std::to_string()-related MinGW workarounds.
11 years ago
Vladimír Vondruš
d971d388c2
MagnumFont: at least some test for glyph cache creation.
...
Had to create some non-zero-size TGA file for it to pass.
11 years ago
Vladimír Vondruš
0df7b1b40d
Avoid ambiguous overloads when passing Containers::Array to BufferImage.
11 years ago
Vladimír Vondruš
b3f20e41fd
Passing nullptr data to BufferImage would assert anyway.
...
I can't think of any valid use case, so no problem when these are
producing deprecated warnings.
11 years ago
Vladimír Vondruš
0c086b631b
Fix OpenGL object label queries.
...
Passing 0 as bufSize to glGetObjectLabel() is not allowed by the spec
even when just querying the size, thus passing the maximum. Might
hopefully fix the label queries on AMD drivers.
11 years ago
Vladimír Vondruš
7230d47af8
magnum-distancefieldconverter: use AnyImageConverter by default.
11 years ago
Vladimír Vondruš
7c231ca5a5
package/ci: no need to specify SDL2 library explicitly anymore.
11 years ago
Vladimír Vondruš
2521c3d5d7
modules: support Windows release package by default.
11 years ago
Vladimír Vondruš
326d1d6a98
modules: FindSDL2.cmake cleanup.
11 years ago
Vladimír Vondruš
e7f2b41c95
Audio: use proper function.
...
Thanks, MSVC, for the warning!
11 years ago
Vladimír Vondruš
c341f74553
package/ci: minor cleanup.
11 years ago
Vladimír Vondruš
def6d89452
package/ci: this time for real, right?
11 years ago
Vladimír Vondruš
3e7e1bcccf
package/ci: so maybe this?
11 years ago
Vladimír Vondruš
0a451cba41
package/ci: ugh.
11 years ago
Vladimír Vondruš
2149468976
package/ci: we need OpenAL32.dll in PATH.
11 years ago
Vladimír Vondruš
d0ee6200f5
package/ci: try to build also Audio lib on AppVeyor.
11 years ago
Vladimír Vondruš
3b03d15009
Audio: provide access to plugin manager in AbstractImporter.
...
So it is possible to create also AnyAudioImporter.
11 years ago
Vladimír Vondruš
21fc790632
Trade: make AbstractImageConverter API non-const.
...
In the particular case of AnyImageConverter the function needs to access
manager and load/instantiate plugin using it, which is non-const
operation. More generally, it puts unnecessary restrictions on what the
plugin can and cannot do.
11 years ago
Vladimír Vondruš
199d086419
Trade: provide access to plugin manager in AbstractImageConverter.
...
Similarly to what is done in AbstractImporter, allows me to implement
AnyImageConverter plugin.
11 years ago
Vladimír Vondruš
2cbb57c6da
Trade: improve AbstractImageConverter API.
...
Provide a way to convert compressed images to data/file (i.e. saving
DXT5-compressed image data to DDS file), improve feature flags so that
the plugin can properly advertise what's supported (for example some
plugin may just be able to compress RGBA to DXT5, but not to save that to
DDS file).
This is backwards-incompatible API breakage (renamed enum value), but
because the original API wasn't in any official release yet, I'm not
doing any deprecation and backwards compatibility.
11 years ago
Vladimír Vondruš
e0b5d05b9f
Allow creating ImageView with nullptr data.
11 years ago
Vladimír Vondruš
0f7f2e0780
Verify that it's possible to create ImageView with nullptr data.
...
For example for old-style texture allocation using setImage(). Asserts
now.
11 years ago
Vladimír Vondruš
fef46953ec
Define-out precision qualifiers in test shaders for GLSL 1.20.
...
Causes the errors to abort on AMD cards.
11 years ago
Vladimír Vondruš
21076d0cae
Advertise MSVC 2015 support, add AppVeyor badge.
11 years ago
Vladimír Vondruš
9373d5cd45
Missing includes.
...
YES! The last commit before making MSVC 2015 green and I broke build
*everywhere*. Dammit.
11 years ago
Vladimír Vondruš
e1651f7388
Provide AbstractQuery forward declaration.
...
It is used now (in state tracker).
11 years ago
Vladimír Vondruš
7e80d1f7ae
Cleanup.
11 years ago
Vladimír Vondruš
69949b991a
Fix memory corruption on MSVC.
...
I can't believe that you can just forget to include some file and it
will SILENTLY PASS and then crashes horribly at runtime because each
translation unit thought that given member function pointer had
completely different size. THIS IS NOT ACCEPTABLE.
11 years ago
Vladimír Vondruš
6547a59f0b
ObjImporter: open the file as binary.
...
Apparently opening the file as text would NOT properly handle \r\n and
will break everything posssible instead. What a day!
11 years ago
Vladimír Vondruš
86c8fdef8d
Fix linking of tests on MinGW-w64 GCC 5.1.
...
It worked flawlessly when crosscompiled from Linux, but compiling that
natively causes the linker to loudly complain about undefined references
to ConfigurationValue structs. I think it worked well under 4.9.2 (but
that mess had a slew of other ugly problems, such as complete inability
to produce non-crashing C++11 code under x64). The linker error is
caused only because I tried to reduce binary bloat, so I'm just
disabling that for MinGW and screw that. No problem under MSVC.
11 years ago
Vladimír Vondruš
0f599567bb
MSVC 2015 compatibility: give up also on this.
11 years ago
Vladimír Vondruš
54fc071d2b
MSVC 2015 compatibility: NaN is not constexpr.
...
It probably complains only because one of them (the float one) is
constexpr and the other is not. Whatever.
11 years ago
Vladimír Vondruš
cf6bf1694f
MSVC 2015 compatibility: another compiler crash.
11 years ago
Vladimír Vondruš
eac01167f5
MSVC 2015 compatibility: except long double (de)normalization to fail.
...
I'm giving up on this one also for 2015. Cherry-picked from
compatibility branch (6ee931b7b492c12cd6674c93564617c7139cea84).
11 years ago
Vladimír Vondruš
2c16190942
MSVC 2015 compatibility: that thing wants to call destructor everywhere.
...
Otherwise it complains that we are deleting pointer to incomplete type.
But why? I'm calling the destructors only in the *.cpp file.
11 years ago
Vladimír Vondruš
bfbacaa7c9
MSVC 2015 compatibility: random stuff that's causing compiler crashes.
...
Random indeed. In particular, it's causing crashes for Vector2 and
Vector3, but not for the exact same code in Vector4!
11 years ago
Vladimír Vondruš
9757a0df84
MSVC 2015 compatibility: you don't like <> too? Uh.
11 years ago
Vladimír Vondruš
b2604bb903
MSVC 2015 compatibility: issues with delegating constexpr tag constructors.
...
Fixed-size constructors were worked around, the rest is now impossible
to have constexpr.
11 years ago
Vladimír Vondruš
d8ce08dd64
MSVC 2015 compatibility: what I'm doing wrong?
11 years ago
Vladimír Vondruš
9136007371
MSVC 2015 compatibility: apparently dereferencing pointer is verboten.
11 years ago
Vladimír Vondruš
5e2981eab6
MSVC 2015 compatibility: more constexpr delegating constructor issues.
11 years ago
Vladimír Vondruš
d7e507a2a7
MSVC 2015 compatibility: Math copy/conversion constexpr issues.
...
I don't know why, but marking the output of copy constructor of any
subclass or output of conversion operator of any class as constexpr
causes MSVC to complain about non-constant expression.
Probably just another bug.
11 years ago
Vladimír Vondruš
000d8f8129
MSVC 2015 compatibility: Math external conversion constexpr issues.
...
Caused by inability to delegate constexpr constructors. Subclasses are
okay, fortunately.
11 years ago
Vladimír Vondruš
d805e87f21
MSVC 2015 compatibility: Math conversion constructor constexpr issues.
...
Some could be worked around, but the rest is prevented by inability to
delegate constexpr constructors.
11 years ago
Vladimír Vondruš
8984904693
MSVC 2015 compatibility: single value Math constructor constexpr issues.
...
Some could be worked around, but the rest is prevented by inability to
delegate constexpr constructors.
11 years ago
Vladimír Vondruš
16413778c8
MSVC 2015 compatibility: more {}-related issues.
11 years ago
Vladimír Vondruš
512021985e
MSVC 2015 compatibility: annoying inconsistencies.
...
What is right on sane compilers gives an error on MSVC and what MSVC
accepts is in no way the right thing.
11 years ago
Vladimír Vondruš
a89a692ddd
MSVC 2013 compatibility: {}-related issues.
11 years ago
Vladimír Vondruš
d2d0943ffa
MSVC 2015 compatibility: broken multiple definitions of template aliases.
...
Causes the compiler to forget random type declarations. How is that even
possible.
11 years ago