Commit Graph

4384 Commits

Author SHA1 Message Date
Themaister c6b50d2645 Add CPU feature detection for X86. 2012-11-01 22:31:24 +01:00
Themaister 2d5d1295cd Purge overkill perf checks. 2012-11-01 21:36:16 +01:00
twinaphex 34f5d0ceb6 Revert "(OpenSL/Android) Reduce latency by going from 8 to 6 buffers"
This reverts commit 26d6d18a02.
2012-11-01 21:08:04 +01:00
twinaphex 26d6d18a02 (OpenSL/Android) Reduce latency by going from 8 to 6 buffers 2012-11-01 20:21:07 +01:00
twinaphex 137ca5cefe (Linux) Try to log processor features 2012-11-01 07:57:39 +01:00
twinaphex b0e4ca599c (PC/Linux) performance_android.c works for PC Linux too - refactor as
performance_linux and compile it in for Linux build (but don't yet use it)
2012-11-01 07:41:36 +01:00
twinaphex 85f6ddc4ae (Android) We'll be able to tell now at runtime whether or not
a CPU has specific features (such as NEON, hard float, SSE, etc.).
Will refactor this later and add getters/setters
2012-11-01 07:15:01 +01:00
twinaphex cec29788bc (MSVC 2010) Add solution 2012-11-01 06:22:10 +01:00
twinaphex b240cfbc7e (RARCH_PERF) Rename benchmark.c to perforance.c
(MSVC2010) Rename incorrectly named MSVC2012 solution which was
really an MSVC 2010 solution
2012-11-01 06:21:18 +01:00
twinaphex 3837a503b7 (Android) Reimplement native glue code 2012-11-01 05:48:46 +01:00
Hans-Kristian Arntzen 01399a2295 Merge pull request #58 from OV2/master
wgl fix for preferred monitor!=main monitor and width=height=0 in regular fs
2012-10-31 14:35:37 -07:00
twinaphex a4d1305838 (Android) Some native glue code optimizations 2012-10-31 22:22:29 +01:00
Toad King bc392a7379 default to GL core on VideoCore
performance issues were fixed a while ago so this should be a safe default now.
2012-10-31 17:12:02 -04:00
OV2 eaa637aa4b win32: report correct monitor size for regular fullscreen in wgl 2012-10-31 21:36:17 +01:00
twinaphex a2ea556be5 (Android) Call process_cmd and process_input directly - try to get
rid of all these poll callbacks
2012-10-31 19:22:34 +01:00
twinaphex 5240f2d9f1 (Android) native glue code - fix indenting and remove savestate
leftovers
2012-10-31 18:52:43 +01:00
twinaphex 4d99d93df0 (Android) remove Android save state for now - unused and will
probably reimplement it later
2012-10-31 18:10:38 +01:00
twinaphex c0b8f28484 (Android) Also remove this - accelerometer-related 2012-10-31 17:33:58 +01:00
twinaphex cd92520983 (Android) Don't poll accelerometer - no use yet and in case we
want to support something like GBA WarioWare Twisted stuff, we
will have to add motion support to libretro anyway - so can be
shelved for now
2012-10-31 17:33:08 +01:00
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