Public bug reported:
EGL work only with x server
I cant get Qt to work with FrameBuffer/EGL/OpenGL ES
How to reproduce:
1.stop X server
sudo service lightdm stop
2.Compile test application.
You can't get EGLDisplay with current mali EGL drivers can't
All works fine with X server.
#include <GLES2/gl2.h>
#include <EGL/egl.h>
#include <iostream>
using namespace std;
EGLDisplay egl_display;
EGLContext egl_context;
int main()
{
egl_display = eglGetDisplay( EGL_DEFAULT_DISPLAY );
if ( egl_display == EGL_NO_DISPLAY ) {
cerr << "Got no EGL display." << endl;
return 1;
}
else
{
cerr << "Got EGL display";
}
return 1;
}
** Affects: igloocommunity
Importance: Undecided
Status: New
** Tags: egl graphics opengl
** Description changed:
EGL work only with x server
- I cant get Qt to work with FrameBuffer/EGL/OpenGL ES
+ I cant get Qt to work with FrameBuffer/EGL/OpenGL ES
How to reproduce:
1.stop X server
sudo service lightdm stop
- 2.compile test application you should get EGLDisplay but with current EGL we
can't
- all works fine with X server
+ 2.Compile test application.
+ You can't get EGLDisplay with current mali EGL drivers can't
+ All works fine with X server.
#include <GLES2/gl2.h>
#include <EGL/egl.h>
#include <iostream>
using namespace std;
EGLDisplay egl_display;
EGLContext egl_context;
int main()
{
- egl_display = eglGetDisplay( EGL_DEFAULT_DISPLAY );
- if ( egl_display == EGL_NO_DISPLAY ) {
- cerr << "Got no EGL display." << endl;
- return 1;
- }
- else
- {
- cerr << "Got EGL display";
- }
- return 1;
+ egl_display = eglGetDisplay( EGL_DEFAULT_DISPLAY );
+ if ( egl_display == EGL_NO_DISPLAY ) {
+ cerr << "Got no EGL display." << endl;
+ return 1;
+ }
+ else
+ {
+ cerr << "Got EGL display";
+ }
+ return 1;
}
** Also affects: ubuntu
Importance: Undecided
Status: New
** No longer affects: ubuntu
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1012827
Title:
EGL work only under X11
To manage notifications about this bug go to:
https://bugs.launchpad.net/igloocommunity/+bug/1012827/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs