Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Multy display opengl es 660: (2 Items)
   
Multy display opengl es 660  
now, how to use eglGetDisply if you want to make a conclusion on two monitors? Or is it now all depends on where I will 
create a window? As previously method eglGetDisply was used for the GF, there is not a more detailed documentation on 
this link?
RE: Multy display opengl es 660  
The naming in the EGL specification is misleading, an EGL display does not actually correspond to physical display 
output, it corresponds to an EGL driver. Typically a platform will only have one EGL display and could have X number of 
physical displays (e.g. LCD, HDMI etc..). The same EGL display can be used regardless of which physical display a screen
 window is on.

So to do multi-display with a GLES based applications, you can just create a screen window, query the displays with 
screen, then set the display property on the window at which point you can create your EGL window surface using your 
screen window like you normally would.

The following link provides an example of doing multi-display with screen:

http://www.qnx.com/developers/docs/660/index.jsp?topic=%2Fcom.qnx.doc.screen%2Ftopic%2Fmanual%
2Fcscreen_displays_complete_sample.html

The same hold true for GLES regardless of whether or not the screen window is backing an EGL window surface or the 
physical display of the window:

-Joel

________________________________________
From: Eugene Strizhov [community-noreply@qnx.com]
Sent: Friday, March 28, 2014 3:08 AM
To: opengles-graphics
Subject: Multy display opengl es 660

now, how to use eglGetDisply if you want to make a conclusion on two monitors? Or is it now all depends on where I will 
create a window? As previously method eglGetDisply was used for the GF, there is not a more detailed documentation on 
this link?



_______________________________________________

OpenGL ES
http://community.qnx.com/sf/go/post109657
To cancel your subscription to this discussion, please e-mail opengles-graphics-unsubscribe@community.qnx.com