| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Odds are this is horribly broken, but we are not able to work on
it just yet.
Change-Id: I8cd12a6dba7957b1ccc1275b8d72c24797856db0
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Keeps original font system in place
* Uses the same API as original font system:
- You can render only one line at a time
- You can only use one font and color for one gr_text* call
* Caches all rendered text, with a string cache limited to 400
entries, then it trucates to 250, which results in memory
usage hovering around 5-10MB
Change-Id: I36107b9dcd8d57bae4486fce8b8f64e49ef3d906
Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
If on the default settings the screen will only kick in to action
AFTER it has gone to sleep once and has been woken up again with a
key press, this will be needed to set to 'true' in the
BoardConfig.mk
The code was already there, Dees_Troy and I thought it would be
nice to make it a switch to control at compile time.
Change-Id: I5116a27afe9cba57122761c192ea3ee153d98162
|
|
|
|
|
|
|
| |
This prevents a crash in TWRP when trying to blank
the screen on devices that are using overlay graphics.
Change-Id: I155868616ffa1b211e97be97e4abe8b03dad7ca0
|
|
|
|
|
|
|
|
| |
* Like in android - press power+volume down, screenshots are saved
in /sdcard/Pictures/Screenshots (if /sdcard is mounted) or /tmp
Change-Id: Iaefa15b11a1d5fdfac57d77388db1621f378a8d4
Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
|
|
|
|
| |
Change-Id: Ic1ef3f6a4e9c74efb07d8a0103543d124567f0d4
|
|
|
|
| |
Change-Id: Ia75c34ab1a45b7c8802c902906198517aa3437d5
|
|
|
|
| |
Change-Id: Ibcf89952ee1391350c715f1ec82cf0cdb9b0ca7d
|
|
|
|
|
|
|
|
|
|
|
|
| |
* The difference isn't as big as there are not many big non-transparent
bitmaps in TWRP, on install screen on flo it is about 5-10ms better.
Only place where the difference is noticable is keyboard, which is
pretty big non-transparent bitmap, where it speeds up the render
by ~40ms on flo.
Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
Change-Id: I4c51ef957ae2a1829ada4eb566e9964f708efcf0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* This makes the rendering several times faster, because the giant
rectangle used as background no longer uses expensive blending
calculations, and there are also many other big rectangles which
don't need it (fileselector, ...).
* Results on hammerhead:
- WITHOUT the patch - scrolling in fileselector on install page:
I:render 67 ms, flip 6 ms, total 73 ms
I:render 82 ms, flip 6 ms, total 88 ms
I:render 81 ms, flip 6 ms, total 87 ms
I:render 80 ms, flip 5 ms, total 85 ms
- WITH the patch - scrolling in fileselector on install page:
I:render 32 ms, flip 6 ms, total 38 ms
I:render 16 ms, flip 6 ms, total 22 ms
I:render 16 ms, flip 7 ms, total 23 ms
I:render 18 ms, flip 3 ms, total 21 ms
I:render 18 ms, flip 2 ms, total 20 ms
* On flo, the results are even more noticable - 160ms -> 40ms
Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
Change-Id: I5685763ba21745d7cd93133adf5f0bcb4c9a581f
|
|
|
|
| |
Change-Id: I93391596eece6b08ecf2e54f443e9821573cb871
|
|
|
|
|
|
| |
Improves license compatibility between GPL and Apache
Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0
|
|
|
|
|
|
| |
2 second predim code courtesy of bigbiff
Change-Id: I052ac422f78dc82c05f58c188587534b800b935a
|
| |
|
| |
|
| |
|
|
Pull in most TWRP sources
Stub out partition management code
Make it compile -- probably will not boot
Kind of a mess but have to start somewhere
|