Commit Graph

9070 Commits

Author SHA1 Message Date
Twinaphex
d2d240ecf5 (iOS) Should fix iOS build problems 2019-11-20 02:58:17 +01:00
Twinaphex
81c020d300 Replace g_instance with CocoaView get 2019-11-20 02:24:03 +01:00
twinaphex
e3506ed06b Move nsview_get_ptr to cocoa_common 2019-11-20 02:24:03 +01:00
Twinaphex
387e18b528 cocoagl_gfx_ctx_set_video_mode - go through [CocoaView get] here 2019-11-20 02:24:03 +01:00
twinaphex
964fcda79a Move glkitview_init to cocoa_common.m 2019-11-20 02:24:02 +01:00
twinaphex
ed8e440b0d Revert "Move update_window_title to main thread - this should resolve some"
This reverts commit 442608981d.
2019-11-19 22:48:35 +01:00
twinaphex
442608981d Move update_window_title to main thread - this should resolve some
concurrency issues on OSX as well
2019-11-19 22:13:51 +01:00
Jean-André Santoni
8e028f4db3
Remove useless HAVE_COCOA_METAL ifdef 2019-11-19 14:50:21 +07:00
twinaphex
29ced2a72f Simplify cocoagl_gfx_ctx_get_video_size somewhat 2019-11-19 08:26:12 +01:00
Twinaphex
c7ce2c7053 Fix Xcode issue 2019-11-19 05:54:01 +01:00
Jean-André Santoni
d5a5380e6d
Fix building with make on OSX 2019-11-19 11:38:27 +07:00
Twinaphex
53d18cf95e
Merge pull request #9713 from Rinnegatamante/vitagl
Added gl1 video driver support to Vita build
2019-11-17 23:14:29 +01:00
Rémi
6c47f02bdf Fixing OpenGL shader rotation 2019-11-16 19:52:47 +01:00
Guo Yunhe
95dede9039
Fix comment in freetype.c 2019-11-15 10:18:05 +02:00
Twinaphex
724865a8fc
Update freetype.c 2019-11-15 00:53:17 +01:00
Guo Yunhe
52b3a4fe17 Correct Droid Sans Fallback font path 2019-11-14 18:01:46 +02:00
Rinnegatamante
2a77dc5600 Make code C89 compliant. 2019-11-13 21:44:59 +01:00
Rinnegatamante
616759ed8c [VITA] Implement check_window. 2019-11-13 11:19:51 +01:00
Rinnegatamante
637319c938 [VITA] Implement swap_interval in vita video driver context. 2019-11-13 09:57:03 +01:00
Rinnegatamante
96845f4a7e [VITA] Removing a no more used ifndef. 2019-11-13 00:45:48 +01:00
Rinnegatamante
2b20c8d350 [GL1] Fixed core frame renderer. 2019-11-12 19:46:37 +01:00
Rinnegatamante
bed9847b48 [VITA] Hijacking wrong positioning for UI elements. 2019-11-12 19:06:18 +01:00
Rinnegatamante
66bdf711f4 [VITA] Back to GL_LUMINANCE_ALPHA usage. 2019-11-12 16:33:47 +01:00
Rinnegatamante
f3ca57e6f0 [VITA] Add vita video driver context. 2019-11-12 16:33:36 +01:00
Rinnegatamante
6b7673f806 [VITA] Fixing gl1 video driver crashes. 2019-11-12 15:37:37 +01:00
Rinnegatamante
1533d618e5 [VITA] Allow usage of null context with gl1. 2019-11-12 13:50:14 +01:00
Rinnegatamante
6394342b9c [VITA] Add gl1 video driver support through vitaGL. 2019-11-12 11:54:00 +01:00
twinaphex
a0486c3cd7 Revert "Simplify slang_process.cpp"
This reverts commit 25a417cdd7.
2019-11-12 01:34:03 +01:00
twinaphex
25a417cdd7 Simplify slang_process.cpp 2019-11-11 18:55:33 +01:00
alphanu1
a488876a6a
Added missing argument to function (#2) 2019-10-30 08:43:51 +00:00
alphanu1
9c0f4c737e
Fixes for RPI (#1)
New Raspberry Pi porch and aspect ratio generation. Added code to fix X offset for Raspberry Pi.
2019-10-30 08:34:02 +00:00
twinaphex
f678a06b95 Remove xbox 360 fonts 2019-10-19 16:42:39 +02:00
Rinnegatamante
02c35441d6 Revert to old x context. 2019-10-16 18:29:17 +02:00
Francisco Javier Trujillo Mata
fd75ae487e Disable the duplication FPS in PSP 2019-10-16 00:46:29 +02:00
Twinaphex
4ac264b1d0
Merge pull request #9591 from Rinnegatamante/videodrivers2
Graceful switching between videodrivers #2.
2019-10-15 22:49:17 +02:00
orbea
55d123d95a Fix build when SDL2 is not built against wayland.
Fixes https://github.com/libretro/RetroArch/issues/9583.
2019-10-15 09:10:18 -07:00
Rinnegatamante
d1a74e1b96 Fix for crash on Linux. 2019-10-15 09:07:15 +02:00
twinaphex
89e9bdc413 Buildfix 2019-10-14 01:35:04 +02:00
twinaphex
4fbf823707 Enable HAVE_VIDEO_LAYOUT by default 2019-10-14 00:31:44 +02:00
Rinnegatamante
26b0bc771d Add vulkan context logging. 2019-10-13 17:47:08 +02:00
Twinaphex
7bed40d17b
Merge pull request #9547 from Rinnegatamante/videodrivers
Graceful switch between video drivers.
2019-10-12 14:21:33 +02:00
Twinaphex
2d769d4bfb
Merge pull request #9558 from justinweiss/ctr-gfx-fix-flickering-with-osd
Fix 3DS screen flickering when OSD is enabled
2019-10-06 03:39:23 +02:00
Justin Weiss
64dc3dde40 Fix 3DS screen flickering when OSD is enabled
On the 3DS, for some cores, the screen will flicker if OSD is enabled,
and sometimes when going in and out of the menu.

As far as I can tell, this happens when a frame is dup'd, and we send
0x0 as the frame to the gfx driver. When that happens, we still draw
the OSD, using a vertex shader to transform and render it at the right
size.

When the frame is 0x0, though, the vertex shader uniforms are never
_reset_ to redraw the previous frame, so it's drawn with different
params, and gets drawn the wrong size. It will draw as the correct
size when the correct vertex shader uniforms are set, and the
incorrect size when the incorrect uniforms are set, causing
flickering.

At least, that's what I think is happening. Forcing the vertex shader
to be set regardless of whether the frame data is set fixes it, at
least during some light testing with PCSX.
2019-10-05 14:21:42 -07:00
twinaphex
7969221919 Remove two unused variables 2019-10-05 19:08:57 +02:00
twinaphex
7175c3ec22 FIx another 'may be used uninitialized' warning 2019-10-05 18:43:25 +02:00
twinaphex
221df13250 Cleanups/warning fixes - compilation fix for OSX PPC 2019-10-05 18:38:17 +02:00
Twinaphex
6467d24070
Merge pull request #9548 from fjtrujy/ps2MemoryLeaks
[PS2] Fix memory leaks in Font and GFX Driver
2019-10-04 17:07:35 +02:00
twinaphex
eed44eea9c Cache this string too 2019-10-04 14:27:09 +02:00
twinaphex
1788042c9e (Android) dpi_get_density - cache one variable to avoid excessive
system_property_get querying
2019-10-04 14:22:10 +02:00
Francisco Javier Trujillo Mata
c48ccdb1fc Fix memory leak in the PS2 GFX and PS2 Font 2019-10-03 23:41:56 +02:00