Commit Graph

90342 Commits

Author SHA1 Message Date
Erik Abair 84fa8dac3e nv2a: Check for CPU-modifications to textures before reusing 2022-06-03 13:29:38 -07:00
Erik Abair 7d6da227ba nv2a: Fix combiner single stage color+alpha interdependence 2022-05-30 16:04:12 -07:00
7oxicshadow ebcd5078e4
ui: Make keyboard controller scancode map configurable 2022-05-28 17:59:32 -07:00
Erik Abair 9f6b9670d6 nv2a: Ignore excess inline array data 2022-05-28 15:08:22 -07:00
Erik Abair 8334f294df nv2a: Do not set surface dirty if writes were disabled 2022-05-28 11:58:27 -07:00
Matt Borgerson 0cdcdde70c nv2a: Emulate floating Z24S8 with fixed Z24S8 2022-05-25 23:51:05 -07:00
Matt Borgerson bb78ad0e2f nv2a: Rename zeta surface map 'int' to 'fixed' 2022-05-25 23:51:05 -07:00
Erik Abair 7c5d8b6546 nv2a: Implement shadow comparison for PROJECT2D mode 2022-05-25 14:38:32 -07:00
Erik Abair 9fe352c56c nv2a: Migrate surface dbg messages to trace framework 2022-05-24 16:42:23 -07:00
Matt Borgerson 280a1bb6a1 nv2a: Support compressed 2D texture padding 2022-05-24 01:46:38 -07:00
Matt Borgerson 14748d9bbb nv2a: Limit base, max mipmap level 2022-05-24 01:46:38 -07:00
Matt Borgerson 0efef88181 nv2a: Use soft 2D texture decompression 2022-05-24 01:46:38 -07:00
Erik Abair 66b57dca9c
nv2a: Invalidate zeta when constructing non-matching color surface 2022-05-19 18:07:03 -07:00
Erik Abair 397957a36c nv2a: Unbind dirty buffers on invalidate 2022-05-19 17:52:02 -07:00
Erik Abair 9a446a6544 nv2a: Add pitch to surface debug info 2022-05-18 16:52:32 -07:00
Erik Abair e64ffe8091 nv2a: Invalidate GL textures after surface blit 2022-05-18 16:51:51 -07:00
Matt Borgerson 9fafe92b25 nv2a: Don't add clip offset to swizzled surfaces 2022-05-18 16:19:10 -07:00
Matt Borgerson 38a0e46f8c nv2a: Don't bind unsampled textures 2022-05-18 03:40:04 -07:00
Matt Borgerson 2c1012ede4 nv2a: Add SHADOWCTL to shader dirty test 2022-05-17 18:13:35 -07:00
Matt Borgerson a1f34c339a nv2a: Add SHADOWCTL register to store depth func 2022-05-17 18:13:35 -07:00
Erik Abair c33d96127c nv2a: Implement shadow samplers 2022-05-17 17:45:16 -07:00
Erik Abair b9aef0c57c nv2a: Move palette offset behind texture reuse check 2022-05-17 17:32:32 -07:00
Erik Abair b0f20c9bba nv2a: Fix stale texture in surface input and output case 2022-05-17 17:18:15 -07:00
Matt Borgerson f375a0cb80 ui: Fix port padding scale 2022-05-17 16:56:14 -07:00
Matt Borgerson 3451fdb8c0 gloffscreen.h: Remove platform-specific includes 2022-05-17 16:55:41 -07:00
Erik Abair a6cd0c2110 nv2a: Prevent GPU download after blit operation 2022-05-17 16:29:16 -07:00
Erik Abair aec2883c6b
nv2a: Process pending surface uploads before render to texture 2022-05-10 17:56:58 -07:00
Erik Abair 496a7b7099 ui: Fix build with --enable-renderdoc and DEBUG_NV2A_GL 2022-05-10 15:16:09 -07:00
Erik Abair 2d50239832 nv2a: Fix subscreen pvideo overlay position 2022-05-10 14:51:51 -07:00
Erik Abair 989dbcc76d nv2a: Match HW behavior when setting window clip 2022-05-10 13:15:30 -07:00
Matt Borgerson 6f3470acc8 ui: Use SDL_GL_GetDrawableSize when rendering framebuffer 2022-05-09 11:52:15 -07:00
Mason Thompson 722579bf01 menubar.cc: Add F12 Shortcut to Screenshot 2022-05-07 23:02:51 -07:00
Matt Borgerson 41e9c669d9 ui: Add Windows directory selection 2022-05-07 21:55:45 -07:00
Matt Borgerson 156c1edd2b ui: Use glReadPixels instead of glReadnPixels for screenshot
macOS doesn't support glReadnPixels.
2022-05-07 20:22:04 -07:00
Matt Borgerson 48bf99f060 ui: Fix flags for directory open 2022-05-07 20:21:58 -07:00
Matt Borgerson 328eff8eaa ui: Create vector of main menu views 2022-05-07 20:21:51 -07:00
Matt Borgerson 9c06980275 ui: Redesign user interface
Introduces a new user interface that looks much nicer, is easier to
navigate with controllers, provides more context to users, and is
scalable. Some additional features are included.

* Adds 'popup menu' with actions that can be used easily from controller
* Adds 'main menu', unifying other configuration dialogs
* Adds port-forwarding user interface
* Adds screenshot feature
* Adds volume control feature
* Adds gamepad auto-bind option
* Adds vsync configuration option
* Adds auto UI scaling
* Adds preferred window size selection
* Adds AV pack selection
* Exposes some existing config items in GUI
2022-05-07 16:09:34 -07:00
Erik Abair 306891b98c nv2a: Disable stderr print on image_blit when GL debugging is enabled 2022-05-05 14:50:07 -07:00
Julien Reichardt c2e0067538 tomlplusplus: Update submodule 2022-05-02 14:08:33 -07:00
Matt Borgerson a809d8557d .github: Make all release tags follow v<semver> convention
Replace xemu-v*, gh-release/* tagging with typical semver vX.Y.Z, which
plays nicer with GitHub releases. Increments patch version on push
to master.
2022-04-29 22:03:39 -07:00
Julien Reichardt 292c9703de
tomlplusplus: Update submodule 2022-04-29 14:57:57 -07:00
Revix 8a89108a50 ui: Add CPU logging in log 2022-04-29 14:19:24 -07:00
Matt Borgerson 30a872fa83 vl: Don't start if eeprom is invalid 2022-04-27 15:54:02 -07:00
Matt Borgerson 8ac830b2aa vl: Don't regenerate EEPROM if it already exists 2022-04-27 15:54:02 -07:00
revix 38d1036b2c
ui: Display hardware info in About window 2022-04-27 00:50:15 -07:00
Erik Abair 6d7f329880 nv2a: Fix glsl ambiguous overload to prevent renderdoc failure 2022-04-26 22:08:51 -07:00
Matt Borgerson e80d5fa9c3 build: Update SDL2 to 2.0.22 2022-04-26 17:54:17 -07:00
Antonio Abbatangelo 4bd1a07706 nv2a: adjust display resolution in 1080i mode 2022-04-26 13:46:28 -07:00
Erik Abair a654a1f99a nv2a: Prevent renderdoc from crashing xemu when capturing a frame 2022-04-26 13:44:13 -07:00
Erik Abair 8125e1302f nv2a: Fix renderdoc detection on macOS 2022-04-25 13:30:47 -07:00