Vladimír Vondruš
659bf2e44b
Use POSITION_INDEPENDENT_CODE CMake property.
...
New in 2.8.9, much cleaner than the previous "solution". Also cleaned up
the surroundings a bit. Fixed cases where PIC was forced independently
of the settings, for plugins the PIC is now also set only when
needed/requested.
12 years ago
Vladimír Vondruš
c19d2ee755
Require at least CMake 2.8.9.
12 years ago
Vladimír Vondruš
740c4dbcd6
TextureTools: shorter filenames for headers.
...
To be consistent with the rest, I don't know how did I forget about
this. Also it seems that the resource import header was never used, as
it included long-gone magnumConfigure.h. Thus I'm also not maintaining
any backwards compatibility, because it never worked in the first place.
12 years ago
Vladimír Vondruš
9064891a73
MagnumPlugins: no need to install testing libs, as they are all static.
12 years ago
Vladimír Vondruš
1ada7cdaa0
Ability to control static build of plugins separately.
12 years ago
Vladimír Vondruš
39936f7fa7
MagnumExternal: updated flextGL-generated files.
12 years ago
Vladimír Vondruš
4480d9a5ec
Fix BUILD_STATIC_PIC build.
12 years ago
Vladimír Vondruš
6baa1c748e
Fix Windows compilation.
12 years ago
Vladimír Vondruš
3a18b0a952
Fix static build on Windows.
12 years ago
Vladimír Vondruš
826f5189c5
TextureTools: support also RGB and RGBA images in distancefieldconverter.
...
More convenient usage, as e.g. Inkscape exports RGBA PNGs only.
12 years ago
Vladimír Vondruš
ac4971bd6f
Disable ARB_shading_language_420pack for Intel on Windows.
...
The preprocessor string is exposed in GLSL even though the extension is
not supported.
12 years ago
Vladimír Vondruš
a760aeeff8
Report disabled extensions also when the driver doesn't claim their support.
...
Can handle also cases when the driver doesn't report extension support
in GL, but exposes the extension string in GLSL.
12 years ago
Vladimír Vondruš
5b3b722041
Detection of Intel Windows drivers.
12 years ago
Vladimír Vondruš
4cd4cbf148
Added OES_texture_npot ES extension to the list.
...
Nothing new added, but the user can rely on presence of this
extension as it removes some restrictions from the speccs.
12 years ago
Vladimír Vondruš
24828466f5
Doc++
12 years ago
Vladimír Vondruš
6730a476cf
Updated CREDITS.md.
12 years ago
Vladimír Vondruš
e648b0ee8f
Fix struct/class mismatch in forward declaration.
12 years ago
Siim Kallas
a13e982105
Updated outdated Buffer::Target to Buffer::TargetHint
12 years ago
Vladimír Vondruš
1659f68d59
Print some more info when initializing Context.
...
Then also don't display this information duplicated in magnum-info.
12 years ago
Vladimír Vondruš
391ceae0c3
Minor cleanup.
12 years ago
Vladimír Vondruš
9f1fe58d66
TgaImporter: open the files as binary.
...
Took me TWO CRAZY HOURS of blaming visual studio, as it stopped reading
in the middle of the file without any reasonable error message ("stream
error", haha).
12 years ago
Vladimír Vondruš
f0793d6aea
Fixed access to nonexistent MagnumShaders resources in utilities.
12 years ago
Vladimír Vondruš
bfb58d0b55
ARB_direct_state_access support for creating queries.
...
With DSA there is slightly different (but completely understandable)
usage -- it's needed to specify the target upon creation, not deferring
it to begin() call. Timestamp queries (TimeQuery::timestamp()) must now
also be created with new TimeQuery::Target::Timestamp target.
The old way (parameterless constructor and begin(Target)) is still
supported, but is marked as deprecated and will be removed in future
release. Also, using the old way the DSA function is simply not used.
Also fixed SampleQuery test to account for cases where the driver might
not support ARB_occlusion_query2.
12 years ago
Vladimír Vondruš
2c998d2a38
Support ARB_framebuffer_sRGB.
...
Hell, this extension (and EXT_sRGB on ES) is written in so complicated
language that I'm not sure at all if I understood it right and
implemented completely.
12 years ago
Vladimír Vondruš
e739c86e72
Replaced EXT_framebuffer_sRGB with ARB_framebuffer_sRGB.
...
Also seems to have wider support than the EXT version.
12 years ago
Vladimír Vondruš
4c86d04042
Support for ARB_robustness_isolation.
...
Easier than forgetting about what I read and then learning that all
again later.
12 years ago
Vladimír Vondruš
1d8b0ba268
Added remaining non-core ARB/KHR extensions to the list.
12 years ago
Vladimír Vondruš
d3b17273b0
doc: cleanup.
12 years ago
Vladimír Vondruš
64e85966de
Replaced NV_half_float with hopefully more standard ARB_half_float.
...
According to reports on delphigl.de this extension is far more supported
in comparison to the NV version (and also there's much less FF cruft in
the specification).
12 years ago
Vladimír Vondruš
fcde4b10b4
doc: explicitly mention that we support all GLSL versions.
...
The support is just a matter of adding a value to switch in Shader.cpp,
but even that must be done by someone.
12 years ago
Vladimír Vondruš
bf7e126dcc
doc: removed deprecated GL features from the mapping table.
12 years ago
Vladimír Vondruš
c3f9e6f32f
doc: added GL_MAX_VERTEX_ATTRIB_STRIDE to mapping and support table.
...
Added in 4.4 but not backed by any extension.
12 years ago
Vladimír Vondruš
1a09260421
doc: cleaned up GL support table to have the col separator at tab stop.
12 years ago
Vladimír Vondruš
265dc435a7
doc: added upcoming glGetQueryBufferObject() to mapping.
...
Added as bugfix to ARB_direct_state_access (GL 4.5), mentioned in
https://twitter.com/piers_daniell/status/510106059348770817 .
12 years ago
Vladimír Vondruš
e423424b27
doc: added forgotten glHint() to mapping table.
...
There are probably more.
12 years ago
Vladimír Vondruš
34de2eff1e
doc: GL mapping cleanup, separated the table by letters.
12 years ago
Vladimír Vondruš
0a95090bd0
Doc++, updated credits.
12 years ago
Olga Turanksaya
dfa690957a
Gentoo ebuild
12 years ago
Vladimír Vondruš
0adae2245e
doc++
12 years ago
Vladimír Vondruš
e4119157b6
ARB_direct_state_access support for creating meshes.
12 years ago
Vladimír Vondruš
8aeb85875d
ARB_direct_state_access support for creating renderbuffers.
12 years ago
Vladimír Vondruš
9f041b5d5b
ARB_direct_state_access support for creating framebuffers.
12 years ago
Vladimír Vondruš
db5b17938b
ARB_direct_state_access support for creating buffers.
12 years ago
Vladimír Vondruš
1c543cd26b
ARB_direct_state_access support for creating textures.
12 years ago
Vladimír Vondruš
b0741493f9
Preparation for ARB_direct_state_access GL 4.5 feature.
...
Renamed all EXT_direct_state_access implementations to reflect the fact
that these aren't using the ARB extension.
12 years ago
Vladimír Vondruš
b251b1b0c5
Mark also all GL 4.5 extensions as supported if GL 4.5 is supported.
...
Oh god, it got to the point where I should write an HOWTO *for myself*.
12 years ago
Vladimír Vondruš
a5c2efc8c0
Support glProgramUniform*() calls from OpenGL ES 3.1.
...
The code both supports new features *and* is shorter, yay!
12 years ago
Siim Kallas
fca7facd6d
Switched SDL2 application's wheel direction
12 years ago
Vladimír Vondruš
9a0ebae1d5
Fix non-deprecated ES2 build.
...
Thanks, Jenkins (again).
12 years ago
Vladimír Vondruš
b75d26be7b
Fix non-deprecated build.
12 years ago