Vladimír Vondruš
fd0bfcb465
Get rid of annoying unsigned byte arrays.
...
`char*` is now the default type for byte arrays. Results in shorter
code, less annoyances and more convenient testing. As is the case with
Corrade, I'm not doing any compatibility/deprecation layer, as most of
these functions is not widely used anyway.
11 years ago
Vladimír Vondruš
7a2914d5f4
Doc++
11 years ago
Vladimír Vondruš
ea7635b147
doc: cleanup.
11 years ago
Vladimír Vondruš
aff0824185
We finally have also IRC channel!
11 years ago
Vladimír Vondruš
61b1528b2f
Fix ES build, again.
11 years ago
Vladimír Vondruš
fc7f6e37fc
Oh, this is still needed.
...
Yay to me for breaking the build thrice in an hour!
11 years ago
Vladimír Vondruš
ae6e16b356
Doc++
11 years ago
Vladimír Vondruš
a9bfbbd08e
Deprecated Mesh::maxVertexAttributes().
...
It is not related to Mesh itself at all, as the attribute indices are
defined in Attribute class. Use
AbstractShaderProgram::maxVertexAttributes() instead.
11 years ago
Vladimír Vondruš
941408035c
Updated toolchains submodule.
11 years ago
Vladimír Vondruš
b1e496657e
Fixed compilation on Emscripten (and probably NaCl).
11 years ago
Vladimír Vondruš
789eb8e47b
Platform: WindowlessWglApplication cleanup.
...
Using std::unique_ptr instead of raw pointer, consistent private
variable naming.
11 years ago
Vladimír Vondruš
f0146822c2
Platform: WindowlessGlxApplication cleanup.
...
Using std::unique_ptr instead of raw pointer, consistent private
variable naming.
11 years ago
Vladimír Vondruš
d54be041c4
Platform: WindowlessCglApplication cleanup.
...
Using std::unique_ptr instead of raw pointer, consistent private
variable naming, better error checks, improved error messages, replaced
C-style casts with constructor casts.
Doing this blindly, hopefully I didn't break anything :)
11 years ago
Vladimír Vondruš
f10cf91f6b
Platform: GlutApplication cleanup.
...
Using std::unique_ptr instead of raw pointer, consistent private
variable naming.
11 years ago
Vladimír Vondruš
59477d04f8
Platform: Sdl2Application cleanup.
...
Using std::unique_ptr instead of raw pointer, consistent private
variable naming.
11 years ago
Vladimír Vondruš
22d1a5c34e
Platform: AbstractXApplication cleanup.
...
Using std::unique_ptr instead of raw pointer, consistent private
variable naming.
11 years ago
Vladimír Vondruš
61d72f86c3
Test that version comparison compiles and works as expected.
11 years ago
Vladimír Vondruš
cc79efa1de
package: enable XEglApplication where possible.
...
Only in CI and dev PKGBUILDs, as EGL might not be available on all
platforms.
11 years ago
Vladimír Vondruš
d271cb4790
doc: fix Doxygen/Markdown conflicts.
11 years ago
Vladimír Vondruš
46b87fc28e
Enable XEglApplication also on desktop.
11 years ago
Vladimír Vondruš
4b8406b418
Platform: instantiate ScreenedApplication also for AndroidApplication.
11 years ago
Vladimír Vondruš
6961bcd4d3
Platform: clarify comments.
11 years ago
Vladimír Vondruš
ede9acbde4
Document default values on viewport and scissor rectangles.
11 years ago
Vladimír Vondruš
0f0882bdac
Cleanup.
11 years ago
Vladimír Vondruš
90b519c4d2
Math: improve Constants test, fix Clang compilation.
11 years ago
Vladimír Vondruš
2c0e1d2822
Fix ES2 build.
11 years ago
Vladimír Vondruš
f30a4677eb
Math: added Matrix[34]::shearing*().
11 years ago
Vladimír Vondruš
e068731766
package/gentoo: cleanup, use release build, don't build tests.
11 years ago
Vladimír Vondruš
457ee77e07
modules: updated FindCorrade.cmake.
11 years ago
Vladimír Vondruš
697a6aa0df
Test cleanup.
11 years ago
Vladimír Vondruš
c71dc12503
Making test declarations more compact.
...
Yet again I experienced how insanely large this thing got over the
years.
11 years ago
Vladimír Vondruš
f81124e220
MeshTools: avoid global state in Tipsify test.
11 years ago
Vladimír Vondruš
f3bd987dc1
Primitives: remove oboslete code in test.
11 years ago
Vladimír Vondruš
6488fe6e75
Oh, it's 2015 already.
11 years ago
Vladimír Vondruš
926740961d
doc: better info about debug/release plugin dirs.
...
Someone should already tell me that all my writing sucks and the
documentation is incomprehensible wall of text. Thanks in advance.
11 years ago
Vladimír Vondruš
3ae17b5bed
Math: faster quaternion/vector multiplication.
...
Source: https://molecularmusings.wordpress.com/2013/05/24/a-faster-quaternion-vector-multiplication/
11 years ago
Vladimír Vondruš
ba88567710
Remove redundant `inline` keyword.
11 years ago
Vladimír Vondruš
9fd25a1fd8
SceneGraph: there is never enough documentation.
11 years ago
Vladimír Vondruš
bd8db7e66b
Don't reset viewport if binding framebuffer for reading only.
...
Caused assertion. Anyway, I need to clean up that mess with framebuffer
binding. Nobody needs to bind it for reading.
11 years ago
Vladimír Vondruš
7ebec50d2b
doc: updated also Getting Started image to the new color.
11 years ago
Vladimír Vondruš
4caeb30f7b
Shaders: there's never enough documentation.
...
Each shader now has sample image, example mesh configuration and example
rendering setup. Also properly documented all attribute types and made
introductory chapter for whole Shaders namespace.
11 years ago
Vladimír Vondruš
d5906e86c5
doc: minor cleanup.
11 years ago
Vladimír Vondruš
371700097b
Allow method chaining on *Framebuffer::clear().
...
In the future, when I get to implement proper DSA clearing, this won't
change currently bound framebuffer and thus it might be useful to be
able to call bind() right after, e.g.:
framebuffer.clear(FramebufferClear::Color)
.bind(FramebufferTarget::ReadDraw);
11 years ago
Vladimír Vondruš
13e6f13a2d
Fix allocation error in FramebufferGLTest.
...
Forgot that Range constructor takes (min, max) and not (min, size).
Everything else changed by 60d1259483 is
not affected, as `min` is set to `{}`.
11 years ago
Vladimír Vondruš
a106932153
Making use of the shorter *Framebuffer::read().
...
I like that!
11 years ago
Vladimír Vondruš
c69acaf3f8
Convenience overload for *Framebuffer::read().
...
It's now possible to do the reading operation in one statement.
Previously it was needed to have mutable variable:
Image2D image{ColorFormat::RGBA, ColorType::UnsignedByte};
framebuffer.read(framebuffer.viewport(), image);
Currently:
const Image2D image = framebuffer.read(framebuffer.viewport(),
{ColorFormat::RGBA, ColorType::UnsignedByte});
To make this possible, the two-parameter Image and BufferImage
constructors are now made implicit.
11 years ago
Vladimír Vondruš
075085212b
doc: slightly more convenient plugin loading.
...
Less typing and less name duplication, but hides the actual load error
from the user. The error is printed on stdout anyway and the user
doesn't care anyway in 90% cases.
11 years ago
Vladimír Vondruš
b4311f3462
Doc++
11 years ago
Vladimír Vondruš
60d1259483
Use Range2Di in *Framebuffer::read().
...
Not sure why I chose to have offset and size in these two function, but
that's probably because I never used them in real code. The original
overloads taking pair of Vector2i are now marked as deprecated and will
be removed in future release.
11 years ago
Vladimír Vondruš
f277f9bd31
SceneGraph: remove forward declaration for deprecated enum.
...
There was no point in using it anywhere else than when passing it to the
transformation function itself.
11 years ago