Reported in version: 2.0.1 Reported for operating system, platform: Linux, ARM
Comments on the original bug report:
On 2014-02-05 11:08:16 +0000, PulkoMandy wrote:
Created attachment 1548
Patch adding Vivante GPU support.
This is a patch to add support for Vivante GPU drivers, as used for example on Freescale i.MX6 chips.
Similar to the Raspberry Pi, there is a custom API allowing to query the framebuffer and allocate (non-movable, non-resizeable) windows on it.
Support for SDL_cursor is missing, I didn't find a way of implementing it.
Note: because of the way Vivante GPU driver is made, there is no way to have SDL compiled for both X11 and this at the same time (you need to link to a different libEGL, and use different compile flags). I couldn't get the X11 variant to work reliably, anyway.
On 2014-02-05 11:11:09 +0000, PulkoMandy wrote:
Forgot to mention: the patch is against SDL 2.0.1 sources.
On 2014-02-05 14:00:19 +0000, Gabriel Jacobo wrote:
It seems the patch is heavily based on the RPi backend, I would like to analyze and figure out if there's a simple way we can generalize that backend instead of just copy/pasting it entirely.
On 2014-02-05 14:16:30 +0000, PulkoMandy wrote:
Yes, a lot of this is copied from the Raspberry backend. I think I only modified SDL_vivvideo.c (to initialize EGL) and SDL_vivmouse.c (to remove the Pi cursor management). Other files can probably be shared.
On 2014-10-15 21:49:07 +0000, Gabriel Jacobo wrote:
Sam fixed this today.
On 2014-10-15 21:49:36 +0000, Gabriel Jacobo wrote: