Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - egl-config value corresponding to a particular layer: (3 Items)
   
egl-config value corresponding to a particular layer  
We would like to select an egl-config value corresponding
to layer 1 on an i.mx35 system supporting 2 physical layers.

A section of the output from io-winmgr -sysres looks like this:

<id>10</id>
<config_caveat>EGL_NONE</config_caveat>
<buffer_size>16</buffer_size>
<red_size>5</red_size>
<green_size>6</green_size>
<blue_size>5</blue_size>
<alpha_size>0</alpha_size>
<alpha_mask_size>0</alpha_mask_size>
<depth_size>0</depth_size>
<stencil_size>0</stencil_size>
<level>0<level>
<renderable_type>EGL_OPENVG_BIT</renderable_type>
<native_renderable>no</native_renderable>
<native_visual_type>GF_FORMAT_PACK_RGB565</native_visual_type>
<samples>0</samples>
<sample_buffers>0</sample_buffers>
<surface_type>EGL_PBUFFER_BIT|EGL_PIXMAP_BIT|EGL_WINDOW_BIT|EGL_SWAP_BEHAVIOR_PRESERVED_BIT|EGL_LOCK_SURFACE_BIT_KHR</
surface_type>
</config>
<config>
<id>11</id>
<config_caveat>EGL_NONE</config_caveat>
<buffer_size>16</buffer_size>
<red_size>5</red_size>
<green_size>6</green_size>
<blue_size>5</blue_size>
<alpha_size>0</alpha_size>
<alpha_mask_size>0</alpha_mask_size>
<depth_size>0</depth_size>
<stencil_size>0</stencil_size>
<level>1<level>
<renderable_type>EGL_OPENVG_BIT</renderable_type>
<native_renderable>no</native_renderable>
<native_visual_type>GF_FORMAT_PACK_RGB565</native_visual_type>
<samples>0</samples>
<sample_buffers>0</sample_buffers>
<surface_type>EGL_PBUFFER_BIT|EGL_PIXMAP_BIT|EGL_WINDOW_BIT|EGL_SWAP_BEHAVIOR_PRESERVED_BIT|EGL_LOCK_SURFACE_BIT_KHR</
surface_type>
</config>

Which of these config values indicates the physical layer number?

Re: egl-config value corresponding to a particular layer  
EGL_LEVEL represents the layer number.
Re: egl-config value corresponding to a particular layer  
Etienne, thanks for these answers (in all threads), this should let us go forward.

--
Mate