Vladimír Vondruš
1fdd6416c9
external,Platform: suppress GL deprecation warnigs on iOS as well.
...
Got done in 7ced4740fd and
f3fc17e2b0 for CGL and OpenAL, but ever
since Travis decided we're not worthy of using their services, I didn't
have a chance to check the warning in the iOS build. Now I have.
4 years ago
Vladimír Vondruš
822fa0d644
Updated copyright year.
4 years ago
Vladimír Vondruš
4fa4f726ec
GL: support {ANGLE,WEBGL}_compressed_texture_etc.
4 years ago
Vladimír Vondruš
46d8f25363
external: don't define WIN32_LEAN_AND_MEAN just for shits and giggles.
...
We're not including windows.h there (fortunately!), so there's no point
in defining such a macro. Also the proper way would be defining it only
if it's not already defined to avoid macro redefinition warnings.
5 years ago
Vladimír Vondruš
93fa1b9f94
GL: EXT_texture_norm16 is not on WebGL 1 anymore.
...
It got changed shortly after the original implementation in
083ecf72b8 to be WebGL 2 only.
5 years ago
Vladimír Vondruš
b0bc366334
GL: recognize and load ANGLE multi-draw extensions.
...
Needed a change in flextGL to allow merging in 3rd party gl.xml
additions because Chrome is apparently a center of the universe and thus
doesn't need to bother upstreaming its extensions, ffs.
5 years ago
Vladimír Vondruš
08893165f2
GL: TextureFormat::SR[G]8 aren't supposed to be available on ES2.
5 years ago
Vladimír Vondruš
52abd2ffb3
external: update copyright year in flextGL templates.
...
I need to CANCEL the wheezy template thing and use Jinja. The special
cases are just too much for me to handle without seeing RED.
5 years ago
Vladimír Vondruš
3d136503d8
Updated copyright year.
5 years ago
Vladimír Vondruš
af73929c67
GL: implemented WEBGL_blend_equation_advanced_coherent.
6 years ago
Vladimír Vondruš
083ecf72b8
GL: implement EXT_texture_norm16 ES and WebGL extension.
6 years ago
Vladimír Vondruš
4b24a27a88
GL: expose AMD_sample_positions and NV_sample_locations.
...
No wrapping yet, just recognize the extensions and load entrypoints.
6 years ago
Vladimír Vondruš
f5e2217ae6
external: update copyright headers in flextGL templates.
...
Ugh, @@. I need to throw away this baroque template engine already.
6 years ago
Vladimír Vondruš
19e0e96d74
Updated copyright year.
6 years ago
Vladimír Vondruš
b580458104
external: pack all dynamically loaded GL entrypoints into a giant struct.
...
On desktop this saves about 50 kB in symbols. Was done for Vulkan
already, this follows that (two years later). I need this in order to
solve the problem of static globals being unique across shared libs, and
it sounded better to export just one symbol instead of 689.
6 years ago
Vladimír Vondruš
d366e0e7a0
GL: exposed clip / cull distance APIs.
6 years ago
Vladimír Vondruš
20a3fedaa4
external: GLES EXT_disjoint_timer_query now exposes glGetInteger64vEXT().
...
Not sure what for, but whatever.
7 years ago
Vladimír Vondruš
32ce1f1b43
external: include KHR/khrplatform.h absolutely.
...
Otherwise it requires custom buildsystem users to add
MagnumExternal/OpenGL to include paths, causes issues in Vcpkg and so
on.
7 years ago
Vladimír Vondruš
40b8815b9d
Added sRGB formats to PixelFormats + R and RG sRGB GL texture formats.
...
The extension support is a mess, as usual. This time the ES flavor
supports something that desktop doesn't and WebGL lack those altogether.
Yay.
7 years ago
Vladimír Vondruš
be65f85e88
GL: recognize KHR_texture_compression_astc_sliced_3d.
7 years ago
Vladimír Vondruš
87a446c7ba
GL: recognizing {EXT,ANGLE}_texture_compression_dxt{1,3,5} extensions.
...
This makes it possible to test S3TC code paths on SwiftShader as well.
7 years ago
Vladimír Vondruš
435f7a9f14
GL: remove redundant defines to slim the GL headers a bit.
...
What the hell, why does the ASTC HDR extension add *the exact same*
defines as the LDR one.
7 years ago
Vladimír Vondruš
8e57060f39
Support for PVRTC compressed pixel format.
7 years ago
Vladimír Vondruš
2b9772d86a
Added generic ASTC formats and the corresponding WebGL extensions.
7 years ago
Vladimír Vondruš
7cb0c4d57d
Added BC4, BC5, BC6H and BC7 compression formats.
...
Those are now also available under WebGL 1/2 and OpenGL ES 3.O (strangely
not OpenGL ES 2.0) under EXT_texture_compression_{rgtc,bptc}. The GL names
are extra weird-ass now that all other APIs use the BC names.
7 years ago
Vladimír Vondruš
e1ab3ccf6e
GL: this extension was listed, but actually never in headers.
7 years ago
Vladimír Vondruš
15f9ec3adf
Added {EXT_texture_compression,WEBGL_compressed_texture}_s3tc_srgb extensions.
...
And silently the definitions from EXT_texture_sRGB (core since GL 2.1) as
that's where definitions for sRGB S3TC formats are hiding on desktop.
7 years ago
Vladimír Vondruš
fad30db41d
GL: fix and add a comment so I don't mess this up again in the future.
7 years ago
Vladimír Vondruš
522db683a9
external: provide the GL_VERSION_* defines in our GL headers.
...
This fixes a conflicting definition of GLsizeiptr and GLintptr when
Magnum is combined with qopengl.h from Qt on Windows. Khronos has it as
`signed long int`, whereas qopengl.h as ptrdiff_t, which is just `int`.
7 years ago
Vladimír Vondruš
5923efbdee
external: pass GL::Context to flextGLInit().
...
To make it possible to put driver-specific workaround there.
7 years ago
Vladimír Vondruš
76fb88fa1a
external: update OpenGL headers.
...
Only a cleanup in the type definitions, which is actually nice. The
desktop GL version now requires the khrplatform.h header as well.
7 years ago
Vladimír Vondruš
2c473e14a8
external: properly update the iOS templates as well.
...
Forgotten in 26ae018d4f .
7 years ago
Vladimír Vondruš
e6b7aa12fa
Updated copyright year.
7 years ago
Steeve Morin
26ae018d4f
external: fix ES2 and ES3 include paths in iOS
...
Signed-off-by: Steeve Morin <steeve.morin@gmail.com>
8 years ago
Vladimír Vondruš
82fce786d8
Split the OpenGL layer out, pt 7: renamed magnum-info to magnum-gl-info.
...
The WITH_MAGNUMINFO CMake option is now WITH_GL_INFO. No backwards
compatibility is provided, sorry.
8 years ago
Vladimír Vondruš
fc1b167bff
Split the OpenGL layer out, pt 1: moving files to a new location.
...
Minimal updates (just the include guards) so Git is hopefully able to
detect the rename and track the history properly.
Everything except Magnum::GL doesn't compile now.
8 years ago
Vladimír Vondruš
dd6c97a9ae
external: license headers for this as well.
8 years ago
Vladimír Vondruš
311f44faec
doc: step-by-step checklists for core developers and maintainers.
8 years ago
Vladimír Vondruš
1f87ab7288
external: updated OpenGL headers with ES 3.2 extensions.
8 years ago
Vladimír Vondruš
623fa97970
Updated copyright year.
8 years ago
Vladimír Vondruš
2145ae9b96
Dropped NaCl support.
9 years ago
Vladimír Vondruš
12fa6961c8
Use CMake folders also for OBJECT libraries, executables and tests.
9 years ago
Vladimír Vondruš
7a16273e5d
Updated copyright year.
9 years ago
Vladimír Vondruš
ea7fce2e7b
OpenGL: fix the README links.
...
Markdown doesn't work this way.
10 years ago
Vladimír Vondruš
7bd41d2b93
Implemented support for desktop GLES on Windows.
...
Because the library still links to the old crappy opengl32.dll, we need
to load all symbols above OpenGL 1.1, not just those that are above
OpenGL ES 2.0/3.0.
10 years ago
Vladimír Vondruš
598b5fdc1b
external: remove extension functions that are not in GLES2.
...
Moreover iOS GLES2 header doesn't have these defined, breaking the
build.
10 years ago
Vladimír Vondruš
80dc656ccc
Recognize OES_fbo_render_mipmap ES2 and WebGL 1 extension.
10 years ago
Vladimír Vondruš
a5f2eece48
external: up-to-date generated GL header for NaCl.
10 years ago
Vladimír Vondruš
889171303e
Mark EXT_shader_framebuffer_fetch as semi-supported.
10 years ago
Vladimír Vondruš
d2f8821ce7
Implemented KHR_no_error.
10 years ago