Commit Graph

16 Commits

Author SHA1 Message Date
Tobias Jakobi
55d331c2fe exynos: also use interpolate mode for menu blending 2014-08-09 16:43:48 +02:00
Tobias Jakobi
2dcac8cbd4 exynos: remove G2D safety zone
Extensive tests have shown that this is no longer necessary.
2014-08-09 16:43:48 +02:00
Tobias Jakobi
34e1b6921f exynos: font: use restrict for src/dst in put_glyph_rgba4444
This should help the compiler to generate better code for
memory access.
2014-08-09 16:43:48 +02:00
Tobias Jakobi
e8439c30ff exynos: font: use defaults properties for buffer bpp 2014-08-09 16:43:47 +02:00
Tobias Jakobi
bbc4dbdb66 exynos: font: buffer doesn't need special color initialization 2014-08-09 16:43:47 +02:00
Tobias Jakobi
b83d60bef5 exynos: font: compute color in ARGB4444 format just once 2014-08-08 18:30:28 +02:00
Tobias Jakobi
cd8161df6c exynos: font: slight improvement to rendering performance
The current bottleneck is 'put_glyph_rgba4444'. Interpolate mode
enables us to remove the conditional in the inner loop.

Eventually this call should just reduce to a memcpy.
2014-08-08 18:30:28 +02:00
Tobias Jakobi
987da33104 exynos: font: use interpolate mode for blending
The interpolate mode is more suited for font rendering, even
if it produces slightly different results.
The main reason for switching is to avoid some conditionals
in the coming code improvements.
2014-08-08 18:30:27 +02:00
Tobias Jakobi
2312d488aa exynos: fix font rendering
It would just segfault after a while, since we weren't deferencing
the 'msg' pointer to check for the end of the string.
Eventually this would let 'msg' point to invalid memory.
2014-08-08 18:30:27 +02:00
Tobias Jakobi
ff06aea5dd exynos: add prefix to fimg2d header 2014-08-06 19:33:00 +02:00
Tobias Jakobi
e197e97d67 exynos: disable crtc before freeing buffers
The crtc should be disabled before deallocating the buffers, otherwise
leading to a use-after-free scenario, which can trigger all sorts
of funny effects.
2014-07-17 14:56:43 +02:00
Tobias Jakobi
19419b04af exynos: fix typo in comment 2014-07-17 14:56:18 +02:00
Tobias Jakobi
7fea31e501 exynos: adapt font rendering code 2014-07-17 14:56:16 +02:00
Tobias Jakobi
fe57d064ba exynos: adapt to naming changes
The RGUI is now just called 'menu'.
2014-07-17 14:56:03 +02:00
Tobias Jakobi
63e99009df exynos: adapt to video_driver interface changes
The restart API was removed.
2014-07-17 14:55:56 +02:00
Tobias Jakobi
7efa9def07 Add exynos video driver
Documentation is provided in README-exynos.
2014-07-17 14:41:44 +02:00