Commit graph

28 commits

Author SHA1 Message Date
dhewg
f80d993860 ANDROID: Wrap JNI code in a class 2011-02-24 23:18:32 +01:00
dhewg
c4706733d4 ANDROID: Move the global back reference to jni.cpp 2011-02-24 23:18:32 +01:00
dhewg
257913676d ANDROID: Split code into multiple files
And get rid of unnecessary JNI calls to get a pointer to g_system
2011-02-24 23:18:31 +01:00
dhewg
90fa5087dc ANDROID: Fix cursor scaling 2011-02-19 23:25:05 +01:00
dhewg
6c123974c0 ANDROID: Fix cursor when hotspot coords > 0 2011-02-19 23:24:59 +01:00
Johannes Schickel
e21d6e0d11 Merge branch 'osystem-palette' of https://github.com/lordhoto/scummvm into master
Conflicts:
	backends/platform/android/android.cpp
	engines/sci/graphics/screen.cpp
	engines/sci/graphics/transitions.cpp
2011-02-19 21:46:45 +01:00
dhewg
adf2225eb4 ANDROID: Move helper defines in a new header file
- added a few macros for convinience
- use them
- replaced CHECK_GL_ERROR with GLCALL
- spam GLCALL
2011-02-19 20:15:51 +01:00
dhewg
feb0efe767 ANDROID: Formatting 2011-02-19 20:15:50 +01:00
dhewg
84e632cc9d ANDROID: Formatting
maybe now?
2011-02-18 21:38:26 +01:00
dhewg
106253b8b9 ANDROID: Formatting
and hoping for buildbot to pick up the toolchain now
2011-02-18 21:32:37 +01:00
dhewg
ad94ac343a ANDROID: Adapt to [set|grab]Palette RGBA->RGB change. 2011-02-14 20:26:35 +01:00
dhewg
2586e15e4e ANDROID: Fix JNI calls for the timer thread
JNI calls can happen through the timer mechanism (hence from another
thread). Attach the timer thread to the VM to prevent assert()s
2011-02-14 18:58:56 +01:00
dhewg
ea2cfc44c0 ANDROID: Fix assert() to log output
add bionic replacement __assert2(), so we actually see what's happening
2011-02-14 18:58:56 +01:00
dhewg
bf237c8d2c ANDROID: Unify log prefix
adb logcat ScummVM:\* \*:S
2011-02-14 18:58:56 +01:00
dhewg
8de5edde95 ANDROID: Protect port files with our define
get rid of -DANDROID and -DANDROID_BACKEND
2011-02-14 18:58:55 +01:00
Max Horn
42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Max Horn
ab039812e7 COMMON: OSystem now has a PaletteManager
svn-id: r55806
2011-02-07 17:52:38 +00:00
Johannes Schickel
e1030e53a5 BACKENDS: Implement logging API proposed by Max on -devel.
This commits a slightly modified patch from my patch tracker item #3104630
"OSYSTEM: Add logging API as proposed by Max on -devel".

I was not able to test compilation on Android and SamsungTV, since there is no
toolchain for those on buildbot (or I was too blind to find them).

svn-id: r54339
2010-11-18 19:12:14 +00:00
Angus Lees
2bf64b1050 ANDROID: Force extra screen update when updating overlay.
This appears to work around a blank screen bug Nexus1.  I never
tracked it down, but as far as I can tell it is triggered by multiple
overlapping updates before flushing the texture to screen.  This
condition only happens in the overlay atm so an extra redraw isn't the
end of the world.

(Also remove an unused _full_screen_dirty property)

svn-id: r53801
2010-10-25 07:27:05 +00:00
Jordi Vilalta Prat
8388e0dfea JANITORAL: Clean trailing whitespaces.
svn-id: r53160
2010-10-12 02:18:11 +00:00
Torbjörn Andersson
c91a07229a JANITORIAL: Removed most punctuation at end of warning() and error()
Our warning() and error() functions always add an exclamation mark
to the end of the message anyway.

svn-id: r52791
2010-09-18 10:55:16 +00:00
Angus Lees
330e94feed Drop direct use of (private) libEGL.so and call EGL functions via Java.
This removes the final private library - we should be completely above
board now.

svn-id: r50677
2010-07-05 13:06:58 +00:00
Angus Lees
580c9032f0 Add support for setFocusRectangle - enabled on 'small' Android screens.
svn-id: r49594
2010-06-11 10:54:49 +00:00
Angus Lees
f6b02e9986 Whitespace fixup in last submit. I'll get the hang of this eventually :/
svn-id: r49507
2010-06-08 13:27:46 +00:00
Angus Lees
d72ae64e34 Provide a replacement for bionic's __assert().
The usual Android version doesn't actually print the assert message
before aborting.

svn-id: r49506
2010-06-08 13:25:00 +00:00
Angus Lees
ec524e3705 Remove obsolete ANDROID_VERSION_GE macro
svn-id: r49505
2010-06-08 13:23:08 +00:00
Max Horn
4667907b5c whitespace corrections
svn-id: r49453
2010-06-06 13:35:08 +00:00
Max Horn
46155b2c36 Add Android backend from patch #2603856
svn-id: r49449
2010-06-06 09:34:36 +00:00