Commit Graph
20 Commits
Author SHA1 Message Date
Angus Lees a0a9de42e1 ANDROID: Add --disable-timidity to the recommended flags
svn-id: r53809
2010-10-25 08:51:10 +00:00
Angus Lees 3bd60b09c1 ANDROID: Don't trust eglChooseConfig and refilter/sort results manually
It seems some Android versions and devices (eg Droid) don't implement
eglChooseConfig according to spec and the first result isn't the best
choice.  Implement our own filtering / scoring to workaround this.

svn-id: r53808
2010-10-25 08:50:16 +00:00
Angus Lees 7d0598d810 ANDROID: Provide an alternate partial texture update for stride != width
The new one copies into a temp buffer and only does one
glTexSubImage2D.  I'm led to believe that this is faster on some
devices (but slower on others).  Disabled for now, but someone might
want to try both versions on their slow device.

Also manually set glColor before calling DrawTexiOES, following
mention of a bug in a discussion I stumbled across.  DrawTexiOES-use
is disabled for now, so this is a noop.

svn-id: r53803
2010-10-25 07:35:40 +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
Max Horn d22ebd358d BUILD: Unify how MODULE_DIRS is computed for backends
This should help avoid situations where MODULE_DIRS is not set to a
complete list of build dirs (which causes troubles with the automatic
header dependency detection logic).

On the long run, we should replace the relevant code by a macro or also
use rules.mk for this (with yet another if/else case add to it).

svn-id: r51467
2010-07-29 13:03:21 +00:00
Angus Lees d508ba6766 Remove Android themeengine patch - an improved version is now part of
the main ScummVM codebase thanks to fingolfin :)

svn-id: r51362
2010-07-27 11:16:44 +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 b8778fc7c3 Switch Android toolchain prefix from arm-android-eabi to
arm-*-linux-androideabi, since this is what the upcoming gcc-4.6
change uses.
Work around Android 2.0 and newer dynamic linker bug by explicitly
linking plugins against the core libscummvm.so.
Mark Android packages as preferring to be on external storage.
Move -lm from LDFLAGS to LIBS.

svn-id: r50665
2010-07-05 01:00:59 +00:00
Angus Lees a3a1499444 Replace some code with constructs that work on Android pre-1.6.
Add a boolean for disabling the "no plugins found" warning.

svn-id: r50494
2010-06-29 12:56:22 +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 d44efa817f Fix dirty tracking in paletted textures.
svn-id: r49552
2010-06-09 21:31:48 +00:00
Angus Lees d8050029f9 Improve build instructions to include themeengine patch and
scummmodern.zip compression.

svn-id: r49551
2010-06-09 21:30:06 +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
Angus Lees fb73cef4d9 Add a few files mistakenly left out of initial Android patch :(
svn-id: r49502
2010-06-08 13:15:15 +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