Commit Graph

250 Commits

Author SHA1 Message Date
Jean-Philip Desjardins
c2b96f5b10 Adjust to library changes. 2016-10-19 21:43:53 -04:00
Jean-Philip Desjardins
3dc7199dcd Refactor CCdromSelectionWnd. 2016-10-11 23:12:00 -04:00
Jean-Philip Desjardins
5754f8da34 Add basic EE and IOP CPU usage stat in profiler. 2016-10-10 16:24:56 -04:00
Jean-Philip Desjardins
8484b179f6 Cleanup. 2016-10-10 16:24:41 -04:00
Jean-Philip Desjardins
604715d21e Add experimental mipmap support. 2016-09-17 23:29:00 -04:00
Jean-Philip Desjardins
cafbba7796 Force point sampling to be used on indexed textures. 2016-09-17 23:29:00 -04:00
Jean-Philip Desjardins
6d7b3b9f05 Add perspective correction on textures. 2016-09-17 23:29:00 -04:00
Jean-Philip Desjardins
43581b5352 Add basic support for reading CLUT in shader. 2016-09-17 23:29:00 -04:00
Jean-Philip Desjardins
47c670497f Fix getting a representation of indexed textures. 2016-09-17 23:29:00 -04:00
Jean-Philip Desjardins
cd3a04ea61 Fix leaking vertex declaration. 2016-09-17 23:29:00 -04:00
Jean-Philip Desjardins
2ab60a7f79 Completely changed texture handling.
- Better caching.
- Independent from CLUT.
2016-09-17 23:29:00 -04:00
Jean-Philip Desjardins
7dc396df4a Cleanup. 2016-09-17 23:29:00 -04:00
Jean-Philip Desjardins
2bde523cc8 Use combined sampler/texture flag. 2016-09-17 23:29:00 -04:00
Jean-Philip Desjardins
17c6847070 Use shaders to render primitives. 2016-09-17 23:29:00 -04:00
Jean-Philip Desjardins
3ef8d468ee Use single vertex buffer to draw primitives. 2016-09-17 23:29:00 -04:00
Jean-Philip Desjardins
2475278d8d Cleanup. 2016-09-17 23:29:00 -04:00
Jean-Philip Desjardins
c582184a29 Add basic shader generator for Direct3D9. 2016-09-17 23:29:00 -04:00
Jean-Philip Desjardins
fd0f97f912 Cleanup. 2016-09-17 23:29:00 -04:00
Jean-Philip Desjardins
f4ef247aac Add basic flip implementation. 2016-09-17 23:29:00 -04:00
Jean-Philip Desjardins
24c1bd90b2 Reset D3D device when window size has changed. 2016-09-17 23:29:00 -04:00
Jean-Philip Desjardins
dbc2befbc4 Depth buffer managed by D3D device is not needed. 2016-09-17 23:29:00 -04:00
Jean-Philip Desjardins
c552c1f192 Cleanup. 2016-09-17 23:29:00 -04:00
Jean-Philip Desjardins
4f6ecf4bfa Fix some window lifetime issues. 2016-09-06 20:22:03 -04:00
Jean-Philip Desjardins
f38ab332a9 Cleanup. 2016-08-31 23:08:02 -04:00
Jean-Philip Desjardins
82fd06476e Use focus window system. 2016-08-29 21:42:21 -04:00
Jean-Philip Desjardins
6304c9c0f0 DPI scaling fixes. 2016-08-29 21:42:21 -04:00
Jean-Philip Desjardins
5ed3605333 Add default bindings to L3 and R3. 2016-08-29 21:42:21 -04:00
Jean-Philip Desjardins
4ac482bdfe Fix dpi scaling. 2016-08-29 21:42:21 -04:00
Jean-Philip Desjardins
91ac054ed0 Fix K value representation in TEX1. 2016-08-26 12:33:11 +09:00
Jean-Philip Desjardins
a363322879 Print mipmap pointers in frame debugger. 2016-08-22 14:27:13 -04:00
Jean-Philip Desjardins
2e2f828da1 Add some autodetected functions. 2016-08-16 22:19:39 -04:00
Jean-Philip Desjardins
ac1a1dd8a7 Count ticks in nanoseconds. 2016-07-17 16:23:13 -04:00
Jean-Philip Desjardins
dfa4e8e7d2 Display total time in profiler view. 2016-07-17 16:21:25 -04:00
Jean-Philip Desjardins
9cd153aa62 Use constant for time scale. 2016-07-17 16:15:16 -04:00
Jean-Philip Desjardins
142513d877 Improve OpenGL context creation/setup on Win32. 2016-06-30 16:35:36 -04:00
Jean-Philip Desjardins
4fee4366bf Cleanup. 2016-06-19 23:33:00 -04:00
Jean-Philip Desjardins
2f899b681e Add integer view mode to RegViewVU. 2016-06-19 16:49:13 -04:00
Jean-Philip Desjardins
1fde8a60dd Cleanup RegViewFPU. 2016-06-19 16:49:13 -04:00
Jean-Philip Desjardins
c7e0b05383 Cleanup RegViewVU. 2016-06-19 16:49:13 -04:00
Jean-Philip Desjardins
01cec372ec Dump TEX1 information in FrameDebugger. 2016-06-19 16:49:12 -04:00
Jean-Philip Desjardins
7ca3fa71ec Save framebuffer display mode in frame debugger. 2016-05-13 21:39:11 -04:00
Jean-Philip Desjardins
a2a2e592ea Rename CGsRegisterWriteListView to CGsPacketListView. 2016-05-13 21:39:10 -04:00
Jean-Philip Desjardins
f040741905 Invalidate state when texture is uploaded. 2016-05-13 21:39:09 -04:00
Jean-Philip Desjardins
140e6c139e Record and display image transfers in frame dumps. 2016-05-13 21:39:09 -04:00
Jean-Philip Desjardins
e8a1d697e1 Added some overrides. 2016-04-16 23:37:49 -04:00
Jean-Philip Desjardins
fe26b6b25d Added more auto tagged functions. 2016-04-16 22:08:38 -04:00
Jean-Philip Desjardins
9c719bcf75 Renamed audio toggle menu item on Win32 to be consistent with other platforms. 2016-04-12 13:09:38 -04:00
Jean-Philip Desjardins
caef900794 Fixed framebuffer display not working on some GPUs in frame debugger. 2016-04-04 23:34:08 -04:00
Jean-Philip Desjardins
5d2c63eadb Generalized the way preferences are reloaded. 2016-01-25 22:59:44 -05:00
Jean-Philip Desjardins
f10b2da704 Added high resolution mode setting toggle on Win32. 2016-01-25 22:59:40 -05:00
Jean-Philip Desjardins
fe64556c77 Renamed LoadSettings to LoadPreferences for consistency. 2016-01-19 22:37:23 -05:00
Jean-Philip Desjardins
aff6942115 Removed "render lines as quads" setting since it was not used anymore. 2016-01-19 22:37:17 -05:00
Jean-Philip Desjardins
c5c5faaa96 Removed unused variables. 2016-01-19 22:37:16 -05:00
Jean-Philip Desjardins
09f13811f8 Added override. 2016-01-19 22:37:16 -05:00
Jean-Philip Desjardins
8fcdf11d1e Fixed Win32 build. 2016-01-15 21:42:37 -05:00
Jean-Philip Desjardins
1a43c7832a Moved ScopedVmPauser out of Win32 specific code. 2016-01-15 10:09:41 -05:00
Jean-Philip Desjardins
4cd5ff6653 Removed unused code. 2015-12-29 17:44:29 -05:00
Jean-Philip Desjardins
691154cc12 Changed transfer handling functions.
Renamed ProcessImageTransfer to ProcessHostToLocalTransfer.
Added ProcessLocalToHostTransfer function.
2015-12-29 17:44:29 -05:00
Jean-Philip Desjardins
8427b963a2 Added more auto-detected functions. 2015-12-28 18:45:19 -05:00
Jean-Philip Desjardins
08e7ee39a8 Added way to customise address range of function analysis. 2015-12-27 13:00:20 -05:00
Jean-Philip Desjardins
54ef78db8c Removed code that is not compatible with GLES. 2015-12-20 17:42:12 -05:00
Jean-Philip Desjardins
c63431ab52 Improved handling of LoadExecPS2 system call.
- Executable path will now be taken in consideration.
- Fixed issue with UT's incomplete path.
- Use GetStructPtr to obtain proper pointers.
2015-12-05 19:24:44 -05:00
Jean-Philip Desjardins
12572f9d02 Make sure render state is invalidated when resetting. 2015-11-25 00:30:43 -05:00
Jean-Philip Desjardins
b41f096739 Make sure a framebuffer is cleared after it's been created. 2015-11-25 00:30:43 -05:00
Jean-Philip Desjardins
119717a4d6 Added support for scissoring in D3D9 GS handler. 2015-11-25 00:30:42 -05:00
Jean-Philip Desjardins
43e26799df Removed unneeded SetFocus. 2015-11-17 22:12:54 -05:00
Jean-Philip Desjardins
0dfa3253fa Streamlined video settings dialog. 2015-11-17 22:12:52 -05:00
Jean-Philip Desjardins
7aafafa912 Allow CSettingsDialogProvider to return things other than CModalWindow. 2015-11-17 22:12:52 -05:00
Jean-Philip Desjardins
524bd8d93d Renamed "Renderer Settings" to "Video Settings" 2015-11-17 22:12:51 -05:00
Jean-Philip Desjardins
bcf0c3d2d2 Sprkinled some overrides. 2015-11-13 11:12:39 -05:00
Jean-Philip Desjardins
b772f96e5d Merge branch 'virtualpad_redux'
Conflicts:
	build_win32/Play.vcxproj.filters
2015-11-13 10:52:58 -05:00
Jean-Philip Desjardins
1a30bae4e2 Use SW_SHOWNOACTIVATE when showing profiler overlay.
Prevents main window from being deactivated.
2015-11-12 10:24:50 -05:00
Jean-Philip Desjardins
f0bcf03c40 Virtual pad can be enabled using define.
This is temporary till we find a better way to enable it at runtime.
2015-11-12 10:19:28 -05:00
Jean-Philip Desjardins
30bad4ce74 Added actual input in Win32 virtual pad. 2015-11-12 10:13:26 -05:00
Jean-Philip Desjardins
562ab34615 Cleaned resource script a little bit. 2015-11-11 10:12:18 -05:00
Jean-Philip Desjardins
56d70d3f27 Made sure button caption is centered. 2015-11-10 20:07:27 -05:00
Jean-Philip Desjardins
a27e8ccae3 Use GDI+ RectF instead of Win32 RECT. 2015-11-10 19:56:06 -05:00
Jean-Philip Desjardins
3c64602458 Added images in Win32 virtual pad. 2015-11-10 10:20:12 -05:00
Jean-Philip Desjardins
d125eeef66 Fixed issues with hit-testing on transparent parts of virtual pad. 2015-11-07 19:45:02 -05:00
Jean-Philip Desjardins
f3d62fd7de Added virtual pad stick on Win32. 2015-11-06 20:40:27 -05:00
Jean-Philip Desjardins
230abe2400 Added basic interaction with buttons on virtual pad. 2015-11-05 09:58:16 -05:00
Jean-Philip Desjardins
097713994b Added detection of PadPortOpen function for easier debugging. 2015-11-04 01:04:33 -05:00
Jean-Philip Desjardins
1436779aed Win32 virtual pad WIP. 2015-11-03 20:08:20 -05:00
Jean-Philip Desjardins
9e13b03ddc First shot of virtual pad on Win32. 2015-11-02 19:40:10 -05:00
Jean-Philip Desjardins
9c93f9a035 Fixed invisible GTA San Andreas icon in memory card manager. 2015-10-13 22:42:49 -04:00
Jean-Philip Desjardins
9f417e94be Added some bounds checking in save icon renderer. 2015-10-13 22:34:20 -04:00
Jean-Philip Desjardins
5866fdf5b7 Merge branch 'master' into vs2015 2015-10-04 22:26:15 -04:00
Jean-Philip Desjardins
4dc5818a9d Added support for L3 and R3 on Win32. 2015-09-23 01:30:28 -04:00
Jean-Philip Desjardins
967af493ac Converted project to VS2015. 2015-08-17 23:21:36 -04:00
Jean-Philip Desjardins
aa235da1f3 Added some more auto-detected functions. 2015-08-16 02:43:48 -04:00
Jean-Philip Desjardins
c7230dc067 Added missing blending functions. 2015-07-18 20:49:28 -04:00
Jean-Philip Desjardins
39484117f6 Make sure blending function is not totally random when function is not recognized. 2015-07-18 20:47:49 -04:00
Jean-Philip Desjardins
1109a1c28f Made simulated axis binding work again and made it a default binding for analog sticks. 2015-07-03 01:12:12 -04:00
Jean-Philip Desjardins
ba4ec06220 Added GetBindingInfoDescription to avoid duplication. 2015-07-03 01:11:10 -04:00
Jean-Philip Desjardins
df6bab3ee9 Cleanup. 2015-07-03 00:34:53 -04:00
Jean-Philip Desjardins
ee59571211 Sound is now enabled by default on Win32. 2015-06-14 02:18:06 -04:00
Jean-Philip Desjardins
15827e6295 Updated Win32 icon and renamed some stuff. 2015-06-01 00:17:39 -04:00
Jean-Philip Desjardins
f2aedb86b0 Updated Win32 version information. 2015-06-01 00:12:52 -04:00
Jean-Philip Desjardins
7a0bdc03c9 Reorganized VPU/VIF code to better match the actual hardware. 2015-05-07 01:52:45 -04:00
Jean-Philip Desjardins
2a333e27a8 Renamed UI folders for better organization. 2015-05-06 01:27:59 -04:00