Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Vivante GPU API #1344

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Closed

Support for Vivante GPU API #1344

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

@SDLBugzilla SDLBugzilla commented Feb 10, 2021

This bug report was migrated from our old Bugzilla tracker.

These attachments are available in the static archive:

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:

Nice work.

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:

https://hg.libsdl.org/SDL/rev/494876610c49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant