Compare commits

...

4 commits

Author SHA1 Message Date
dc2983e99a Compat: Check for successful GLEW initialisation fails on my PC / Trixie
I observed same strange behaviour already last year on my »Video Output« talk.
The return value indicates an unkown error, but the subsequent usage seemingly works...

On my Laptop, I don not see this error; it might be due to the very old graphics card on my PC...
2026-08-15 01:40:22 +02:00
968501a111 Talk: some minor tweaks to animations 2026-08-15 01:31:53 +02:00
03a2adcd45 publication: finalise README
and add the location for the final publication
2026-08-15 01:30:16 +02:00
8d09771337 Talk: corrections 2026-08-14 15:00:08 +02:00
3 changed files with 9 additions and 11 deletions

Binary file not shown.

View file

@ -5,15 +5,12 @@ IO_URING and Video Output Example Code
:date: 8/2026
This directory contains a example code to demonstrate reading data blocks
This directory contains example code to demonstrate reading data blocks
continuously using the io_uring kernel interface. The loaded data is then
fed to a video display pipeline based on OpenGL / EGL
[red yellow-background]#Publish on Lumiera.org#
////
TIP: This demo code has been published on
link:https://lumiera.org/research/videoDisplay/index.html[Lumiera.org]
////
link:https://www.lumiera.org/research/ioUring/index.html[Lumiera.org]
Building the code
@ -39,9 +36,9 @@ TIP: The `-j4` option tells make to use 4 cores concurrently to speed up the bui
Use at least GCC-14
~~~~~~~~~~~~~~~~~~~
[red yellow-background]#TODO: still relevant?#
Some older C++ compilers seem to have problems with a `constexpr` function used in 'commons.hpp'.
Either comment out the line with the static assertion, or use at least GCC-14, which can be
configured for CMake with
Some older C++ compilers seem to have problems with `constexpr` functions;
to circumvent such problems, you might want to use at least GCC-14,
which can be configured for CMake with
-----
cmake -S examples -B build -DCMAKE_CXX_COMPILER=g++-14

View file

@ -183,9 +183,10 @@ EglDisplay<PIX,WIDTH,HEIGHT>::openDisplay (Gtk::Window& appWindow)
// use lib-GLEW to manage OpenGL extensions (notably GL Shader Language)
GLenum glewErr = glewInit();
if (GLEW_OK != glewErr)
__FAIL ("could not bind OpenGL extensions through lib-GLEW:\n"
+string{reinterpret_cast<const char*> (glewGetErrorString(glewErr))});
////////////////////////////////////////////////////////////////////////////////////TODO for some reason I get glewErr == 4 ("unknown error"), but it works non the less
//if (GLEW_OK != glewErr)
// __FAIL ("could not bind OpenGL extensions through lib-GLEW:\n"
// +string{reinterpret_cast<const char*> (glewGetErrorString(glewErr))});
auto compileShader = [](GLenum kind, string code)