android: lcd_update/_rect() changes
commit901521d6de795fe12a6f720cb158950c0d3d51d4
authorThomas Martitz <kugel@rockbox.org>
Thu, 22 Mar 2012 22:00:53 +0000 (22 23:00 +0100)
committerThomas Martitz <kugel@rockbox.org>
Thu, 22 Mar 2012 22:26:50 +0000 (22 23:26 +0100)
treeac7c7f0753e3ea2b6ae12a5fc150cbf2c921f1a1
parent6e6f0c6ef35cebc2ca199ca01f12598ad0209c1c
android: lcd_update/_rect() changes

* rename some java methods (to update(), initialize())
* re-create the ByteBuffer object from the framebuffer on every update.
  This is needed now since 2c71aa9 added the possiblity for lcd_framebuffer to change.
* do so, along with the creation of the dirty Rect object, in native code.

Change-Id: Id39ea8e4b6148987c5f216a87e0ff3c8e7babe92
android/src/org/rockbox/RockboxFramebuffer.java
firmware/target/hosted/android/lcd-android.c