12.3 DirectFB EGL
EGL in DirectFB can be used for OpenGL and OpenVG applications.
To enable DirectFB EGL, you need to increase the size of FBDEV, which can be
achieved by increasing the size in memory of /dev/fb0. This can be done by using fbset.
The typical size to of the fb is the same as the one used for triple buffer:
fbset -fb /dev/fb0 -g Xsize Ysize Xsize 3*Ysize BPP
For the hanstar lvds panel:
fbset -fb /dev/fb0 -g 1024 768 2034 32
For more information on fbset, check the fbset man pages.
12.4 Setting Up DirectFB Acceleration
Perform the following actions to set up DirectFB Acceleration:
1. Install ltib and select "min profile" or "gnome Mobile profile" and build with the
default settings.
2. Cross compile DirectFB and their examples. You can do it by using the toolchain and
follow the instructions in the DirectFB-1.4.0 package or have LTIB to do it all
(recommended). The next steps use LTIB.
3. Because ltib checks the md5sum of the tar.gz, you need to to generate .md5 file for
DirectFB-examples-1.2.0 in the pkgs directory:
•
md5sum DirectFB-examples.1.2.0.tgz > DirectFB-examples-1.2.0.tgz.md5
NOTE
You may also need to verify that the .spec file has the
correct version:/ltib/dist/lfs-5.1/DirectFB/DirectFB-
examples.spec
4. Run ltib with command
•
./ltib –m config
5. Make sure that “Configure the kernel” is selected
6. When configuring ltib, go to Package List and select
•
gpu-viv-bin-mx6q
DirectFB
DirectFB-examples
zlib
7. Exit and save your configuration.
8. Run ltib
Chapter 12 Direct FB
i.MX 6Solo/6DualLite Linux Reference Manual, Rev. L3.0.35_4.1.0, 09/2013
Freescale Semiconductor, Inc.
109
Содержание i.MX 6DualLite
Страница 1: ...i MX 6Solo 6DualLite Linux Reference Manual Document Number IMX6SDLLXRM Rev L3 0 35_4 1 0 09 2013...
Страница 2: ...i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 2 Freescale Semiconductor Inc...
Страница 32: ...Overview i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 32 Freescale Semiconductor Inc...
Страница 48: ...Overview i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 48 Freescale Semiconductor Inc...
Страница 52: ...Overview i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 52 Freescale Semiconductor Inc...
Страница 132: ...Software Operation i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 132 Freescale Semiconductor Inc...
Страница 148: ...Driver Features i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 148 Freescale Semiconductor Inc...
Страница 152: ...Hardware Operation i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 152 Freescale Semiconductor Inc...
Страница 168: ...Unit Test i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 168 Freescale Semiconductor Inc...
Страница 176: ...Driver Features i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 176 Freescale Semiconductor Inc...
Страница 190: ...Unit Test i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 190 Freescale Semiconductor Inc...
Страница 212: ...Introduction i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 212 Freescale Semiconductor Inc...
Страница 230: ...Driver Features i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 230 Freescale Semiconductor Inc...
Страница 238: ...Driver Features i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 238 Freescale Semiconductor Inc...
Страница 256: ...System WakeUp i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 256 Freescale Semiconductor Inc...
Страница 292: ...Introduction i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 292 Freescale Semiconductor Inc...
Страница 296: ...Software Operation i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 296 Freescale Semiconductor Inc...
Страница 310: ...Requirements i MX 6Solo 6DualLite Linux Reference Manual Rev L3 0 35_4 1 0 09 2013 310 Freescale Semiconductor Inc...