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
Themaister
ae07e75e7c
Hook up sensors API in libretro.
...
There are still many FIXMEs to be resolved before the interface
can lose its experimental status.
2013-11-03 12:06:14 +01:00
twinaphex
c0e02d3957
(Android/General) Add preliminary sensor support to libretro API /
...
add accelerometer support to Android input driver
2013-11-03 00:27:58 +01:00
Themaister
df4d0eb0cf
Add RETRO_ENVIRONMENT_GET_INPUT_DEVICE_CAPABILITIES.
2013-11-02 21:40:31 +01:00
Themaister
1c5a11c900
Freeze GET_RUMBLE_INTERFACE.
...
Interface should be good to go now.
2013-09-26 15:15:31 +02:00
Themaister
c7db4aff64
Support variable strength for rumble motors.
2013-09-26 12:55:05 +02:00
Themaister
a01ef18f80
Add RETRO_ENVIRONMENT_GET_RUMBLE_INTERFACE.
2013-09-25 23:21:32 +02:00
Themaister
38ec55573c
Rework SET_AUDIO_CALLBACK.
...
When disabling audio and/or muting, the core has no way
of knowing this, causing potential issues in a threaded mixer.
This environ is not used by any public core to my knowledge so the old
API has been removed and replaced with a change to environment number
(20 -> 22).
2013-09-14 17:28:09 +02:00
Themaister
32cae444a0
Fixup new private extensions.
...
Moved private stuff to libretro_private.h.
Dropped use of retro_variable (redundant and wrong type).
Didn't understand difference between EXEC_LOAD and EXEC_RELOAD at all.
Only one was used anyways ...
2013-08-25 11:10:32 +02:00
twinaphex
edfab9630a
Add RETRO_ENVIRONMENT_EXEC - refactor some stuff internally in
...
libretro frontend to implement this new functionality
2013-08-25 01:37:15 +02:00
twinaphex
b26fcfb4a6
Libretro header - Typo - aquire -> acquire
2013-08-24 22:59:29 +02:00
twinaphex
08ae8226eb
Update libretro header
2013-08-24 22:56:34 +02:00
twinaphex
7c81f554af
Add RETRO_ENVIRONMENT_SET_LIBRETRO_PATH to libretro API. Also gives us opportunity
...
to write internal code - other libretro implementations can now just implement
this environ callback and have other external frontends of their own be able to swap
in/out libretro cores from outside
2013-08-24 22:35:54 +02:00
Themaister
4d8e9df03d
Add forced debug context support to WGL.
2013-08-14 14:13:28 +02:00
Themaister
6a82db13d5
Fixups for frame time callback.
2013-08-11 01:05:33 +02:00
Themaister
f4a23115c2
Begin adding AUDIO_CALLBACK/FRAME_TIME_CALLBACK.
2013-08-11 01:05:33 +02:00
Themaister
335c32d95d
Support creating debug contexts.
2013-08-11 00:56:53 +02:00
Themaister
3dd5cd39c4
Add cache_context/destroy notification.
2013-08-11 00:55:05 +02:00
Themaister
6df083fc0f
Add support for bottom-left origin in libretro GL.
2013-08-11 00:53:46 +02:00
Themaister
b9fce188ea
Initial work on core GL context support.
2013-08-11 00:50:04 +02:00
Themaister
b7fa652b1e
Add RETRO_ENVIRONMENT_GET_LIBRETRO_PATH.
...
Vital for cores which do not load a ROM, but still want to load assets
somehow. Demos and the like ...
2013-07-07 13:24:08 +02:00
Themaister
013a2cdb8d
Clarify that the license only applies to libretro.h.
2013-05-28 00:21:57 +02:00
Themaister
20aed80b86
Add MIT license to libretro header.
...
Has to be one license or it defaults to "all rights reserved".
libretro (the API itself) is open,
and not restricted to a particular license.
2013-05-28 00:13:59 +02:00
Themaister
099a74ed6b
Clarify when SUPPORT_NO_GAME can be called.
2013-05-02 13:38:51 +02:00
Themaister
197c4db204
Add RETRO_ENVIRONMENT_SET_SUPPORT_NO_GAME.
...
Allows libretro core to not require a ROM to be loaded.
Kill stdin ROM loading support (pointless these days).
Replace "no ROM on CLI" behavior to be attempting to load a core with no
ROM.
2013-05-01 00:59:43 +02:00
Themaister
767ad59857
Support disk append.
2013-04-27 15:49:29 +02:00