Commit Graph

775 Commits

Author SHA1 Message Date
twinaphex 937230564d move more code to vksym.h 2016-03-01 01:53:48 +01:00
twinaphex 4a1a623099 (Vulkan) Add more funcptrs 2016-02-29 23:09:05 +01:00
twinaphex 0e60d20705 Add Command Function pointers 2016-02-29 23:04:17 +01:00
twinaphex 67ea4e1d6b (Vulkan) Pipeline function pointers 2016-02-29 22:55:31 +01:00
twinaphex 1fbac78e35 (Vulkan) Go through function pointer for vkDestroyPipelineCache 2016-02-29 22:38:58 +01:00
twinaphex 1b85ee442f Go through funcptr for vkAllocateCommandBuffers 2016-02-29 22:23:35 +01:00
twinaphex 83dc7db6c7 (Vulkan) Add descriptor set layout function callbacks 2016-02-29 22:04:23 +01:00
twinaphex caed6c61cb (Vulkan) Function pointer for vkFreeCommandBuffers 2016-02-29 21:58:10 +01:00
twinaphex 1e407079e4 Add function pointers for image view functions 2016-02-29 21:55:54 +01:00
twinaphex a6eb40b3d2 Add funcptr for vkAllocateCommandBuffers 2016-02-29 21:51:42 +01:00
twinaphex 4771c45ed3 Add render pass command function pointers 2016-02-29 21:43:04 +01:00
twinaphex 7f5d0f2763 (Vulkan) More function pointers for command buffer functions 2016-02-29 21:37:35 +01:00
twinaphex 860ffff3c9 (Vulkan) Go through funcptr for vkEndCommandBuffer 2016-02-29 21:31:51 +01:00
twinaphex eae652d6a5 Go through funcptr for vkDestroyCommandPool 2016-02-29 21:17:21 +01:00
twinaphex 8232135922 Cleanups 2016-02-29 20:08:56 +01:00
twinaphex e669f92399 (Vulkan) Cleanups 2016-02-29 20:07:11 +01:00
twinaphex 8a06e27c22 (Vulkan) Cleanups 2016-02-29 19:44:46 +01:00
twinaphex 59ad8fcfde (Vulkan) Cleanups 2016-02-29 19:43:54 +01:00
twinaphex f0458495f4 Go through funcptr for vkDestroyPipeline 2016-02-29 19:41:25 +01:00
twinaphex d45f0e0946 Some cleanups 2016-02-29 19:39:49 +01:00
twinaphex 670eede306 Go through function pointer for vkCmdClearAttachments 2016-02-29 19:34:40 +01:00
twinaphex fc7a972466 Go through function pointers for vkMapMemory/vkUnmapMemory 2016-02-29 19:20:42 +01:00
twinaphex 28d5ca6a86 (Vulkan) Style nits 2016-02-29 19:16:21 +01:00
twinaphex b660fb8878 Create sampler function pointers 2016-02-29 19:11:09 +01:00
twinaphex 0e91bb6852 Go through more function pointers 2016-02-29 19:03:18 +01:00
twinaphex 1d96e80b05 (Vulkan) More funcptrs 2016-02-29 18:40:30 +01:00
twinaphex 5863996d83 Go through VKFUNC 2016-02-29 17:06:41 +01:00
twinaphex 6c9e8041c6 Add function pointer for vkCreateCommandPool 2016-02-29 16:41:49 +01:00
twinaphex 6dce80ea07 Add function pointers for vkCreatePipelineCache and vkCreatePipelineLayout 2016-02-29 16:37:15 +01:00
twinaphex 778b50fc28 Add funcptr for vkCreateFramebuffer 2016-02-29 16:32:34 +01:00
twinaphex 361cce328d vkCreateRenderPass - add funcptr 2016-02-29 16:30:45 +01:00
twinaphex 4248e244a8 Go through funcptr for vkCmdCopyImage 2016-02-29 06:52:08 +01:00
twinaphex 01f5a7ad84 Go through vkQueueWaitIdle function pointer 2016-02-29 06:31:55 +01:00
twinaphex 09f2b64c1f gl_render_overlay -add early return 2016-02-29 01:43:40 +01:00
twinaphex 34f3963e4e Simplify RUNLOOP_CTL_IS_SLOWMOTION 2016-02-29 01:33:14 +01:00
twinaphex 6fbad68561 (gl.c) Cleanup 2016-02-29 01:29:49 +01:00
twinaphex 7d346d627f Robustness fixes 2016-02-29 01:22:39 +01:00
twinaphex ca497533db Fix C89_BUILD warning 2016-02-28 22:47:46 +01:00
Monroe88 a669039523 Add option for menu linear filter 2016-02-27 17:30:12 -06:00
twinaphex ac3cb48302 (VG) Style nits 2016-02-26 17:36:39 +01:00
twinaphex d9b86c4f6b Remove stub xshm video driver for now 2016-02-26 17:29:35 +01:00
twinaphex 2746bf0cb1 (xvideo.c) Cleanups 2016-02-26 17:26:26 +01:00
twinaphex 94b8e8820e (xvideo.c) Style nits 2016-02-26 17:24:36 +01:00
FIX94 1ed54b8683 Merge branch 'master' of https://github.com/FIX94/RetroArch 2016-02-23 03:40:40 +01:00
FIX94 4f48e61b98 (GX) allow all resolutions to use aspect ratio settings and allow custom viewport x and y to use as much of the screen as possible while making sure to keep the system screen position in mind 2016-02-23 03:40:14 +01:00
twinaphex ef1feca097 Some C89_BUILD fixes 2016-02-22 12:25:41 +01:00
Hans-Kristian Arntzen cece4e5ae2 Vulkan: Add workaround for broken VkImageView swizzling.
Certain early drivers fail to apply swizzle mask.
2016-02-21 13:52:30 +01:00
Hans-Kristian Arntzen f09338b1b8 Set alphaBlendOp correctly. 2016-02-21 13:40:19 +01:00
Hans-Kristian Arntzen 0dddd671f8 Vulkan: Use more approriate barrier 2016-02-21 12:59:11 +01:00
Hans-Kristian Arntzen 4259ea3d06 Merge branch 'master' of git://github.com/libretro/RetroArch 2016-02-21 12:45:26 +01:00
Hans-Kristian Arntzen 36eb07e067 Vulkan: Use copy paths if needed. 2016-02-21 12:33:16 +01:00
twinaphex fbc7eaf287 (vulkan.c) Style nits 2016-02-20 20:29:52 +01:00
twinaphex 1426cf7fb2 (vulkan.c) Style nits 2016-02-20 20:15:46 +01:00
Hans-Kristian Arntzen fa449646e9 Bug fixes for Vulkan readback.
We were getting weird and inconsistent viewport sizes back.
2016-02-20 14:04:33 +01:00
Hans-Kristian Arntzen bcac4a204f Vulkan: Set initial viewport after keep_aspect is correct.
Fixes fullscreen recording.
2016-02-20 13:46:20 +01:00
Hans-Kristian Arntzen 5542427246 Try to use cached memory for readbacks.
Speeds up nVidia readbacks by order of magnitude.
2016-02-20 12:04:53 +01:00
Hans-Kristian Arntzen 459c55989a Use vkCmdCopyImage for readbacks.
Blits often imply render targets.
2016-02-20 11:21:39 +01:00
Hans-Kristian Arntzen c74c7ae053 Vulkan: Work around broken push constants on Ivy Bridge.
Use UBOs instead, should be more compatible with early drivers.
2016-02-18 18:36:49 +01:00
Hans-Kristian Arntzen a1ae86a808 Remove obsolete shaders. 2016-02-18 18:36:49 +01:00
Hans-Kristian Arntzen adbf9fed16 Vulkan implementation. 2016-02-16 20:42:02 +01:00
twinaphex 954ac39b91 Create SHADER_CTL_GET_PREV_TEXTURES 2016-02-14 22:22:40 +01:00
twinaphex e790b503d9 Add SHADER_CTL_GET_IDENT 2016-02-14 22:17:00 +01:00
twinaphex 38034abce6 Add SHADER_CTL_DIRECT_GET_CURRENT_SHADER 2016-02-14 21:55:19 +01:00
twinaphex 46b963619a Create SHADER_CTL_WRAP_TYPE 2016-02-14 21:41:16 +01:00
twinaphex bd74390cde Add SHADER_CTL_USE 2016-02-14 20:01:39 +01:00
twinaphex b4dcbb235f Add SHADER_CTL_FILTER_TYPE 2016-02-14 19:51:32 +01:00
twinaphex 37c2b47915 Add SHADER_CTL_SET_MVP 2016-02-14 19:43:47 +01:00
twinaphex 02ec7830d9 Create SHADER_CTL_INFO 2016-02-14 19:30:48 +01:00
twinaphex cdd6684bb9 Create SHADER_CTL_SCALE 2016-02-14 19:21:54 +01:00
twinaphex 6c1b96f50d Add SHADER_CTL_SET_COORDS 2016-02-14 18:59:42 +01:00
twinaphex 20441299e1 Add SHADER_CTL_MIPMAP_INPUT 2016-02-14 18:48:17 +01:00
twinaphex fab6903522 Create SHADER_CTL_INIT 2016-02-14 18:41:45 +01:00
twinaphex 678cabc48c Add SHADER_CTL_DEINIT 2016-02-14 18:22:38 +01:00
twinaphex 7c4b372208 Add SHADER_CTL_GET_FEEDBACK_PASS 2016-02-14 18:19:48 +01:00
twinaphex fe3c3f5203 Create SHADER_CTL_INIT_FIRST 2016-02-14 18:17:43 +01:00
twinaphex f906e828ba Add SHADER_CTL_SET_PARAMS 2016-02-14 18:14:51 +01:00
twinaphex f9824dd53e Simplify video_shader_driver_set_params 2016-02-14 18:09:12 +01:00
twinaphex 5e1f289cd4 80-char width limit, style nits 2016-02-14 17:02:55 +01:00
twinaphex 57c4db4338 Style nits 2016-02-14 16:59:21 +01:00
twinaphex 5b581e70ba 80-char width limit style nits 2016-02-14 16:27:29 +01:00
twinaphex c2d7b330aa vg.c - buildfix 2016-02-14 16:15:01 +01:00
twinaphex 68969d1363 Add GFX_CTL_GET_VIDEO_SIZE 2016-02-14 02:26:20 +01:00
twinaphex bcaf08ad2d Add GFX_CTL_SET_RESIZE 2016-02-14 02:15:43 +01:00
twinaphex 5516ff05b5 Create GFX_CTL_SET_VIDEO_MODE 2016-02-14 02:12:18 +01:00
twinaphex 6413449944 (Android/EGL Images) Buildfixes 2016-02-14 02:00:14 +01:00
twinaphex 154f85c6fa Add GFX_CTL_SUPPRESS_SCREENSAVER 2016-02-13 23:39:12 +01:00
twinaphex f6afe72a1e Add GFX_CTL_IMAGE_BUFFER_WRITE 2016-02-13 23:35:47 +01:00
twinaphex 0a9787ec49 Create GFX_CTL_INPUT_DRIVER 2016-02-13 23:26:33 +01:00
twinaphex ce41c5bbca Create GFX_CTL_TRANSLATE_ASPECT 2016-02-13 22:07:56 +01:00
twinaphex f94e9c532e Create GFX_CTL_PROC_ADDRESS_GET 2016-02-13 22:02:49 +01:00
twinaphex 254d2d1fff Avoid crash in gl_frame 2016-02-13 21:15:18 +01:00
twinaphex 9e186b4587 Create GFX_CTL_SWAP_INTERVAL 2016-02-13 20:45:45 +01:00
twinaphex 46c9ff36ef Create GFX_CTL_CHECK_WINDOW 2016-02-13 19:53:14 +01:00
twinaphex b9a5c326cd Create GFX_CTX_GET_VIDEO_OUTPUT_SIZE 2016-02-13 19:36:02 +01:00
twinaphex 7c28ddbfc5 Add GFX_CTL_IMAGE_BUFFER_INIT 2016-02-13 18:51:16 +01:00
twinaphex ef6ef13143 Add GFX_CTL_GET_VIDEO_OUTPUT_PREV/GFX_CTL_GET_VIDEO_OUTPUT_NEXT 2016-02-13 18:47:38 +01:00
twinaphex 00e4793bed Add GFX_CTL_BIND_HW_RENDER 2016-02-13 18:36:23 +01:00
twinaphex b7c41c9fcd Remove gfx_ctx_show_mouse 2016-02-13 18:29:07 +01:00
twinaphex 8721c857e9 Add GFX_CTL_SET 2016-02-13 18:27:05 +01:00
twinaphex 6a697ef2e1 GFX_CTL_SHOW_MOUSE added 2016-02-13 17:48:25 +01:00
twinaphex 425a290ced Remove gfx_ctx_destroy 2016-02-13 16:33:38 +01:00
twinaphex ef1b0b0965 Add GFX_CTL_UPDATE_WINDOW_TITLE 2016-02-13 08:50:22 +01:00
twinaphex f079ca29e4 Add GFX_CTL_HAS_WINDOWED 2016-02-13 08:37:10 +01:00
twinaphex 752e9abd4e Add GFX_CTL_SWAP_BUFFERS 2016-02-13 08:33:33 +01:00
twinaphex 0a7c481ff0 Create GFX_CTL_FOCUS 2016-02-13 08:29:58 +01:00
twinaphex fab6c9b8c4 Add GFX_CTL_FREE 2016-02-13 08:26:54 +01:00
twinaphex 45a663c100 Add header 2016-02-13 05:08:29 +01:00
twinaphex af1e698b05 Add retro_assert.h to sdl_gfx.c 2016-02-13 04:49:42 +01:00
netux79 a2851ab70b (GX) Resolution Saving's Video Corruption Fix.
Also some cleanups for the RA GX version included.
2016-02-12 16:58:59 -05:00
Alcaro 03e9577686 Fix compile fail. 2016-02-12 15:27:48 +01:00
twinaphex 863b5306f8 CLeanups 2016-01-25 00:06:08 +01:00
twinaphex 372d673a26 Rename event_command to event_cmd_ctl - add second parameter 2016-01-22 15:34:43 +01:00
twinaphex fbd2e9aa84 Use string_is_equal more 2016-01-21 02:48:00 +01:00
twinaphex 157eb71606 Use string_is_equal more 2016-01-20 06:16:55 +01:00
twinaphex 54f46f4ee3 Update headers 2016-01-10 04:41:52 +01:00
twinaphex c2d7cbe18b Use string_is_empty 2015-12-26 07:59:15 +01:00
vanfanel 36d079f104 fixed segfault on exit caused by gl driver trying to free font context driver when osd mesages were disabled 2015-12-25 05:47:47 +01:00
vanfanel 886acba67f fixed segfault when osd message rendering was disabled 2015-12-25 05:27:28 +01:00
thedax 0565a92486 Update CTR (3DS) driver for the latest ctrulib SDK, fix a typo, and fix compilation errors. 2015-12-21 13:43:05 -05:00
twinaphex f53711f791 Change return type of load_texture to uintptr_t 2015-12-20 22:38:18 +01:00
twinaphex 6362c86c31 Buildfixes 2015-12-20 21:08:03 +01:00
twinaphex aa488dda25 Create video driver poke load_texture / unload_texture 2015-12-20 20:52:23 +01:00
twinaphex 6feff79547 (GL) Store major/minor version 2015-12-13 14:55:19 +01:00
twinaphex 8a213b8ab4 (sdl_gfx.c) Avoid warning by casting directly 2015-12-12 17:54:27 +01:00
twinaphex 1b768f7dcd Create RARCH_DRIVER_CTL_SET_REFRESH_RATE 2015-12-11 11:00:12 +01:00
twinaphex b7988a33fe shader_driver_ctx_init_first renamed 2015-12-09 08:45:55 +01:00
Higor Eurípedes 962455fafa (vg) Fix build again 2015-12-08 21:59:59 -03:00
Higor Eurípedes dc371da6ed (vg) Fix build 2015-12-08 21:51:29 -03:00
Higor Eurípedes 9e90efacbb (videocore) Convert to new egl common api 2015-12-08 17:33:59 -03:00
Higor Eurípedes c257374dcd (video_context_driver) Make better use of the data argument in context calls 2015-12-08 12:19:08 -03:00
twinaphex c614118ed8 Move context_bind_hw_render inline function to gl.c 2015-12-08 09:44:19 +01:00
twinaphex 75f10bfcdb Remove unused variable 2015-12-08 09:33:36 +01:00
twinaphex df60523f6c Move current_shader pointer to video_shader_driver.c 2015-12-08 09:27:25 +01:00
twinaphex 77b7e5b791 (GX) Remove dependency on menu_driver_get_ptr 2015-12-07 15:58:41 +01:00
twinaphex 2d55dc3bda Complete namespace changes 2015-12-07 15:32:14 +01:00
twinaphex e8a3bd99d8 (3DS/CTR) Buildfix 2015-12-07 09:32:58 +01:00
twinaphex 99ea0095a3 Create RARCH_MENU_CTL_FRAME 2015-12-06 18:28:37 +01:00
twinaphex 18ab12ab83 Take header include record_driver.h out of driver.h 2015-12-05 16:12:29 +01:00
twinaphex 736f343d9f Create RARCH_MENU_CTL_IS_ALIVE 2015-12-05 13:49:34 +01:00
twinaphex 2f29d9f18c Take out menu/menu_driver.h include from driver.h 2015-12-05 13:22:50 +01:00
twinaphex c8d8176c0c Get rid of unused variables 2015-12-05 12:50:56 +01:00
twinaphex df1c6344be Merge font_renderer_driver.c and font_driver.c 2015-12-05 12:07:22 +01:00
twinaphex 988162ed62 Cut down on code duplication 2015-12-05 11:29:06 +01:00
twinaphex 5f27366cb3 Expand font_driver_init_first 2015-12-05 11:18:05 +01:00
twinaphex a26e64e24d Expand font_driver_free 2015-12-05 10:54:53 +01:00
twinaphex e196fdf141 font_driver_render_msg - make it possible to pass special font data 2015-12-05 10:49:28 +01:00
twinaphex c88d795734 Start using font driver wrapper functions 2015-12-05 10:33:50 +01:00
twinaphex 89721b8837 Start creating font driver wrapper functions 2015-12-05 10:31:15 +01:00
twinaphex e735f84baa Refactor shader subsystem 2015-12-05 07:33:32 +01:00
twinaphex ab3f0f0652 Create remaining video_shader_driver_* functions 2015-12-04 16:45:38 +01:00
twinaphex 6d37cfc2fb Create video_shader_driver_get_prev_textures 2015-12-04 16:34:58 +01:00
twinaphex a2da59ac9b Create video_shader_driver_set_coords and video_shader_driver_set_mvp 2015-12-04 16:33:07 +01:00
twinaphex 827b3cc89b Create video_shader_driver_num_shaders 2015-12-04 16:19:12 +01:00
twinaphex 0ed77247a8 Create video_shader_driver_mipmap_input 2015-12-04 16:16:40 +01:00
twinaphex c8f2ef7734 Create video_shader_driver_get_ident 2015-12-04 16:05:42 +01:00
twinaphex 1956dffe9b Create video_shader_driver_use 2015-12-04 16:01:09 +01:00
twinaphex bdf099a19c Create video_shader_driver_deinit 2015-12-04 15:56:36 +01:00
twinaphex de555d6040 Replace all instances of shader->init 2015-12-04 15:54:10 +01:00
twinaphex 3f6540dd58 Start using video_shader_driver_init for D3D too 2015-12-04 15:53:02 +01:00
twinaphex 11109a198b Create video_shader_driver_init 2015-12-04 15:50:40 +01:00
twinaphex e73224c5c2 Get rid of superfluous log 2015-12-03 23:24:54 +01:00
twinaphex eda3e06898 (GL) Guard against possible segfaults in threaded video mode 2015-12-03 23:16:37 +01:00
twinaphex beb01b5d57 Create gl_init_textures_reference 2015-12-03 22:42:54 +01:00
Twinaphex 96da691728 Revert "Revert "(gl) Fix gl->should_resize being always true""
This reverts commit d35840ebcd.
2015-12-01 07:15:06 +01:00
Twinaphex d35840ebcd Revert "(gl) Fix gl->should_resize being always true"
This reverts commit 0f339caf30.
2015-12-01 04:58:47 +01:00
Higor Eurípedes 0dfccf2785 (sdl2_video) Fix floating point exception 2015-11-30 21:32:32 -03:00
Higor Eurípedes 0f339caf30 (gl) Fix gl->should_resize being always true 2015-11-30 21:32:32 -03:00
twinaphex 0db7cda264 Start moving rewind code to rewind.c 2015-11-30 22:25:13 +01:00
twinaphex 9824eb7ea9 Rename rarch_main_ctl to runloop_ctl 2015-11-30 21:42:59 +01:00
twinaphex 4e333302ae Rename RARCH_MAIN_CTL* to RUNLOOP_CTL* 2015-11-30 21:35:50 +01:00
twinaphex 1c867cedf0 Move nonblock_state to input_driver.c (NOTE: we probably need
to relocate this later on)
2015-11-29 17:53:11 +01:00
twinaphex b8df5fd584 (exynos_gfx.c) Nits 2015-11-29 01:43:58 +01:00
twinaphex 127448f848 Use video_driver_window_get 2015-11-29 01:39:28 +01:00
twinaphex 0044d853f8 Move display_type / display_window etc all to gfx/video_driver.c -
no more dependencies on driver_t
2015-11-29 01:12:49 +01:00
twinaphex 8ce6582fa4 Create drm_wait_flip 2015-11-28 17:16:19 +01:00
twinaphex 200b41bb58 (dispmanx_gfx.c) Nit 2015-11-28 17:07:52 +01:00
twinaphex 70850c8ca3 (dispmanx_gfx.c) Cleanups 2015-11-28 17:00:44 +01:00
Higor Eurípedes 9bc10fef7a (gl) Fix invalid enum error 2015-11-27 21:53:31 -03:00
Higor Eurípedes 428bc30a61 (gl) Add checks for full npot support 2015-11-27 21:21:23 -03:00
twinaphex dd68465f74 (exynos_gfx.c) Cleanups 2015-11-26 19:38:17 +01:00
twinaphex 7c52d380bf Move memsetting of fds and evctx to drm_common.c 2015-11-26 18:59:36 +01:00
twinaphex 00cf57eac0 Header include drm_common.h already includes essential
DRM headers
2015-11-26 18:57:29 +01:00
twinaphex 25680ec8a6 Create more DRM common functions 2015-11-26 18:47:07 +01:00
twinaphex 60ead8f6b1 Create drm_get_encoder 2015-11-26 18:23:51 +01:00
twinaphex 2693e16f1e (Exynos/DRM EGL context driver) Unify more code 2015-11-26 18:05:27 +01:00
twinaphex 7e08f5d908 Create drm_free 2015-11-26 17:34:35 +01:00
twinaphex e06121b661 Move more common code to drm_common.c 2015-11-26 17:30:01 +01:00
twinaphex 8f9c652693 Add gfx/common/drm_common.c and gfx_common/drm_common.h 2015-11-26 17:12:06 +01:00
twinaphex c720bce8a9 Update variable name/buildfix 2015-11-26 02:29:43 +01:00
aliaspider be5755fe59 (3DS) build fix. 2015-11-24 12:02:02 +01:00
Twinaphex 0958acd0b1 Merge pull request #2455 from aliaspider/master
(3DS) update.
2015-11-24 11:36:00 +01:00
aliaspider 38579e56ff (3DS) gfx driver: add missing d-cache flush. 2015-11-24 11:25:28 +01:00
twinaphex 516422b1d1 Build fix 2015-11-24 00:23:32 +01:00
twinaphex a3e52a9369 Put M_PI inside retro_miscellaneous.h 2015-11-24 00:05:37 +01:00
twinaphex deae90e0bb Move use_rgba to gfx/video_driver.c - get rid of driver_t dependencies 2015-11-23 23:58:40 +01:00
twinaphex 32b363c75e Cleanups 2015-11-23 21:32:05 +01:00
twinaphex 6f18656baa driver->video_context should be self-contained now to video_context_driver.c 2015-11-23 21:20:21 +01:00
Alcaro 7b66b65823 Add some error messages if the null drivers are used. 2015-11-23 19:42:46 +01:00
twinaphex c0cc5fac53 Cleanups 2015-11-23 18:25:42 +01:00
twinaphex 8030f91667 Don't use video_driver_get_ptr inside shader_null 2015-11-23 16:41:50 +01:00