EGL work only under X11

Bug #1012827 reported by miskol
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
IglooCommunity
New
Wishlist
Unassigned

Bug Description

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;
}

miskol (xlazom00)
description: updated
no longer affects: ubuntu
Changed in igloocommunity:
assignee: nobody → vathsala (vathsala-nagaraju)
milestone: none → 2012.08
importance: Undecided → Medium
Changed in igloocommunity:
milestone: 2012.08 → none
importance: Medium → Wishlist
assignee: vathsala (vathsala-nagaraju) → nobody
tags: added: linaro-ubuntu
Revision history for this message
Hieu T. Le (hieuletrung) wrote :

Is there any working on this?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.