Commit Graph

2615 Commits

Author SHA1 Message Date
twinaphex a5a9d914b1 (GLSL) Allocate struct dynamically for shader glsl backend 2014-10-26 06:16:30 +01:00
twinaphex 6c193836a5 (Cg) Move cg shader variables to struct and allocate it at shader init 2014-10-26 04:49:58 +01:00
twinaphex f99b8be3f6 Refactor shader_parse.c 2014-10-26 03:04:35 +01:00
twinaphex d24691e810 Convert math/matrix.c to math/matrix_4x4.c 2014-10-26 02:32:10 +01:00
twinaphex dc0688f57f Reduce header dependencies 2014-10-26 01:15:41 +02:00
Higor Eurípedes b98ea0a321 (sdl_gl) Build fix for the SDL1 codepath 2014-10-24 22:42:28 -03:00
aliaspider 8d573e9d44 (PSP) disallow odd values for viewport width/height. 2014-10-24 23:45:06 +01:00
Higor Eurípedes 3479614e68 (d3d) Fix undeclared pretro_get_memory_data() error 2014-10-24 20:15:12 -02:00
Higor Eurípedes 40f19cf2c4 (d3d) Move C++ headers to the top to avoid namespace conflicts 2014-10-24 20:12:23 -02:00
twinaphex b1d7341ec3 (PS3 context driver) Convert 2014-10-24 19:30:54 +02:00
twinaphex 7d19433a15 (Android context driver) Convert 2014-10-24 18:58:53 +02:00
Twinaphex c496ee71d2 (gfx_context) Fix warnings 2014-10-24 07:26:51 +02:00
twinaphex bea3c59527 (Wayland context) update/convert 2014-10-24 07:23:10 +02:00
twinaphex b477e98bb1 (SDL context driver) Convert over 2014-10-24 05:43:47 +02:00
twinaphex d2df6421dc (DRM KMS) Convert DRM KMS context driver over 2014-10-24 05:20:07 +02:00
twinaphex 46717d1147 Start moving context driver variables to struct that gets
allocated and bound to driver.video_context_data - begin
with GLX context driver first
2014-10-24 03:12:08 +02:00
twinaphex 6eaec2fb97 Update other gfx_ctx_init_first calls 2014-10-24 02:15:30 +02:00
twinaphex 233f933187 Add commented out fallback code in case driver init fails -
as soon as we have fixed the init function in DRM/KMS context
driver we can reconsider enabling this.
2014-10-24 01:40:54 +02:00
twinaphex 4e13828d28 Expand gfx_context with prev/next functions 2014-10-23 23:55:30 +02:00
twinaphex 52052794b2 Refactor gfx_ctx_init_first 2014-10-23 23:09:37 +02:00
twinaphex af302530ef Rename g_settings.video.gl_context to g_settings.video.context_driver 2014-10-23 22:54:39 +02:00
twinaphex e3f89a77ac (VG) Update driver header include 2014-10-23 07:46:02 +02:00
sergiobenrocha2 e571d93c66 Fix header path. 2014-10-23 03:30:38 -02:00
twinaphex 6979b62bdc (SDK) Move math/matrix code to SDK 2014-10-23 04:48:34 +02:00
twinaphex e786288123 Take out some header includes in state_tracker.c 2014-10-23 04:40:47 +02:00
twinaphex 58f09ce79e Move scaler code over to libretro SDK 2014-10-23 04:34:35 +02:00
twinaphex 790775bc5f (filters) Kill some header include dependencies 2014-10-23 04:19:23 +02:00
twinaphex fd8a3d94ec Get rid of some scaler header dependencies 2014-10-23 03:52:18 +02:00
twinaphex 2597af8cc5 (OpenVG) Build fix 2014-10-23 03:47:18 +02:00
twinaphex 8e043ce9a6 Rename info variable to state_info to avoid declaration shadowing 2014-10-22 07:20:20 +02:00
twinaphex 12f22b0c8a (D3D) Include file/file_path.h 2014-10-22 03:56:54 +02:00
twinaphex 2997af48fa Move config-file code to SDK 2014-10-22 03:35:04 +02:00
twinaphex 3ec3004142 (XDK1) Build fixes 2014-10-22 02:05:01 +02:00
twinaphex 174d011bed Move dir_list to SDK 2014-10-22 01:13:05 +02:00
twinaphex 83602a79f1 (MSVC) Buildfix 2014-10-22 00:50:30 +02:00
twinaphex 9a9fa6532a Move file_path.c to libretro SDK 2014-10-22 00:23:06 +02:00
Twinaphex c6bc3b207f (Apple) Build fixes 2014-10-21 23:56:51 +02:00
twinaphex dd93d549aa Rename rarch_file_path to file_ops 2014-10-21 23:53:09 +02:00
twinaphex d3629f06f1 Rename file.c/file.h to content.c/content.h 2014-10-21 23:44:03 +02:00
twinaphex 2c5b744bc4 Compartmentalize file_path functions over to file_path.c 2014-10-21 23:33:20 +02:00
twinaphex 383eb08988 Don't have file_path.h include dir_list.h 2014-10-21 18:46:39 +02:00
twinaphex 81c5019afb Move miscellaneous header over to libretro SDK 2014-10-21 08:39:37 +02:00
twinaphex bf8cec3d04 (MSVC) Build fixes 2014-10-21 08:02:40 +02:00
twinaphex 7472922ee0 Move compat/ over to libretro SDK 2014-10-21 07:58:58 +02:00
twinaphex 480cd7c7ba Move msvc_compat.h to compat/ dir 2014-10-21 06:06:12 +02:00
twinaphex c62d52de0f Start properly implementing libretro SDK for boolean.h include
header, glsym, and rthreads
2014-10-21 05:05:52 +02:00
twinaphex ca79265e4b Rename thread wrapper as rthreads - make it part of the libretro SDK 2014-10-21 03:25:59 +02:00
twinaphex 3a947c450b (GL CG) Chane info variable to tracker_info 2014-10-21 02:21:13 +02:00
twinaphex 939b928adb Rename 'time' variables 2014-10-21 02:18:38 +02:00
twinaphex 856d06ed23 pixconv.c - rename y0/y1 variables 2014-10-21 01:14:36 +02:00
twinaphex a8fd98e6dc Rename 'abs' local variable to 'absolute' 2014-10-21 01:09:24 +02:00
twinaphex c699a7683e (video_thread_wrapper.c) Rename thread_frame variable to thr_frame 2014-10-21 00:26:53 +02:00
twinaphex 85ae740ec6 (gfx/gl.c) Rename index parameter variable 2014-10-21 00:16:48 +02:00
twinaphex ef27b31c9f print_buf was unused in shader_gl_cg.c - so get rid of it 2014-10-20 23:22:16 +02:00
twinaphex c3349004ad Change index variable to 'idx' 2014-10-20 22:58:31 +02:00
twinaphex 42bb37816e Take file_path.h include out of file.h 2014-10-20 21:51:04 +02:00
twinaphex 49bffb85db (video_thread_wrapper.c) see prior commit msg 2014-10-20 20:20:12 +02:00
Twinaphex 564467abe9 (CoreText) Add to AUTHORS 2014-10-20 19:41:39 +02:00
Twinaphex eb0d1e4116 (CoreText) iOS cannot use ApplicationServices/ApplicationServices.h
header
2014-10-20 19:37:41 +02:00
twinaphex 059ed8fb07 (Shaders) Rename index variables 2014-10-20 19:27:32 +02:00
twinaphex a82c4db39a (CoreText) Now compiles on OSX 10.6/Xcode 3.2.5 - CoreText/CoreText.h
header didn't exist there
2014-10-20 19:09:09 +02:00
twinaphex f9841f2b0b (CoreText) OSX 10.6 requires this header be included 2014-10-20 04:30:39 +02:00
twinaphex 4cfa7f3947 License glsym properly 2014-10-20 01:50:57 +02:00
Jay McCarthy 1f788543e7 Adding CoreText font driver for iOS and OS X
The font path settings should be changed to support entering a font
name on these platforms and potentially working with the front-end to
get a list of possible names.
2014-10-18 20:20:55 -04:00
Twinaphex 03fb979730 (video_thread_wrapper.c) Fix 'declaration shadows local variable' 2014-10-14 22:16:01 +02:00
Twinaphex d59074d9c8 (video_thread_wrapper.c) Fix 'declaration shadows global variables' 2014-10-14 19:04:42 +02:00
Twinaphex 40f97cde13 (gl_common.c) Fix declaration shadows a variable in global scope warning 2014-10-14 18:30:22 +02:00
Twinaphex 4fb4ad8a1e (fonts.c) Fix 'declaration shadows a global variable' warning 2014-10-14 18:28:22 +02:00
Twinaphex f7d30b775f (Shaders) Fix 'declaration shadows a variable in local scope' warnings 2014-10-14 18:26:28 +02:00
Toad King 0af2abed74 fix resolution changes not appearing until applied in GX 2014-10-12 21:10:17 -05:00
twinaphex 54d130838a More name uniformity in font renderer implementation functions 2014-10-08 18:19:05 +02:00
twinaphex 1cee15a118 Uniquely name each static function for GLX context driver 2014-10-08 18:12:18 +02:00
twinaphex 8cbeeab39f Create unique names for context driver static functions - needed
for Griffin builds
2014-10-08 18:09:01 +02:00
twinaphex f30042ff03 If video driver/video context driver doesn't support windowed mode,
then treat RARCH_CMD_FULLSCREEN_TOGGLE as no-op
2014-10-08 17:30:05 +02:00
twinaphex bcd5f8aa5b Add has_windowed to video driver and graphics context driver 2014-10-08 17:23:02 +02:00
twinaphex f9da3f37c4 Avoid usage of term 'emulator' 2014-10-08 04:56:09 +02:00
aliaspider 0089087777 stop using thr->frame.within_thread for thread_set_osd_msg.
TODO: find a more reliable way to determine if the calling thread is the
video driver thread or not.
2014-10-08 03:02:04 +01:00
Twinaphex 931bc28236 (Null gfx context driver) Prevent excess elements when HAVE_EGL is not defined 2014-10-07 16:49:56 +02:00
twinaphex 76d24cc42b (GL) Get rid of some unnecessary conditionals now that context driver
is at the very least set to a null driver
2014-10-07 14:33:45 +02:00
twinaphex 3603a56c01 Add null gfx context driver 2014-10-07 14:31:10 +02:00
Mike Robinson b5bd6f8d20 Fix segfault on invalid graphics context driver
Last element of gfx_ctx_drivers[] is NULL, don't dereference it.
2014-10-07 04:36:39 +01:00
twinaphex 587cacb644 (GL) Don't pass shader pointer variable around 2014-10-06 17:08:42 +02:00
twinaphex 8dc4f66c06 Check if gl->ctx_driver is non-NULL first in gl_frame 2014-10-06 16:59:21 +02:00
twinaphex 156ffc2c41 (GL) Don't use local pointer variable for ctx_driver 2014-10-06 16:48:06 +02:00
aliaspider a30ca8a082 (Lakka) fix texture loading when video_threaded is set to 'true' 2014-10-06 02:41:53 +01:00
twinaphex 4cf03811ea (GLSL) Make gl_glsl_num more robust 2014-10-04 22:24:14 +02:00
SuperrSonic 482854f217 Connect Deflicker to config 2014-10-04 01:09:30 -04:00
SuperrSonic 7a936f9719 Removed specific viWidth for 16:9 mode, not needed anymore 2014-10-03 20:31:52 -04:00
Twinaphex 1ea548d068 Merge pull request #1084 from aliaspider/master
(PSP) fix aspect ratio/viewport/rotation settings.
2014-10-04 00:45:29 +02:00
aliaspider 9985bbf30f (PSP) fix aspect ratio/viewport/rotation settings. 2014-10-03 23:22:44 +01:00
twinaphex 6214e8e211 (360) Build fixes 2014-10-03 22:26:29 +02:00
Twinaphex d029362dd7 (GL) Make gl_alive more robust 2014-10-03 17:17:18 +02:00
twinaphex 71fd3aa6b4 (Android) Build fix 2014-10-03 16:34:15 +02:00
twinaphex 3f900424ca (GL) Minor tweaks 2014-10-03 14:16:34 +02:00
twinaphex 7a6ee6a300 Get rid of MODE_MENU_HD too -g_extern.lifecycle_state can now
be used for 'injecting' button presses (i.e. libretro button presses
and/or meta button presses)
2014-10-02 21:57:01 +02:00
twinaphex c1a75ec68a Get rid of MODE_MENU_WIDESCREEN 2014-10-02 21:45:09 +02:00
twinaphex 54bfe360c6 Move ifndef HAVE_GCMGL checks outside of gl.c and into
shader_gl_cg.c - also implement stub glGenerateMipmapOES
for GCMGL
2014-10-02 21:09:34 +02:00
twinaphex a844c3997a (GL) Get rid of some more _func macros 2014-10-02 15:43:11 +02:00
twinaphex ca004c370c (HLSL) Cleanup hlsl_filter_type too 2014-10-02 15:25:51 +02:00
twinaphex 4c6fa4f059 (Cg/GLSL) Cleanups to filter_type implementation 2014-10-02 15:25:01 +02:00