Commit Graph

1186 Commits

Author SHA1 Message Date
twinaphex 35ba7fb2c4 Prevent implicit and superfluous memset 2016-10-21 20:04:56 +02:00
twinaphex f3ad815dd9 Prevent implicit memsets 2016-10-21 06:15:20 +02:00
twinaphex 7ebac14e47 (D3D) Cleanups 2016-10-20 05:36:02 +02:00
twinaphex 41212b40c5 Remove DONT_HAVE_STATE_TRACKER 2016-10-20 05:11:35 +02:00
twinaphex 648877757f Revert "(D3D) Cleanups"
This reverts commit e50f8b061d.
2016-10-20 05:07:03 +02:00
twinaphex e50f8b061d (D3D) Cleanups 2016-10-20 05:05:37 +02:00
twinaphex 2cb7cc01bf (D3D) Cleanups 2016-10-20 05:00:20 +02:00
twinaphex e71f8baa5f d3d_overlay_render - cleanup 2016-10-20 04:51:48 +02:00
twinaphex 2b576ebc1c Get rid of _XBOX defines 2016-10-20 04:37:13 +02:00
twinaphex 275814e291 Replace font_driver_free(NULL) calls with font_driver_free_osd()
inside video drivers
2016-10-20 00:39:33 +02:00
Higor Eurípedes 6f2cb9742d (font) Create font_data_t and update font_driver_init_first() 2016-10-18 20:07:00 -03:00
Francisco José García García 81e7a60759 (VITA) Try to use NEON 2016-10-17 18:39:53 +02:00
Twinaphex dd2c3ab1ee Merge pull request #3815 from Brunnis/master
Implement support for video_max_swapchain_images setting
2016-10-17 16:21:53 +02:00
Mikael Brunnhede 2cb9c912f4 Implement support for video_max_swapchain_images setting. 2016-10-17 11:23:34 +02:00
Francisco José García García 8e631df6c4 (VITA) Temporal fix for clear screen 2016-10-16 17:45:06 +02:00
aliaspider f9e7d4dc3f (3DS) fix gfx corruption when closing content. 2016-10-13 12:16:07 +01:00
aliaspider d48445fc1e (3DS) video driver:
- texture handling improvement.
- flush pending tasks while waiting for vsync.
2016-10-10 22:25:25 +01:00
aliaspider c78f697c16 (3DS) wrap texture coordinate swizzeling in a function. 2016-10-10 22:22:08 +01:00
Francisco José García García bcfa865569 (VITA) Wait for rendering before free overlays 2016-10-10 19:35:14 +02:00
twinaphex f698e0cfac Add GL_CAPS_GLES3_SUPPORTED 2016-10-08 14:11:12 +02:00
twinaphex d71a688685 (D3D9/Cg) Cleanups 2016-10-08 08:39:44 +02:00
aliaspider 4edbb48f34 (3DS) missing return value. 2016-10-08 01:17:48 +01:00
Twinaphex 49d520c5d5 Merge pull request #3736 from aliaspider/master
(3DS) more fixes.
2016-10-04 21:50:15 +02:00
aliaspider d87adcd226 (3DS) fix texture combiner stages in 32bit mode. 2016-10-04 20:38:00 +01:00
Brad Parker 1f27773fe0 C89_BUILD fix 2016-10-04 12:15:46 -04:00
aliaspider 23eef2c6ee (3DS) video driver: (cont.) 2016-10-04 15:55:30 +01:00
aliaspider c4daa087d4 (3DS) video driver: add some checks for the validty of incoming data. 2016-10-04 15:49:55 +01:00
twinaphex 23ed63f33a move device_aspect variable 2016-10-02 20:37:14 +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
aliaspider afd5e85a31 (3DS) add experimental font and menu_display drivers. 2016-09-29 20:14:12 +01:00
aliaspider 5db13323f6 (3DS) create gfx/common/ctr_common.h.
remove depthbuffer.
use vramalloc.
2016-09-28 20:59:54 +01: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
Francisco José García García 8a6625753d (Vita) Add get framebuffer 2016-09-27 23:39:24 +02:00
twinaphex 6d702f3538 Remove unused buf_fps variable 2016-09-22 21:51:22 +02:00
twinaphex 8d9eccfd65 (xvideo.c) Prevent null pointer dereferences for geom variable 2016-09-22 20:54:06 +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
Alcaro 9485263555 Fix implicit strstr 2016-09-15 21:16:25 +02:00
twinaphex d4797781ea (GX) Buildfix 2016-09-11 16:44:29 +02:00
twinaphex 3cf24afc44 (CTR) Buildfix 2016-09-11 16:43:56 +02:00
Alcaro 0720d5ad77 Kill warning 2016-09-11 16:38:36 +02:00
twinaphex 51b0e61712 Cleanups 2016-09-11 16:24:02 +02:00
twinaphex 606e37fcbd Cleanups 2016-09-11 15:07:07 +02:00
twinaphex 7ac1ed7e10 Cleanups 2016-09-11 14:54:34 +02:00
twinaphex 202e3e796e Get rid of more general.h includes 2016-09-11 14:46:53 +02:00
twinaphex 164d3b034c Get rid of OSX_PPC 2016-09-09 15:56:56 +02:00
twinaphex db6171676a Use retro_assert everywhere 2016-09-08 11:59:44 +02:00
Twinaphex ac2676b25f (glcapabilies.h) Add HAVE_CONFIG_H ifdef 2016-09-08 05:51:20 +02:00
Francisco José García García 04b5dbdb5c (VITA) Silence texture load 2016-09-07 23:53:20 +02:00
Alcaro 37a907eb51 These aren't needed. 2016-09-07 14:40:10 +02:00
Alcaro 3f105fe71f Perform evil experiments (run this driver in a completely different program) 2016-09-07 14:30:27 +02:00
Alcaro e243614db8 Create half-broken XShm driver, to perform evil experiments on 2016-09-07 13:39:00 +02:00
twinaphex 245a65a0d7 Change this 2016-09-07 01:12:35 +02:00
dankcushions cdc4bff3fb Fix build on Raspberry Pi (3) 2016-09-06 21:54:53 +01:00
mudlord f3a0d8518e mudlord is a fucking clot/hack and needs to be shot.
Should have tested on other drivers than Nvidia Windows.
2016-09-07 05:56:07 +10:00
Brad Miller 94be5a8651 Update modern_pipeline_xmb_ribbon.glsl.vert.h
nit
2016-09-06 15:58:37 +10:00
mudlord d77759cc1b change 2016-09-06 15:45:57 +10:00
mudlord 73a1cd4631 greatly optimized modern vertex shader for ribbon. 2016-09-06 15:42:16 +10:00
twinaphex 266a06ffb1 Revert "Expose GPU Hard Sync for GLES 3 too"
This reverts commit a74813c9ea.
2016-09-05 21:43:02 +02:00
twinaphex bd45d7a707 gl_capabilities.c - cleanups 2016-09-05 21:25:38 +02:00
twinaphex 67c2965612 OpenGL ES should not reach this code 2016-09-05 21:22:38 +02:00
twinaphex a74813c9ea Expose GPU Hard Sync for GLES 3 too 2016-09-05 21:16:30 +02:00
twinaphex 280aa831b5 Remove verbosity.h header dependency on gl_capabilities.c 2016-09-05 21:12:44 +02:00
twinaphex 43edd76736 Add headers 2016-09-05 21:09:21 +02:00
twinaphex 86d2a36407 (Win32) Buildfixes 2016-09-05 18:43:32 +02:00
twinaphex acd4dd527b Header include cleanups 2016-09-05 18:31:32 +02:00
twinaphex f0702ac72c (PS3) Buildfix 2016-09-05 07:59:26 +02:00
twinaphex 76732249b6 Cleanups 2016-09-05 07:30:44 +02:00
Twinaphex ef43a573a3 Silence warnings 2016-09-05 07:28:55 +02:00
twinaphex 1edaa20029 header cleanups for gl_capabilities.c 2016-09-05 07:26:32 +02:00
twinaphex 1bed2dc3c4 Buildfix 2016-09-05 07:22:44 +02:00
twinaphex 1a241fa9ce Rewrite this 2016-09-05 07:22:44 +02:00
twinaphex 7af3b79416 Create gl_capabilities.c/gl_capabilities.h 2016-09-05 07:04:56 +02:00
Brad Parker 0eb1777a1f remove extra semicolons 2016-09-03 10:30:21 -04:00
twinaphex 064f74825a CXX_BUILD buildfix 2016-09-01 18:26:01 +02:00
twinaphex 467451fccc Cleanup more header includes 2016-09-01 18:18:55 +02:00
twinaphex ddb9cff2af More header include cleanups 2016-09-01 18:10:59 +02:00
twinaphex ba7d638b99 Use string_is_equal 2016-08-29 18:46:41 +02:00
twinaphex 0f5118d895 feedback_pass - change to 0 2016-08-27 16:02:21 +02:00
Alcaro cad2eee9e0 Fix some PS3 derps 2016-08-27 13:54:02 +02:00
Francisco José García García 4221374072 (VITA) Add XMB support 2016-08-23 02:49:53 +02:00
Francisco José García García 70f16cddda (VITA) Fix setting aspect ratio 2016-08-15 02:39:34 +02:00
Twinaphex 50afc567b3 Prevent unused variable 2016-08-10 07:20:49 +02:00
twinaphex 04e7e51845 Move log message 2016-08-08 18:44:12 +02:00
twinaphex 8da3054968 Change this to HAVE_OPENGLES instead of HAVE_OPENGLES2 2016-08-08 18:40:58 +02:00
twinaphex becf96837e Allow for GL_DEBUG on GLES3/GLES 3.1/GLES 3.2 2016-08-08 18:37:46 +02:00
Francisco José García García cddef9827d (VITA) Fix rgb32 2016-08-08 01:51:23 +02:00
Hans-Kristian Arntzen 96818a297c Vulkan: Fix validation errors with OriginalHistory.
For some reason, OriginalHistory blit happened inside a render pass.
Also add more TRANSFER_SRC_BIT caps to images as they might have to be
copied to history.
2016-08-07 01:09:15 +02:00
twinaphex 0164ce3725 Move comments 2016-08-06 17:31:01 +02:00
twinaphex ef74742078 Change GL_CAPS_FBO 2016-08-06 17:28:15 +02:00
twinaphex 083bc4eed3 Cut down on some HAVE_FBO ifdefs 2016-08-06 03:18:19 +02:00
twinaphex 444d957978 (PSGL) Fix 32bit color 2016-08-03 17:07:38 +02:00
twinaphex b8de32587b (GL) Fix PSGL build 2016-08-03 16:47:01 +02:00
twinaphex afce6fccc5 (GL) Fix statement is unreachable warnign 2016-08-03 16:28:52 +02:00
Francisco José García García d514963a95 (VITA) Show fps 2016-08-03 02:02:44 +02:00
twinaphex b7b5ffe28c Above case should handle this already 2016-08-03 00:24:03 +02:00
twinaphex 02f0b4a428 GL_CAPS_BGRA8888 - Query for Apple extension GL_APPLE_texture_format_BGRA8888 too 2016-08-03 00:21:48 +02:00
twinaphex a517b39cfb Implement CAPS_PACKED_DEPTH_STENCIL for non-GLES too 2016-08-03 00:19:44 +02:00
twinaphex 36963b91c7 (GL capabilities) Packed depth stencil - if GLES is 3 or higher,
assume yes, also query EXT_packed_depth_stencil
2016-08-03 00:15:47 +02:00
twinaphex 23f4e8bdfa (Android/GLES) Should work with HW render context again 2016-08-03 00:08:50 +02:00
twinaphex 871b1740a8 Rename render_chain_driver.h to render_chain_gl.h 2016-08-02 16:22:57 +02:00
twinaphex fb641dabd1 (Griffin ) Buildfix 2016-08-02 15:01:34 +02:00
twinaphex 84588a1527 (GL) Move more code 2016-08-02 03:12:48 +02:00
twinaphex 9b06ec6c4e (GL) Move more FBO functions to render_chain_gl_legacy 2016-08-02 03:10:55 +02:00
twinaphex bd3cd08be8 (GL/FB) Still compiles and links with --disable-fbo 2016-08-02 03:04:27 +02:00
twinaphex d391159f39 Move more HAVE_FBO code to render_chain_gl_legacy 2016-08-02 02:56:44 +02:00
twinaphex 85ec02ba6b (GL) Move more renderchain code over to render_chain_gl_legacy 2016-08-02 02:54:38 +02:00
twinaphex 78806bf33c Move more renderchain code over to render_chain_gl_legacy.c 2016-08-02 02:38:46 +02:00
twinaphex a8e74f0aa2 (GL) Start moving renderchain code over to separate files 2016-08-02 02:27:23 +02:00
twinaphex ab8471959e (D3D) 80-char style nits 2016-08-02 01:47:11 +02:00
twinaphex a0d3a148e7 Move force SRGB disable check at beginning of capability check 2016-08-02 00:56:21 +02:00
twinaphex 31ca6ca5ea (GL) Rename another function 2016-08-02 00:42:03 +02:00
twinaphex 188dd9bd69 Create gl_renderchain_add_lut 2016-08-02 00:31:04 +02:00
twinaphex ec91878187 (GL) rename to gl_recompute_pass_sizes 2016-08-02 00:25:28 +02:00
twinaphex 9c1155283b (GL) Create gl_renderchain_convert_geometry 2016-08-02 00:23:38 +02:00
twinaphex e8480a72a6 (D3D) Correct one shader 2016-08-01 22:45:07 +02:00
twinaphex c314077f1d (D3D) Cleanups of shaders 2016-08-01 22:43:51 +02:00
twinaphex a2bbbee713 (D3D) Header fix pt. 2 2016-08-01 22:21:11 +02:00
twinaphex fd6a9fd3bd (D3D) Fix include 2016-08-01 22:18:42 +02:00
twinaphex 8d186dab88 Relocate D3D drivers 2016-08-01 22:05:57 +02:00
twinaphex 124454430b (GL) Go through gl_query_core_context_in_use 2016-08-01 21:58:18 +02:00
Twinaphex becef95dc2 (GL) Silence unused variable 2016-08-01 21:55:02 +02:00
Francisco José García García 95b630636d (VITA) Rotation workaround 2016-08-01 20:26:29 +02:00
twinaphex e3dc0261c0 (GL) Cleanups 2016-08-01 18:10:34 +02:00
twinaphex 46c8bba59e (GL) Cut down on ifdefs 2016-08-01 18:08:18 +02:00
twinaphex 10ceec4c99 (GL) Cleanups 2016-08-01 17:46:02 +02:00
twinaphex b7458f5523 (GL) Cleanups 2016-08-01 17:40:53 +02:00
twinaphex 34488802d9 Create GL_CAPS_SRGB_FBO_ES3 2016-08-01 17:36:07 +02:00
twinaphex 09ea570dcb Create GL_CAPS_FP_FBO 2016-08-01 17:33:50 +02:00
twinaphex 3d76f6e79f gl_check_capability - cleanups 2016-08-01 17:30:58 +02:00
twinaphex 76c021df09 Create GL_CAPS_SRGB_FBO 2016-08-01 17:28:43 +02:00
twinaphex 9b5703c9f3 Create GL_CAPS_FULL_NPOT_SUPPORT 2016-08-01 17:23:01 +02:00
twinaphex 91bef22613 EGL images should be usable with GLES3 and later too 2016-08-01 16:47:24 +02:00
twinaphex a45239359c (GL) Create GL_CAPS_UNPACK_ROW_LENGTH
(GL) Cut down on HAVE_OPENGLES2 ifdefs and try to use
HAVE_OPENGLES instead
2016-08-01 16:36:57 +02:00
twinaphex 6d76a04b0f (GL) Cleanups
(Emscripten) Add HAVE_RPNG/HAVE_RJPEG
2016-08-01 16:25:02 +02:00
twinaphex 78217ca32b (GL) Create GL_CAPS_ES2_COMPAT 2016-08-01 16:19:41 +02:00
twinaphex bbc303c7f2 (GL) Create GL_CAPS_PACKED_DEPTH_STENCIL 2016-08-01 16:11:35 +02:00
twinaphex 375a2f2480 Create GL_CAPS_DEBUG 2016-08-01 16:06:19 +02:00
twinaphex 4b1ab53361 Create gl_check_capability 2016-08-01 16:01:21 +02:00
twinaphex 1aac393f73 (GL) Cut down on some forward declarations 2016-08-01 15:40:02 +02:00
twinaphex 94763e1db4 (GL) Remove one unnecessary HAVE_MENU ifdef 2016-08-01 15:31:29 +02:00
Twinaphex ec82db21d2 Merge pull request #3301 from frangarcj/master
(VITA) Fix rotation
2016-07-31 20:31:08 +02:00
Francisco José García García b4bd9cf830 (VITA) Fix rotation 2016-07-31 19:48:55 +02:00
Hans-Kristian Arntzen 4e8e79eabd Vulkan: Add mipmapping support. 2016-07-31 13:47:10 +02:00
Hans-Kristian Arntzen d39a3619d6 Begin implementation of LUTs in Vulkan. 2016-07-31 12:26:14 +02:00
Hans-Kristian Arntzen f54b0c0ff0 Vulkan: Implement swap_interval > 1.
We have to fake it by duping since Vulkan has no native support for
this.
2016-07-24 00:34:48 +02:00
Hans-Kristian Arntzen 8c1b935969 Vulkan: Implement BFI. 2016-07-24 00:07:32 +02:00
Hans-Kristian Arntzen 8569028189 Vulkan: Use manual memory management for cached/incoherent devices. 2016-07-15 16:12:30 +00:00
twinaphex 76cc6fd8ec Start implementing signal handler code once in frontend driver code 2016-07-08 02:38:33 +02:00
twinaphex 0346cf70d5 Seems to come from here - add license text to it -
1ec3c44bdd/tree/tests/util/format.c
2016-07-04 15:05:50 +02:00
twinaphex 54e137d9f7 Cleanups 2016-07-03 10:47:09 +02:00
twinaphex fe1dc51889 Add missing file 2016-07-03 10:44:53 +02:00
twinaphex a8bba31429 Cleanups 2016-07-03 10:44:34 +02:00
twinaphex d53cbfbdfb Backport DRM video driver 2016-07-03 10:37:07 +02:00
Hans-Kristian Arntzen 4729ec9e1b Add support for signalling semaphores from frontend.
Useful for conserving framebuffer memory.
2016-06-27 20:54:53 +02:00
Hans-Kristian Arntzen 54c1759f45 Vulkan: Make a more general purpose symbol loader.
Avoids painful manual loading and wrapping function pointers everywhere
...

Reusable for cores, so move to libretro-common.
Also update built-in Vulkan headers.
2016-06-26 13:10:58 +02:00
Hans-Kristian Arntzen b013a9c863 Vulkan: Replace prebaked shaders with glslc -mfmt=c.
Far more clean and avoids illegal punning.
2016-06-25 14:55:03 +02:00
Hans-Kristian Arntzen 972a5db7ae Vulkan: Fix shader module leak. 2016-06-25 14:06:14 +02:00
Hans-Kristian Arntzen 07880e3f45 Vulkan: Begin hooking up validation layers.
Found lots of regressions due to bad reformatting.
2016-06-25 13:52:33 +02:00
Hans-Kristian Arntzen d043123f71 Vulkan: Add support for queue transfers in HW rendering. 2016-06-25 11:39:52 +02:00
vanfanel c097eed755 VIDEO/DISPMANX: Make the HW Bilinear Filtering setting work. 2016-06-16 11:37:02 +02:00
vanfanel 03dd7d4b51 VIDEO/DISPMANX: Fixed segfault when loading new core and content from RGUI 2016-06-15 14:28:13 +02:00
twinaphex 4e91f6fcd0 Use CG macro instead 2016-06-08 05:26:33 +02:00
Twinaphex 710a3fe249 Merge pull request #3090 from fr500/nuklear
[nk] fix nuklear / linux
2016-06-08 02:46:02 +02:00
radius 991ea3c008 [nk] fix nuklear in linux and don't request a core context on windows 2016-06-07 19:40:11 -05:00
FIX94 b80bba2061 (GX) only apply better gamma setting to wii and use old setting on ngc
(GX) show gamma setting in the video options on ngc, was hidden before
2016-06-05 18:57:29 +02:00
FIX94 f3d0860483 (GX) improved video gamma setting by allowing a wider spectrum (0.1 to 3.0) 2016-06-05 18:03:39 +02:00
twinaphex b23784ddc5 Update modern_alpha_blend.gls.vert.h 2016-05-30 08:55:31 +02:00
twinaphex 632cc599d6 Change modern_alpha_blend.glsl.frag.h 2016-05-30 08:53:49 +02:00
twinaphex 0f12336737 Take this out too 2016-05-30 08:51:41 +02:00
twinaphex d93d8e7a8f Update stock_fragment_modern 2016-05-30 08:44:13 +02:00
twinaphex d39d925c1d Fix opsque Cg shader 2016-05-29 03:48:08 +02:00
twinaphex da6a74b2dc Leave only GLSL_330 macro 2016-05-28 20:58:49 +02:00
Twinaphex 2056d25e3e Update GLSL_330_ES/GLSL_330_CORE 2016-05-28 20:56:37 +02:00
Twinaphex e331281d6a (shaders_common.h) Fix GLES 2016-05-28 20:56:02 +02:00
twinaphex 3d5cc14030 Convert other shaders 2016-05-28 18:43:00 +02:00
twinaphex 653359911a Cleanup shaders 2016-05-28 18:18:23 +02:00
radius 38305f8fb7 Update the menu driver to work with the latest version 2016-05-24 21:41:51 -05:00
twinaphex 91220c3448 Remove logically dead code 2016-05-23 21:49:40 +02:00
twinaphex 7c0532c3e7 Remove logically dead code 2016-05-23 21:47:41 +02:00
twinaphex 7e36dcb27f move video_texture_image to libretro-common and rename it to image_texture.c 2016-05-18 12:58:00 +02:00
twinaphex 80ce237878 (HAVE_MENU not defined) Buildfixes 2016-05-17 08:02:13 +02:00
twinaphex 281a33d61f Rename function to performance_counter_init 2016-05-16 09:58:45 +02:00
twinaphex f5bc75c640 Rename retro_perf_start/retro_perf_stop 2016-05-16 09:53:54 +02:00
twinaphex 18355d4748 Rename retro_perf_stop 2016-05-16 09:48:14 +02:00
twinaphex 0d833c903a Merge remote-tracking branch 'origin/vulkan-windows' 2016-05-16 07:51:01 +02:00
twinaphex cda8e7b560 Rename gl_init_vao to gl_check_vao 2016-05-16 06:14:32 +02:00
twinaphex e2cc3bc08d Create gl_query_core_context_in_use 2016-05-16 05:55:42 +02:00
twinaphex c28b4da58c Remove more dependencies on gl pointer 2016-05-16 05:50:39 +02:00
twinaphex 8f2c665dc7 Remove dependence on gl pointer for querying extensions 2016-05-16 05:47:34 +02:00
twinaphex 21438fc0af Some buildfixes for GL_DEBUG 2016-05-12 02:58:09 +02:00
neville 67e64f4ca6 gl_check_mipmap - don't look for GL_EXT_framebuffer_object here
- breaks OSX PPC
2016-05-11 23:04:48 +02:00
twinaphex c9d3936ee5 Check for GL_EXT_framebuffer_object too 2016-05-11 22:49:41 +02:00
twinaphex fc56f6ebdb Add some HAVE_THREADS ifdefs 2016-05-11 10:10:30 +02:00
twinaphex 78783cc2aa Buildfixes for compiling without HAVE_MENU 2016-05-11 10:06:15 +02:00
twinaphex 4a7ab8366b Move libretro.h headers to libretro-common/include 2016-05-10 19:03:53 +02:00
twinaphex b79b2dca13 Create performance_counters 2016-05-10 08:53:14 +02:00
twinaphex 7c20f2b868 Change namespace of thread functions 2016-05-10 03:14:23 +02:00
twinaphex dde471e001 Rename gfx_ structs 2016-05-10 02:39:09 +02:00
twinaphex 2ebb92834c Rename gfx_fbo_rect to video_fbo_rect 2016-05-10 02:34:36 +02:00
twinaphex 2691ab0c7d Rename command_event enums 2016-05-09 20:51:53 +02:00
twinaphex 523ebed112 Combine command_event.c and command.c 2016-05-09 20:30:47 +02:00
twinaphex a98ef36d36 Rename event_cmd_ctl to command_event 2016-05-09 20:20:50 +02:00
twinaphex 6bbe5fb83a Avoid warning 2016-05-09 19:24:10 +02:00
twinaphex 44ed8d1116 CXX_BUILD fixes 2016-05-09 05:48:47 +02:00
twinaphex 7272a3fdaf Prevent some warnings 2016-05-09 04:54:25 +02:00
twinaphex 9c1d1f3af8 (GL) Remove these conditionals - mipmap support should be
detected at runtime
2016-05-09 04:38:20 +02:00
twinaphex 3dfd8a0584 Split up vertex/fragment shader conditionals for XMB ribbon 2016-05-09 04:31:21 +02:00
twinaphex 3e40b77108 Improve check for gl_check_mipmap 2016-05-09 03:49:57 +02:00
twinaphex ca976aeda9 Make gl_load_texture_data a static function 2016-05-09 03:44:46 +02:00
twinaphex 4e535f77c6 Add gl_check_mipmap 2016-05-09 03:40:59 +02:00
twinaphex 725c202498 Remove input_driver_ctl 2016-05-08 23:12:04 +02:00
Torsten Paul 737e2832f2 Fix typos in VideoCore driver causing compile error on Raspberry Pi. 2016-05-08 21:55:46 +02:00
twinaphex 1b8e8ac22a Remove video_shader_driver_ctl 2016-05-08 21:11:27 +02:00
twinaphex ed5954420b (MSVC) Buildfixes 2016-05-08 20:40:42 +02:00
twinaphex b20d550cc4 Rename video context driver functions 2016-05-08 20:32:56 +02:00
Twinaphex be1daeebd7 Merge pull request #2971 from t-paul/screensaver-fix
Suppress screensaver only if requested by user settings.
2016-05-08 20:26:39 +02:00
twinaphex 7399ba386a Rename gfx_ctx_ prefix 2016-05-08 19:24:23 +02:00
Torsten Paul 1979ea52d2 Suppress screensaver only if requested by user settings. 2016-05-08 19:22:45 +02:00
Hans-Kristian Arntzen f91b36eec8 Fix inconsistencies between Vulkan and GL in ribbon.
Also fixes a shitty bug in menu_driver_draw_bg with pointer to stack.
2016-05-08 15:21:53 +02:00
Hans-Kristian Arntzen 8870e85395 More fixes for menu_display_ctl.
Grep shows nothing now.
2016-05-08 14:18:12 +02:00
Hans-Kristian Arntzen 66c4f608e6 Clear out rest of video_driver_ctl use. 2016-05-08 14:10:28 +02:00
Hans-Kristian Arntzen d723411436 De ioctl video_driver. 2016-05-08 14:00:51 +02:00
Hans-Kristian Arntzen 464a4add66 XMB ribbon works in Vulkan. 2016-05-08 11:11:28 +02:00
Hans-Kristian Arntzen 26cfedc546 Add XMB ribbon shaders to Vulkan. 2016-05-08 09:54:36 +02:00
twinaphex e482bc7556 (GL) Avoid warning 2016-05-05 02:08:07 +02:00
twinaphex eb2a4f5c56 (GL) Nits 2016-05-05 02:07:33 +02:00
twinaphex 2c77616ec3 (gfx/drivers) Cleanups 2016-05-05 01:59:05 +02:00
twinaphex 1b84895ba0 (GL) Cleanup gl_check_fbo_dimensions 2016-05-05 01:42:08 +02:00
twinaphex d4a322add3 Cleanups 2016-05-05 01:33:54 +02:00
twinaphex 0ad0763413 gl_read_viewport - cleanup 2016-05-05 01:32:35 +02:00
twinaphex 7feac862db (GL) Cleanups 2016-05-05 01:29:52 +02:00
twinaphex 9465a00d4b Create video_frame_convert_rgba_to_bgr 2016-05-04 18:44:39 +02:00
twinaphex bfcc89f580 (SDL) Use video_frame_scale 2016-05-04 16:56:16 +02:00
twinaphex 7b2a2f2336 Create video_frame_scale 2016-05-04 16:44:38 +02:00
twinaphex bf53a939da Create gfx/video_frame.h 2016-05-04 16:32:24 +02:00
twinaphex 83584c84f8 (sdl_gfx.c) Style nit 2016-05-04 04:45:46 +02:00
twinaphex 66b6129e98 Cleanups 2016-05-04 04:43:24 +02:00
twinaphex 3ba02a3786 Cleanups 2016-05-04 04:34:05 +02:00
twinaphex a393d9a75b Cleanups 2016-05-04 04:22:41 +02:00
Twinaphex 51565e6336 (iOS) Avoid some analyze warnings 2016-05-04 04:10:33 +02:00
twinaphex 65dec874a8 Move some path settings 2016-04-28 19:52:25 +02:00
twinaphex b4f4720f51 (Cg) Update Cg simple ribbon courtesy of teepee 2016-04-26 22:11:58 +02:00
twinaphex 54c0ca4bf5 C89_BUILD fixes 2016-04-25 13:45:53 +02:00
twinaphex d7b3e9cc8f Add old shader versions of XMB ribbon 2016-04-24 20:25:56 +02:00
Twinaphex 5a0d656a47 (XMB) Rename noise2 to xmb_noise2 - fixes shader compilation
on OSX
2016-04-23 05:21:40 +02:00
Jean-André Santoni 422c6d8984 (XMB) Ribbon lighting + readability tweaks 2016-04-23 05:24:44 +07:00
twinaphex 1bbc2f09b5 (courtesy of teepee) Rewrite the ribbon code to use the coordinate
array
2016-04-19 23:00:55 +02:00
Twinaphex 9d0047798d Merge pull request #2874 from aliaspider/master
(3DS) gfx driver: improvements / fixes.
2016-04-18 18:10:40 +02:00
aliaspider 0ffba39280 (3DS) restore state correctly when suspending/exiting app. (fixes #2207) 2016-04-18 16:38:32 +01:00
aliaspider 4f54025a50 (3DS) 3D slider display mode selection tweaks. 2016-04-18 15:55:34 +01:00
aliaspider 0f8895bcc3 (3DS) the parallax layer register can be written to from userland with
GSPGPU_WriteHWRegs.
2016-04-18 15:22:41 +01:00
twinaphex 2d69615f1d Add some compatibility defines for XMB ribbon pipeline shader 2016-04-18 03:56:08 +02:00
twinaphex faa3e3557c Exclude SDL for C89_BUILD 2016-04-18 03:23:47 +02:00
Twinaphex 25c2acb98d Merge pull request #2873 from lakkatv/master
(XMB) Fix the ribbon with GLES
2016-04-17 21:58:57 +02:00
Jean-André Santoni 8e4934edae (XMB) Fix the ribbon with GLES 2016-04-18 02:50:48 +07:00
Twinaphex 1b111feb9e Merge pull request #2872 from aliaspider/master
(3DS) add more display modes for the top screen that can be controlled by the 3D slider.
2016-04-17 21:16:07 +02:00
aliaspider 4994de806a (3DS) add more display modes for the top screen that can be controlled
by the 3D slider.
2016-04-17 20:10:21 +01:00
twinaphex 7b3b4de3b9 Ribbon GLSL fragment shader - remove this unused line 2016-04-17 18:25:25 +02:00
twinaphex ec4f961348 (XMB Cg) Ribbon works with Cg now too 2016-04-17 17:59:40 +02:00
aliaspider 1465cf1ffc (3DS) allow setting a start offset in the texture 2016-04-17 15:30:44 +01:00
aliaspider a609a748db (3DS) move shaders to a subdirectory. 2016-04-17 13:27:55 +01:00
aliaspider 27fc306b19 (3DS) refactor shaders. 2016-04-17 13:23:56 +01:00
twinaphex 6579b5f3c8 Add XMB shader compilation to shader_gl_cg.c 2016-04-17 05:52:26 +02:00
twinaphex 30ade96fc0 Add Cg conversions of XMB ribbon/Zahnrad 2016-04-17 05:48:06 +02:00
twinaphex 9386fb2fa0 Move D3D9 HLSL font shader to file 2016-04-17 04:13:23 +02:00
twinaphex b3220cf53e Move zahnrad shaders to separate files 2016-04-17 02:36:07 +02:00
Twinaphex 8616b21e1f Merge pull request #2869 from aliaspider/master
(3DS) change shader format/assembler
2016-04-17 00:18:00 +02:00
twinaphex e9d16655f0 Create d3d_shaders 2016-04-17 00:16:32 +02:00
twinaphex 02e0be55a8 Move GL stock shader to gfx/drivers/gl_shaders 2016-04-17 00:11:52 +02:00
twinaphex f0f60901ff Move all shader files to header files (gfx/drivers/gl_shaders) 2016-04-17 00:08:45 +02:00
twinaphex 8b6abde2f9 Start moving GL shaders to gfx/drivers/gl_shaders 2016-04-16 23:57:37 +02:00
aliaspider ad0d73d8f0 (3DS) refactor shaders. simplify texture combiner usage. 2016-04-16 22:38:13 +01:00
aliaspider c370afd861 (3DS) start porting shaders to the picasso format. 2016-04-16 20:26:05 +01:00
twinaphex 92faefbccc (GL) Cleanups - gl_set_shader 2016-04-16 07:19:21 +02:00
twinaphex dfe723c727 gl_shader_init - cleanup 2016-04-16 07:16:32 +02:00
twinaphex 4e041ff3d0 (GL) gl_shader_init - Cleanups 2016-04-16 05:36:09 +02:00
twinaphex 7b88378952 Add params to video_shader_ctx_init 2016-04-16 05:14:39 +02:00
twinaphex 8a90e2777c Rename GL_SHADER_STOCK_BLEND to VIDEO_SHADER_STOCK_BLEND 2016-04-16 01:50:20 +02:00
twinaphex 9d85afd358 Refactor SHADER_CTL_USE 2016-04-15 07:37:06 +02:00
Hans-Kristian Arntzen c7b96b75b8 Vulkan: Add more error logging. 2016-03-29 17:36:13 +02:00
Hans-Kristian Arntzen 38a305bb6e Vulkan: Add proc address query functions to HW interface.
Allows cores to avoid linking directly against any extra library.
Update HW interface version to 2 to signal ABI change.

Note that the interface is still experimental and can change at any time.
2016-03-29 16:35:31 +02:00
Hans-Kristian Arntzen 1ff4445ba0 Remove dead code with full_x/full_y.
Very confusing and no longer serves any purpose anyways.
2016-03-29 15:28:13 +02:00
Hans-Kristian Arntzen 82db5a4950 Vulkan: Use single UBO for all passes and sync indices.
Significantly reduces number of allocations.
2016-03-26 19:39:51 +01:00
Hans-Kristian Arntzen 3838b3c045 Vulkan: Add frame count suport. 2016-03-25 22:06:31 +01:00
Hans-Kristian Arntzen 83ab0d799f Vulkan: Begin implementing history and feedback. 2016-03-25 14:51:37 +01:00
twinaphex 1b289c0f05 (libretro-common) Update 2016-03-24 04:23:17 +01:00
twinaphex e41127459e Rename 'filestream' functions 2016-03-24 04:09:25 +01:00
twinaphex 870bce981d (gl.c) Indenting nits 2016-03-24 03:32:00 +01:00
twinaphex e1c47a68fe Take prototype declaration out of video_driver.h 2016-03-23 06:57:29 +01:00
Hans-Kristian Arntzen f1a5725f66 Vulkan: Host writes are implicitly flushed on submit.
Use TOP_OF_PIPE/0 access instead to work
around spammy asserts on Anvil.

We still have to invalidate the caches however.
2016-03-21 16:57:04 +01:00
Hans-Kristian Arntzen 7899d449e6 Vulkan: Also invalidate fragment uniform buffer 2016-03-21 11:49:27 +01:00
Hans-Kristian Arntzen a21687b5d7 Vulkan: Ensure vertex caches are invalidated. 2016-03-21 10:10:29 +01:00
Hans-Kristian Arntzen 84923a0465 Vulkan: Tighten up pipeline barrier usage.
Lots of memory barriers used with TOP_OF_PIPE which is not valid.
2016-03-21 10:02:00 +01:00
Hans-Kristian Arntzen 07524fe433 Vulkan: Log about format use. 2016-03-21 09:29:41 +01:00
twinaphex 3720cf87e7 Rename retro_file to file_stream 2016-03-20 16:29:14 +01:00
twinaphex 93b7dc1bdd (libretro-common) move 'lists' files to lists/ 2016-03-20 14:53:54 +01:00
twinaphex 70bb4c69f3 CXX_BUILD - silence some warnings 2016-03-20 05:26:16 +01:00
twinaphex 8b4a41155d C89_BUILD buildfixes 2016-03-20 05:24:05 +01:00