Commit Graph

5752 Commits

Author SHA1 Message Date
twinaphex 4fe8cf3811 Revert "(Win32) Buildfix"
This reverts commit b73d183c44.
2016-10-01 08:13:41 +02:00
twinaphex a777f52423 (video_driver.c) Simplify 2016-10-01 04:28:18 +02:00
twinaphex 35c52b1602 Move frame_cache variables outside of video_driver_state struct 2016-10-01 04:24:57 +02:00
twinaphex ae607a29b7 Take variables out of video_state 2016-10-01 04:21:33 +02:00
aliaspider 056224bf50 (3DS) avoid using ctrGuCopyImage during font init for now. (fixes freeze
on cia builds)
2016-09-30 16:16:18 +01:00
twinaphex d53d1faad5 Use string_is_empty 2016-09-30 09:00:04 +02:00
twinaphex 91170722e6 Try to silence Coverity warning 2016-09-30 08:58:57 +02:00
twinaphex b73d183c44 (Win32) Buildfix 2016-09-30 08:19:36 +02:00
twinaphex 28a96fbb05 Update GX/WIn32 builds 2016-09-30 06:39:47 +02:00
Twinaphex 03215a831f Merge pull request #3690 from aliaspider/master
(3DS) add experimental font and menu_display drivers.
2016-09-29 21:33:08 +02:00
aliaspider afd5e85a31 (3DS) add experimental font and menu_display drivers. 2016-09-29 20:14:12 +01:00
Brad Parker b83d2529e2 break early if we run past the message length 2016-09-29 12:25:20 -04:00
twinaphex 32220c042b (video_driver.c) Style nit 2016-09-29 10:27:49 +02:00
twinaphex be81edad84 Create path_get 2016-09-29 08:23:41 +02:00
Francisco José García García f6a7aa95e7 (VITA) Fix crash in gambatte 2016-09-29 00:20:14 +02:00
aliaspider 5db13323f6 (3DS) create gfx/common/ctr_common.h.
remove depthbuffer.
use vramalloc.
2016-09-28 20:59:54 +01:00
Twinaphex bcc864d48f Merge pull request #3681 from loganmc10/patch-3
Yet another fix for glUniformMatrix4fv
2016-09-28 19:56:02 +02:00
aliaspider dc16477c46 (3DS) fix tearing, the displayed framebuffer was being set to the
currently selected drawbuffer.
2016-09-28 18:34:38 +01:00
aliaspider 8266a423cd (3DS) update for latest ctrulib. 2016-09-28 18:09:17 +01:00
Logan McNaughton d360bf17d5 Yet another fix for glUniformMatrix4fv
This should fix fullscreen toggling/context resets.
2016-09-28 08:18:32 -06:00
aliaspider 4ebe84d89c (3DS) use Makefile.commmon for non griffin builds 2016-09-28 15:01:46 +01:00
Twinaphex b7ab9a1581 Merge pull request #3675 from frangarcj/master
(Vita) Add get framebuffer
2016-09-28 00:53:40 +02:00
Logan McNaughton 01a03abdc5 Fix glUniformMatrix4fv call 2016-09-27 16:03:54 -06:00
Francisco José García García 8a6625753d (Vita) Add get framebuffer 2016-09-27 23:39:24 +02:00
Logan McNaughton 0d3e9875b1 Only call glUniformMatrix4fv if needed 2016-09-27 08:56:36 -06:00
Twinaphex 7672288fcd Revert "Only call glUniformMatrix4fv if needed" 2016-09-27 02:59:58 +02:00
Logan McNaughton fa48e95946 Only call glUniformMatrix4fv if needed 2016-09-26 14:24:27 -06:00
twinaphex b3ec735e75 Silence some more scan-build warnings 2016-09-25 15:25:20 +02:00
Logan McNaughton 4f002f2316 Specify EGL_DEPTH_SIZE for emscripten
Some drivers require it to provide a depth buffer.
2016-09-24 19:53:45 -06:00
twinaphex 764a4319a0 (shader_glsl.c) Continue with iteration if pass is NULL 2016-09-24 17:04:49 +02:00
twinaphex b5416e4041 Change false to 0 2016-09-24 17:04:21 +02:00
twinaphex 5b5ad03ec3 Attempt to fix Coverity warnings 2016-09-24 17:04:01 +02:00
twinaphex 83be6daa93 Try to prevent input driver from being set with Emscripten EGL context driver if HAVE_SDL2 is defined 2016-09-24 05:57:02 +02:00
radius f58f7a5923 Revert "Make emscripten_egl default context for emscripten"
fixes gamepad support. It seems it only works when we use the SDL2 video context

This reverts commit 1177edf825.
2016-09-23 22:38:37 -05:00
Francisco José García García e654c39944 (VITA) Fix utf8 2016-09-23 21:27:06 +02:00
twinaphex 2d11ea71cc Move runloop_fullpath to paths.c 2016-09-23 03:39:44 +02:00
Logan McNaughton 1177edf825 Make emscripten_egl default context for emscripten 2016-09-22 15:22:08 -06:00
twinaphex 6d702f3538 Remove unused buf_fps variable 2016-09-22 21:51:22 +02:00
twinaphex 0d49ed5877 drm_ctx.c - remove dead assignment 2016-09-22 20:56:42 +02:00
twinaphex 8d9eccfd65 (xvideo.c) Prevent null pointer dereferences for geom variable 2016-09-22 20:54:06 +02:00
Twinaphex a69b958a1f Merge pull request #3623 from frangarcj/master
(VITA) New font renderer with stb by default
2016-09-20 13:22:59 +02:00
frangarcj 608d13c321 (VITA) Add some default fonts 2016-09-20 10:58:14 +02:00
hizzlekizzle 9fe3bd9b62 add 9:16 AR and fix typo
9:16 is useful for people with widescreen monitors running in portrait mode. I replaced 4:4 with it because 4:4 was redundant with 1:1 anyway, and I fixed the double-close-parentheses typo in the 1:1 PAR's DAR string.
2016-09-19 08:31:08 -05:00
frangarcj bc90dd2927 (VITA) Another UTF8 Fix 2016-09-19 14:17:19 +02:00
frangarcj ab0dad99fc (VITA) Remove old font driver 2016-09-19 14:15:13 +02:00
frangarcj d46a40e3c4 (VITA) USE STB FONT 2016-09-19 14:14:11 +02:00
twinaphex 88c2ec5819 Prevent this error (caught with SANITIZER=undefined) 2016-09-18 22:39:18 +02:00
Higor Eurípedes c08650f1f9 Remove trailing whitespace 2016-09-17 21:20:27 -03:00
Higor Eurípedes d4305d65d9 (gl) Fix gl_check_error()
gl_check_error() was leaking memory and the error message was never
returned to the calling context.
2016-09-17 21:19:57 -03:00
twinaphex 12949420b6 (Windows) Buildfix 2016-09-17 15:07:45 +02:00