Commit Graph

10149 Commits

Author SHA1 Message Date
twinaphex
4117a4cbda Rewrite get_backing_scale_factor - stop depending on runtime selector
invocations
2021-01-18 00:25:36 +01:00
twinaphex
6ac08ec123 Make customized version of get_video_size for OSX 10.7 and up to
avoid selector grabbing
2021-01-17 05:39:03 +01:00
twinaphex
e42f2b552f (COcoa GL context) Small cleanups 2021-01-17 05:22:29 +01:00
twinaphex
1e9f6f175e (OSX) Fix PowerPC build 2021-01-17 05:02:07 +01:00
Twinaphex
7177a8e7d9 Remove unused variable 2021-01-16 23:05:37 +01:00
twinaphex
4d5126f71a Improve cocoagl_gfx_ctx_get_native_scale 2021-01-16 23:03:25 +01:00
twinaphex
6d39160de1 CLeanups 2021-01-16 22:36:03 +01:00
twinaphex
225b851eb6 Cleanups 2021-01-16 22:04:11 +01:00
twinaphex
757ea32782 Go back to CocoaView pointer in prototype 2021-01-16 20:37:56 +01:00
twinaphex
2299e3b1ab Silence implicit conversion warnings 2021-01-16 20:33:35 +01:00
twinaphex
991f67a758 gfx_animation - simplify code 2021-01-16 20:15:56 +01:00
twinaphex
0946d06e82 (gfx_animation) Simplify code 2021-01-16 20:13:06 +01:00
twinaphex
552f973833 Cleanups/remove unused variables 2021-01-16 17:17:16 +01:00
twinaphex
4e74a6f8b1 Attempt to fix build for iOS 2021-01-16 17:02:25 +01:00
jdgleaver
3a6558c2f1 (RGUI) Add Russian language support 2021-01-13 10:00:51 +00:00
twinaphex
07db1bbfde Cut down on code duplication 2021-01-08 23:20:34 +01:00
Nathan Strong
0e0fbb53f9 Remove the path_is_valid() call when loading textures
== DETAILS
The `path_is_valid()` call ends up invoking `stat()`, which is unpredictable.
It's practically free when implemented by an operating system (Linux, Windows),
but on embedded systems it can be problematic.

In the case of the Wii U, the stat() call actually ends up taking longer than
the file I/O. And the texture loading code already handles a "file not found"
case, so the stat() call ends up just being a waste of time.

Removing this reduces the texture load time from ~210-250ms down to 60-65ms
on average.
2021-01-07 21:06:07 -08:00
OsirizX
b96a0c495a [VITA] Add support for Vita GLES2 (PIGLET) 2021-01-06 19:14:30 +01:00
pcjco
a33bcfead7 Some null pointer check
fix Wii version crash on load.
2021-01-06 00:03:31 +01:00
Autechre
fe848cae54
Merge pull request #11826 from valadaa48/oga_gfx_ogs_support
oga_gfx: support for OGS
2021-01-05 10:32:13 +01:00
valadaa48
e21784f9c4 drm_go2: Dynamic resolution support
- Remove hardcoded values for width and height and query from drm
  context instead
2021-01-04 19:01:59 -05:00
valadaa48
659fb73867 oga_gfx: support for OGS 2021-01-04 18:58:58 -05:00
Francisco José García García
899ec9f9f4 [VITA] Disable depth test if needed 2021-01-03 17:31:18 +01:00
Francisco José García García
d83dcba0dd [VITA] Fixes for GL HW renderer 2021-01-03 17:20:21 +01:00
Remi McGill
7a565d739d Shaders fix for duplicate parameters loading bug 2020-12-31 15:50:55 -05:00
Autechre
9797ba9f27
Merge pull request #11743 from HyperspaceMadness/Shaders_Fix_Simple_Preset_Relative_Texture_Paths
Shaders Load Refactor and Fix Referenced Texture Loading
2020-12-31 16:13:20 +01:00
Remi McGill
8d1b949c9c Shaders Fix Config Memory Leak 2020-12-30 11:02:59 -05:00
Dwedit
217b6d2f9d Restored missing comments and fixes 2020-12-28 16:45:33 -05:00
Dwedit
34a31f8a1c ui_win32_application.c: Add support for accelerators to main win32 message loop
rarch.rc: Add accelerators for Open (Ctrl+O) and Fullscreen (Alt+Enter)
ui_win32_resource.h: Add accelerator resource ID definition
win32_common.c: Load accelerators, Localize Win32 menu items to current language, and display shortcut keys
2020-12-28 16:39:39 -05:00
twinaphex
357b7d68f6 (libretro-common) Rename rhash to lrc_hash
(rcheevos) Rename rhash to rc_hash
2020-12-28 19:55:54 +01:00
HyperspaceMadness
f86dbfc5a2 Shaders Fix Referencing issue in QT 2020-12-27 20:32:43 -05:00
twinaphex
9ddc39af59 Buildfix 2020-12-27 20:01:41 +01:00
twinaphex
b1af12efc9 Add more PSL1GHT ifdefs 2020-12-27 18:56:00 +01:00
Remi McGill
0c504906cb Shaders - Fixed a Reference Pathing Issue on QT 2020-12-27 12:47:47 -05:00
twinaphex
c3ba223fe2 Do away with objc_msgSend calls 2020-12-27 17:31:57 +01:00
HyperspaceMadness
0c526b6498 Shaders Load Refactor and Fix Referenced Texture Loading
Partial update to work with shaders directly

More Edits

More changes

more shader fixes

More Fixes Compiling, reference load still wrong

Added Feedback & things are working

Logging Fixes

Log Fix

More Fixes

Added Feedback Logging

Fixes for file pathing in Linux

Fix GLCore and Crash in QT Saving

Code Cleanup

Removed Unused Function filepath.c

Code Cleanup
2020-12-26 21:09:27 -05:00
Aaron Kling
57e3ab71d9 android: retro_sleep build fix 2020-12-22 17:29:26 -06:00
twinaphex
7dcfd7a038 retro_sleep buildfix 2020-12-21 21:11:59 +01:00
twinaphex
627b668da8 Another buildfix for retro_sleep 2020-12-21 21:06:54 +01:00
twinaphex
16bb56b7a2 Update 2020-12-21 21:04:31 +01:00
twinaphex
8df5fe2a60 CLeanup 2020-12-20 16:48:52 +01:00
aliaspider
16f997172f (D3D12) allocate rt_view descriptors for feedback render targets too. 2020-12-20 08:08:04 +01:00
aliaspider
bf2adda421 (D3D12) move D3D12SignalCommandQueue to d3d12_gfx_sync. 2020-12-20 07:13:11 +01:00
aliaspider
1681322ffc (D3D12) fix the D3D12GetCompletedValue function wrapper.
- a function wrapper shouldn't contain any NULL checks, and it should
return the original UINT64 value, not a boolean.
2020-12-20 07:08:33 +01:00
twinaphex
870707dbe8 Remove obsolete __CELLOS_LV2__ references - use PSL1GHT instead 2020-12-19 15:32:26 +01:00
twinaphex
7d313647ae (D3D11) Add flip model support - fallback to blit model for OSes
where flip model is not supported (windows 7 and earlier). Will add
a menu option later allowing the user to switch inbetween the two
2020-12-17 14:39:58 +01:00
twinaphex
d6a0bdaa30 (D3D12) Increase this to 2048 - avoids D3D12 crash on startup 2020-12-17 09:41:05 +01:00
twinaphex
38ce3927ae (D3D10/11/12) Increase sprite capacity, we need this so that
the hardware rendered menu drivers don't glitch out
2020-12-17 08:31:06 +01:00
twinaphex
2a8024a71b (D3D10) Cleanups - create init_swapchain function 2020-12-15 23:05:58 +01:00
twinaphex
093dc30ffd Refactor d3d11_init_swapchain some more 2020-12-15 22:56:29 +01:00