twinaphex
0a15a17d44
Update years on all license headers
2014-01-01 01:50:59 +01:00
twinaphex
17af6a0465
(D3D) Rename video_d3d9 to video_d3d
2014-01-01 01:09:31 +01:00
Themaister
65aafdc2f4
Fix warning.
2013-12-24 23:38:25 +01:00
Themaister
8a81ee856c
Some Win32 fixes.
2013-12-24 14:10:18 +01:00
Toad King
ccc797cadb
don't reset keybinds on driver init
2013-12-23 20:05:09 -05: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
2f1327bf3e
(Apple)location driver is baked in now for OSX too
2013-12-19 17:10:03 +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
e983aa4c35
(Location) Implement stub Android location driver - will still need
...
a couple of functions filled in
2013-12-19 03:37:26 +01:00
twinaphex
ccd2246331
(Apple) Build fixes
2013-12-19 03:16:13 +01:00
twinaphex
dfe42f4026
(Location) Add g_extern.system handle to retro_location_callback
2013-12-19 02:54:46 +01:00
twinaphex
f29d590973
(Apple) Add location driver for Apple to location_drivers array
2013-12-19 02:41:48 +01:00
twinaphex
5f33a6b373
(Apple) Implement HAVE_LOCATION for OSX/iOS
2013-12-19 02:39:38 +01:00
twinaphex
742f85eafc
Add HAVE_LOCATION - still need to write frontend drivers now for
...
location
2013-12-19 01:51:51 +01:00
twinaphex
38d785984f
Add RETRO_ENVIRONMENT_GET_PERF_INTERFACE to libretro.h
2013-12-17 19:10:40 +01:00
Themaister
c21310b261
Start adding udev input driver.
2013-12-07 14:13:40 +01:00
twinaphex
cc7cda7252
(iOS) Skeleton camera driver
2013-12-01 14:41:18 +01:00
twinaphex
de1bae69c9
(Android) Add skeleton camera driver
2013-11-17 19:47:37 +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
Squarepusher
4ab77e8405
Merge pull request #385 from libretro/webcam-test
...
Emscripten webcam driver
2013-11-13 01:25:19 -08:00
ToadKing
aaff8f2648
move prototype camera interface to libretro interface - GL texture only for now
2013-11-12 19:48:36 -05:00
twinaphex
aec049c803
(OSK) Refactor - (Onscreen Keyboard) - PS3-only backend for now -
...
I will make an overlay-based backend soon too for all other platforms
2013-11-13 00:27:31 +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
6a9bc1bfa4
(Menu) Show camera driver inside 'Drivers' category
2013-11-11 15:39:46 +01:00
twinaphex
f8d44c6e60
(Camera) Add camera driver init/deinit when HAVE_CAMERA is defined
2013-11-11 14:26:57 +01: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
Themaister
970c973540
global_uninit_drivers() should come after main deinit.
...
Actually free video driver in global_uninit.
2013-11-03 10:42:05 +01:00
twinaphex
aabbf835fc
global_init_drivers - remove obsolete comment
2013-11-02 05:30:05 +01:00
twinaphex
71a23ac18e
Slim down global_init_drivers - we can now get rid of the 'start'
...
function
2013-11-01 21:10:42 +01:00
twinaphex
727dc76db8
(Console/Android) Init input driver from context driver/graphics
...
driver from now on - just like PC - input driver initing can be
hoisted out of global_drivers_init that way
2013-11-01 16:33:32 +01:00
Themaister
f2e85f9b9b
Clean up driver prev/next/find a bit.
2013-10-30 23:37:46 +01:00
twinaphex
aab3f93f56
Fix driver next/previous switching
2013-10-30 17:50:43 +01:00
twinaphex
b2d1fe66b3
(RGUI) Can now change drivers from RGUI - you need to restart
...
for changes to take effect
2013-10-30 17:06:50 +01:00
Themaister
9be4fe705b
viewport_info can be NULL. Check for this.
2013-10-26 18:51:00 +02:00
Themaister
fc5ba8f79a
Use configured aspect ratio to set windowed size.
...
Fixes some cases where core aspect is used and aspect_ratio_auto isn't set.
2013-10-26 18:31:48 +02:00
twinaphex
d2c87e3039
Convert most C99-style for loop initial declarations to C89-compliant
...
ones
2013-10-22 15:08:17 +02:00
Themaister
d215ec4ea8
Fix potential bug when HW render is used.
...
If e.g. D3D9 driver was used find_video_driver() would override GL
driver on reinit. Avoid this by doing this logic in find_video_driver()
instead.
2013-10-07 16:26:06 +02:00
twinaphex
c052b2fb9c
(RARCH_CONSOLE) Some cleanups
2013-10-06 23:14:41 +02:00
Themaister
3b97cdfdac
Add threaded video option.
2013-10-06 17:23:49 +02:00
twinaphex
0798431175
(360) Fix build. 360 port works again
2013-09-29 20:49:04 +02:00
Themaister
ae0d1ff282
Fix bug with use_float.
...
If audio driver changed from pulse to alsa via config change,
audio would be broken as use_float would be set to true.
2013-09-27 00:19:03 +02:00
Themaister
c7db4aff64
Support variable strength for rumble motors.
2013-09-26 12:55:05 +02:00
Themaister
8b1ac3bc9e
Add rumble tests to libretro-test.
2013-09-25 23:58:02 +02:00
Themaister
a01ef18f80
Add RETRO_ENVIRONMENT_GET_RUMBLE_INTERFACE.
2013-09-25 23:21:32 +02:00
Themaister
841d8fa8e1
Add video_rotation.
...
Replaces g_extern.console.screen.orientation.
Rotation semantics have slightly changed to be more composable.
The rotation is now video_rotation + rotation set by cores themselves
(if allowed).
The config is now also saved properly.
2013-09-22 11:45:04 +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
Hans-Kristian Arntzen
7d90ff4011
Merge pull request #303 from libretro/emscripten
...
Emscripten/Javascript port
2013-09-11 01:01:29 -07:00