392 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
110
views
How to choose appropriate EGL config for GPGPU on GLESv3.1+?
I am working on a simple OpenGL ES v3.1+ setup to use it for GPGPU purposes on a headless system. (Note: Uses proprietary Mali Valhall G610 drivers on Debian 12)
The GPU supports the ...
1
vote
1
answer
157
views
Why is eglCreateContext() giving me EGL_BAD_ALLOC?
Preface: I'm aware fixed-function OpenGL is obsolete, I'm just using it for fun and learning.
I'm trying to set up a classic fixed-function OpenGL context with Xlib and EGL. However, I'm getting ...
2
votes
1
answer
113
views
How to achieve zero-copy rendering from Qt QPainter to dmabuf using shared EGL contexts?
I'm trying to implement a zero-copy pipeline that renders Qt QPainter content directly to a dmabuf framebuffer for display via DRM/KMS. My goal is to leverage QPainter's high-level drawing APIs (text, ...
0
votes
0
answers
41
views
Rendering Video Frames on a Custom Surface Instead of SurfaceViewRenderer
I am trying to render a WebRTC video on a Surface instead of using SurfaceViewRenderer. On some devices this works fine, but on others, it shows a black screen. If I use SurfaceViewRenderer, it works ...
-1
votes
1
answer
72
views
Android OpenGL ES glReadPixels() saves black image to gallery even though preview is fine
I’m working on an Android project using OpenGL ES (and Tencent’s TEBeautyKit) to create a camera preview with beauty filters.
The preview works fine — the camera feed displays correctly with all ...
0
votes
0
answers
95
views
OpenGL ES sync, how to send the completed signal by the CPU?
Through the extension EGL_KHR_fence_sync, we can achieve multi-threaded GPU synchronization by using interfaces such as eglCreateSyncKHR(), eglDestroySyncKHR(), and eglClientWaitSyncKHR();
When the ...
0
votes
0
answers
119
views
Abort message: 'Failed to create context, error = EGL_NOT_INITIALIZED'
During monkey run, some random application is failing to create context. Reason for this is, particular file is giving "Operation not permitted" errno from egl side. How to fix EPERM errno, ...
1
vote
0
answers
57
views
Render DMABUF fd in a SDL2 window in Rust
I know that this will be a little bit long, but please stay with me until the end.
I'm trying to build a simple Display for QEMU in Rust using SDL. I am using the D-Bus interface provided. It works ...
1
vote
1
answer
102
views
What is maximum count of a egl share context?
According to the official document, there is no limit to the number of shared contexts.
But on the Android client, I have an eglContext as a shared context parameter. When calling eglCreateContext to ...
0
votes
0
answers
225
views
FileNotFoundError: Could not find module 'C:\Windows\System32\EGL.dll' (or one of its dependencies). Try using the full path with constructor syntax
I'm working on a Windows machine and I'm trying to load the EGL.dll using ctypes in Python, but I'm encountering a FileNotFoundError. I have downloaded the EGL.dll file and placed it in the C:\Windows\...
0
votes
1
answer
322
views
EGL memory leak
I've been told EGL is a good choice to render graphics in wayland window.
I'm not yet convinced and I still don't know if (except vulkan) it is the only way
to have some openGL magic in a wayland ...
0
votes
1
answer
152
views
imageStore causing crash in GL ES 3.1 Compute shader using ANGLE on windows
My goal is to generate a luminance waveform similar to this using a compute shader.
My setup is:
Cpp window application
EGL/egl.h
GLES3/gl31.h (specifically requesting an ES 3.1 context)
libGLESv2....
0
votes
1
answer
166
views
cannot import name 'CppEGLRenderer' from 'lib.egl_renderer'
I connect to destination machine (ada) like this:
connect to globalprotect vpn
ssh -X machine 1
(machine 1) : ssh -X ada
my own machine is Ubuntu and the other two I ssh to also same version of ...
0
votes
1
answer
1k
views
Ways to reduce memory transfer overhead in OpenGL ES 2.0 / OpenGL 2.1 with EGL 1.4 for rendering offscreen
I'm fairly early into trying to do some image manipulation tasks on a headless embedded device running linux with a MALI 400 GPU. This supports OpenGL ES 2.0 through an official driver, and possibly a ...
0
votes
1
answer
103
views
setting texture parameter across opengl contexts [closed]
This is a follow-up question to this SO answer.
If I have the following setup
eglMakeCurrent(,,,contextA);
glCreateTextures(,texHandles);
...
eglMakeCurrent(,,,contextB);
glTextureParameterf(...