summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
Commit message (Collapse)AuthorAgeFilesLines
* mesa: fix configuration rewriteMatt Madison2017-05-221-3/+2
| | | | | | | | | to change just the PACKAGECONFIG[x11] setting (without expansion), instead of overwriting EXTRA_OECONF (with expansion). Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-gpu-viv: Fix build break for missing gl headersTom Hochstein2017-03-091-1/+6
| | | | | | | | | | | For x11 graphics and Wayland graphics with XWayland support, a build break is possible due to missing headers. This is because imx-gpu-viv does not provide everything it needs to for virtual/libgl and depends on mesa to fill in what is missing. Adding a dependency on mesa fixes the build break. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* xf86-video-imxfb-vivante: cleanupMax Krummenacher2017-03-091-8/+1
| | | | | | | | | | The build starts since commit meta-fsl-arm da0581341a58dfe393a829b3c402330c73589963 with the make file in ${S} which is actually named Makefile, thus there is no need to override base.do_compile or pass the directory and name of the make file in EXTRA_OEMAKE. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* xorg-driver: remove the local copies of xorg-driver-*.incMax Krummenacher2017-03-093-45/+1
| | | | | | | | | | | | | | | | | | | | recipes-graphics/xorg-driver/xorg-driver-common.inc is identical to the copy in openembedded-core. xorg-driver-video.inc lacks the automatic addition of xorg-driver-abi-<ABI> to RDEPENDS. (and constructs DEPENDS differently but with the same effect) xf86-video-fbdev must now provide the full relative path for its include file. fixes: WARNING: xf86-video-imxfb-vivante-3_5.0.11.p8.6-r0 do_package_qa: QA Issue: Package xf86-video-imxfb-vivante contains Xorg driver (vivante_drv.so) but no xorg-abi- dependencies [xorg-driver-abi] and likely but not tested fixes the same warning for xf86-video-fbdev used for PPC devices. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Fix patch for no input device handling2.2Tom Hochstein2017-02-081-1/+3
| | | | | | | | The previous patch had a logic error. The upstream submission was correct, so this just synchronizes the patch. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* piglit: Set override for imxgpu2d machinesFabio Berton2017-01-271-1/+1
| | | | | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* mesa-demos: Set override for imxgpu2d machinesFabio Berton2017-01-271-1/+1
| | | | | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* libdrm: Set override for imxgpu2d machinesFabio Berton2017-01-271-2/+2
| | | | | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* gtk+3: Set override for imxgpu2d machinesFabio Berton2017-01-271-2/+2
| | | | | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* cogl: Set override for imxgpu2d machinesFabio Berton2017-01-271-1/+1
| | | | | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* clutter: Set override for imxgpu2d machinesFabio Berton2017-01-271-1/+1
| | | | | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* mesa: Rework recipe to use the feature overridesOtavio Salvador2017-01-271-12/+7
| | | | | | | | The recipe was still using the mx6 specific overrides, which is wrong. We should use the feature overrides so more SoCs can be dealt in the generic way. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Consolidate i.MX GPU patchesTom Hochstein2017-01-2523-5900/+2001
| | | | | | | This is a non-functional change with one small exception, an additional variable initialization that has no known behavioral effect: Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* xserver-common: Move to dynamic layersGary Thomas2017-01-252-40/+0
| | | | | | | | | The xserver-common recipe can only be built if the openbedded (meta-oe) layer is present, so move it to the dynamic layers to prevent breakage if that layer is not in the build. Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Touch events cause startup failureTom Hochstein2017-01-253-1/+46
| | | | | | | | | | | Pressing the touch panel continously during boot up caused weston to crash. The weston view was being accessed before it was fully initialized, so now we guard against this. Upstream-Status: Denied [Could not reproduce] Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Undo recent command-line change for renderer selectionTom Hochstein2017-01-254-146/+116
| | | | | | | | | | To restore command-line compatibility, reverting back to integer-based renderer selection syntax: weston [--use-gl=0|1] [--use-g2d=0|1] Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: xwayland: Fix crash when run with no input deviceTom Hochstein2017-01-252-0/+49
| | | | | | | | | | | Starting an xterm with no input device led to a crash because weston_wm_pick_seat() was returning garbage and weston_wm_selection_init() was trying to use the garbage. Upstream-Status: Accepted [https://cgit.freedesktop.org/wayland/weston/commit/?id=e7fff215ada3fd3d1b2af664888f960c082f9065] Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Enable double buffer with fb_pan_display for weston compositorTom Hochstein2017-01-252-0/+49
| | | | | | | | | Refine offset calculation. Upstream-Status: Inappropriate [i.MX specific] Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: T3DStressTest_Wayland displays abnormally while using G2D compositorTom Hochstein2017-01-252-0/+41
| | | | | | | | | | | | It need add g2d_finish after repaint_region and before copy to framebuffer. Because if using dual dpu cores, the tasks on each core will be executed sequently, but it can't ensure one task splited on dual cores can be finished synchronously by hardware. Upstream-Status: Inappropriate [i.MX specific] Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* xserver-common: Enable iglx moduleNeena Busireddy2017-01-252-0/+40
| | | | | | | Enable iglx module to pass indirect glx rendering test case. Signed-off-by: Neena Busireddy <neenareddy.busireddy@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* libsdl2: add append to fix buildAndreas Müller2017-01-111-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Our vivante driver does not support the API libsdl2 expects. Fixes: <workdir>/cortexa9t2hf-neon-mx6qdl-angstrom-linux-gnueabi/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/vivante/SDL_vivantevideo.c: In function 'VIVANTE_Create': <workdir>/cortexa9t2hf-neon-mx6qdl-angstrom-linux-gnueabi/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/vivante/SDL_vivantevideo.c:100:30: error: 'VIVANTE_GLES_LoadLibrary' undeclared (first use in this function) device->GL_LoadLibrary = VIVANTE_GLES_LoadLibrary; ^~~~~~~~~~~~~~~~~~~~~~~~ <workdir>/cortexa9t2hf-neon-mx6qdl-angstrom-linux-gnueabi/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/vivante/SDL_vivantevideo.c:100:30: note: each undeclared identifier is reported only once for each function it appears in <workdir>/cortexa9t2hf-neon-mx6qdl-angstrom-linux-gnueabi/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/vivante/SDL_vivantevideo.c:101:33: error: 'VIVANTE_GLES_GetProcAddress' undeclared (first use in this function) device->GL_GetProcAddress = VIVANTE_GLES_GetProcAddress; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ <workdir>/cortexa9t2hf-neon-mx6qdl-angstrom-linux-gnueabi/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/vivante/SDL_vivantevideo.c:102:32: error: 'VIVANTE_GLES_UnloadLibrary' undeclared (first use in this function) device->GL_UnloadLibrary = VIVANTE_GLES_UnloadLibrary; ^~~~~~~~~~~~~~~~~~~~~~~~~~ <workdir>/cortexa9t2hf-neon-mx6qdl-angstrom-linux-gnueabi/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/vivante/SDL_vivantevideo.c:103:32: error: 'VIVANTE_GLES_CreateContext' undeclared (first use in this function) device->GL_CreateContext = VIVANTE_GLES_CreateContext; ^~~~~~~~~~~~~~~~~~~~~~~~~~ <workdir>/cortexa9t2hf-neon-mx6qdl-angstrom-linux-gnueabi/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/vivante/SDL_vivantevideo.c:104:30: error: 'VIVANTE_GLES_MakeCurrent' undeclared (first use in this function) device->GL_MakeCurrent = VIVANTE_GLES_MakeCurrent; ^~~~~~~~~~~~~~~~~~~~~~~~ <workdir>/cortexa9t2hf-neon-mx6qdl-angstrom-linux-gnueabi/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/vivante/SDL_vivantevideo.c:105:34: error: 'VIVANTE_GLES_SetSwapInterval' undeclared (first use in this function) device->GL_SetSwapInterval = VIVANTE_GLES_SetSwapInterval; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ <workdir>/cortexa9t2hf-neon-mx6qdl-angstrom-linux-gnueabi/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/vivante/SDL_vivantevideo.c:106:34: error: 'VIVANTE_GLES_GetSwapInterval' undeclared (first use in this function) device->GL_GetSwapInterval = VIVANTE_GLES_GetSwapInterval; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ <workdir>/cortexa9t2hf-neon-mx6qdl-angstrom-linux-gnueabi/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/vivante/SDL_vivantevideo.c:107:29: error: 'VIVANTE_GLES_SwapWindow' undeclared (first use in this function) device->GL_SwapWindow = VIVANTE_GLES_SwapWindow; ^~~~~~~~~~~~~~~~~~~~~~~ <workdir>/cortexa9t2hf-neon-mx6qdl-angstrom-linux-gnueabi/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/vivante/SDL_vivantevideo.c:108:32: error: 'VIVANTE_GLES_DeleteContext' undeclared (first use in this function) device->GL_DeleteContext = VIVANTE_GLES_DeleteContext; ^~~~~~~~~~~~~~~~~~~~~~~~~~ <workdir>/cortexa9t2hf-neon-mx6qdl-angstrom-linux-gnueabi/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/vivante/SDL_vivantevideo.c: In function 'VIVANTE_CreateWindow': <workdir>/cortexa9t2hf-neon-mx6qdl-angstrom-linux-gnueabi/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/vivante/SDL_vivantevideo.c:285:29: warning: implicit declaration of function 'SDL_EGL_CreateSurface' [-Wimplicit-function-declaration] data->egl_surface = SDL_EGL_CreateSurface(_this, data->native_window); ^~~~~~~~~~~~~~~~~~~~~ <workdir>/cortexa9t2hf-neon-mx6qdl-angstrom-linux-gnueabi/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/vivante/SDL_vivantevideo.c:285:27: warning: assignment makes pointer from integer without a cast [-Wint-conversion] data->egl_surface = SDL_EGL_CreateSurface(_this, data->native_window); ^ <workdir>/cortexa9t2hf-neon-mx6qdl-angstrom-linux-gnueabi/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/vivante/SDL_vivantevideo.c: In function 'VIVANTE_DestroyWindow': <workdir>/cortexa9t2hf-neon-mx6qdl-angstrom-linux-gnueabi/libsdl2/2.0.5-r0/SDL2-2.0.5/src/video/vivante/SDL_vivantevideo.c:306:13: warning: implicit declaration of function 'SDL_EGL_DestroySurface' [-Wimplicit-function-declaration] SDL_EGL_DestroySurface(_this, data->egl_surface); ^~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Add egl and gles support for non-GPU SoCsTom Hochstein2016-12-161-1/+9
| | | | | | | | For SoCs with no GPU, configure weston to use the software versions of egl and gles through mesa. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Fix build on i.MX 6SLTom Hochstein2016-12-161-1/+1
| | | | | | | | | Weston requires egl and glesv2 together, or neither. Since the i.MX 6SL can only provide egl, we configure weston to work without egl. A build break occurred due to i.MX patches which should not be applied for 6SL. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* gtk+3: Restore explicit CFLAGS settingTom Hochstein2016-12-161-0/+5
| | | | | | | | The package doesn't link against egl, so we can't rely on egl.pc to provide the necessary config settings. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* mesa: Use machine overrides extenderTom Hochstein2016-12-161-3/+1
| | | | | | | Redo configuration using machine overrides extender. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-gpu-viv: Don't install GLES package configs on SoCs without 3DTom Hochstein2016-12-161-1/+1
| | | | | | | | For SoC's without 3D, imx-gpu-viv doesn't provide a GLES library, so it's wrong to install the corresponding package configs. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-gpu-viv: Configure for Wayland backend if wayland and x11 are in distroTom Hochstein2016-11-231-4/+6
| | | | | | | | By i.MX convention, if wayland and x11 are in the distro features, the Wayland backend is used. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* gtk+3: Configure for Wayland backend if wayland and x11 are in distroTom Hochstein2016-11-231-2/+3
| | | | | | | | By i.MX convention, if wayland and x11 are in the distro features, the Wayland backend is used. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* cogl-1.0: Configure for Wayland backend if wayland and x11 are in distroTom Hochstein2016-11-231-4/+5
| | | | | | | | By i.MX convention, if wayland and x11 are in the distro features, the Wayland backend is used. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* clutter-1.0: Use Wayland backend if wayland and x11 are in distroTom Hochstein2016-11-231-3/+5
| | | | | | | | By i.MX convention, if wayland and x11 are in the distro features, the Wayland backend is used. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Use compiler settings provided by IMX-GPU driver pkg-configTom Hochstein2016-11-232-22/+13
| | | | | | | | | The IMX-GPU driver now provides compiler settings through pkg-config, so don't set them explicitly. The package had to be patched to link the compositor to egl. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* piglit: Use compiler settings provided by IMX-GPU driver pkg-configTom Hochstein2016-11-231-6/+0
| | | | | | | | The IMX-GPU driver now provides compiler settings through pkg-config, so don't set them explicitly. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* gtk+3: Use compiler settings provided by IMX-GPU driver pkg-configTom Hochstein2016-11-231-4/+0
| | | | | | | | The IMX-GPU driver now provides compiler settings through pkg-config, so don't set them explicitly. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* cogl-1.0: Use compiler settings provided by IMX-GPU driver pkg-configTom Hochstein2016-11-231-6/+0
| | | | | | | | The IMX-GPU driver now provides compiler settings through pkg-config, so don't set them explicitly. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* cairo: Use compiler settings provided by IMX-GPU driver pkg-configTom Hochstein2016-11-231-9/+0
| | | | | | | | The IMX-GPU driver now provides compiler settings through pkg-config, so don't set them explicitly. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* clutter-1.0: Use compiler settings provided by IMX-GPU driver pkg-configTom Hochstein2016-11-231-6/+0
| | | | | | | | The IMX-GPU driver now provides compiler settings through pkg-config, so don't set them explicitly. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Remove duplication in variable valueTom Hochstein2016-11-231-3/+5
| | | | | | | | Rework variable implementation (using SoC override) so that the value does not contain a duplication. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* mesa-demos: Refactor to use the new i.MX feature overridesTom Hochstein2016-10-271-3/+12
| | | | | | | | Configure the package using the existence of 2D and/or 3D hardware. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* mesa-demos: Fix configuration for Wayland on i.MXTom Hochstein2016-10-271-4/+3
| | | | | | | | If distro features contains wayland, we assume a wayland backend and configure the package accordingly. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* mesa-demos: Make package configuration specific to i.MXTom Hochstein2016-10-271-1/+1
| | | | | | | | Changes to the package configuration should be applied only to i.MX builds. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* xf86-video-imx-fb-vivante: Upgrade to 5.0.11.p8.6Lauren Post2016-10-181-4/+2
| | | | | Signed-off-by: Lauren Post <lauren.post@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-gpu-viv: Update include to support dri installationLauren Post2016-10-181-4/+9
| | | | | | | Also some comment changes Signed-off-by: Lauren Post <lauren.post@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-gpu-viv: Upgrade to 5.0.11.p8.6Lauren Post2016-10-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug Fixes for P8.6 Graphics includes: 3D: MGS-2239 Destroy EGL window surface and makecurrent new surface cause segmentation fault 3D: MGS-2237 [6Q-SDB] FB met GPU STATE DUMP when testing ES30 Conformance 100% 3D: MGS-2101 EGLImage created with an OpenVG parent image always returns EGL_BAD_ACCESS 3D: MGS-2086 Met GPU dump when do driver test under dvfs stress test 3D: MGS-2150 optimized vertex copy for attribute upload 3D: MGS-2100 CubeMap sub-texture copy disappears when small size and small x/y offset 3D: MA-8321 testTextureViewStress200Hz fail on kk4.4.3_2.0.1 with GPU 5.0.11p8 3D: MA-8302 testOpenGlEsVersion fail on kk4.4.3_2.0.1 with GPU 5.0.11p8 3D: MA-8300 Fix antutu3.0.3 2D/3D performance downgrade 3D: MA-8104 fix Antutu6.x benchmark 3D not supported issue 3D: MA-8110 Change NOTIFY_OK to NOTIFY_DONE in task_notify_func. 3D: MGS-1851 fix the integer id resource leak 3D: MGS-1845 refine es11 extension 3D: MGS-1717 display no output when use gplay to do loopback test Compiler: MGS-1948 Fix UBO in shader can not support by new bsp release. 2D-VG: MGS-2154 VG kernel driver Allocate and Free wrong memory type 2D-VG: MGS-2089 fix gc355 vg freeze with interrupt signal 2D-VG: MGS-2084 fix vg pbuffer memory leak 2D-VG: MGS-1756 Portability issue: OpenVG includes "malloc.h" instead of "stdlib.h" for malloc() function 2D: MA-8378 Refine g2d and gpu helper functions. 2D: MGS-1847 fix G2D build broken with g2dBUILD_FOR_VIVANTE=1 General: MGS-2243 Fix high impact Coverity issue in GPU kernel driver General: MGS-2233 fix gpu axi bus error with process kill operations General: MGS-2188 Fix misleading indents causing errors in gcc6 General: MGS-1624 QNX - port gmem_info tool General: MGS-1630-1 5.0.11.p8 driver can't pass build with kernel 4.1 on Android M6.0 Signed-off-by: Lauren Post <lauren.post@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Fix weston build failedTom Hochstein2016-10-182-0/+63
| | | | | | | | Expose more variale to G2d compositor, because it is not easy to get the physical address in G2d compositor. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Get stride from the FB bufferTom Hochstein2016-10-182-0/+77
| | | | | | | Fix the stride setting error in the fbinfo. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Use common API to support G2d compositorTom Hochstein2016-10-182-0/+197
| | | | | | | | | Replace gcoOS_WaylandCreateVivGlobal with eglBindWaylandDisplayWL. Fix a width set error in g2d_renderer_attach_shm. Use noncached buffer in weston shm buffer. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Add clone mode support for multi displayTom Hochstein2016-10-182-0/+422
| | | | | | | | | Support showing the same contents on multiple displays. Use the following command to enable multi-display: openvt -v -- weston-launch -- --idle-time=0 --use-g2d=1 --device=/dev/fb0,/dev/fb4 --clone-mode --log=/var/log/weston.log Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Re-implement renderer using G2DTom Hochstein2016-10-184-0/+3014
| | | | | | | Change i.MX renderer from gal2d to g2d API. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Remove EGL support for GPU 2D-only SoCsOtavio Salvador2016-10-181-1/+2
| | | | | | | | | The i.MX SoCs which provides support for GPU 2D but lacks GPU 3D should drop the EGL use. This fixes the i.MX6SL build errors seen in O.S. Systems autobuilders. Reported-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Rebase patches for Weston 1.11Tom Hochstein2016-09-212-67/+116
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>