Commit graph

32 commits

Author SHA1 Message Date
Henrik Rydgard
0a0aa02aae Win32: Enable/disable menu items when a menu is popped down. Allows us to avoid calling UpdateUI from sceUmd. Should fix #9546 2017-04-04 10:11:03 +02:00
Unknown W. Brackets
e59ebf8ad9 Windows: Add option to browse for bg image.
And also to clear the image.
2017-04-02 10:50:09 -07:00
Henrik Rydgård
aefad893f8 Windows: Start at a sensible window size if high-DPI. Avoids the worst of #9437 but does not fix it. 2017-03-17 13:22:00 +01:00
Henrik Rydgård
1424713f62 Minor resource reorg 2017-03-17 12:35:27 +01:00
Unknown W. Brackets
14b1dac826 Remove legacy input state usage on Windows. 2017-03-14 22:07:05 -07:00
Unknown W. Brackets
255c726c1e Remove legacy pointer tracking outside Windows. 2017-03-14 22:07:05 -07:00
Henrik Rydgård
a895936913 More log cleanup. Fix resize issue: Fixes #9392 2017-03-06 13:50:22 +01:00
Henrik Rydgård
440e72d250 Clean up among the logs. Remove MASTER_LOG. 2017-03-06 13:10:23 +01:00
Henrik Rydgard
26a2d42731 Big mutex overhaul - remove our custom ones, make them non-recursive where possible 2017-02-28 11:40:29 +01:00
Henrik Rydgard
acde17e3ce Improvements to D3D11 detection and error handling. 2017-02-23 10:40:55 +01:00
Henrik Rydgard
03b607f389 Better way of updating menus on UMD switching calls 2017-01-29 11:41:31 +01:00
Henrik Rydgård
0be02f6de0 Improve smallwindow detection, code cleanup. 2017-01-17 17:21:00 +07:00
Henrik Rydgård
8b5048be72 Fix high-DPI rendering/input on Windows 2017-01-16 20:53:41 +07:00
Unknown W. Brackets
9d6684a776 Consistently resolve PBP paths, use /s in recent.
Drag and drop was using \s causing duplicate recent entries and confusing
some of the PBP parsing.  Let's make it all a bit safer.
2016-06-26 20:33:25 -07:00
Henrik Rydgard
8b450c8034 Merge NativeJit.cpp/h with JitCommon.cpp/h 2016-05-01 11:39:59 +02:00
Henrik Rydgard
6b829c9cde Safer window resize on Windows - don't updating the backbuffer size until stopped dragging.
Cherry-picked from the Vulkan branch.
2016-02-21 11:51:10 +01:00
LunaMoo
0c2efa6d44 Make sure display representation matches all cases and recreate views on window resize(this also fixes touch control layout screen). 2016-01-17 09:18:40 +01:00
Henrik Rydgard
15de6e6b98 GraphicsContext: Abstract away things like swapbuffers etc before adding even more backends.
Needed to prevent clutter all over the codebase.

Does not go all the way yet, goal would be a common render loop between platforms but not there yet.
2016-01-01 14:40:16 +01:00
Unknown W. Brackets
6e48f907dd Support minimize and maximize state.
Fixes #6893.  Minimize is mostly useful for tooling, and maximize is a
more user-friendly way of specifying a fullscreen shortcut.
2015-12-25 19:18:32 -08:00
Henrik Rydgard
44be9f2a50 Move Windows GPU init code into Windows/GPU 2015-11-03 23:22:09 +01:00
Henrik Rydgard
7f4e473e8c Add new shader viewing tool 2015-10-14 18:10:21 +02:00
Unknown W. Brackets
e98a31ef77 Cleanup some indentation. 2015-09-24 00:00:02 -07:00
Henrik Rydgard
ec63663ad5 More consistent handling of resolution changes. Should help #7995 2015-09-23 12:25:38 +02:00
Unknown W. Brackets
5c6753e486 Correct render size on fullscreen->maximized.
We don't get a WM_SIZE event, since that is only sent on "change".  This
means we don't recalculate the client area size, so we get it wrong.

Fixes #7986.
2015-09-20 21:54:27 -07:00
Henrik Rydgard
2dcf50cf5e Fix crash toggling fullscreen from within the Settings menu.
See #7957
2015-09-20 23:57:51 +02:00
Henrik Rydgard
d746d219e1 Delete some outdated xp theme stuff 2015-09-20 21:01:19 +02:00
Henrik Rydgard
ca4ffb5fd3 Minor code cleanup 2015-09-20 20:32:56 +02:00
Henrik Rydgard
1410d7f6d5 Windows: Pause the rendering thread while switching to full screen 2015-09-20 19:45:36 +02:00
Henrik Rydgard
4d18d478a0 Sample renderWidth/pixelWidth/height once per frame for the framebuffer manager. 2015-09-19 16:19:03 +02:00
Henrik Rydgard
8bedc60a93 React to window resizing in a slightly more traditional way, may help #7957? 2015-09-19 15:16:31 +02:00
Henrik Rydgard
9bf47514b8 Assorted Windows cleanup 2015-09-19 14:43:50 +02:00
Henrik Rydgard
6cc7a85cde Rename WndMainWindow to MainWindow 2015-09-19 13:14:05 +02:00
Renamed from Windows/WndMainWindow.cpp (Browse further)