Commit Graph

775 Commits

Author SHA1 Message Date
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
Alwin Garside 97b60b1e20 Fixed emscripten build 2016-03-13 15:30:30 +01:00
Hans-Kristian Arntzen f02faeea27 Vulkan: Fix segfault on nVidia. 2016-03-06 12:33:46 +01:00
Hans-Kristian Arntzen c00d32f30f Vulkan: Get correct window mode size. 2016-03-06 12:18:11 +01:00
Hans-Kristian Arntzen 6cde59a8ad Vulkan: Add more detailed counters. 2016-03-06 12:11:44 +01:00
twinaphex eebcde721b Rename video_coord_array 2016-03-05 07:28:02 +01:00
twinaphex 64a77af881 Use RARCH_DISPLAY_CTL_HW_CONTEXT_GET directly instead of
going through video_driver_callback
2016-03-04 20:49:55 +01:00
twinaphex 414c63b59a (VG) Silence some warnings
(Libretro-common) Add some headers
2016-03-02 23:09:31 +01:00
twinaphex 6f80e09ce1 Change MIN/MAX to upper-case 2016-03-02 00:07:31 +01:00
twinaphex 86a8899b0f (Android) Start preparing Android JNI Makefiles for Android 2016-03-01 18:46:40 +01:00
Themaister bce0d55a43 Vulkan: Allocate correct number of descriptors.
Have to allocate for entire pool, not per set.
2016-03-01 09:44:18 +01:00
twinaphex b79edb6095 Reimplement function pointers 2016-03-01 02:21:53 +01:00