Commit Graph

307 Commits

Author SHA1 Message Date
twinaphex
3a984fc2e5 (GDI) Use video_info->userdata instead of querying video_driver_get_ptr
(retroarch.c) Simplify video_driver_get_ptr
2019-06-19 05:25:26 +02:00
twinaphex
ee3208ac39 Integrate video_driver.c into retroarch.c 2019-06-17 15:10:22 +02:00
twinaphex
5dc11fcd31 Reimplement 'fix ozone issues on mali400 gpu. as a bonus, fixes #5378'
by BringerethOfLight
2019-05-24 04:13:55 +02:00
twinaphex
c55873c324 (GL_CORE) More updates 2019-04-24 03:33:32 +02:00
twinaphex
762e28e1e0 (CXX_BUILD) Silence this warning 2019-04-20 16:39:58 +02:00
jdgleaver
54e1711f9a (3DS) Sanitise/Improve display mode selection 2019-04-15 17:05:55 +01:00
Brad Parker
7648da1413 d3d9/10/11/12: fix scissor parameters 2019-04-10 00:23:00 -04:00
twinaphex
dc80e49509 (menu_display_gl) Small cleanup 2019-04-10 01:50:55 +02:00
twinaphex
002ac5a344 (menu display) pointer cleanups 2019-04-10 01:46:25 +02:00
twinaphex
45fa047b07 (Menu display) Pointer cleanups 2019-04-08 15:22:21 +02:00
Brad Parker
48dc251303 gl1: add scissor reset from gl 2019-04-05 18:17:11 -04:00
twinaphex
27928081cf Cleanups 2019-03-18 15:27:37 +01:00
twinaphex
f67bfa24ef Get rid of video_poke_interface set_mvp 2019-03-18 15:19:11 +01:00
twinaphex
03641f2378 (GL1) Cleanups 2019-03-18 04:50:50 +01:00
twinaphex
8361253b52 (GL menu display driver) Don't go through
video_driver_set_coords/video_driver_set_mvp
2019-03-18 04:39:54 +01:00
Brad Parker
a8a06d498c gl1: fix matrix not loading when threaded video is on 2019-03-17 12:46:01 -04:00
twinaphex
643cd1923e CXX_BUILD / C89_BUILD buildfixes 2019-03-14 14:14:44 +01:00
Themaister
a4e35634e0 Fixup some casts for CXX_BUILD. 2019-03-09 12:34:55 +01:00
Themaister
3029f96511 Add a new "glcore" driver with slang support.
This driver should sunset the old gl2 driver, but that driver will
likely live on to support really ancient and terrible GL stacks.
All the worst legacy cruft has been ripped out, and it's almost a decent
backend now.

Requirements for slang are GL 3.2+ or GLES3.
Some shaders require features which are not directly compatible with
GLES2 or legacy GL.

This driver shares a lot of concepts from the Vulkan driver.
The slang shader stack and SPIRV-Cross are used to implement the shader
spec, and the menu shaders are also shared with Vulkan.
2019-03-09 12:30:49 +01:00
Brad Parker
4f0d61a2ac update copyright 2019-02-22 19:13:36 -05:00
Brad Parker
477d46d52b update copyright 2019-02-22 19:13:36 -05:00
Brad Parker
5a3a58c8a6 gl1: fix order of non-rgui menu drawing, add proper texture support 2019-02-11 12:05:31 -05:00
Twinaphex
aac14a00a4
Merge pull request #8233 from orbea/sixel
Fix warnings with --enable-sixel.
2019-02-09 00:27:11 +01:00
orbea
78dbe1cef1 Fix warnings with --enable-sixel. 2019-02-08 14:13:02 -08:00
Brad Parker
74fd184097 initial GL1 video driver, only rgui is working currently 2019-02-08 12:14:55 -05:00
twinaphex
b0dcbdc15e (menu_display_gl.c) Simplifications 2019-02-07 01:25:25 +01:00
Twinaphex
6f5dfeb20e
Merge pull request #8184 from orbea/warnings
Fix travis warnings.
2019-02-06 06:39:06 +01:00
natinusala
475f3c3cc0 menu_display_gl: fix scissoring implementation for gl enabled cores 2019-02-06 00:54:26 +01:00
orbea
c9b0ba1123 Fix travis warnings. 2019-02-05 11:27:01 -08:00
orbea
28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
twinaphex
dd366cd5c5 Revert "Simplify set_coords"
This reverts commit e10eb51f71.
2019-02-03 18:05:14 +01:00
twinaphex
e10eb51f71 Simplify set_coords 2019-02-03 18:03:07 +01:00
twinaphex
845c8d1757 Get rid of more video_shader_driver functions 2019-02-03 05:05:23 +01:00
twinaphex
9aa542b1ae * Get rid of video_shader_driver_use
* Get rid of Nuklear - ozone/menu widgets is probably the replacement
for it - Zarch will go next
2019-02-03 04:37:54 +01:00
natinusala
0f3fcdd311 Implement scissoring for d2d12 2019-01-28 19:31:27 +01:00
Brad Parker
8b6676e17f d3d9: implement scissor test 2019-01-26 20:13:39 -05:00
Brad Parker
29a07895b9 implement scissor test for D3D10/11, fixes #7897 2019-01-26 18:52:49 -05:00
orbea
e062b98088 Remove trailing blank lines.
find . -type f -exec sed -i '${/^[[:space:]]*$/d;}' {} \+
2019-01-17 19:39:38 -08:00
twinaphex
6ca9afbd57 Silence more warnings with CXX_BUILD 2019-01-12 18:51:06 +01:00
twinaphex
13ccf4d408 Silence some more static code analysis warnings 2019-01-11 01:35:18 +01:00
twinaphex
c98b2e2292 Buildfixes and more static code analysis warning fixes 2019-01-10 22:24:43 +01:00
orbea
bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
twinaphex
dd60b5d576 MSVC2017 Non-UWP buildfixes 2018-12-29 02:54:17 +01:00
Themaister
f51ef85f27 Vulkan: Fix scissor in menu driver. 2018-11-08 21:57:53 +01:00
Stuart Carnie
8569ee79bc
feat(metal): Add scissor rect support
This is required for correct rendering of the ozone menu
2018-11-06 07:56:05 -07:00
twinaphex
c55e65c895 Change this to vita2d 2018-10-19 07:41:41 +02:00
Brad Parker
230a7fd7b0 Win95 buildfix 2018-10-10 10:59:49 -04:00
Twinaphex
1fae526337
Merge pull request #7403 from bparker06/gdi_imp
win32: Improvements to GDI drivers
2018-10-10 16:13:10 +02:00
Brad Parker
b9699f4780 gdi: texture load support, fix menu text alignment, support multi-line messages 2018-10-10 09:58:49 -04:00
twinaphex
1bd91193fd (Menu) All the ident names should be identical to the video driver ident names 2018-10-09 01:05:46 +02:00