Commit Graph

122 Commits

Author SHA1 Message Date
Themaister
72ad4d937e More verbose logging of subsystems. 2014-04-04 16:02:53 +02:00
Themaister
c81de5119d Initial take on subsystems support. 2014-04-04 14:58:42 +02:00
Themaister
0c57a1726b Add GET_PROC_ADDRESS interface.
Will come in handy later.
2014-03-22 12:34:30 +01:00
twinaphex
488e6b6f0b (GX) Add RETRO_SIMD_PS (Paired single) to performance.c/libretro.h 2014-03-08 05:00:52 +01:00
Themaister
60b1b8523d Add test case for SET_SYSTEM_AV_INFO in libretro-test/. 2014-02-20 23:05:56 +01:00
Themaister
21c383f77a Add initial SET_SYSTEM_AV_INFO environ. 2014-02-20 22:48:31 +01:00
twinaphex
83433bea4b (PSP) Add RETRO_SIMD_VFPU 2014-02-16 17:32:54 +01:00
Themaister
67724c3413 Add detection of more SIMD instruction sets. 2014-02-16 16:28:19 +01:00
Themaister
e1ada80cc9 Remove redundant ifdef check. 2014-02-11 20:45:59 +01:00
twinaphex
c9e6598603 Expand boolean.h 2014-02-11 07:52:10 +01:00
Themaister
c9854deeec Update libretro.h docs. Fix conditional string check. 2014-02-07 09:32:15 +01:00
AndresSM
0428b44e94 Add RETRO_ENVIRONMENT_GET_SAVE_DIRECTORY 2014-02-07 01:56:41 -05:00
Themaister
22bcb8aeab Clarify SET_MESSAGE. 2014-02-07 00:31:56 +01:00
Themaister
1082e1d74f Rename RETRO_DEVICE_ID_SENSOR* stuff.
It's no longer polled from input_state, so avoid confusion.
2014-01-20 17:16:25 +01:00
Themaister
689aecfec4 Remove RETRO_DEVICE_SENSOR_ACCELROMETER.
Goes through other interface now.
2014-01-20 17:07:13 +01:00
twinaphex
f7915ab55e Change param for get_sensor_input 2014-01-20 14:59:06 +01:00
twinaphex
460670f074 Move sensor value reading to retro_sensor_interface 2014-01-20 14:52:53 +01:00
twinaphex
0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
twinaphex
831f708ede performance.c - detect MMX too 2013-12-25 21:34:40 +01:00
twinaphex
204113e389 Add environ callback to expose 'Content Directory' path to core -
and refactor g_settings.rgui_browser_directory
2013-12-25 02:31:35 +01:00
Themaister
44beafcfcb Fix typo. 2013-12-20 12:32:48 +01:00
Themaister
188a233ec8 Add lifetime status callbacks to location interface. 2013-12-20 08:44:38 +01:00
twinaphex
da6e360e49 (Location) Implement horizontal and vertical accuracy - Android's
location API only provides horizontal API but iOS/OSX API supports
both horizontal and vertical. Maybe consider implementing vertical
accuracy for Android by hand later
2013-12-19 17:36:27 +01:00
twinaphex
f0aa0f99fd (Location) Reimplement some parts of the location interface - get_latitude
and get_longitude are gone now in place of get_position. Basically,
from C land we basically do a poll-style queries, but on the
implementation side (ie. Android/iOS/OSX) - they all use callback-based
location updates. So we simply check in the poll function (get_position)
whether position has changed, and if so, update the pointer values and
return true - if not, set them to 0 and return false.
2013-12-19 15:47:47 +01:00
Themaister
855cb54def Some cleanups to location interface.
Avoid three redundant fields in struct.
Use unsigned instead of int for argument for API consistency.
2013-12-19 10:15:55 +01:00
twinaphex
031a9d05be (Location) Environ GET_LOCATION_INTERFACE should be implemented now 2013-12-19 05:51:25 +01:00
twinaphex
ccd2246331 (Apple) Build fixes 2013-12-19 03:16:13 +01:00
twinaphex
bf5d5cb8a2 (Libretro) Commented out macros RETRO_PERFORMANCE_ can now actually work 2013-12-18 20:10:40 +01:00
Themaister
d1f80a38fc Fix typo. 2013-12-18 19:34:51 +01:00
Themaister
1c9895611b Rework performance interface.
Avoids super-ugly macros and retroarch-ifdefs.
2013-12-18 19:21:56 +01:00
twinaphex
9852c5dc4c Rewrite perf interface - exposes callbacks now for RETRO_PERFORMANCE_INIT/RETRO_PERFORMANCE_START/RETRO_PERFORMANCE_STOP calls without messy, hardcoded preprocessor-dependent variables in macros - will update cores accordingly too 2013-12-18 19:03:08 +01:00
twinaphex
93d1888519 (Libretro.h) Update 2013-12-17 22:10:52 +01:00
twinaphex
a534ebe7a4 (libretro.h) Check first if PERFORMANCE_LOG_ callback functions point
to something before using them
2013-12-17 22:00:35 +01:00
twinaphex
2636d876d2 (Libretro.h) Small cleanup 2013-12-17 21:40:57 +01:00
twinaphex
dd38781d92 Update libretro.h 2013-12-17 21:30:32 +01:00
twinaphex
0ff82ea4f2 (Libretro) Simplify RETRO_PERFORMANCE macros 2013-12-17 21:10:15 +01:00
twinaphex
b984a8d57e (Libretro) Expose perf_register too 2013-12-17 20:25:48 +01:00
twinaphex
166aa29443 (Libretro) Expose perf_log as callback too to libretro 2013-12-17 19:37:33 +01:00
twinaphex
69a67b3df2 Change RARCH_PERFORMANCE_ macro calls to RETRO_PERFORMANCE 2013-12-17 19:14:57 +01:00
twinaphex
38d785984f Add RETRO_ENVIRONMENT_GET_PERF_INTERFACE to libretro.h 2013-12-17 19:10:40 +01:00
Themaister
6031590cd3 Add OPENGLES3 context support in libretro GL. 2013-12-13 14:20:49 +01:00
Themaister
df85b754b8 Clarify keyboard callback. 2013-12-09 14:28:05 +01:00
Themaister
deadbbc906 Add keyboard callback for Windows.
Only tested in Wine, but seems to work fine.
2013-12-09 14:22:46 +01:00
Themaister
e3295e87cd Initial RETRO_ENVIRONMENT_GET_LOG_INTERFACE. 2013-12-09 10:32:12 +01:00
Themaister
271939875a Update libretro camera API.
Need initialized/deinitialized callbacks to properly
handle driver reinit.
2013-11-16 17:54:18 +01:00
Themaister
fee97c961f Fix libretro comment. 2013-11-12 16:09:28 +01:00
Themaister
dfff94e5a0 Rework camera interface.
Hook up a more proper interface for libretro. Still very experimental.
2013-11-12 16:02:26 +01:00
twinaphex
c107b06a76 Add RETRO_ENVIRONMENT_SET_CAMERA_RETRIEVE 2013-11-12 12:00:57 +01:00
ToadKing
e668693e42 revert libretro.h changes 2013-11-06 22:51:10 -05:00
Lioncash
fac2783a09 Optimize some struct sizes.
This is the list of reduced sizes:

file: dsound.c         - struct dsound_t reduced from 56 bytes to 52 bytes.
file: shader_parse.h   - struct gfx_fbo_scale reduced from 32 bytes to 28 bytes.
file: thread_wrapper.c - struct texture reduced from 28 bytes to 24 bytes.
file: libretro.h       - struct retro_hw_render_callback reduced from 40 bytes to 36 bytes.
file: movie.c          - struct bsv_movie reduced from 36 bytes to 32 bytes.
file: netplay.c        - struct delta_frame reduced from 16 bytes to 12 bytes.
file: performance.h    - struct rarch_perf_counter_t reduced from 40 bytes to 32 bytes.
2013-11-03 23:57:41 -05:00