Commit Graph

108 Commits (master)

Author SHA1 Message Date
aerisarn 8b1e4a1ad0
MESA UWP Integration (#16285)
* [WINRT] Enable logging on __WINRT__ and bypass verbosidy in debug

* [UWP] wrong configuration prevents GLES to compile, common functions defines GL symbols

* [UWP] configure project to allow OPENGL on default configuration and copy MESA DLLs into UWP release

* [UWP] add MESA headers

* [UWP] add MESA EGL.lib needed for GLES context. However HAVE_OPENGL is better as GL cores use desktop version, so this is left for reference and to make the solution build with HAVE_OPENGLES

* [UWP] UWP is missing some GDI function definitions, implemented into MESA Gallium

* [UWP] Configure Release project too

* [UWP] Add mesa alpha-2 release dlls

* [UWP] allow griffin and vide_driver to have an OPENGL context

* [UWP] allow wgl context to work with mesa under WINRT

* [UWP] BUG: have to modify height/width getters and align them to MESA because the screen resolution is not right in gl context. Pending further investigation

* [UWP] fix ANGLE build

* [UWP] remove duplicate import code.

* (UWP) Cleanup filters file

* MESA screen destroy fix and Yabasanshiro hack. Align to alpha-2-hack tag

---------

Co-authored-by: Gabriel Morazán <35014183+GABO1423@users.noreply.github.com>
2024-03-02 09:36:17 -08:00
Eric Warmenhoven ae78395d83
iOS/tvOS: rework JIT availability checks (#15590) 2023-08-14 06:41:43 -07:00
libretroadmin 6e06f14180 Cut some more strlcat calls 2023-07-16 22:21:43 +02:00
libretroadmin bd090dea71 Replace more strlcat calls 2023-07-16 18:07:49 +02:00
Eric Warmenhoven 544d78d7b7 Improve some log formatting on iOS/tvOS 2023-07-04 02:54:51 +02:00
warmenhoven e5ba7b9d2f
Fix #14778 - In addition to sending logs to asl_client, add them to the logfile. (#14921) 2023-01-29 06:02:28 +01:00
reallibretroadmin 3ae8e35d0e (iOS) Buildfix and cleanup some unused variables 2023-01-09 01:54:45 +01:00
libretroadmin 5872b357e6 Don't define tag_v variable when not needed 2023-01-07 05:25:56 +01:00
libretroadmin 85598f24ad defines/ headers are libretro-common headers, search for them in
system header includes - other cleanups/nits
2022-12-15 15:09:40 +01:00
LibretroAdmin 141c33ceb5 (Qt/Logging) Increase log buffer to 2048 characters - Vulkan
validation layer messages output correctly.
2022-10-06 03:19:28 +02:00
LibretroAdmin fd41b0f90c RARCH_LOG_V - increase buffer size from 256 to 1024, otherwise
Vulkan log messages get truncated
2022-08-31 16:38:30 +02:00
LibretroAdmin b2634ea588 * Create fill_pathname_join_special - and specify fill_pathname_join
as deprecated.
* Use fill_pathname_join_special in the vast majority of cases where
we can ensure out_path is a new empty string
* Get rid of some extension concatenation with strlcat where encountered
* Some general cleanups with NULL termination of strings that get immediately
passed to strlcpy/strlcpy-adjacent functions
2022-08-04 14:19:38 +02:00
LibretroAdmin 29774f5b7a
Small opts (#14186)
* (joypad_connection) Small optimizations -
* Turn functions static where possible
* Hose strlen call out of loop

* (input_driver.c) General cleanups:
* Some small code/style nits

task_screenshot.c:
* Move widget callback function for screenshots to task_screenshot.c

(file_path.c):
* Turn get_pathname_num_slashes into static function
* path_linked_list_free - always returns true, so get rid of return value
* path_linked_list_new - fix function signature
* path_get_archive_delim - do not NULL-terminate string, already done by strlcpy later on

General:
* Slight optimizations - use int/size_t for loop counter variable instead of unsigned
* Take advantage of fact that strlcpy already NULL-terminates, so don't do this explicitly
outside if we're just going to end up calling strlcpy/fill_pathname_join on it anyway
2022-07-19 10:01:33 +02:00
libretroadmin e91cf0e40d No longer use fill_pathname_noext - just basic strlcpy/strlcat string
concatenation
2022-07-11 18:48:02 +02:00
Adie 327f220857 Fix debug-level logging definitions
Both INFO and DEBUGGING log functions were outputting [INFO] logs.
I switched the debug log function to output debug logs instead of info logs, and changed the output of debug logs from [VERBOSE] to [DEBUG]
2021-08-02 22:58:39 -05:00
U-LAPTOP-0BS9KNOH\crystal 23acacf436 PSL1GHT salamander build fix 2021-05-19 00:31:09 +02:00
twinaphex 2fbcc99b24 RARCH_LOG_BUFFER - doesn't need early return 2021-04-04 20:05:00 +02:00
Michael Burgardt f54098618e RARCH_LOG_V checking for verbosity level is not necessary and can cause
issues; removed said check.
2021-03-31 18:12:42 +02:00
CrystalCT 9ac61f9cc5 Add some PSL1GHT ifdefs 2021-03-17 08:46:02 +01:00
Autechre 33110603e5
Shader log spam reduction (#11977)
* (Shaders) Change label

* Create RARCH_DBG - if you have Logging Verbosity set to 0, the
shader parsing log spam will show, otherwise it won't
2021-02-03 13:49:07 +01:00
twinaphex b3ec942646 (verbosity.c) reorder struct, alignment 2020-08-20 19:16:05 +02:00
twinaphex f35010e1ae Cleanups 2020-08-02 10:28:23 +02:00
twinaphex 1b86ea43c3 Try to use vsnprintf where possible instead of vsprintf 2020-06-26 20:56:14 +02:00
jdgleaver 0a33e562f4 Add option to backup/restore installed cores 2020-06-04 12:20:58 +01:00
twinaphex 56619d7276 Add more TODO/FIXME notes 2020-05-29 06:31:15 +02:00
twinaphex 5b562c4c24 Style nits/cleanups 2020-05-24 18:21:30 +02:00
Francisco Javier Trujillo Mata 1eeb3dcf30 Adapt PS2 port to new SDK with newlib support (CDVDFS support is missing) 2020-05-20 20:13:19 +02:00
twinaphex 54fd445c75 (verbosity) move static global variables to struct 2020-05-19 02:13:51 +02:00
twinaphex 86b78e2fea Cleanups 2020-05-12 09:11:18 +02:00
twinaphex 5a147fe46f (manual_content_scan.c) Rearrange struct members
(verbosity.c) Add TODO/FIXME
2020-03-07 18:41:39 +01:00
twinaphex e005044f64 Remove retro_main_log_file function 2020-02-01 23:56:51 +01:00
twinaphex 84251b02bd verbosity.c - add necessary header 2020-01-31 15:06:50 +01:00
twinaphex 9f66968d1b Update verbosity.c 2020-01-31 02:34:16 +01:00
twinaphex 5d428d471c Move logging code over to verbosity.c 2020-01-30 19:22:57 +01:00
twinaphex a034909ae9 Cleanups 2020-01-30 16:35:59 +01:00
twinaphex 4eac009c27 Buffer more before we send text to be logged to stderr/stdout
and the logger interface for help/features/startup
2019-09-19 05:50:26 +02:00
twinaphex 75754c54e3 verbosity.c - cleanups - no longer need file_path_str 2019-08-20 05:25:22 +02:00
twinaphex 17c3635a38 RARCH_LOG_BUFFER - if verbosity level is above 1, skip 2019-08-20 03:54:10 +02:00
twinaphex 73663104b3 Add separate setting for Frontend Logging Level 2019-08-20 01:34:40 +02:00
twinaphex 0de1453445 Cleanups 2019-08-15 13:44:26 +02:00
LazyBumHorse f51e50a423 fix logging on Windows sometimes not being null-terminated 2019-08-15 13:39:19 +02:00
twinaphex 498c1b8538 (verbosity.c) Cleanups 2019-08-15 12:43:59 +02:00
Brad Parker 08cd3a90f2 initial cdrom reading work 2019-06-30 18:33:59 -04:00
M4xw 24dadb276e [LIBNX] Unconditional Mutex for logging 2019-04-29 16:43:01 +02:00
twinaphex 39c3a25ad6 Start using smaller buffers for stdout logging 2019-04-28 02:54:02 +02:00
twinaphex fb306a9358 (verbosity.c) Code formatting cleanups 2019-04-13 18:49:05 +02:00
twinaphex 3619fae2d9 (LGTM) Silence some warnings 2019-04-13 02:15:26 +02:00
jdgleaver 2c65068be0 More 'Log to File' Additions:
- Add optional timestamped log files

- Handle errors if log file cannot be opened

- Android: flush log file immediately

- 3DS: log to file tested and fully working

- Default log paths added for all platforms
2019-03-25 17:22:59 +00:00
jdgleaver 93506a0d18 Log to file improvements 2019-03-21 16:57:54 +00:00
radius 8fd0aedc56 add log to file settings 2019-03-17 14:28:17 -05:00