diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-18 19:42:16 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-18 19:42:16 +0300 |
commit | 312696a7b9416ac42c869dac34445a5761c6955d (patch) | |
tree | 33bead35d573f5bc69c0aba9e41c68860fca6d9e | |
parent | b7da52ec5711e999963df218d4fad69a8025daeb (diff) |
Updated README with Raspberry Pi notes
-rw-r--r-- | README.md | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -48,5 +48,16 @@ When using OpenSSL 1.1.1 from Homebrew, you must add its pkgconfig path to your | |||
48 | 48 | ||
49 | Also, SDL's trackpad scrolling behavior on macOS is not optimal for regular GUI apps because it emulates a physical mouse wheel. This may change in a future release of SDL, but at least in 2.0.12 a [small patch](https://git.skyjake.fi/skyjake/lagrange/raw/branch/dev/sdl2-macos-mouse-scrolling-patch.diff) is required to allow momentum scrolling to come through as single-pixel mouse wheel events. | 49 | Also, SDL's trackpad scrolling behavior on macOS is not optimal for regular GUI apps because it emulates a physical mouse wheel. This may change in a future release of SDL, but at least in 2.0.12 a [small patch](https://git.skyjake.fi/skyjake/lagrange/raw/branch/dev/sdl2-macos-mouse-scrolling-patch.diff) is required to allow momentum scrolling to come through as single-pixel mouse wheel events. |
50 | 50 | ||
51 | ### Raspberry Pi notes | ||
52 | |||
53 | You should use a version of SDL that is compiled to take advantage of the Broadcom VideoCore OpenGL ES hardware. This provides the best performance when running Lagrange in a console. | ||
54 | |||
55 | When running under X11, software rendering is the best choice and in that case the SDL from Raspbian etc. is sufficient. | ||
56 | |||
57 | The following build options are recommended on Raspberry Pi: | ||
58 | * `ENABLE_KERNING=NO`: faster text rendering without noticeable loss of quality | ||
59 | * `ENABLE_WINDOWPOS_FIX=YES`: workaround for window position restore issues (SDL bug) | ||
60 | * `ENABLE_X11_SWRENDER=YES`: use software rendering under X11 | ||
61 | |||
51 | [rel]: https://git.skyjake.fi/skyjake/lagrange/releases | 62 | [rel]: https://git.skyjake.fi/skyjake/lagrange/releases |
52 | [tf]: https://git.skyjake.fi/skyjake/the_Foundation | 63 | [tf]: https://git.skyjake.fi/skyjake/the_Foundation |