Vladimír Vondruš
c5ab86794b
Relicensing to MIT/Expat license, part 3: source files.
...
Added license header also to shader sources. Hopefully it won't harm
compilation times too much.
13 years ago
Vladimír Vondruš
6a5d75d1e4
Relicensing to MIT/Expat license, part 2: headers.
13 years ago
Vladimír Vondruš
c3a7ddcc9a
Relicensing to MIT/Expat license, part 1: new license document.
13 years ago
Vladimír Vondruš
6a1d061a3a
Updated FindCorrade.cmake from Corrade repository.
13 years ago
Vladimír Vondruš
1f18bdda5f
Updated and polished coding style documentation.
13 years ago
Vladimír Vondruš
23f91fe339
Doc++
13 years ago
Vladimír Vondruš
005ae96cf3
FindMagnum: fixed formatting with `cmake --help-module`.
13 years ago
Vladimír Vondruš
600a03b0e6
Disable optimization in development PKGBUILD.
...
Saves a lot of compilation time (5:50 before, 3:40 now).
13 years ago
Vladimír Vondruš
5ff59b609e
DebugTools: added ForceRenderer.
...
Visualizes force using arrow.
13 years ago
Vladimír Vondruš
0f4c13a0a6
Better assertion message on ResourceManager destruction.
13 years ago
Vladimír Vondruš
7e9e8913ed
Don't spit assert in Mesh::addVertexBuffer() when it's not needed.
...
Vertex count is needed only for more than one attribute. Also updated
the assertion message to include function name.
13 years ago
Vladimír Vondruš
90a60ce7e9
Math: disable denormalize() test for UnsignedLong.
...
It works with GCC and -O3, but fails on unoptimized code.
13 years ago
Vladimír Vondruš
63cdd8ea6e
Doc++
13 years ago
Vladimír Vondruš
e8682b8893
AbstractFramebuffer::BlitMask is available also in ES.
...
Probably got forgotten when adding ES extensions support.
13 years ago
Vladimír Vondruš
1a051707da
FindMagnum: it's FindFreetype.cmake, not FindFreeType.cmake.
...
Although the library is still named FreeType. Fixes warnings in
dependent projects.
13 years ago
Vladimír Vondruš
ce89563aed
DebugTools: minor code cleanup.
13 years ago
Vladimír Vondruš
90dbb28763
Thorough CMakeLists cleanup.
...
* Calling enable_testing() only in root path.
* Using CORRADE_CXX_FLAGS instead of our own set to make things easier
to maintain.
* Various cleanup and reorganization.
13 years ago
Vladimír Vondruš
1f8efd4a97
Updated FindCorrade.cmake from Corrade repository.
13 years ago
Vladimír Vondruš
297d102200
Math: ability to convert Vector types from/to external types.
13 years ago
Vladimír Vondruš
231f3277ab
Adapted to Corrade changes.
...
Allowing to instantiate Trade::AbstractImporter subclasses directly
without plugin manager.
13 years ago
Vladimír Vondruš
3251660f81
Physics: doc++
13 years ago
Vladimír Vondruš
e9efd87e12
Text: off-by-one mistake.
...
Not exactly an error, because reserving one byte more doesn't harm
anything, but probably result of earlier copypaste from prerender().
13 years ago
Vladimír Vondruš
2afda6f34d
Text: split out HarfBuzz layouting into new HarfBuzzFont class.
...
It now allows to transparently select between FreeType and HarfBuzz
layouting. The new class is built only if USE_HARFBUZZ is enabled.
13 years ago
Vladimír Vondruš
9525dfd51b
Text: abstract base for fonts and layouters.
...
Font and text layouting is now abstracted out from its implementation.
Font class is renamed to FreeTypeFont and all the work can be done
through AbstractFont and AbstractLayouter interface.
13 years ago
Vladimír Vondruš
c864fefb95
Text: moved FontRenderer into Font header.
...
Now everything related to FreeType and HarfBuzz is in one header.
13 years ago
Vladimír Vondruš
b4950b59ac
Text: moved TextLayouter from TextRenderer internals to Font header.
...
Preparation for the whole thing to be testable, moving
implementation-dependent (FreeType/HarfBuzz) things together.
13 years ago
Vladimír Vondruš
2944a4e205
Text: non-templated base for TextRenderer.
...
Saves a lot of duplicated generated code.
13 years ago
Vladimír Vondruš
0d7baef932
Text: no need to explicitly specify Z coordinate in 3D text.
...
The coordinate is always 0 and Mesh can be configured to add it
implicitly. The code is now nearly the same for 2D and 3D, will redo it
without templates later.
13 years ago
Vladimír Vondruš
195ec4e9b2
Text: synchronized function parameter naming with documentation.
13 years ago
Vladimír Vondruš
2d98dadb0a
Shaders: first DistanceFieldVectorShader implementation.
...
Currently only fill and outline can be specified. Also crosslinked from
documentation of VectorShader and TextureTools::distanceField().
13 years ago
Vladimír Vondruš
549558b502
Shaders: doc++
13 years ago
Vladimír Vondruš
d256d7a0c4
Shaders: missing virtual keyword.
...
This was compiling?! It seems that I don't know more than I think.
13 years ago
Vladimír Vondruš
e891bd9b31
Shaders: use Int instead of GLint.
...
Don't know how this only place got forgotten.
13 years ago
Vladimír Vondruš
3c31519133
Shaders: cleanup of VectorShader.
...
Using this-> for accessing parent class members breaks KDevelop
autocompletion, using explicit class name instead (but the shorter one).
13 years ago
Vladimír Vondruš
5a374dd73e
Shaders: support alpha in VectorShader::setColor().
13 years ago
Vladimír Vondruš
b6caae10b0
Shaders: vertex VectorShader is implementation independent.
...
Renamed it to AbstractVectorShader.
13 years ago
Vladimír Vondruš
91f0d302c2
Shaders: renamed TextShader to VectorShader.
...
The code can be used for drawing any vector art, not only font glyphs.
13 years ago
Vladimír Vondruš
31582ce2f8
Todo++
13 years ago
Vladimír Vondruš
7a99a4b326
Shortened (texture) filtering types to comply with OpenGL naming.
...
The documentation already used them, so why complicate things further.
13 years ago
Vladimír Vondruš
12f719f177
Text: prerendering Font for use with distance-field rendering.
...
Currently there is no builtin shader capable of it, will come later.
13 years ago
Vladimír Vondruš
babc850102
Text: minor code cleanup.
13 years ago
Vladimír Vondruš
a9f62e3f1c
TextureTools: support padding in atlas().
13 years ago
Vladimír Vondruš
f07957a37f
A little bit of const fascism.
13 years ago
Vladimír Vondruš
79d29ea947
TextureTools: proper function name in assert.
13 years ago
Vladimír Vondruš
b1a97ed134
TextureTools: initial rude implementation of distance field computation.
...
Not yet ported anywhere else than GL >= 3.3 with some GL 4.3 features.
Still, this closes #3 .
13 years ago
Vladimír Vondruš
7ae405b360
Introductory documentation about method chaining.
13 years ago
Vladimír Vondruš
23ba74c8c3
Added missing method chaining to framebuffer configuration functions.
13 years ago
Vladimír Vondruš
3929a6225a
Properly delete arrays.
13 years ago
Vladimír Vondruš
f6ab8cfec2
Guidelines for builtin type aliases in coding style documentation.
13 years ago
Vladimír Vondruš
5eb98494b3
Doc++
13 years ago