Commit Graph

7968 Commits

Author SHA1 Message Date
Stuart Carnie
44ca1062b0 formatting 2018-07-03 22:32:12 -07:00
Stuart Carnie
a0900ec433 feat(Metal): full xmb pipeline support
Menu TODOs:

* understand why ribbon does not look the same as GL
* add clear support to `MenuDisplay` for glui
2018-07-03 22:32:12 -07:00
Stuart Carnie
4a101734a1 More cleanup
* use single render command encoder for display for better performance
* Context handles all rendering and presentation
2018-07-03 22:32:12 -07:00
Stuart Carnie
1c5d94aca1 Improve performance; don't care about previous state ofcolor attachment
Color attachment is being completely overwritten.
2018-07-03 22:32:12 -07:00
Stuart Carnie
5e1f991e32 feat(Metal): initial xmb and glui menu support
TODOs

* menu shader pipeline effects
* refactor / optimize graphics rendering
2018-07-03 22:32:12 -07:00
Themaister
f2cae17021 Vulkan: Try to avoid creating swapchains redundantly.
Win32: Only make resize events when needed.
Do not create swapchain unless necessary.
Deal better with Windows WSI workarounds.
2018-07-01 16:21:09 +02:00
Themaister
c4ba8d26a0 Support multiple displays in VK_KHR_display. 2018-07-01 01:21:51 +02:00
twinaphex
8a1c0be83c (Android) Another potential buildfix; define ENABLE_HLSL
(slang_process) Put HLSL/Cg code around ENABLE_HLSL ifdef
(SPIRV-Cross) Make sure macros no longer need to be redefined; make them
unique in both glsl and hlsl files; needed for Griffin builds
2018-06-26 13:18:17 +02:00
twinaphex
d967cbc879 Add another ENABLE_HLSL ifdef 2018-06-25 21:51:23 +02:00
Twinaphex
3bdc7ca352
Merge pull request #6915 from RobLoach/osd-font
freetype: Allow getting OSD Font from Assets Directory
2018-06-24 18:13:18 +02:00
Rob Loach
e4fe33f437
freetype: Add comment about assets:// 2018-06-24 12:02:28 -04:00
Rob Loach
8a96062ed0
freetype: Rename to osd-font.tff 2018-06-24 11:19:40 -04:00
Rob Loach
da6b7987f1
freetype: Get DejaVuSansMono.ttf from the assets directory 2018-06-24 11:00:21 -04:00
Stuart Carnie
367c15f488 feat(Metal): font rendering
* FPS and other OSD messages render correctly
* add autoreleasepool around entire render loop to avoid memory leaks
2018-06-23 23:54:23 -07:00
Stuart Carnie
eacd52f009 fix(Metal): improve shader stability
* use MTKView, which handles layer and scaling changes automatically
  between displays
2018-06-23 13:33:27 -07:00
Stuart Carnie
ee8d82dcfe add additional project files 2018-06-23 13:33:27 -07:00
twinaphex
0d8729daa6 FIx warning 2018-06-21 08:12:02 +02:00
twinaphex
b05026b69f Buildfix 2018-06-21 07:56:40 +02:00
Twinaphex
fd11b205da Silence bunch of warnings 2018-06-21 07:52:01 +02:00
Twinaphex
2bdffff435 Silence more warnings 2018-06-21 07:34:27 +02:00
Twinaphex
467aa30131 Cleanups 2018-06-21 07:26:05 +02:00
Stuart Carnie
411bcf8bdd feat(apple): Metal support for macOS
* includes rgui
* shader support

This is a work-in-progress and there are some bugs and visual artifacts
still to be fixed.
2018-06-20 21:33:45 -07:00
twinaphex
1f571be61d Fix warning 2018-06-20 10:24:10 +02:00
Hans-Kristian Arntzen
16c797f057 Vulkan: Fix two validation errors.
- Mipgen was only transitioning the first miplevel to GENERAL.
  Fix the image barrier helper function to transition all levels and
  layers.

- Validation layer was complaining that a VkSwapchainKHR was not
  properly destroyed. After recycling the swapchain, destroy the old
  one.
2018-06-06 23:23:32 +02:00
misson20000
1404b63219 fix for tearing (depends on libtransistor commit cf5d0403 in v2.0.0, which is yet to be released) 2018-05-30 18:04:58 -07:00
Gustavo Maciel Dias Vieira
14c505117d Add screensaver (idle) inhibition for Wayland driver
The Wayland driver currently has no implementation for gfx_ctx_wl_suppress_screensaver. This adds a Dbus implementation using the same infrastructure used by the X11 driver.
2018-05-29 09:56:58 -03:00
twinaphex
23b0444afe Update libretro-common 2018-05-28 17:30:56 +02:00
alphanu1
b4996e6d41
Porch adjust to fix aspect 2018-05-25 10:58:43 +01:00
alphanu1
e6b2f5a734
240p menu for CRT 2018-05-25 10:57:32 +01:00
alphanu1
f99540e9d0
update 2018-05-25 10:56:22 +01:00
alphanu1
23ec5eed84
update 2018-05-25 10:55:15 +01:00
alphanu1
a98ce80df0
Porch adjust to fix aspect 2018-05-25 10:49:28 +01:00
alphanu1
e20e0b1cfd
240p menu for CRT 2018-05-25 10:42:57 +01:00
alphanu1
f9fb5ae659
Merge pull request #68 from libretro/master
update
2018-05-25 10:41:38 +01:00
twinaphex
c7c1983c91 Update d3d9_set_pixel_shader 2018-05-18 20:43:12 +02:00
twinaphex
eac9ce1818 Refactor load_program 2018-05-18 08:49:52 +02:00
twinaphex
3c1c6758c7 Update 2018-05-18 01:38:45 +02:00
twinaphex
ce79ff79d2 Cleanups 2018-05-18 01:10:13 +02:00
twinaphex
db184a470b Cleanups 2018-05-18 00:51:45 +02:00
twinaphex
c9de823e38 (D3D9 HLSL) Start getting rid of old code 2018-05-18 00:46:39 +02:00
twinaphex
d457256bda (D3D9 HLSL) More work hooking up the stock shader(D3D9 HLSL) More work
hooking up the stock shader(D3D9 HLSL) More work hooking up the stock
shader(D3D9 HLSL) More work hooking up the stock shader(D3D9 HLSL) More
work hooking up the stock shader(D3D9 HLSL) More work hooking up the
stock shader(D3D9 HLSL) More work hooking up the stock shader(D3D9 HLSL)
More work hooking up the stock shader(D3D9 HLSL) More work hooking up
the stock shader
2018-05-18 00:36:51 +02:00
twinaphex
48b9506299 (HLSL) Implement renderchain_add_pass 2018-05-18 00:27:07 +02:00
twinaphex
076a8a6a97 (D3D9 HLSL) Updates 2018-05-18 00:24:19 +02:00
twinaphex
5a84170efe Simplify d3d9_hlsl_load_program 2018-05-18 00:19:02 +02:00
twinaphex
c4a38f24d1 Refactor D3D9 HLSL 2018-05-18 00:17:47 +02:00
twinaphex
991882cbd6 Create d3d9_hlsl_bind_program 2018-05-17 23:25:43 +02:00
twinaphex
8fadef7082 Update d3d9_set_vertex_shader 2018-05-17 23:23:17 +02:00
twinaphex
1d67334323 Expand d3d9_cg_bind_program 2018-05-17 23:20:13 +02:00
twinaphex
9adedbc01a Create d3d9_cg_bind_program 2018-05-17 22:57:16 +02:00
twinaphex
eb27d014e8 Cleanups 2018-05-17 22:50:37 +02:00