Commit graph

5 commits

Author SHA1 Message Date
Michael Meeks
fdda178d88 targetted improvement of UNO API includes / usage 2012-07-02 14:43:34 +01:00
Tor Lillqvist
8dd75128a5 ByteBufferWrapper tweaks
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-18 22:38:30 +03:00
Tor Lillqvist
f44530f1a0 udkapi and offapi are not "internal"
Change-Id: Id06783a999707ced3fe860fe23a6c48ccc40d9c4
2012-06-12 13:50:47 +03:00
Tor Lillqvist
4e4dcdae48 Add Android-specific sal/ByteBufferWrapper.hxx header
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
2012-06-12 13:50:45 +03:00
Tor Lillqvist
92f23297c9 Work in progress: Add "touch" module for Android and iOS stuff
Change-Id: I10652743194d44d8465ddf8079f6b4458e6710f9
2012-06-05 17:17:41 +03:00