4265 Commits

Author SHA1 Message Date
Themaister
266d1984ee Fix crash on going fullscreen in D3D9.
Fixes crash when going from minimized to (true) fullscreen.
Adds some more robustness by potentially recreating the whole driver if
::Reset calls fail.
2012-10-31 17:32:48 +01:00
twinaphex
cbcffbb5cf (Android) Get rid of unused width/height/animated in g_android struct 2012-10-31 17:12:45 +01:00
Themaister
291280670d Set shaders on the fly. 2012-10-31 16:28:44 +01:00
Themaister
f3831a5558 Fix second pass D3D9. 2012-10-31 16:28:44 +01:00
twinaphex
0fe3ab8f2d (Android) Input - get rid of android_input_state_t struct - only
use a single uint64 array now for state
2012-10-31 16:18:58 +01:00
twinaphex
ff599ac392 (Android) Change input process conditional to 'event' -also disable
PERF_TEST for regular usage
2012-10-31 16:04:40 +01:00
twinaphex
035713f124 (Android) performance counter for engine_handle_input 2012-10-31 15:18:47 +01:00
twinaphex
12f5434f3e (Android) use ALooper_pollOnce instead of ALooper_pollAll 2012-10-31 15:16:16 +01:00
twinaphex
94ccdd627b (Android) Input - now handles volume up/down and back buttons 2012-10-31 06:56:14 +01:00
twinaphex
0aa08c3b46 (Android) Input optimizations - this function has heavy overhead
depending on how many times you press buttons / input event activity
2012-10-31 04:01:17 +01:00
twinaphex
49cff6a46a (Android) Input - another cleanup 2012-10-31 01:59:15 +01:00
twinaphex
666e2910b3 (Android) Input - Small cleanups 2012-10-31 01:38:34 +01:00
twinaphex
e426087ebc (Android) Input rewrite - should now be faster and support more
keycodes - keyboard keys are hooked up too for control with keyboard
2012-10-31 01:25:24 +01:00
Themaister
3f359cc362 Add support for second pass D3D9 Cg (untested). 2012-10-31 01:12:18 +01:00
Themaister
b8abbf8131 Style nits. 2012-10-31 00:40:02 +01:00
Hans-Kristian Arntzen
60b8be65c2 Merge pull request #57 from OV2/master
D3D fullscreen stuff, resize
2012-10-30 16:34:14 -07:00
OV2
17b747d912 win32: fix for "current monitor" setting 2012-10-31 00:07:13 +01:00
OV2
69193e8b65 win32: regular fullscreen with multimon support, window resizing 2012-10-31 00:03:57 +01:00
Themaister
50d6080af5 Print more sensible output for SNR. 2012-10-31 00:03:15 +01:00
Themaister
ff9167f56b Remove obsolete fixed-point test. 2012-10-30 23:54:30 +01:00
OV2
23dffd6877 win32: state_tracker and image do not require HAVE_XML 2012-10-30 23:47:21 +01:00
Themaister
434089c0ac Fix indent. 2012-10-30 23:47:14 +01:00
twinaphex
1902763f67 Performance counters for audio 2012-10-30 23:46:01 +01:00
Themaister
a01c5dec69 Avoid some casting derp. 2012-10-30 23:44:36 +01:00
Themaister
fbfbf1ed6a Log performance counters at the end. 2012-10-30 23:28:54 +01:00
Themaister
a1f40f6009 Remove redundant makefile for android.
It's built from android/.
2012-10-30 22:33:23 +01:00
Themaister
dc4eaea7b4 Fix build derp. 2012-10-30 22:02:15 +01:00
twinaphex
253741ccf5 (Android) Apply the same performance optimizations for RARCH_CONSOLE
to Android - call this compile-time option 'RARCH_PERFORMANCE_MODE'
2012-10-30 20:31:34 +01:00
twinaphex
eb17f80cfa (Android) Don't do FPS reporting - might be more costly than it's worth
for regular usage
2012-10-30 20:17:30 +01:00
twinaphex
670289839f (Android/OpenSL) Improved latency - still not good enough though 2012-10-30 17:33:33 +01:00
twinaphex
50bc08aa7b (Android) Improved performance - avoid logging like the plague
apparently
2012-10-30 17:16:57 +01:00
Themaister
85b6437fdf Add multi-monitor to D3D9.
Untested as I don't have multiple monitors.
Refactored slightly in WGL to make the code more uniform.
The multi-monitor support should probably be refactored to w32_common or
something similar.
2012-10-30 11:49:40 +01:00
twinaphex
b204b55386 (Android) Remove unnecessary animating conditional block in gfx_ctx_check_window 2012-10-30 06:36:38 +01:00
twinaphex
1ff6175bd2 (Android) Move polling for events into Android input driver instead
of EGL context check_window function
2012-10-30 06:20:49 +01:00
twinaphex
c2f49f1c53 (Android) Input control improvements 2012-10-30 05:57:12 +01:00
twinaphex
fb25f31598 (Android/OpenSL) Bigger audio buffers - bigger latency/longer
delay in audio, but no audio breakup - also applied -O3 and -funroll-loops
for Android Makefile - seems to help
2012-10-30 05:25:14 +01:00
twinaphex
033e94acfd (Android) Force audio input control rate in OpenSL ES driver 2012-10-30 03:50:18 +01:00
twinaphex
492bbc7d78 (OpenSL) Fix derp 2012-10-30 00:48:16 +01:00
Themaister
16d67a43cd Add rate-control interfaces to SL. 2012-10-30 00:40:05 +01:00
Themaister
d9a903b293 Revert "Might improve audio performance in SL."
This broke stuff.
2012-10-30 00:37:00 +01:00
Themaister
5812a5e445 Might improve audio performance in SL. 2012-10-30 00:20:32 +01:00
twinaphex
6e79dd6046 (OpenSL) Fixed fall-through in sl_init 2012-10-30 00:05:24 +01:00
twinaphex
dccfb80010 (OpenSL) compiles now 2012-10-30 00:01:47 +01:00
Themaister
1554f8ce2d Rewrite OpenSL driver (untested).
Use openal-soft-android as a starting point.
2012-10-29 23:55:36 +01:00
twinaphex
8123cb1013 (Android) Add alternate control layouts - will need to switch
between these with a button combo
2012-10-29 22:06:56 +01:00
twinaphex
6424513df8 (Android) Input - use custom binds 2012-10-29 14:45:25 +01:00
twinaphex
45142ed3d2 (Android) Get rid of do_pollblock - unnecessary now 2012-10-29 13:34:03 +01:00
twinaphex
c2557e0d4f (Android) Input experiment 2012-10-29 05:09:10 +01:00
twinaphex
db15975315 (Android) Small changes 2012-10-29 04:58:15 +01:00
twinaphex
2da102a13f (Android) Add native activity glue code 2012-10-29 02:34:27 +01:00