Eugene Sandulenko
49210a803a
Merge pull request #331 from sev-/gsoc2012-eventsrecorder
...
GSoC2012: Event Recorder (reworked)
2013-07-04 04:58:54 -07:00
Eugene Sandulenko
f59512c47e
RECORDER: Implement Events Recorder
2013-05-17 00:18:09 +03:00
Alyssa Milburn
8d488f9f70
ANDROID: Force htc_fail for all Android devices, for now.
2013-05-16 12:57:21 +02:00
Matthew Hoops
b2f5721e58
COMMON: Add tm_wday to our TimeDate struct
...
Did not adapt bada or ps2 backends as I'm not sure how they should be handled
2012-06-09 20:21:48 -04:00
Alyssa Milburn
4763b2c51b
ANDROID: Add faked input delay.
...
This adds an artificial delay for mouse up events to make engines
like Gob work, similar to the iPhone fix in b3062b5e
.
2012-02-03 12:36:03 +01:00
Alyssa Milburn
c382c0c195
ANDROID: Delete _timerManager in OSystem_Android's destructor.
...
If we leave it for OSystem, the DefaultTimerManager destructor tries
constructing a StackLock which, predictably, calls a pure virtual
function, because OSystem_Android's destructor is finished.
2011-10-21 14:28:02 +02:00
Christoph Mallon
23a0f5318c
JANITORIAL: Remove trailing empty lines.
2011-08-07 13:53:33 +02:00
Alyssa Milburn
0d025153e0
ANDROID: Fix kFeatureCursorPalette.
2011-06-18 10:30:21 +02:00
Max Horn
fce7f90a94
BACKENDS: Shuffle backends class hierarchy and module initialization
2011-06-08 14:29:22 +02:00
Max Horn
896e7e23b4
ANDROID: Use OSystem's 'slots' for timer/savefile manager & fsfactory
2011-06-07 14:57:56 +02:00
Max Horn
afb06b51cc
BACKENDS: Unify AudioCD manager instantiation
2011-06-06 15:02:33 +02:00
Alyssa Milburn
6842227ac2
COMMON: Add kInfo LogMessageType.
2011-06-06 12:26:01 +02:00
Max Horn
ce32745d9c
BACKENDS: Replace OSystem::disableCursorPalette by setFeatureState calls
2011-06-04 11:55:56 +02:00
Max Horn
91b889e2d3
COMMON: Rename kFeatureCursorHasPalette -> kFeatureCursorPalette
2011-06-04 11:55:56 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Max Horn
a50c36d138
ANDROID: Fix various forbidden symbol clashes
2011-05-03 14:29:01 +02:00
Max Horn
3d4e9fe674
BACKENDS: Allow various files to use stuff from time.h
2011-05-03 11:27:44 +02:00
dhewg
8feac89bc7
ANDROID: Fix compilation some more
2011-04-28 20:02:01 +02:00
dhewg
a565e63c48
ANDROID: Add multitouch support
2011-04-06 18:27:15 +02:00
dhewg
811b1fcc2a
ANDROID: Use the manufacturer string for workarounds
...
Some fingerprints don't contain it, so this should be more reliable.
2011-04-05 19:10:35 +02:00
dhewg
507bff8233
ANDROID: Log device manufacturer, model and brand
2011-04-05 19:06:59 +02:00
dhewg
ea253ff26d
ANDROID: Use a faked paletted texture for CLUT cursors
...
Same change as for the game screen, reduces CPU usage a little
2011-04-05 15:07:07 +02:00
dhewg
bceab2656b
ANDROID: Attempt at working around some HTC fail
2011-04-02 13:32:03 +02:00
dhewg
5f96dc6867
ANDROID: Fix timer frequency to match SDL
2011-03-22 21:02:42 +01:00
dhewg
0d9a852f46
ANDROID: Implement OSystem::getSystemLanguage()
2011-03-19 12:36:27 +01:00
dhewg
69e271225f
ANDROID: Log some system properties
2011-03-19 12:17:43 +01:00
dhewg
0eb5352290
ANDROID: Increase default touchpad mode scale
...
aka my display is bigger than yours
2011-03-17 21:01:49 +01:00
dhewg
8953581ec9
ANDROID: Ignore the slop area on all touch scrolls
...
Prevents initial cursor jumps
2011-03-17 21:01:49 +01:00
dhewg
82bcddf8da
ANDROID: Init vars to match with the defaults
...
The feature flags are set too late, so lets fix that here
2011-03-17 19:35:58 +01:00
dhewg
adef4c3f42
ANDROID: Input system overhaul
...
Rewritten input system with many new feature.
Fixed related bugs and shortcomings on the way.
2011-03-16 20:54:49 +01:00
dhewg
6e4af65be1
ANDROID: Add missing cases to getFeatureState()
2011-03-15 00:06:00 +01:00
dhewg
7b850c18c7
ANDROID: Cleanup
2011-03-15 00:05:59 +01:00
dhewg
9e7ee4953e
ANDROID: Halve the audio buffer size
...
Also, run into the blocking audio write without sleep. This hopefully
fixes audio hickups on slow devices.
2011-03-14 20:26:35 +01:00
dhewg
e1575e57f8
ANDROID: Extend clearScreen to take care of all cases
...
Hopefully that'll help me to not forget about the double buffering.
This fixes some gfx leftovers when not running games in fullscreen
mode.
2011-03-14 19:35:35 +01:00
dhewg
57635fe75c
ANDROID: Update screen rects on surface changes
...
Fixes regression introduced with 4267011e
2011-03-14 19:35:35 +01:00
dhewg
4b6e5e7b06
ANDROID: Clip mouse coordinates
2011-03-13 23:45:52 +01:00
dhewg
f82121d2a2
ANDROID: Don't merge mouse move events
...
Breaks more than it solves
2011-03-13 23:31:07 +01:00
dhewg
df9167c6b3
ANDROID: Add graphics mode for linear filtering
2011-03-13 23:30:17 +01:00
dhewg
2dd669d808
ANDROID: Remove leftover TODO
...
Resolved with a93229c
and 2721e28
2011-03-13 23:30:17 +01:00
dhewg
79d991081d
ANDROID: Add support for video feature flags
...
kFeatureFullscreenMode and kFeatureAspectRatioCorrection are supported
now. The former prevents scaling to the full display - it scales one
axis and keeps the game AR.
2011-03-13 23:30:16 +01:00
dhewg
787b27a4b1
ANDROID: Add missing updateScreen() calls
2011-03-13 16:50:48 +01:00
dhewg
2721e287e5
ANDROID: Buffer 16bit texture contents
...
Same issue as in the last commit: glTexSubImage2D is slow, so cache
all copyRect*() calls in a buffer, and update the dirty rect once
when drawing. Reduces CPU usage on 16bit games significantly.
Also, lockScreen() returns now pixel data for non-CLUT8 games instead
of asserting.
2011-03-13 16:50:47 +01:00
dhewg
a93229cae5
ANDROID: Don't use compressed textures for the game screen
...
Some GLES drivers suck so much that uploading data to the GPU takes
ages. CLUT8 games now use a faked paletted texture, which internally
uses a RGB565 hardware texture (Android's native pixel format).
This seems to be the only way to efficiently implement constant
changing textures with GLES1 - at the cost of extra buffers.
Then again, we can now use glTexSubImage2D to only update the dirty
rects, which wasn't possible before because glCompressedTexSubImage2D
is only usable on GLES2. This commit does exactly that.
Overall, the CPU usage is massively reduced for CLUT8 games.
2011-03-13 16:50:43 +01:00
dhewg
0cdaff65c1
ANDROID: Use 16bit pixel formats on CLUT8 textures
...
This reduces the CPU usage on 640x480 games by ~5% on my droid when
reuploading the textures to the GPU
2011-03-12 09:36:23 +01:00
dhewg
e71fb5b0eb
ANDROID: Move the overlay initialization
...
There's no point in doing that in initSize() every time
2011-03-07 23:42:20 +01:00
dhewg
94db3403a3
ANDROID: Add initial 16bit gfx support
...
Supported pixel formats: 565, 5551, 4444
Missing: 555 (doesn't exist on GLES)
2011-03-05 18:47:05 +01:00
dhewg
68378150be
ANDROID: Remove some vtable overhead on textures
2011-03-05 11:00:36 +01:00
dhewg
7157454e9b
ANDROID: Implement surface resizes
...
Split surface code into helper functions to avoid code duplication, and
distinguish between screen resizes and surface recreation. The former
happens when toggling the softkeyb, where we just have to reset the
viewport. Fixes garbled textures in those cases.
2011-03-03 21:29:15 +01:00
dhewg
a7a7542d1d
ANDROID: Remove an indirection when pausing
2011-03-03 20:47:27 +01:00
dhewg
1e3c96b3ef
ANDROID: Formatting/whitespaces
2011-03-03 20:46:49 +01:00