summaryrefslogtreecommitdiff
path: root/touch/source/android
AgeCommit message (Collapse)Author
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2012-06-18ByteBufferWrapper tweaksTor Lillqvist
operator() gets called in a Java GC thread. A JNIEnv* saved in the constructor (which is called from the UI thread) is not valid in other threads (although for now, Dalvik notices, warns, and works around it). So don't bother keeping the JNIEnv*. Instead fetch one when needed. Move the method implementations from inline in the header to libotouch's android.cxx. Change-Id: I7de6fc54bb8d9a59146576d6e8c325fe917393ee
2012-06-12Add Android-specific sal/ByteBufferWrapper.hxx headerTor Lillqvist
Used for impedance matching between Java's direct ByteBuffer and the boost::shared_array used by basebmp. Not sure yet how well this will actually work. I'm afraid leaks might be possible in exception throwing cases. Change-Id: I74fc57aaf46b2dd9f227043bd9045d4815a5ed40