Is it possible to get the graphics context in e2 python plugins?
Begonnen door: awx, 01 dec 2011 08:16
Er zijn 12 reacties in dit onderwerp
Re: Is it possible to get the graphics context in e2 python plugins? #2
Re: Is it possible to get the graphics context in e2 python plugins? #3
Geplaatst op 2 januari 2012 - 12:13
on platforms with a plain framebuffer (no opengl), sdl means just adding an extra layer. It doesn't provide any advantages.
For a pc however, sdl makes sense (because it allows to use opengl, and because it allows to cooperate with a window manager)
See this thread
http://openpli.org/f...ntu-104-32-bit/
They are probably using sdl as well.
For a pc however, sdl makes sense (because it allows to use opengl, and because it allows to cooperate with a window manager)
See this thread
http://openpli.org/f...ntu-104-32-bit/
They are probably using sdl as well.
Re: Is it possible to get the graphics context in e2 python plugins? #4
Re: Is it possible to get the graphics context in e2 python plugins? #5
Re: Is it possible to get the graphics context in e2 python plugins? #6
Re: Is it possible to get the graphics context in e2 python plugins? #7
Re: Is it possible to get the graphics context in e2 python plugins? #8
Re: Is it possible to get the graphics context in e2 python plugins? #9
Re: Is it possible to get the graphics context in e2 python plugins? #10
Geplaatst op 5 januari 2012 - 08:54
You could check what the teletext (tuxtxt) plugin does, it also directly writes to the framebuffer. You can get a FB lock and then just manipulate bits. If you want to run games, there is some hardware accellerated bitblitting possible, in particular fast 8-bit rendering is very interesting for sprites, and for emulators that expect an 8-bit framebuffer (which you could emulate by painting on a 8-bit surface and accellerated blt to the framebuffer, which also gives you double-buffering).
For example, the zx spectrum emulator should run well on these boxes, it ran fine on the Topfield which had only a 150MHz CPU and 8MB RAM.
You'll also need to spend time on implementing input devices, since they're not standard.
For example, the zx spectrum emulator should run well on these boxes, it ran fine on the Topfield which had only a 150MHz CPU and 8MB RAM.
You'll also need to spend time on implementing input devices, since they're not standard.
Real musicians never die - they just decompose
Re: Is it possible to get the graphics context in e2 python plugins? #11
Re: Is it possible to get the graphics context in e2 python plugins? #12
Re: Is it possible to get the graphics context in e2 python plugins? #13
1 gebruiker(s) lezen dit onderwerp
0 leden, 1 bezoekers, 0 anonieme gebruikers