libretroadmin
82e4504968
Revert "(pt. 2) static variables are initialized to '0' automatically as per C rules"
...
This reverts commit 47410df7a3
.
2024-11-19 03:03:05 +01:00
libretroadmin
47410df7a3
(pt. 2) static variables are initialized to '0' automatically as per C rules
2024-11-18 15:59:46 +01:00
libretroadmin
b8391e233f
* PATH_MAX_LENGTH redefined from 4096 to 2048
...
* Massive reduction in heap space allocation, going from settings struct
264kb to 119Kb
* Use NAME_MAX_LENGTH for base paths/names, etc
* Use DIR_MAX_LENGTH for directory sizes
2024-09-09 05:47:32 +02:00
Jesse Talavera-Greenberg
d9207c924e
Add a stub ffmpeg camera driver
2023-07-20 15:28:16 -04:00
Jesse Talavera-Greenberg
3e10389106
Create the file where the ffmpeg camera driver will be implemented
2023-07-20 15:14:30 -04:00
libretroadmin
daa9e352cc
Remove asserts
2023-01-09 00:51:05 +01:00
twinaphex
b9c77a48c9
Buildfixes
2021-11-12 21:49:19 +01:00
twinaphex
62c6d99163
Buildfixes
2021-11-11 17:53:54 +01:00
twinaphex
b3a1a769b9
Move location state and camera state out of retroarch.c
2021-11-11 07:43:49 +01:00
twinaphex
ad1aa59ce1
Cleanup != NULL comparisons
2020-05-19 21:15:06 +02:00
twinaphex
8627d638e1
Cleanups
2020-02-04 06:05:00 +01:00
twinaphex
5dcdee5faa
Get rid of null camera file and null location file - and buildfix
2020-01-06 14:57:02 +01:00
twinaphex
3581786708
Merge camera_driver.c with retroarch.c
2019-06-17 11:18:27 +02:00
twinaphex
712115ef9d
(Wifi/Location/Camera) Get rid of 'own driver' mechanism
2019-02-27 17:02:33 +01:00
twinaphex
f705503531
(Apple) Get rid of HAVE_CORELOCATION/HAVE_AVFOUNDATION - was mostly dormant
...
code and makes the Apple code needlessly complex right now. We can
always reintroduce this later on when the time is right
2019-02-07 04:03:52 +01:00
natinusala
c20ab3864d
First version of menu widgets (gl only)
2019-02-06 20:48:24 +01:00
Vicki Pfau
0576c516c4
camera: Fix v4l2 driver that broke years ago
2018-09-09 17:44:03 -07:00
twinaphex
11f26ed549
Refactor verbosity code - try to avoid log calls if verbosity is not
...
set
2018-01-17 06:28:26 +01:00
gblues
6904101c44
Clean up trailing whitespace
...
== DETAILS
Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
Brad Parker
139d95c563
FreeBSD buildfix
2017-08-17 20:28:47 -04:00
twinaphex
6af5bd01bf
Merge retro_stat and file_path
2017-06-16 15:00:11 +02:00
twinaphex
42ebe7a7ad
Merge runloop.c and retroarch.c
2017-05-11 09:11:46 +02:00
twinaphex
43956f07fa
Add function prototype
2017-05-07 19:46:27 +02:00
twinaphex
f97d084290
Create camera_driver_poll
2017-05-07 19:24:03 +02:00
twinaphex
f0c2d786ae
Update arrays struct
2017-04-28 22:59:13 +02:00
twinaphex
05e4ec733e
Move uint variables
2017-04-28 21:03:04 +02:00
twinaphex
ed53be7c81
Move all bool settings
2017-04-28 14:11:34 +02:00
twinaphex
0c5a87b1d7
Create scaler_ctx_scale_direct
2017-04-16 11:03:29 +02:00
twinaphex
24311af259
Update logs for V4L2
2017-03-24 01:36:30 +01:00
Twinaphex
b7b3b2cb5f
Try to prevent truckload of warnings on iOS
2017-02-26 10:33:03 +01:00
twinaphex
374fd57270
Remove the few performance counters that depend on runloop_ctl
2017-01-25 18:15:58 +01:00
twinaphex
6661c0fb94
Rewrite performance counter stop/start/init into macros
2017-01-25 16:53:06 +01:00
twinaphex
96c8ca5a09
Header update #1
2017-01-22 13:40:32 +01:00
twinaphex
77e5cdbfde
Revert "Rename runloop_msg_queue_push to video_driver_msg_queue_push"
...
This reverts commit ad7386913c
.
2016-12-22 23:36:11 +01:00
twinaphex
ad7386913c
Rename runloop_msg_queue_push to video_driver_msg_queue_push
...
and move code to video_driver.c
2016-12-22 13:15:02 +01:00
twinaphex
6310f53587
Prevent some implicit memsets and reduce the size of some
...
char variables
2016-10-27 10:45:53 +02:00
twinaphex
4711937c9c
(camera_driver.c) Prevent null pointer dereference
2016-09-28 08:18:28 +02:00
twinaphex
cbba2f593f
Cleanups
2016-09-08 13:29:50 +02:00
twinaphex
4571dc33fc
header include cleanups
2016-09-05 17:29:19 +02:00
twinaphex
ce97d783a7
Some more header cleanups
2016-09-01 17:52:22 +02:00
twinaphex
8ce3c2bbc8
use retro_common_api.h
2016-06-03 05:38:40 +02:00
twinaphex
281a33d61f
Rename function to performance_counter_init
2016-05-16 09:58:45 +02:00
twinaphex
f5bc75c640
Rename retro_perf_start/retro_perf_stop
2016-05-16 09:53:54 +02:00
twinaphex
18355d4748
Rename retro_perf_stop
2016-05-16 09:48:14 +02:00
twinaphex
4a7ab8366b
Move libretro.h headers to libretro-common/include
2016-05-10 19:03:53 +02:00
twinaphex
b79b2dca13
Create performance_counters
2016-05-10 08:53:14 +02:00
twinaphex
f8a7154557
Rename rarch_ functions
2016-05-09 07:09:26 +02:00
twinaphex
55bc1ccd78
(video4linux2) Cleanup/nits
2016-05-04 17:16:06 +02:00
twinaphex
61bae588fb
Header include changes
2016-03-22 02:45:25 +01:00
twinaphex
ac6362cae4
Combine list_special files
2016-03-20 17:28:24 +01:00
twinaphex
fe9ad4825d
(gfx/video_driver.c) Cleanups
2016-03-04 19:12:54 +01:00
twinaphex
f9ef8d4cc7
Move variables to camera_driver_ctl
2016-03-04 19:02:14 +01:00
twinaphex
e34943194c
Refactor camera driver code
2016-03-04 18:16:07 +01:00
twinaphex
6f80e09ce1
Change MIN/MAX to upper-case
2016-03-02 00:07:31 +01:00
twinaphex
0b1b56214e
Try to reduce dependence on general.h
2016-02-07 13:18:48 +01:00
twinaphex
2cbb18b4e4
Create RARCH_DRIVER_CTL_FIND_INDEX
2016-02-01 13:15:53 +01:00
twinaphex
7a55ae3765
Start updating headers for 2016
2016-01-10 04:06:50 +01:00
twinaphex
aa488dda25
Create video driver poke load_texture / unload_texture
2015-12-20 20:52:23 +01:00
twinaphex
fc6505e408
Get rid of rarch_system_info_get_ptr
2015-12-10 22:30:25 +01:00
twinaphex
2d55dc3bda
Complete namespace changes
2015-12-07 15:32:14 +01:00
Twinaphex
637eb68bed
Create RARCH_CAMERA_CTL_DESTROY and RARCH_LOCATION_CTL_DESTROY
2015-12-07 08:05:52 +01:00
twinaphex
c6359d6dbc
Divorce g_system_menu from global state
2015-12-06 19:31:47 +01:00
twinaphex
fadeb4b3e4
Turn some functions static
2015-12-05 23:03:05 +01:00
twinaphex
271975954f
move camera_driver.h header incldue out of driver.h
2015-12-05 15:55:26 +01:00
twinaphex
54dc5ca071
Move camera driver state out of driver_t
2015-12-05 15:52:25 +01:00
twinaphex
a766d1c1c1
Create camera_driver_ctl
2015-12-05 14:40:04 +01:00
twinaphex
074f14b132
Add verbosity.c/verbosity.h
2015-11-23 12:03:38 +01:00
twinaphex
780bf74273
Try to not use glDeleteTextures directly outside
2015-11-09 01:50:05 +01:00
twinaphex
db5d8d248b
Create new char_list_new_special
2015-10-26 19:41:20 +01:00
twinaphex
b9febe2eed
Add void pointer to string_list_special_new
2015-10-26 19:16:20 +01:00
twinaphex
415176e360
Rfactor camera_driver.c to use string_list_special
2015-10-26 08:42:34 +01:00
twinaphex
02a43c6b2a
Change 'rarch' to 'retro' namespace in libretro-common
2015-10-26 03:18:13 +01:00
twinaphex
ff1078a98b
(camera/drivers/video4linux2.c) Use path_is_character_special
2015-09-22 21:16:58 +02:00
twinaphex
83df9e61d0
(V4L2) Silence C89_BUILD - implicit constant conversion overflow warnings
2015-09-22 17:05:09 +02:00
twinaphex
2b840c0384
Refactor perf counters
2015-09-20 10:02:59 +02:00
twinaphex
ded8920a65
Cleanups
2015-09-04 21:13:12 +02:00
twinaphex
be9f2b870a
Compile in memmap.c
2015-08-22 18:38:17 +02:00
twinaphex
135ee2f503
Use UINT64_C(1) everywhere instead of 1ULL
2015-07-12 07:53:46 +02:00
twinaphex
fefa500dcf
Some C89 build fixes
2015-06-29 21:52:55 +02:00
twinaphex
6392c494e5
(camera_driver.c) Use rarch_system_info_get_ptr
2015-06-25 13:00:35 +02:00
twinaphex
e67f3f246d
Rearrange header include dependencies
2015-06-02 17:17:46 +02:00
Twinaphex
68993c1f71
Ifdef AVFoundation and CoreLocation specifically for HAVE_COCOA and/or
...
HAVE_COCOATOUCH
2015-04-20 14:14:45 +02:00
Twinaphex
10d8d2e8c7
Change HAVE_CAMERA defines to HAVE_AVFOUNDATION
2015-04-20 11:44:28 +02:00
twinaphex
1f7482d833
(Emscripten) Integrate header files into actual drivers
2015-04-19 22:01:56 +02:00
twinaphex
4e912dbae8
Create HAVE_AVFOUNDATION define
2015-04-19 20:38:40 +02:00
Twinaphex
d19eddccb9
Omit HAVE_AVFOUNDATION for OSX port right now
2015-03-31 03:26:23 +02:00
twinaphex
e6f0d366cb
Go through global_get_ptr
2015-03-21 04:43:18 +01:00
twinaphex
6cefa69aa4
Go through settings pointer
2015-03-20 19:48:23 +01:00
twinaphex
3670ef2ac5
Go through driver_get_ptr to grab pointer to driver struct
2015-03-18 19:40:00 +01:00
twinaphex
761177a885
Update more old code to go through the new wrapper function
2015-03-15 02:59:38 +01:00
twinaphex
00239a30d6
Create wrapper functions for passing a message to the runloop's
...
message queue
2015-03-15 02:47:23 +01:00
twinaphex
795ef467ac
Move msg_queue and nbio/http to runloop struct
2015-03-07 13:01:41 +01:00
twinaphex
2d35ab7fe1
(Scaler) Try to prevent calling NULL function pointer
2015-02-10 20:31:17 +01:00
twinaphex
3d4be395ef
Update camera_driver.c
2015-01-30 07:55:55 +01:00
twinaphex
26ab324727
(OSX 10.6) Fix declaration shadows global variable warnings
2015-01-15 21:10:36 +01:00
twinaphex
6cdaa4e282
(MSVC) Build fixes
2015-01-12 22:47:12 +01:00
twinaphex
1b28a4a498
Cleanups
2015-01-12 21:16:17 +01:00
twinaphex
f45d9efb37
Move camera_driver.c to camera/
2015-01-12 19:44:29 +01:00
twinaphex
444adb622f
Move camera drivers to camera/drivers/
2015-01-12 19:04:12 +01:00
twinaphex
90076c5fad
Start using MAX_PATH_LENGTH - relying on MAX_PATH for 360 can cause
...
problems because it's defined at '260' and thus too small for some
strings
2015-01-07 20:42:36 +01:00