Hello
I would like to ask about hardware acceleration of the Love2D. Is this always enable? I am trying to make Love2D working on the Raspberry PI on the Raspbian. I have built on my own library from the source code. I have met some issues during building this library. But finally I have built it without any issue.
At this moment I can run Love2D main screen. However it works extremely slow. Additionally colors are corrupted. And of course it takes 100% CPU resources.
OpenGL ES is supplied on the Raspian. Could you give me some information how to link Love2D to use the supplied OpenGL ES acceleration library? I need to verify if the Love2D is using supplied OpenGL ES library.
Hardware acceleration using Raspberry PI & Raspbian
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- slime
- Solid Snayke
- Posts: 3166
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Hardware acceleration using Raspberry PI & Raspbian
LÖVE's graphics module can currently only use desktop OpenGL. It would require fairly substantial under-the-hood changes to work with OpenGL ES 2.
Here is an experimental branch of the in-development version of 0.9.0 that has most of those changes (although it lacks the ability to actually create an ES 2 context when the window is created.) Note that 0.9.0 will probably not contain the changes in this branch.
Here is an experimental branch of the in-development version of 0.9.0 that has most of those changes (although it lacks the ability to actually create an ES 2 context when the window is created.) Note that 0.9.0 will probably not contain the changes in this branch.
Re: Hardware acceleration using Raspberry PI & Raspbian
slime did some more work on this and the current GLES branch on love-experiments compiles and can use the OpenGL ES 2.0 hardware acceleration of the Raspberry Pi, if SDL2 is compiled with the Raspberry Pi video driver.
Shallow indentations.
Who is online
Users browsing this forum: No registered users and 12 guests