twinaphex
f2df63e246
(Metal raster font) remove video_frame_info dep
2020-03-10 02:02:19 +01:00
twinaphex
083a0453c6
(PS2) Buildfix
2020-03-10 01:07:29 +01:00
twinaphex
1a854021a4
(Metal raster font) More simplifications
2020-03-09 22:47:40 +01:00
twinaphex
2da2dd3b0b
(Metal raster font) Simplify code
2020-03-09 22:44:01 +01:00
twinaphex
c77861126f
remove video_info deps
2020-03-09 22:35:25 +01:00
twinaphex
867bdad010
Get rid of unimplemented FPGA font driver
2020-03-09 22:13:17 +01:00
twinaphex
a395bf9355
(Drivers font) Start getting rid of video_frame_info dependency
2020-03-09 21:56:03 +01:00
twinaphex
43feea3496
(Drivers font) Add parameter
2020-03-09 21:34:14 +01:00
twinaphex
0ee8119459
(widgets) Nits
2020-03-09 19:35:49 +01:00
Twinaphex
adfef2a503
Merge pull request #10240 from natinusala/split-widgets
...
gfx_widgets: start moving widgets into their own file
2020-03-09 19:14:26 +01:00
twinaphex
252bb3a905
(GLX) Fixes fastforwarding issues
2020-03-09 19:13:43 +01:00
twinaphex
c007b68e6b
(GLX) GLX OML was unstable with threaded video - remove it -
...
also put SwapInterval first instead of SwapIntervalEXT - this
makes fastforwarding work on Intel iGPUs
2020-03-09 18:37:20 +01:00
twinaphex
4e6f26d2e4
(Video drivers) Cleanups
2020-03-09 16:24:20 +01:00
twinaphex
9e9ad8d5eb
(video_thread_wrapper) Remove unused CMD_POKE_SET_OSD_MSG
2020-03-09 16:19:07 +01:00
twinaphex
b7da58b40b
(Gfx) Video driver cleanups
2020-03-09 16:15:53 +01:00
twinaphex
17bb6f7354
(D3D10) Cleanups
2020-03-09 15:55:37 +01:00
twinaphex
68678987c4
(Vulkan) Cleanups
2020-03-09 15:48:15 +01:00
twinaphex
cd152399a3
(GL) Cleanups
2020-03-09 15:40:14 +01:00
natinusala
b4ea5d3cd5
gfx_widgets: move screenshot widget into its own file
2020-03-09 14:40:31 +01:00
natinusala
8e3ef34c1f
gfx_widgets: pipe all functions to the widgets
2020-03-09 14:40:31 +01:00
natinusala
3c1e9372ab
gfx_widgets: add gfx_widget struct
2020-03-09 14:40:31 +01:00
twinaphex
ee2f25b1dc
(Gfx drivers) Cleanups
2020-03-09 05:18:02 +01:00
twinaphex
cdbae18ae5
Cleanups
2020-03-09 04:13:41 +01:00
twinaphex
7d4e5b8ce5
No more video_info_frame dependency in gfx_thumbnail.c
2020-03-09 02:15:44 +01:00
twinaphex
7f958862fe
cleanups
2020-03-09 01:32:05 +01:00
twinaphex
e08689ed98
(Menu) Cleanups
2020-03-09 01:26:43 +01:00
twinaphex
c3be8f45fc
(Metal) Buildfix
2020-03-09 01:18:01 +01:00
twinaphex
a0446f778c
Cleanups
2020-03-09 00:34:31 +01:00
twinaphex
5388448cf3
(gfx_widgets.c) Cleanups
2020-03-09 00:25:28 +01:00
twinaphex
8c39c804ee
(gfx_widgets.c) Cleanups
2020-03-09 00:18:38 +01:00
twinaphex
13249f6011
Cleanups
2020-03-09 00:08:18 +01:00
twinaphex
d72596142e
gfx_display_draw_quad - no longer dependent on video_frame_info
2020-03-08 23:56:22 +01:00
twinaphex
b24d1f06aa
gfx_display_scissor_begin/end - get rid of video_frame_info dependency
2020-03-08 22:58:17 +01:00
twinaphex
044619281c
gfx_display_draw - remove video_frame_info dependency
2020-03-08 22:52:02 +01:00
twinaphex
d42a76dec1
Simplify conditional and fix clear_color call
2020-03-08 22:36:51 +01:00
twinaphex
6cb6f76add
gfx_display_rotate_z - get rid of video_frame_info dependency
2020-03-08 22:33:11 +01:00
twinaphex
e4aa0fd544
(gfx display) Get rid of video_frame_info dependency for
...
blend_begin/blend_end
2020-03-08 22:28:42 +01:00
twinaphex
c16568cf32
(gfx drivers display) No more video_frame_info dependency
2020-03-08 22:06:08 +01:00
twinaphex
7a9684b6ea
(Gfx display) scissor_begin/scissor_end - drop video_frame_info dependency
2020-03-08 22:06:08 +01:00
twinaphex
591bb36e03
(gfx display) blend_begin/blend_end - no more dependency on
...
video_frame_info
2020-03-08 21:02:03 +01:00
twinaphex
809e22ec1a
(gfx display) set_viewport - no longer dependent on video_frame_info
2020-03-08 20:23:39 +01:00
twinaphex
874510152e
(drivers_display) Get rid of video_frame_info argument for
...
get_default_mvp
2020-03-08 19:59:03 +01:00
twinaphex
3e706fe5b2
(D3D9 renderchain) Take out video_frame_info dependencies
2020-03-08 19:03:57 +01:00
twinaphex
7c7eeff0fb
Move display_server code into retroarch.c
2020-03-08 18:48:15 +01:00
twinaphex
2497ac4584
(video_crt_switch.c) Move static global variables to struct
2020-03-08 18:48:15 +01:00
twinaphex
c32cb51755
Cleanups
2020-03-08 01:45:29 +01:00
twinaphex
cfa90a4a36
(gfx/drivers_display) cleanups
2020-03-08 01:28:15 +01:00
twinaphex
f0bf2df92f
Get rid of stale PERF_START/PERF_STOP macros in d3d files
2020-03-07 23:16:25 +01:00
twinaphex
935393b391
Cleanups
2020-03-07 23:12:02 +01:00
twinaphex
212f32e2fd
Get rid of the static asserts
2020-03-07 22:54:57 +01:00
twinaphex
9b76446b48
Cache video_info->width/video_info->height into local variables
...
and use them throughout code
2020-03-07 21:18:12 +01:00
twinaphex
9b0ff1fd0d
(gfx_display.c) Cleanup
2020-03-07 20:53:39 +01:00
twinaphex
6505080d64
(gfx drivers font) Get rid of as many video_frame_info
...
dependencies as possible
2020-03-07 20:48:26 +01:00
twinaphex
be861cf55d
(gfx drivers font) Reduce dependency on video_frame_info
2020-03-07 20:11:39 +01:00
twinaphex
4c92d43fe2
(Gfx drivers) More cleanups
2020-03-07 19:54:58 +01:00
twinaphex
9e31c2de34
Remove this for now until this gets reintroduced in some way
2020-03-07 19:34:24 +01:00
twinaphex
83ac24e7f1
(VGA) Move static global variables to struct
2020-03-07 19:33:03 +01:00
twinaphex
c5fc9cf5ce
(X ctx) Move two static global variables to struct
2020-03-07 18:28:53 +01:00
twinaphex
0d543baa4b
(Drivers context) Move more static global state to structs
2020-03-07 18:21:49 +01:00
twinaphex
3aa8afd60d
(gfx/drivers) Further cleanups
2020-03-07 18:05:50 +01:00
twinaphex
1aa95f6cc4
(GX) Cleanups
2020-03-07 17:53:47 +01:00
twinaphex
daea169e5d
(GL1) Move static global variables into struct
2020-03-07 17:47:26 +01:00
twinaphex
b1337d0a21
(GL) Move shared_context_use into struct
2020-03-07 17:34:35 +01:00
twinaphex
8ec6447b18
(FPGA) Move regOp to struct too
2020-03-07 17:30:56 +01:00
twinaphex
87f34eb12f
Add missing header
2020-03-07 17:29:08 +01:00
twinaphex
788ae60d12
(FPGA) Put static global variables into struct
2020-03-07 17:28:42 +01:00
twinaphex
3e35fb8672
(D3D8/D3D9) Move static global to struct
2020-03-07 17:04:06 +01:00
twinaphex
d63daacdf9
(GDI) Put gdi_menu_frame into struct
2020-03-07 16:50:25 +01:00
twinaphex
efe72dea94
(Caca) Put everything into the struct
2020-03-07 16:42:12 +01:00
twinaphex
a7dd320653
(CACA) Cleanups
2020-03-07 16:34:12 +01:00
twinaphex
203b4d7f80
(GDI) Move these variables to struct
2020-03-07 16:31:04 +01:00
twinaphex
2b0164f551
(GDI) Get rid of gdi_video_width static globals
2020-03-07 16:23:34 +01:00
twinaphex
7be7815933
(libnx) Buildfix
2020-03-07 06:49:10 +01:00
twinaphex
bdc31234d5
(Caca) Move caca global state to struct
2020-03-07 06:03:32 +01:00
twinaphex
e8ff0fddca
(drivers_font) More untangling of video_info
2020-03-07 05:48:21 +01:00
twinaphex
f3c6799b4e
(drivers_font) switch_font - cleanups
2020-03-07 05:25:28 +01:00
twinaphex
3e891c6237
(drivers font) Start making the code independent of video_frame_info
2020-03-07 04:45:27 +01:00
twinaphex
f588e7f646
Buildfix
2020-03-07 04:22:20 +01:00
twinaphex
b4b758466f
(gx_display_gl) Simplifications
2020-03-07 01:47:44 +01:00
twinaphex
ee9c6ef5ba
(Font driver) Get rid of more video_frame_info dependencies
2020-03-07 01:41:00 +01:00
twinaphex
267800abaa
(GL) Start reducing dependency on video_frame_info
2020-03-07 00:58:06 +01:00
twinaphex
4598f186a8
Get rid of video_frame_info dependency
2020-03-07 00:39:06 +01:00
twinaphex
83b815df17
(XEGL) Buildfix
2020-03-07 00:26:44 +01:00
twinaphex
7f75bcfcb5
(DRM) Buildfix
2020-03-07 00:06:34 +01:00
twinaphex
250468a1ba
drm_get_connector - cleanup
2020-03-06 23:18:22 +01:00
twinaphex
304cd05dc6
(X11) Buildfix
2020-03-06 23:00:06 +01:00
twinaphex
4d7b627421
Get rid of video_info dependency for set_video_mode
2020-03-06 22:58:12 +01:00
twinaphex
e20151a048
Get rid of video_info struct for swap_buffers too
2020-03-06 22:29:51 +01:00
twinaphex
68664fdf1d
update_title - we don't need video_info
2020-03-06 22:11:44 +01:00
twinaphex
8b43e1b4ef
Can get rid of IS_SHUTDOWN
2020-03-06 20:32:22 +01:00
twinaphex
4aae293e3d
Remove is_shutdown from check_window
2020-03-06 20:29:31 +01:00
Twinaphex
801fa3459c
Merge pull request #10221 from jdgleaver/qt-history-thumbs
...
(QT) Populate 'db_name' and 'crc32' fields when adding entries to content history
2020-03-06 18:54:59 +01:00
Twinaphex
9a78994fe2
Merge pull request #10223 from jdgleaver/gfx-thumbnail-struct
...
(gfx_thumbnail) Move globals to a single struct
2020-03-06 17:06:17 +01:00
twinaphex
1f553ac1c4
Get rid of menu_shader_set_modified - instead, add a single
...
'modified' variable to video_shader struct
2020-03-06 17:05:20 +01:00
jdgleaver
5b59f0dcda
(gfx_thumbnail) Move globals to a single struct
2020-03-06 15:48:07 +00:00
twinaphex
544df2f03c
Create global state for gfx_display
2020-03-06 16:33:34 +01:00
twinaphex
a6995c0336
(gfx_display.c) Cleanup video coord array
2020-03-06 16:12:24 +01:00
twinaphex
e06a6b62c8
(gfx_display.c) Change some of the naming conventions to make it
...
clear this is no longer code bound to the menu
2020-03-06 16:06:44 +01:00
twinaphex
fb04376722
(gfx_display.c) Cleanups
2020-03-06 16:01:45 +01:00
twinaphex
d1276258ea
Add TODO/FIXME note
2020-03-06 15:55:22 +01:00
twinaphex
e678b39de6
Cleanup
2020-03-06 15:40:45 +01:00
twinaphex
9d9c24f94b
(gfx_animation.c) Move all global state into the struct
2020-03-06 15:37:16 +01:00
jdgleaver
7873b5f044
(QT) Populate 'db_name' and 'crc32' fields when adding entries to content history
2020-03-06 14:00:04 +00:00
twinaphex
f581260daa
(video thread wrapper) Add TODO/FIXME notes
2020-03-06 03:05:45 +01:00
twinaphex
62bd4960e1
Fix MSVC include paths
2020-03-06 03:01:47 +01:00
twinaphex
bd5f151077
Settings cleanups
2020-03-06 02:52:21 +01:00
twinaphex
6fd784375a
Update
2020-03-06 02:25:28 +01:00
twinaphex
534f09373e
Get rid of video_driver_height dependency
2020-03-05 22:03:58 +01:00
twinaphex
52fae101e8
(GL) Get rid of video_driver_build_info dependency
2020-03-05 21:45:02 +01:00
twinaphex
8d5d91a5a4
(GL1/GLCore) Only video_info dependency now is 'height'
2020-03-05 20:32:58 +01:00
twinaphex
e65c816ed0
(GL) Will have to rework set_viewport for the GL drivers -
...
video drivers should not be calling video_driver_build_info as
they could be on a separate thread
2020-03-05 20:29:51 +01:00
twinaphex
a7d679d391
Rename WndProcGL to WndProcWGL
2020-03-05 18:45:41 +01:00
twinaphex
dd6cbce0eb
Silence these MSVC warnings - warning C4047: '=' : 'unsigned char' differs in levels of indirection from 'char *'
2020-03-05 16:32:15 +01:00
twinaphex
d3bc82d2c3
Header cleanups
2020-03-05 14:12:20 +01:00
twinaphex
da60c1bb96
Header cleanups
2020-03-05 14:06:04 +01:00
twinaphex
2e034c1574
(gfx/drivers_font) header cleanups
2020-03-05 14:01:34 +01:00
twinaphex
899c21257c
(Video layout) move init_string and set_string to stdstring -
...
rename them - cleanup strcmp usage in video layout and other
code cleanups
2020-03-05 11:19:44 +01:00
twinaphex
1bda81560e
Get rid of remnant
2020-03-05 01:04:50 +01:00
twinaphex
2637bd648b
Cleanups
2020-03-04 19:13:30 +01:00
jdgleaver
29f8189d0e
Add independent widget scale override settings for fullscreen/windowed modes
2020-03-04 17:10:49 +00:00
jdgleaver
9954ae57a9
Fix volume widget scaling
2020-03-03 17:08:37 +00:00
jdgleaver
c02f922c10
Fix smooth (vertical) line ticker scroll speed
2020-03-03 14:33:26 +00:00
twinaphex
6232e0abd3
Buildfix
2020-03-03 11:08:16 +01:00
twinaphex
d5f7839d12
Cleanups
2020-03-03 10:58:04 +01:00
twinaphex
d1ebb58580
Cleanups - change function signature of compile_spirv to const char *
2020-03-03 10:49:47 +01:00
twinaphex
e895b9f101
(GX) Buildfix
2020-03-03 00:52:48 +01:00
orbea
def374c2b9
Fix the header paths with the system glslang.
2020-03-02 14:20:18 -08:00
twinaphex
1167a06a5a
Settings Cleanups
2020-03-02 20:34:31 +01:00
twinaphex
80991a00f0
Settings cleanups
2020-03-02 20:24:00 +01:00
twinaphex
0ef1b342e4
settings Cleanups
2020-03-02 20:10:24 +01:00
Twinaphex
d4c9768138
Merge pull request #10175 from Jamiras/multi_popup
...
(cheevos) queue multiple popups
2020-03-02 18:13:33 +01:00
Jamiras
daad8bcca0
queue multiple popups
2020-02-29 09:30:22 -07:00
Justin Weiss
a96be2cdce
[3DS] Keep the bottom screen hidden on sleep/wakeup
...
When the 3DS wakes back up after being closed, the bottom screen needs
to be reinitialized. Adding the condition here will cause the screen
to be turned on or off based on the state of
ctr_bottom_screen_enabled, as you'd expect.
2020-02-28 23:01:22 -08:00
natinusala
f00fb6d1ea
odroidgo2: patched DRM driver
2020-02-27 10:22:51 +01:00
natinusala
a75059f94b
odroidgo2: add skeleton
2020-02-27 10:22:51 +01:00
twinaphex
d19dd12b30
Start calling cpu_features_get_time_usec less per frame iteration
2020-02-26 08:09:20 +01:00
Twinaphex
d4e9abe363
Merge pull request #10154 from Jamiras/cheevos_badges
...
(cheevos) simplify badge handling; remember enablement if XMB not available
2020-02-24 00:59:25 +01:00
Jamiras
5ecc426741
simplify badge handling; remember enablement if XMB not available
2020-02-23 15:55:41 -07:00
twinaphex
b89663e213
Inline file_list_get_userdata_at_offset
2020-02-23 11:13:48 +01:00
twinaphex
8ae08cf23d
(Gfx widgets) Put AI service overlay code behind HAVE_TRANSLATE
...
ifdefs
2020-02-23 11:03:38 +01:00
twinaphex
a4c19457ce
Found one instance where userdata was not implicitly set to NULL
2020-02-21 20:48:11 +01:00
twinaphex
1b0ab1c05f
Cleanups
2020-02-21 07:34:53 +01:00
twinaphex
ab94af68c1
Cut down on settings access
2020-02-19 19:31:00 +01:00
twinaphex
682462fb20
Cleanups
2020-02-19 19:23:10 +01:00
twinaphex
75eef8a2c9
(drivers shader slang) Put logging behind DEBUG ifdef - and
...
turn some conditionals into a switch
2020-02-19 16:25:41 +01:00
twinaphex
c6bd3da1c3
(drivers_shader) Cleanups
2020-02-19 03:23:30 +01:00
twinaphex
5280286415
(shader_vulkan.cpp) Cleanup
2020-02-19 03:11:45 +01:00
twinaphex
d36941b81d
(CTR) Buildfix
2020-02-19 00:23:45 +01:00
twinaphex
3ea96c2587
(GX) Buildfix
2020-02-19 00:23:45 +01:00
twinaphex
3a94c52426
(gfx drivers) Start reducing settings pointer usage
2020-02-18 14:51:40 +01:00
twinaphex
9af520fa54
Cleanup
2020-02-18 13:40:01 +01:00
twinaphex
46cacfc60e
(gfx_display.c) Cleanups
2020-02-18 13:04:12 +01:00
twinaphex
2ba45d0acb
(GL1) Fixes crash on MSVC2005
2020-02-18 05:51:23 +01:00
twinaphex
6d09d29093
Be more safe with these functions - this was causing crashes on
...
MSVC 2005
2020-02-18 04:18:31 +01:00
twinaphex
7c7d0f596a
HAVE_MENU_WIDGETS now decoupled from HAVE_MENU
2020-02-17 21:28:42 +01:00
twinaphex
561012c3ba
(gfx_widgets) Set all values to initial state
2020-02-17 20:49:56 +01:00
twinaphex
10d09eaed3
gfx_widgets_init - move content of error path to retroarch.c
2020-02-17 16:42:17 +01:00
twinaphex
4d148ff078
Roll gfx_widgets_context_destroy into gfx_widgets_free
2020-02-17 16:35:19 +01:00
twinaphex
166c0c2311
Cleanups
2020-02-17 16:07:37 +01:00
jdgleaver
e497b8f534
gfx_display.h/c: Fix line endings
2020-02-17 12:01:14 +00:00
twinaphex
cec672a71d
Buildfix
2020-02-17 12:27:08 +01:00
twinaphex
a0f3010159
Cleanup
2020-02-17 03:59:12 +01:00
twinaphex
6e880ef686
osk_dark no longer a global
2020-02-17 02:31:14 +01:00
twinaphex
8980d92efa
Cleanup
2020-02-17 02:08:40 +01:00
twinaphex
43561dc389
(Xvideo) Buildfix
2020-02-17 01:54:25 +01:00
twinaphex
b00bf17153
Move menu_widgets to gfx/ and call it gfx_widgets
2020-02-17 01:54:07 +01:00
twinaphex
b229f267e4
Rename menu_widgets to gfx_widgets
2020-02-17 01:43:40 +01:00
twinaphex
6b82089d6c
Move menu_display code to gfx_display
2020-02-17 00:42:49 +01:00
twinaphex
ec302bc4fc
video_set_nonblock_state - remove settings dependency
2020-02-16 22:26:07 +01:00
twinaphex
47af95469a
(font_driver.c) Remove configuration.h dependency
2020-02-16 21:59:03 +01:00
twinaphex
7bf5da8de4
(gfx_animation.c) Remove remaining menu namespace conventions
2020-02-16 18:24:45 +01:00
twinaphex
808a54e217
Cleanups
2020-02-16 17:40:06 +01:00
twinaphex
bb2251a7b2
(display server) Cleanup
2020-02-16 17:34:26 +01:00
twinaphex
2f525187a1
(gfx_display.c) Get rid of more header includes
2020-02-16 17:18:13 +01:00
twinaphex
f74225721d
menu_thumbnail and menu_thumbnail_path now decoupled from menu
...
system
2020-02-16 16:38:17 +01:00
twinaphex
9a6ab81739
MOve gfx_display and gfx_animation to gfx/
2020-02-16 15:26:58 +01:00
twinaphex
c71469c715
Rename menu_display to gfx_display
2020-02-16 15:10:07 +01:00
twinaphex
2d946d0d95
(PS2 gfx) Cleanups
2020-02-14 13:06:56 +01:00
twinaphex
cb0c145e3d
Cleanups
2020-02-14 12:55:36 +01:00
twinaphex
e47b7526bc
(gfx) Cleanups
2020-02-13 23:24:51 +01:00
twinaphex
7090de541a
- Merge runahead/mylist.c into retroarch.c
...
- General cleanups
2020-02-13 17:26:11 +01:00
Twinaphex
a97557f2e4
Merge pull request #10111 from jdgleaver/ozone-scaling
...
(Ozone) Add DPI-based scaling
2020-02-13 14:16:34 +01:00
twinaphex
2e0f921ded
Cleanups
2020-02-13 02:18:38 +01:00
twinaphex
1105d1019d
Reduce some configuration dependencies
2020-02-12 16:13:28 +01:00
twinaphex
d918c1791a
Get rid of some configuration.h dependencies
2020-02-12 16:09:30 +01:00
jdgleaver
b1773cc73b
(Switch) Report correct (approximate) DPI in 'docked' mode
2020-02-12 14:25:49 +00:00
twinaphex
880391d0c5
(libnx) Try to silence warnings
2020-02-10 12:36:11 +01:00
orbea
baf7013941
Silence warning with clang-9.0.1.
...
gfx/drivers_shader/shader_vulkan.cpp:2372:4: warning: field 'device' will be initialized after field 'size' [-Wreorder]
device(device),
^
1 warning generated.
2020-02-01 16:52:00 -08:00
twinaphex
d89fb0e7c4
(shader_slang.cpp) Simplify usage of functions that are only
...
ever used as C-strings
2020-02-01 07:04:27 +01:00
twinaphex
64c515bac4
Turn while (true) into for (;;) for easier MSVC backwards compatibility
2020-02-01 04:15:22 +01:00
twinaphex
35b8c4cb05
Cleanup
2020-02-01 02:02:50 +01:00
twinaphex
f0e889b552
Change prototype of video_driver_set_size
2020-01-31 15:06:50 +01:00
twinaphex
982e35db45
Use strlcat instead of strcat
2020-01-30 22:20:18 +01:00
twinaphex
74cd84399f
Cleanups - Replace '== NULL'
2020-01-30 16:47:33 +01:00
twinaphex
a034909ae9
Cleanups
2020-01-30 16:35:59 +01:00
trioan
0e20be17cc
fix vulkan_framebuffer_generate_mips (msvc2017)
...
{0} initializer
2020-01-25 21:14:28 -05:00
twinaphex
9ddd8417c8
Replace some more auto variables
2020-01-23 04:49:51 +01:00
twinaphex
a4564b8939
Move C oriented code from slang_reflection.cpp to glslang_util.c
2020-01-22 19:36:49 +01:00
twinaphex
ff9701685f
Remove some auto variables
2020-01-22 19:07:10 +01:00
twinaphex
6d0286efbd
Turn video_shader_parse_type into macro
2020-01-22 14:30:55 +01:00
twinaphex
920e89a506
Move pass set texture to vulkan_common.c
2020-01-22 14:27:24 +01:00
twinaphex
8f1aa8c2c3
(shader_gl_core.cpp) Cleanups
2020-01-22 13:52:14 +01:00
twinaphex
376ad6d61d
move more C functions over to gl_core.c
2020-01-22 13:12:00 +01:00
twinaphex
90874b434e
(shader_vulkan.cpp) Move more C code to vulkan_common.c
2020-01-22 12:09:08 +01:00
twinaphex
bcf8ff3d0a
(shader_gl_core) Get rid of ConfigDeleter - move C code to gl_core.c
2020-01-22 11:57:06 +01:00
twinaphex
c8227c95dd
(shader_gl_core) get rid of ConfigDeleter
2020-01-22 11:35:00 +01:00
twinaphex
b8cd37aef7
(shader_vulkan.cpp) Get rid of ConfigDeleter
2020-01-22 11:29:40 +01:00
twinaphex
f853632260
Move framebuffer generate_mips function to vulkan_common.c
2020-01-22 10:52:20 +01:00
twinaphex
e9c73bd9a6
(Vulkan) Move more C code to vulkan_common.c
2020-01-22 10:41:38 +01:00
twinaphex
ef27a660a7
(shader vulkan) Cleanups - moving C code out of the C++ file
2020-01-22 10:11:42 +01:00
twinaphex
8a989b65ee
Cleanup
2020-01-19 13:19:25 +01:00
twinaphex
826b2245ec
WndProcCommon - small optimization
2020-01-19 12:17:26 +01:00
twinaphex
f852209040
Silence some unused variable warnings on some targets
2020-01-19 06:04:37 +01:00
twinaphex
32c62a7fe1
Get rid of header include
2020-01-19 05:00:35 +01:00
twinaphex
51d6b467d6
(Win32) Buildfix
2020-01-19 04:56:12 +01:00
twinaphex
c26c9483ec
Cleanup WNDPROC functions
2020-01-18 11:34:50 +01:00
twinaphex
a01e6652df
Replace ZeroMemory with memset
2020-01-18 10:46:25 +01:00
twinaphex
57c00e7e26
Cleanup
2020-01-18 10:41:26 +01:00
twinaphex
a67896ab2b
Cleanup
2020-01-18 09:37:16 +01:00
twinaphex
142503d3b5
move win32_menu_loop and win32_browser to win32_common
2020-01-18 09:28:46 +01:00
orbea
8d6b70c22c
Don't use uname -a.
2020-01-15 06:27:42 -08:00
twinaphex
d48d4385d9
(Wayland) Silence warning
2020-01-15 08:48:13 +01:00
twinaphex
0923985516
(GL/WGL) This regression caused cores that required GL to fail
...
because it would try to erroneously load GLESv2.dll instead of
OpenGL32.dll
2020-01-09 19:26:53 +01:00
Michael Lelli
dcb6bae868
fix null check in video_display_server
2020-01-07 09:36:32 -06:00
twinaphex
3d80838754
Fix display server crashing on some platforms
2020-01-07 11:35:32 +01:00
jovonna
376547044c
fix null pointer deref in new dispserv_null code
2020-01-06 21:52:13 -05:00
twinaphex
fa7859ad13
(Gfx drivers context) Cleanup EGL calls
2020-01-06 18:27:18 +01:00
twinaphex
bbd1e6a6a5
Get rid of separate null midi driver file and display server file
2020-01-06 16:06:42 +01:00
twinaphex
a986b71947
Remove separate audio / video null driver files
2020-01-06 15:22:21 +01:00
twinaphex
f97e557194
(DRM/EGL) Buildfix
2020-01-06 00:33:28 +01:00
twinaphex
4380b73ca6
Add HAVE_DYNAMIC_EGL option
2020-01-05 19:14:47 +01:00
twinaphex
6e0971fc61
(EGL) Call EGL common calls
2020-01-04 19:58:57 +01:00
twinaphex
d5cdfbb7ba
Move all EGL functions to egl_common.c file
2020-01-04 19:22:02 +01:00
twinaphex
063986a4b3
(ANGLE) Angle gets separate EXE name
2020-01-04 19:05:23 +01:00
jovonna
decd374c15
Initial port to dingux platform
2020-01-04 12:20:03 -05:00
twinaphex
1216c3ef6d
(OSX/Metal) Buildfix
2020-01-04 17:44:33 +01:00
Francisco José García García
f559e931cf
Only use threads when the number > 1
2020-01-04 16:36:54 +01:00
twinaphex
f92a507a9b
Change function signature of font_driver_render_msg
2020-01-04 16:24:14 +01:00
twinaphex
3e1f56d57f
Change function signature of win32_has_focus
2020-01-04 15:49:23 +01:00
twinaphex
91baea201a
Change function signature of win32_show_cursor
2020-01-04 15:40:02 +01:00
twinaphex
53dbd69751
(EGL) Create egl_bind_api
2020-01-04 15:09:42 +01:00
twinaphex
6c97a7514c
(Vulkan) turn superfluous functions in vulkan_common.c into macros
...
to avoid unnecessary function overhead
2020-01-03 20:20:59 +01:00
GH Cao
91ee8c8ee6
D3D11: Block 9_3 devices, implement gl failback
2020-01-03 09:44:24 +08:00
GH Cao
a4e810795c
D3D: Add get_metrics
2020-01-03 09:40:41 +08:00
GH Cao
090919490a
UWP: Remove uwp_egl_create_surface
...
Because of 0e2265, this is not doing anything special anymore.
Remove it entirely and use common EGL surface creation instead.
2020-01-03 06:07:05 +08:00
jdgleaver
7ad4becedb
(Vulkan) Fix font driver 'vulkan_get_message_width()' function
2019-12-29 14:44:07 +00:00
twinaphex
051342cc8b
Rewrite win32_get_video_output
2019-12-20 07:15:03 +01:00
Hans-Kristian Arntzen
96723c6f70
Vulkan/Android: Workaround weird WSI return codes in landscape mode.
...
Android WSI wants you to use preTransform, and if it is not used
correctly, Android 10 will return VK_SUBOPTIMAL_KHR, and we would create
a new swapchain every frame.
This workaround just ignores this error, since it's not really an error.
A more "proper" fix is to use prerotate and modify the MVP matrices,
which might help certain devices with crummy display processors.
2019-12-17 19:08:20 +01:00
Themaister
15ffffa835
Android/Vulkan: Recreate swapchain on orientation change.
...
ANativeWindow getWidth/Height does not detect any changes when using
Vulkan, so use the old onContentRectChanged callback to get notified
when size changed. Use those values instead when figuring out how large
swapchain to create.
Tested trivially on Galaxy S9+ Exynos model.
2019-12-15 16:46:41 +01:00
Francisco José García García
b4be7b0c74
(Vita) Several improvements to vita2d driver
2019-12-14 14:11:47 +01:00
twinaphex
1fd6d024eb
More buildfixes for ANGLE
2019-12-07 07:24:20 +01:00
twinaphex
c6b325e4d6
Add more headers
2019-12-07 07:17:21 +01:00
twinaphex
df588ca422
(ANGLE) Move headers to gfx/include/ANGLE
2019-12-07 07:09:49 +01:00
twinaphex
17a161afa2
Add missing header
2019-12-07 07:04:26 +01:00
twinaphex
94f82ece4e
Add more required headers
2019-12-07 07:01:11 +01:00
twinaphex
1aaf933a1a
Add EGL headers
2019-12-07 06:55:16 +01:00
driver1998
105fadd668
[ANGLE] Add HAVE_ANGLE
2019-12-06 15:43:19 +08:00
driver1998
a8a4e60171
[ANGLE] Cleanup
2019-12-06 13:59:22 +08:00
driver1998
bfe167fae8
[UWP] Add ANGLE context
2019-12-06 13:24:18 +08:00
driver1998
7cbdd845ad
[Win32] Add ANGLE context
2019-12-06 13:24:17 +08:00
driver1998
de203390be
[Windows] Add ANGLE support
2019-12-06 13:24:17 +08:00
Twinaphex
002f2ab6e7
Merge pull request #9801 from cmitu/kms-video-mode-selection
...
KMSDRM: better detection for the current video mode
2019-12-05 23:39:02 +01:00
cmitu
3953659901
KMSDRM: better detection for the current video mode
2019-12-01 06:45:43 +00:00
Jean-André Santoni
c0dfcd2adf
Fix Metal build
2019-11-30 12:49:52 +07:00
Jean-André Santoni
ba2c870d95
Allow building using make on OSX
2019-11-30 12:37:58 +07:00
twinaphex
861379d8e3
Revert code in hopes iOS works again
2019-11-20 06:25:40 +01:00
Twinaphex
d2d240ecf5
(iOS) Should fix iOS build problems
2019-11-20 02:58:17 +01:00
Twinaphex
81c020d300
Replace g_instance with CocoaView get
2019-11-20 02:24:03 +01:00
twinaphex
e3506ed06b
Move nsview_get_ptr to cocoa_common
2019-11-20 02:24:03 +01:00
Twinaphex
387e18b528
cocoagl_gfx_ctx_set_video_mode - go through [CocoaView get] here
2019-11-20 02:24:03 +01:00
twinaphex
964fcda79a
Move glkitview_init to cocoa_common.m
2019-11-20 02:24:02 +01:00
twinaphex
ed8e440b0d
Revert "Move update_window_title to main thread - this should resolve some"
...
This reverts commit 442608981d
.
2019-11-19 22:48:35 +01:00
twinaphex
442608981d
Move update_window_title to main thread - this should resolve some
...
concurrency issues on OSX as well
2019-11-19 22:13:51 +01:00
Jean-André Santoni
8e028f4db3
Remove useless HAVE_COCOA_METAL ifdef
2019-11-19 14:50:21 +07:00
twinaphex
29ced2a72f
Simplify cocoagl_gfx_ctx_get_video_size somewhat
2019-11-19 08:26:12 +01:00
Twinaphex
c7ce2c7053
Fix Xcode issue
2019-11-19 05:54:01 +01:00
Jean-André Santoni
d5a5380e6d
Fix building with make on OSX
2019-11-19 11:38:27 +07:00
Twinaphex
53d18cf95e
Merge pull request #9713 from Rinnegatamante/vitagl
...
Added gl1 video driver support to Vita build
2019-11-17 23:14:29 +01:00
Rémi
6c47f02bdf
Fixing OpenGL shader rotation
2019-11-16 19:52:47 +01:00
Guo Yunhe
95dede9039
Fix comment in freetype.c
2019-11-15 10:18:05 +02:00
Twinaphex
724865a8fc
Update freetype.c
2019-11-15 00:53:17 +01:00
Guo Yunhe
52b3a4fe17
Correct Droid Sans Fallback font path
2019-11-14 18:01:46 +02:00
Rinnegatamante
2a77dc5600
Make code C89 compliant.
2019-11-13 21:44:59 +01:00
Rinnegatamante
616759ed8c
[VITA] Implement check_window.
2019-11-13 11:19:51 +01:00
Rinnegatamante
637319c938
[VITA] Implement swap_interval in vita video driver context.
2019-11-13 09:57:03 +01:00
Rinnegatamante
96845f4a7e
[VITA] Removing a no more used ifndef.
2019-11-13 00:45:48 +01:00
Rinnegatamante
2b20c8d350
[GL1] Fixed core frame renderer.
2019-11-12 19:46:37 +01:00
Rinnegatamante
bed9847b48
[VITA] Hijacking wrong positioning for UI elements.
2019-11-12 19:06:18 +01:00
Rinnegatamante
66bdf711f4
[VITA] Back to GL_LUMINANCE_ALPHA usage.
2019-11-12 16:33:47 +01:00
Rinnegatamante
f3ca57e6f0
[VITA] Add vita video driver context.
2019-11-12 16:33:36 +01:00
Rinnegatamante
6b7673f806
[VITA] Fixing gl1 video driver crashes.
2019-11-12 15:37:37 +01:00
Rinnegatamante
1533d618e5
[VITA] Allow usage of null context with gl1.
2019-11-12 13:50:14 +01:00
Rinnegatamante
6394342b9c
[VITA] Add gl1 video driver support through vitaGL.
2019-11-12 11:54:00 +01:00
twinaphex
a0486c3cd7
Revert "Simplify slang_process.cpp"
...
This reverts commit 25a417cdd7
.
2019-11-12 01:34:03 +01:00
twinaphex
25a417cdd7
Simplify slang_process.cpp
2019-11-11 18:55:33 +01:00
alphanu1
a488876a6a
Added missing argument to function ( #2 )
2019-10-30 08:43:51 +00:00
alphanu1
9c0f4c737e
Fixes for RPI ( #1 )
...
New Raspberry Pi porch and aspect ratio generation. Added code to fix X offset for Raspberry Pi.
2019-10-30 08:34:02 +00:00
twinaphex
f678a06b95
Remove xbox 360 fonts
2019-10-19 16:42:39 +02:00
Rinnegatamante
02c35441d6
Revert to old x context.
2019-10-16 18:29:17 +02:00
Francisco Javier Trujillo Mata
fd75ae487e
Disable the duplication FPS in PSP
2019-10-16 00:46:29 +02:00
Twinaphex
4ac264b1d0
Merge pull request #9591 from Rinnegatamante/videodrivers2
...
Graceful switching between videodrivers #2 .
2019-10-15 22:49:17 +02:00
orbea
55d123d95a
Fix build when SDL2 is not built against wayland.
...
Fixes https://github.com/libretro/RetroArch/issues/9583 .
2019-10-15 09:10:18 -07:00
Rinnegatamante
d1a74e1b96
Fix for crash on Linux.
2019-10-15 09:07:15 +02:00
twinaphex
89e9bdc413
Buildfix
2019-10-14 01:35:04 +02:00
twinaphex
4fbf823707
Enable HAVE_VIDEO_LAYOUT by default
2019-10-14 00:31:44 +02:00
Rinnegatamante
26b0bc771d
Add vulkan context logging.
2019-10-13 17:47:08 +02:00
Twinaphex
7bed40d17b
Merge pull request #9547 from Rinnegatamante/videodrivers
...
Graceful switch between video drivers.
2019-10-12 14:21:33 +02:00
Twinaphex
2d769d4bfb
Merge pull request #9558 from justinweiss/ctr-gfx-fix-flickering-with-osd
...
Fix 3DS screen flickering when OSD is enabled
2019-10-06 03:39:23 +02:00
Justin Weiss
64dc3dde40
Fix 3DS screen flickering when OSD is enabled
...
On the 3DS, for some cores, the screen will flicker if OSD is enabled,
and sometimes when going in and out of the menu.
As far as I can tell, this happens when a frame is dup'd, and we send
0x0 as the frame to the gfx driver. When that happens, we still draw
the OSD, using a vertex shader to transform and render it at the right
size.
When the frame is 0x0, though, the vertex shader uniforms are never
_reset_ to redraw the previous frame, so it's drawn with different
params, and gets drawn the wrong size. It will draw as the correct
size when the correct vertex shader uniforms are set, and the
incorrect size when the incorrect uniforms are set, causing
flickering.
At least, that's what I think is happening. Forcing the vertex shader
to be set regardless of whether the frame data is set fixes it, at
least during some light testing with PCSX.
2019-10-05 14:21:42 -07:00
twinaphex
7969221919
Remove two unused variables
2019-10-05 19:08:57 +02:00
twinaphex
7175c3ec22
FIx another 'may be used uninitialized' warning
2019-10-05 18:43:25 +02:00
twinaphex
221df13250
Cleanups/warning fixes - compilation fix for OSX PPC
2019-10-05 18:38:17 +02:00
Twinaphex
6467d24070
Merge pull request #9548 from fjtrujy/ps2MemoryLeaks
...
[PS2] Fix memory leaks in Font and GFX Driver
2019-10-04 17:07:35 +02:00
twinaphex
eed44eea9c
Cache this string too
2019-10-04 14:27:09 +02:00
twinaphex
1788042c9e
(Android) dpi_get_density - cache one variable to avoid excessive
...
system_property_get querying
2019-10-04 14:22:10 +02:00
Francisco Javier Trujillo Mata
c48ccdb1fc
Fix memory leak in the PS2 GFX and PS2 Font
2019-10-03 23:41:56 +02:00
Rinnegatamante
453781af9c
Graceful switch between video drivers.
2019-10-03 17:45:59 +02:00
twinaphex
547f8968aa
(GL1) Buildfix + cleanups
2019-10-01 03:14:18 +02:00
GH Cao
27d2877106
gl1: take care of const
2019-10-01 06:51:29 +08:00
GH Cao
897488862e
gl1: adapt C89
2019-10-01 06:24:06 +08:00
driver1998
0212567d75
Support GLDirect (D3D9 to OGL1.1 wrapper) in gl1 driver
2019-10-01 06:02:30 +08:00
jdgleaver
3057c31798
(Menu Input) Add mouse/touchscreen gesture support + full gesture support for XMB
2019-09-30 16:55:41 +01:00
Tor Arne Vestbø
b5cf9b639e
metal: Improve shader debugging
...
Having the path to each shader is helpful when debugging the
rendering pipeline. The render command encoder label is limited
to just the filename of the shader, as the graphics debugging
UI in Xcode doesn't handle long names very well.
We don't encode the pass number into the string as the shaders
can be organized in a graph, not just a linked list, so an
indexed order can be misrepresenting the flow.
2019-09-25 22:36:40 +02:00
Tor Arne Vestbø
91caf28bfc
metal: Add some missing debug labels and groups
2019-09-25 22:36:40 +02:00
twinaphex
b94b9e2adb
Go back to plain strlcpy/strlcat - probably best to look at
...
opportunities to reduce these calls vs. replacing them with
unsafe macros
2019-09-23 00:19:01 +02:00
twinaphex
f33264f7a6
(X11) XStoreName is a useless wrapper function around XChangeProperty
2019-09-22 13:00:44 +02:00
twinaphex
c5b3428408
Add sdl2_common.c/.h
2019-09-22 12:40:40 +02:00
twinaphex
efdc07ab10
(Wayland) update_title function - simplify this function a bit
2019-09-22 12:14:49 +02:00
Twinaphex
2414224df8
(Cocoa) It's only necessary to set the display server userdata for
...
set_video_mode
2019-09-22 11:29:58 +02:00
Twinaphex
511f43d5cf
Move it to cocoa_gl_ctx.m
2019-09-22 11:26:06 +02:00
Twinaphex
83f1b28f98
Revert "(Cocoa) Move nsview_get_ptr and nsview_set_ptr to cocoa_gl_ctx.m"
...
This reverts commit 4f564360e7
.
2019-09-22 10:54:01 +02:00
twinaphex
4f564360e7
(Cocoa) Move nsview_get_ptr and nsview_set_ptr to cocoa_gl_ctx.m
2019-09-22 10:48:23 +02:00
Twinaphex
23bb1414ff
(Metal) Buildfix
2019-09-22 10:30:59 +02:00
twinaphex
ad1fb29092
(Metal) Refactor
2019-09-22 10:28:51 +02:00
Twinaphex
6a9feb7978
(OSX) Refactor this so that we always set the userdata
...
pointer so we can use the new set_title codepaths - will
have to check how to reduce the overhead in nsview_get_ptr
later
2019-09-22 10:19:03 +02:00
Twinaphex
69a38f9b9f
(Cocoa) Pass direct pointer to UI companion driver window title function
2019-09-22 07:41:56 +02:00
twinaphex
c7fd375120
Create video_driver_display_userdata_{set/get}
2019-09-22 07:35:05 +02:00
twinaphex
03bddff8e6
Cleanups of update_window_title functions
2019-09-22 03:05:06 +02:00
twinaphex
302e2fdc53
Move show memory details outside of the video context driver and
...
into retroarch.c - avoid lots of code duplication
2019-09-21 07:49:33 +02:00
twinaphex
3b057d9605
Start using STRLCAT_CONST_INCR and STRLCPY_CONST
2019-09-20 23:33:17 +02:00
twinaphex
db624a7c99
Start cleaning up the rather messy manual assignment
2019-09-20 02:03:26 +02:00
twinaphex
ab515daa0c
Try to get rid of file_path_str
2019-09-18 18:12:57 +02:00
twinaphex
c186747edc
(video_shader_parse) avoid some more snprintfs
2019-09-18 09:11:32 +02:00
twinaphex
3fbeb0617b
(glslang_util_cxx.cpp) Get rid of this strlcpy too
2019-09-18 08:03:49 +02:00
twinaphex
306d7f6f8a
glsl_find_uniforms_frame - get rid of the remaining strlcats
2019-09-18 07:53:59 +02:00
twinaphex
ab60005cdc
(GLSL) Avoid snprintf, prefer strlcpy/strlcat where possible
2019-09-18 07:32:06 +02:00
twinaphex
b28c405377
Backport and rebase initial FPGA port that was done in 2017 (port
...
done for Z-Turn board) - has some outstanding issues such as
very slow framebuffer software rendering output that needs to
be overcome before this becomes usable - community help needed
2019-09-17 08:16:50 +02:00
twinaphex
861262ef3a
(network gfx) Cleanup
2019-09-17 05:04:57 +02:00
Brad Parker
c7c7d0988e
initial network video driver, sends raw frames over TCP
2019-09-17 04:18:44 +02:00
jdgleaver
3a680df733
(glcore) Ensure correct scaling of menu texture (RGUI)
2019-09-03 12:52:26 +01:00