Commit Graph

108 Commits

Author SHA1 Message Date
twinaphex
7c66f0adbc Simplify win32_check_window 2020-07-18 17:09:07 +02:00
twinaphex
d0736a1797 (MSVC) Buildfixes 2020-07-09 10:20:27 +02:00
twinaphex
77d630a0a5 (GDI) Only render framebuffer texture when menu is enabled 2020-07-09 09:40:13 +02:00
twinaphex
35762e07cb (GDI) Get rid of memory allocation per frame 2020-07-09 09:34:06 +02:00
twinaphex
f56b6a3a0f (GDI) Merge gdi_ctx.c into gdi_gfx.c 2020-07-09 09:25:10 +02:00
twinaphex
6b466c6013 Cleanups 2020-07-09 07:46:40 +02:00
twinaphex
be76958070 Unneeded gdi_has_menu_frame 2020-06-07 02:56:56 +02:00
twinaphex
9ace693ec0 Refactor menu_driver_frame 2020-05-19 16:20:43 +02:00
twinaphex
d995fa045a (GDI) Get rid of unused functions 2020-04-29 18:40:48 +02:00
twinaphex
bb27496e2e Prevent NULL pointer dereference 2020-04-29 14:38:11 +02:00
twinaphex
19c68fad43 Take out cb_update_window_title and cb_get_metrics 2020-03-28 05:36:31 +01:00
twinaphex
f4c5036c3c Get rid of video_frame_info dep for fonts 2020-03-10 03:24:59 +01:00
twinaphex
d63daacdf9 (GDI) Put gdi_menu_frame into struct 2020-03-07 16:50:25 +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
68664fdf1d update_title - we don't need video_info 2020-03-06 22:11:44 +01:00
twinaphex
4aae293e3d Remove is_shutdown from check_window 2020-03-06 20:29:31 +01:00
twinaphex
3a94c52426 (gfx drivers) Start reducing settings pointer usage 2020-02-18 14:51:40 +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
f0e889b552 Change prototype of video_driver_set_size 2020-01-31 15:06:50 +01:00
twinaphex
f92a507a9b Change function signature of font_driver_render_msg 2020-01-04 16:24:14 +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
twinaphex
65b4c2595e Update set keyboard mapping code for input driver 2019-07-27 02:21:24 +02:00
LazyBumHorse
f5497a4249 fix some bugs found through Clang Static Analyzer:
- task_content.c, load_content_from_compressed_archive: fix use after free
 - platform_win32/uwp: fix frontend_..._get_powerstate never returning FRONTEND_POWERSTATE_NONE
 - platform_win32/uwp: fix whitespace
 - cheevos.c: fix potential use after free in a loop, just to be save
2019-07-04 21:15:19 +02:00
twinaphex
6aed230930 Reimplement 'Take Screenshot' - if GPU-accelerated viewport screenshots
are not available, resort to raw screenshots instead
2019-05-22 07:08:11 +02:00
Huw Pascoe
2c56011f84 video_layout interface 2019-05-11 09:58:48 +01:00
twinaphex
a0b2d97ca3 Hide 'Take Screenshot' for video drivers that don't support
taking screenshots yet
2019-05-05 13:46:26 +02:00
twinaphex
f67bfa24ef Get rid of video_poke_interface set_mvp 2019-03-18 15:19:11 +01:00
twinaphex
fe1255094f Get rid of now unused set_coords in video_driver_poke_interface 2019-03-18 05:04:23 +01:00
Brad Parker
4f0d61a2ac update copyright 2019-02-22 19:13:36 -05:00
orbea
28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
M4xw
7d186f7d2c Revert PR #8043 2019-01-20 20:06:57 +01:00
Nano
c017271d8a Fix #6747 Black bug 2019-01-19 10:26:06 +01:00
twinaphex
6ca9afbd57 Silence more warnings with CXX_BUILD 2019-01-12 18:51:06 +01:00
Twinaphex
01397f008a
Revert "Fix issue #6747 black bug" 2019-01-10 22:52:13 +01:00
Twinaphex
e4f9aebbd3
Merge pull request #7973 from daliaetnano/fix-2791-black-bug
Fix issue #6747 black bug
2019-01-10 22:36:40 +01:00
twinaphex
b9ff2e4de1 Fix some static code analysis warnings from MSVC 2017 2019-01-10 21:47:15 +01:00
Nano
f1ba335cb3 Fix issue #2791 black bug 2019-01-09 22:52:45 +01:00
Brad Parker
a92a27a230 gdi: ignore menu_shader_pipeline setting 2018-10-16 10:30:57 -04:00
twinaphex
2edd03361c Remove video_context_driver_check_window 2018-10-14 17:49:29 +02:00
twinaphex
448d2d333c Set ctx_driver 2018-10-14 08:22:26 +02:00
twinaphex
e661cf3cfd Rewrite video_context_driver_init_first 2018-10-14 08:13:05 +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
c4c8699ee3 Only show max swapchain images if supported by video driver and/or
context driver
2018-04-23 13:34:30 +02:00
Brandon Wright
e049605359 Add refresh rate polling to Win32 >= Windows 7. 2018-04-15 19:33:38 -05:00
Brandon Wright
7a00534378 Add poke interface for get_refresh_rate. 2018-04-15 17:56:11 -05:00
aliaspider
88d1c1fdca msvc build fix. 2018-03-25 23:11:31 +01:00
twinaphex
08e61230e9 Update video_poke_interface 2018-01-30 22:29:57 +01:00