Commit Graph

17 Commits

Author SHA1 Message Date
twinaphex
c020f362b6 Remove hacky restart function in video interface 2014-05-30 17:57:21 +02:00
Tobias Jakobi
49bc4f226f video_lima: increase alignment of allocated memory to 128-bit
This works better for the NEON asm in limare.
2014-03-04 20:26:53 +01:00
Tobias Jakobi
8759b67f66 video_lima: align width/height of font tex to 16 (Mali block size) 2014-03-04 20:26:52 +01:00
Tobias Jakobi
117a1ff64b video_lima: plug potential memory leak 2014-02-24 21:03:35 +01:00
Tobias Jakobi
f3f50daeb4 video_lima: use posix_memalign to request aligned memory
aligned_alloc is deprecated
2014-02-10 14:58:55 +01:00
Tobias Jakobi
3005501184 video_lima: fix some warnings 2014-02-10 14:58:55 +01:00
Tobias Jakobi
605d4f3954 video_lima: slight reduction of font texture size 2014-02-10 14:58:54 +01:00
Tobias Jakobi
72009fe3d7 video_lima: use general align function
introduce in preparation to texture upload optimization
2014-02-10 14:58:54 +01:00
Tobias Jakobi
18e37b2d47 video_lima: set wrap mode to clamp for all textures we use 2014-01-28 03:02:04 +01:00
Tobias Jakobi
6ab202f25f video_lima: whitespace fixes 2014-01-27 23:05:45 +01:00
Tobias Jakobi
9d1090b194 video_lima: remove unused and redundant variables 2014-01-27 23:03:08 +01:00
Tobias Jakobi
8f41e80c61 video_lima: align temp buffer 2014-01-26 04:43:01 +01:00
Tobias Jakobi
4b05426bbe video_lima: add font rendering by using the temp buffer 2014-01-26 04:43:01 +01:00
Tobias Jakobi
a338d99781 video_lima: misc fixes 2014-01-26 04:43:00 +01:00
Tobias Jakobi
55fc57b846 video_lima: fix some swizzling in the fragment shader
Thanks to AreaScout for testing this!
2014-01-26 04:43:00 +01:00
Tobias Jakobi
9226c3c783 video_lima: adjust aspect ratio depending on frame dimensions
With this the emulator framebuffer is no longer stretched to the entire
screen. However it's still not entirely correct. For example the aspect
ratio value provided by the frontend is not used yet.
Also I noticed this behaviour: When using the game "Secret of Mana 2"
(unofficial english translation) on the snes9x-next core, the game
normally uses a framebuffer of dimension 256x224. But when rendering
text windows, it increases resolution to 512x224. With the current
behaviour this alters aspect ratio and let's the image "explode"
when text boxes are displayed, only to "implode" again when they close.
This should not happen! (Needs further investigation...)
2014-01-26 04:43:00 +01:00
Tobias Jakobi
7cdb08b804 Add lima video driver
Documentation is provided in README-lima.
2014-01-26 04:43:00 +01:00