Commit Graph

72 Commits

Author SHA1 Message Date
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
Themaister 77164d18ca Begin adding core options interface. 2013-04-04 13:58:30 +02:00
Themaister 52edca883e Drop stencil for now in HW render context.
Doesn't seem to work reliably anyways.
2013-04-02 23:29:26 +02:00
Themaister da1eee609e Mark SET_HW_RENDER as experimental more explicitly. 2013-03-30 13:59:21 +01:00
Themaister 063a2e091c Be more explicit about GLES2 or GL context. 2013-03-29 15:26:47 +01:00
Themaister 50af927de6 Add depth/stencil buffers to HW GL. 2013-03-29 02:50:42 +01:00
Themaister 1cececac18 Add get_proc_address.
Render something "real" in GL.
2013-03-28 01:11:32 +01:00
Themaister af40f3e9b8 Add initial GL direct rendering test. 2013-03-27 16:15:15 +01:00
Themaister 1221e3a242 Clarify that it's possible to remove images from the list. 2013-03-09 09:52:24 +01:00
Themaister b4a3ce79bb Add replace/add image interfaces. 2013-03-09 09:44:48 +01:00
Themaister e3dfba2c34 Add preliminary disk swapping interface.
Works with Mednafen's disk swapping model.
2013-02-21 23:44:07 +01:00
Themaister 482fcb1877 Don't use comma at end of enum. 2013-02-19 14:47:09 +01:00
Themaister 2ceb46cd02 Clarify multi-touch functionality for _POINTER. 2012-12-27 23:16:21 +01:00
Themaister 5aed38cf37 Ensure enum size being int. 2012-12-08 12:32:33 +01:00
meancoot be1fdd419b (Key Events) Add modifier flag argument; plus cleanup. 2012-12-07 03:18:18 -05:00
meancoot e60bb1d168 Add RETRO_ENVIRONMENT_SET_KEYBOARD_CALLBACK. An interface for allowing keyboard event data to be sent to the core. 2012-11-25 20:23:31 -05:00
Themaister 1908a81e1c Add RETRO_DEVICE_POINTER.
Implemented only for X11 so far.

Also clears up viewport_size call.
Changed to viewport_info to also grab X/Y info.
2012-10-28 00:38:31 +02:00
Themaister 4abed0b54e Ensure enum sizes in libretro header. 2012-10-22 21:06:22 +02:00
Themaister 93078889cc Begin reworking RGB565 as default pixel format. 2012-10-20 01:12:02 +02:00
Themaister 066e13f647 Remove references to RetroArch in libretro.h. 2012-09-23 01:46:21 +02:00
Themaister 8981dd6c6b Add RETRO_ENVIRONMENT_SET_INPUT_DESCRIPTORS. 2012-09-09 23:35:23 +02:00
Themaister 4a136205bc Add clarification on retro_get_system_av_info(). 2012-09-04 23:40:57 +02:00
Themaister 22e43d4d84 Fix typo. 2012-09-02 10:10:34 +02:00
Themaister 7372509bef Revert "(Libretro) Add nonblock_state"
This reverts commit 211381bb89.
2012-08-15 19:52:48 +02:00
Twinaphex 84de4f23e6 (Libretro) Correction to RETRO_ENVIRONMENT_SET_PERFORMANCE_LEVEL
description - level 0 and 1 were described incorrectly
2012-08-15 10:03:00 +02:00
Twinaphex 211381bb89 (Libretro) Add nonblock_state 2012-08-15 09:44:17 +02:00