Vladimír Vondruš
c4a3b273e6
Math: provide transformVector() also on the DualThing classes.
...
To make them more consistent with Matrix3/4, making switching from one
to the other easier.
6 years ago
Vladimír Vondruš
c25b19d210
SceneGraph: support rotating directly via Complex/Quaternion.
...
A decade late, but finally.
6 years ago
Vladimír Vondruš
d955908a38
GL: allow creating a Buffer and directly filling it with data.
6 years ago
Vladimír Vondruš
f53adefe96
GL: mark the 4-argument DynamicAttribute constructor as explicit.
...
Should have been done since ever, considering it was not annotated with
/*implicit*/.
6 years ago
Vladimír Vondruš
24cc971b1f
GL: reworked apple-buffer-texture-unbind-on-buffer-modify workaround.
...
Much smaller, nicer and more robust.
6 years ago
Vladimír Vondruš
44aed01d77
Fix plugins being searched in lib/ when it should be bin/ and vice versa.
...
Ugh. I must have been drunk when writing this. Also, why nobody complained
until now? Interesting.
6 years ago
Vladimír Vondruš
88b515ba15
Platform: assume HiDPI is on by default on macOS 10.13+ and iOS 13+.
...
Also fix the detection in case the app explicitly sets the property to
false -- previously it thought the app is HiDPI-aware as well, which was
wrong.
6 years ago
Vladimír Vondruš
e97b04f66d
GL: new apple-buffer-texture-detach-on-data-modify workaround.
6 years ago
Vladimír Vondruš
86dbd86e74
GL: added BufferTexture::resetBuffer().
6 years ago
Vladimír Vondruš
fc0ceac99e
Fix dependency of Image headers on StridedArrayView.
6 years ago
Vladimír Vondruš
2ba54b542c
Ensure std::string is not accidentally printed to Debug as ResourceKey.
6 years ago
Vladimír Vondruš
bed90e45fa
doc: update credits and changelog, reference the base-gtkmm project.
6 years ago
Vladimír Vondruš
92b1cdf6b7
Math: pass strided array views by const&.
...
It has the size of three pointers, which is more than a little.
Unfortunately doing just that causes infinite recursion, so be a little
more specific when delegating from the overloads.
6 years ago
Vladimír Vondruš
a6dd63af0f
Math: make batch functions actually usable.
...
No longer it's needed to add ugly explicit template types or casts.
6 years ago
Vladimír Vondruš
742dc406fd
Math: don't include FunctionsBatch.h from Functions.h anymore.
...
These two got split in 2019.10 but one included the other for backwards
compat. It makes everything suffer from worse compile times, so not
doing that anymore.
6 years ago
Vladimír Vondruš
9aa68715db
Math: preserve signs in the Matrix[34]::scaling() getter.
...
This is a breaking change, but I think it is worth doing. Because now
Matrix4::scaling(vec).scaling() == vec
which was true also for translation and other.
6 years ago
Vladimír Vondruš
84ac43d2ce
GL: avoid picking up variadic Mesh::addVertexBuffer() for dynamic attribs.
...
Huh, the SFINAE thing was extremely easy.
6 years ago
Vladimír Vondruš
93823004ae
external: update Vulkan headers for version 1.2.
6 years ago
Vladimír Vondruš
92088fe5ae
doc: removed an issue reference that was unrelated to clang-cl.
6 years ago
Vladimír Vondruš
2ff5d32156
WavAudioImporter: make it work on Big-Endian platforms, support RIFX.
...
With the RIFX support I can test for BE support on a LE platform, that's
why. Otherwise I wouldn't bother.
6 years ago
Vladimír Vondruš
c94c462187
Doc++, updated changelog.
6 years ago
Vladimír Vondruš
7cbd7c703b
MeshTools: fix an OOB access in tipsify().
6 years ago
Vladimír Vondruš
9d5064c857
Platform: fix Sdl2Application::setSwapInterval(0) + setMinLoopPeriod().
...
It thought VSync was enabled even when it was set to 0. Also clarified
the docs a bit.
6 years ago
Vladimír Vondruš
bec180fcf0
Doc++
6 years ago
Vladimír Vondruš
34aec29fb0
modules: link SDL to Metal framework on iOS.
...
Also do it only when SDL is static -- dynamic builds don't need any of
that.
6 years ago
Vladimír Vondruš
5a3288154b
Platform: properly include SDL_main.h for iOS.
...
Got missed when cleaning up the 50kLOC header mess in
b73b9cb408 (Nov 2018). Sorry!
6 years ago
Vladimír Vondruš
eda984c9c9
Made Resource nothrow-movable.
...
Otherwise it can't be used in growable Arrays (and std::vector copies it
instead of moving when reallocating).
6 years ago
Vladimír Vondruš
51b8349c24
Doc++
6 years ago
Vladimír Vondruš
e603771cef
Platform: fix EmscriptenApplication mouse events with Emscripten master.
...
The canvasX/Y properties were silently deprecated (I wouldn't know
without looking at the source, the docs say no such thing) and when
-s DISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR=1 is enabled, these are
not initialized to any meaningful value.
6 years ago
Vladimír Vondruš
34261840bc
GL: expand ARB_DSA blacklisting on Intel Windows drivers a bit further.
...
This should finally fix all remaining Intel Windows driver issues.
Hopefully. Or at least until the next major driver update.
6 years ago
Vladimír Vondruš
f6abe4577c
doc: advertise clang-cl support.
6 years ago
Vladimír Vondruš
1fb90813b1
doc: updated credits and changelog.
6 years ago
Vladimír Vondruš
2e52cc0f3c
MeshTools: added a STL-less subdivideInPlace() variant.
...
What's extremely funny is that this made the benchmark *twice as fast*
in Debug.
6 years ago
Vladimír Vondruš
e67526abf0
Platform: ability to set window size in Sdl2 and GlfwApplication.
...
It had the min/max size setters added in 2019.10 but this was missing.
6 years ago
Vladimír Vondruš
a12d673d82
modules: fix dependency between DebugTools and Trade on GL-less builds.
6 years ago
Vladimír Vondruš
e72a0459c8
doc: updated changelog, mark new APIs as new.
7 years ago
Vladimír Vondruš
4000ab8573
Doc++
7 years ago
Vladimír Vondruš
3379051ed5
Platform: added a bunch of missing keys.
7 years ago
Vladimír Vondruš
6b2f4711b4
Primitives: fix an assertion in uvSphereWireframe().
...
Everything I do these days is a potential breakign change.
7 years ago
Vladimír Vondruš
a29cb46549
GL: give up and disable DSA for everything buffer-related on Intel/Windows.
...
Sad.
7 years ago
Vladimír Vondruš
15e5bfa09e
Update credits and changelog, minor cleanup.
7 years ago
Vladimír Vondruš
6acfa6c7b6
external: expose a bunch of new GL extensions.
...
ARB_sample_locations and AMD_shader_explicit_vertex_parameter /
NV_fragment_shader_barycentric for barycentic coords in the vertex
shader. The ARB extension mentions GLES but doesn't have any assigned
number, so I'm treating it as desktop-only. There's a NV variant that
does have an ES extension number, but I don't really want to add it just
because that.
7 years ago
Vladimír Vondruš
d19675a6df
doc: updated changelog.
7 years ago
Vladimír Vondruš
0ee1c1296e
doc: fix a bunch of things in the changelog.
7 years ago
Vladimír Vondruš
b4f88f00ab
Remove last remaining APIs deprecated in 2018.04.
7 years ago
Vladimír Vondruš
090c6bb4a7
Platform: window icon management in Glfw and Sdl2Application.
7 years ago
Vladimír Vondruš
4f6f8ecdde
Platform: um... why isn't SDL_version.h pulled in implicitly?
...
I'd assume that if I include any SDL header, the version macros get
included too.
7 years ago
Vladimír Vondruš
51e65aaae0
Platform: respect DPI in setMin/MaxWindowSize().
...
I hope this doesn't break someone's use case.
7 years ago
Vladimír Vondruš
322a57e88c
Platform: properly fire Sdl2Application::viewportEvent() in all cases.
...
The event wasn't fired when the window size got changed through an API
call. Unfortunately after this change the event gets fired any time
I call setMaxWindowSize(), not just when the size changes.
7 years ago
Vladimír Vondruš
86a9f01dab
modules: link to all dependencies of statically-built SDL on Windows.
7 years ago