Commit Graph
3193 Commits
Author SHA1 Message Date
Henrik Rydgård b421c0791f Perform screenshot processing (including image encode) on background tasks 2025-03-20 20:48:51 +01:00
Henrik Rydgård ae8f8c4abd Refactor TakeGameScreenshot a bit. 2025-03-20 17:41:44 +01:00
Henrik Rydgård 5549fddae5 Touch control layout screen: Resize the game image to fit the editing surface
Makes it easier to place controls properly.

Note, if you have disabled "Transparent UI background" in settings, this
won't do much.

This is a long-requested feature: #16228
2025-03-05 18:00:49 +01:00
Henrik Rydgård 95cf9c2e28 Just some constification 2025-03-03 13:59:42 +01:00
Henrik Rydgård c6691de64c Remove excessive error reporting 2025-03-02 02:28:42 +01:00
Henrik Rydgård f206ed95eb Get rid of remains of support for non-square screen DPIs 2025-02-20 11:14:26 -06:00
Henrik Rydgård 1f7461bb70 When ImDebugger is active, shrink the display area to match the central node. 2025-02-19 11:00:20 -06:00
Henrik Rydgård 87cf0be961 Merge pull request #19979 from hrydgard/depth-adjustment
Ge: Apply slight adjustment to cull range, see issue #17061
2025-02-13 14:58:37 -06:00
Henrik Rydgård 630824a7a3 Ge: Apply slight adjustment to cull range, see issue #17061 2025-02-13 14:57:42 -06:00
Henrik Rydgård b7cec64fb2 ZipFileReader: Small performance optimization when reading by filename 2025-02-13 11:42:46 -06:00
Henrik Rydgård fd88f79d07 CrossSIMD: Fix more no-simd fallbacks. The depth rasterizer now works in TEST_FALLBACK mode. 2025-02-10 11:51:22 -06:00
Henrik Rydgård 7006f01dc5 Merge pull request #19480 from oltolm/comptr_misc
use ComPtr for misc. things
2025-02-06 09:31:41 -06:00
Henrik Rydgård 9ce9e43481 Make some uses of the erase-iter idiom safer and more consistent 2025-02-04 10:31:17 -06:00
Henrik Rydgård c78fa60431 Add better way to check if CrossSIMD has been natively implemented 2025-01-28 10:56:52 +01:00
Henrik Rydgård 9caf37d28f Turn off depth raster if SIMD not available 2025-01-28 10:54:43 +01:00
Henrik Rydgård bd8e423358 Add some comments 2025-01-22 09:47:00 +01:00
Henrik Rydgård eb10247d77 Skip showing regular notifications that don't have messages 2025-01-20 17:48:16 +01:00
oltolm 5c1412f84d use ComPtr for misc. things 2025-01-17 18:06:24 +01:00
Henrik Rydgård b097a54ee0 Don't assert when using the old Ge debugger in OpenGL 2025-01-05 09:28:34 +01:00
Henrik Rydgård 8d6593b92b Remove compat flag AllowDelayedReadback 2025-01-05 09:18:13 +01:00
Henrik Rydgård 206d4d1fea Implement the low-quality depth raster mode, default to it on Android/iOS.
I really can't tell much of a difference in practice...
2024-12-31 11:19:38 +01:00
Henrik Rydgård f85d7db5b1 Comment fixes, buildfix 2024-12-31 02:39:58 +01:00
Henrik Rydgård dee5fe6990 Fix issue in Midnight Club where Z now wrapped around at a distance, after removing the clamp. Might as well cull. 2024-12-31 02:30:05 +01:00
Henrik Rydgård 7ddd7024f4 Revert unintentional change. Warning fix 2024-12-31 02:17:33 +01:00
Henrik Rydgård e0991a7070 DepthRaster: Improved guardband rejection, fixing glitches. 2024-12-31 01:59:15 +01:00
Henrik Rydgård bcab17fcf3 Parallelize triangle setup. However, some glitches appear... 2024-12-31 01:59:11 +01:00
Henrik Rydgård 36c5065d5d Add crude guardband culling to depth rasterizer 2024-12-31 01:59:11 +01:00
Henrik Rydgård de09dec9d1 Move branches out of triangle setup 2024-12-31 01:41:25 +01:00
Henrik Rydgård 373569bf64 More prep. Add triangle loop. 2024-12-31 01:41:22 +01:00
Henrik Rydgård 2eed309d29 Simplify more 2024-12-31 01:41:22 +01:00
Henrik Rydgård d435945b7c Simplify 2024-12-31 01:41:22 +01:00
Henrik Rydgård 69b35e9146 Inline edge calculations 2024-12-31 01:41:05 +01:00
Henrik Rydgård 1195c630c3 Some variable renaming 2024-12-29 14:03:06 +01:00
Henrik Rydgård f70889ad49 Better triangle area calculation, thanks fp64 for the reminder 2024-12-29 13:45:01 +01:00
Henrik Rydgård d325bb872b Prepare for tiled depth raster 2024-12-29 10:05:32 +01:00
Henrik Rydgård c23c3e8d03 Measure the available time for "background depth raster". The idea is viable. 2024-12-29 09:45:55 +01:00
Henrik Rydgård ef934df0f2 Compute and cull by triangle area early before writing 4-groups of triangles 2024-12-29 01:21:16 +01:00
Henrik Rydgård e8786fc401 Cull 4-groups of triangles early 2024-12-29 01:12:53 +01:00
Henrik Rydgård 6d539cc5e0 More fixes 2024-12-28 23:50:42 +01:00
Henrik Rydgård aec17d8829 Actually queue up depth draws 2024-12-28 23:21:54 +01:00
Henrik Rydgård 4ef3ac474a Just minor cleanup and prep in depth raster 2024-12-28 23:16:59 +01:00
Henrik Rydgård 25d79afd47 Small rename, remove some obsolete reporting 2024-12-28 23:05:07 +01:00
Henrik Rydgård 1e8eb88bf0 Unify the ends of the two depth draw paths 2024-12-28 19:22:23 +01:00
Henrik Rydgård 6136c7f5ef More reorg 2024-12-28 18:51:37 +01:00
Henrik Rydgård 66926e28c1 Simplify / fix through mode triangles 2024-12-28 18:51:37 +01:00
Henrik Rydgård 3c3dfe5273 Reorganize depth raster draw state handling 2024-12-28 18:51:34 +01:00
Henrik Rydgård 8b10ee3937 Depth Z: Add a stat for Z-culling, correctly distinguish the small/backface stats 2024-12-28 18:45:03 +01:00
Henrik Rydgård 449e3e1360 Very minor soft transform optimization 2024-12-28 18:45:03 +01:00
Henrik Rydgård eec7853efe More SIMD: Add some matrix operations to CrossSIMD (#19773)
* More CrossSIMD functionality

* Use the new SIMD API for the matrix multiplies
2024-12-28 18:45:14 +01:00
Henrik Rydgård 8c069917b5 Depth raster optimizations: Merge viewport into projection matrix, prepare for further SIMD-ification (#19769)
* Remove some old redundant reports

* Fix scissor off by one

* More CrossSIMD

* Move the viewport scale out to the proj matrix

* DepthRaster: Also merge the viewport translation into the projection matrix.

* Depth raster: Do the triangle clipping in batches of 4 triangles

* Cleanup
2024-12-28 10:36:39 +01:00