The egl display subsection specifies the GPU libraries and parameters.
This section must begin with begin egl display display_id and end with end egl display. Include this section in your configuration file only if your system requires graphics drivers.
Typically, there's only one egl display section. Therefore, conventionally, you set the display ID to 1.
begin egl display 1 egl-dlls = [IMG%s] libusc.so libsrv_um.so libpvr2d.so libIMGegl.soD glesv1-dlls = libusc.so libsrv_um.so libIMGegl.so libImgGLESv1_CM.so glesv2-dlls = libusc.so libsrv_um.so libusc.so libIMGegl.so libImgGLESv2.so gpu-dlls = libsrv_um.so libpvr2d.so pvrsrv.so gpu-string = SGX540rev120 aperture = 200 end egl display
Most of these libraries and parameters are provided in the default graphics.conf configuration file delivered with your platform.
The following are valid parameters that can be configured under the egl display subsection:
Parameter | Description | Type | Possible value(s) |
---|---|---|---|
blit-dll | The blitter that's associated to a required GPU. | String |
pvr2d bb2d |
egl-dlls | The EGL libraries | String |
libusc.so libsrv_um.so libpvr2d.so libIMGegl.so |
glesv1-dlls | The OpenGL ES 1.X libraries | String |
libusc.so libsrv_um.so libIMGegl.so libImgGLESv1_CM.so |
glesv2-dlls | The OpenGL ES 2.X libraries | String |
libusc.so libsrv_um.so libIMGegl.so libImgGLESv2.so |
vg-dlls | The OpenVG libraries | String |
libsrv_um.so libIMGegl.so libImgOpenVG.so |
gpu-dlls | The GPU libraries | String |
libsrv_um.so libpvr2d.so pvrsrv.so |
gpu-string | The SGX core. The gpu-string will determine core-specific behavior. | String |
SGX535rev121 SGX530rev125 SGX540rev120 |
aperture | The number of MB of GPU memory to allocate at startup | Integer | Range varies |