662 Commits
Author SHA1 Message Date
metalgearslothandGitHub aa2dcfed8a Add SCREEN_UV to shaders (#6905) 2026-08-22 17:33:30 +10:00
metalgearslothandGitHub 5cc3021828 SDL secondary window tweaks (#7033)
logging
2026-08-22 06:01:58 +00:00
Jackson AbneyandGitHub 9ec59ccf97 Multi-window: Steam Overlay Memory Leak (#6758) 2026-08-22 15:42:09 +10:00
metalgearslothandGitHub 5a18402f79 Reset overlay draw state around callbacks (#7031) 2026-08-22 15:07:12 +10:00
metalgearslothandGitHub 03e28a8121 Fix StyleBoxTexture using negative bounds UIBox2 (#6986)
* Fix StyleBoxTexture using negative bounds UIBox2

Admin menu calls first draw with 0,0 bounds so the margin makes it negative; we just clamp it.

* a test fix
2026-08-16 07:18:59 +00:00
metalgearslothandGitHub 3cf083a5b8 Add API for getting current IClydeMonitor (#6615) 2026-08-14 23:11:22 +10:00
DamianXandGitHub 7a5da33050 Fix Clyde deadlock on nvidia/wayland (#6966) 2026-08-13 19:47:20 +10:00
metalgearslothandGitHub 1d0b581982 Revert "Fix sRGB framebuffer in Linux GLES compatibility mode" (#6954)
Revert "Fix sRGB framebuffer in Linux GLES compatibility mode (#6846)"

This reverts commit 9cefa1167c.
2026-08-09 10:10:17 +00:00
metalgearslothandGitHub 2750729d34 Release inputs on window focus loss (#6851) 2026-08-08 16:32:05 +10:00
metalgearslothandGitHub 3dd5b14c4b Font outline caching + draw batching for outlines (#6892) 2026-08-08 15:45:04 +10:00
metalgearslothandGitHub d97a89b9f2 Add polygon occluders (#6831) 2026-08-07 17:18:52 +10:00
DoubleHypercubeandGitHub 1f65b9a593 Add support for Sun Microsystems Help through Cut keys (#6922) 2026-08-07 00:23:58 +10:00
metalgearslothandGitHub fe5260953a Use fastpath for RSI state drawing (#6895) 2026-08-05 12:51:22 +10:00
metalgearslothandGitHub 04217c0e55 Cache texture UVs (#6894)
* Cache texture UVs

O(0) beats doing basic maths operations. Followup work to make some hot drawing paths (fonts + RSIs) use the AtlasTexture methods instead.

* 2026-08-02: Support headless atlas textures
2026-08-02 04:17:07 +00:00
PokandGitHub a4d22e4810 Fix Text Outline (#6889)
fix-text-outline
2026-08-02 01:44:10 +00:00
0a4c0d9cdd Cache PostShader render targets in Clyde (#6657)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2026-08-01 20:16:41 +10:00
metalgearslothandGitHub 7f21c749b0 Add multiple post-shader support (#6817) 2026-08-01 16:56:24 +10:00
metalgearslothandGitHub bc55ae00d6 Box2 + Box2Rotated performance and fixes (#6668) 2026-08-01 15:30:41 +10:00
PokandGitHub 8a9123ab36 Text Outline (#6832) 2026-08-01 15:20:59 +10:00
09699f6748 Expose relative mouse mode on windows (#6865)
Co-authored-by: lunarica <lassovira@duck.com>
2026-08-01 15:12:01 +10:00
v0idRiftandGitHub 9cefa1167c Fix sRGB framebuffer in Linux GLES compatibility mode (#6846) 2026-07-29 23:15:33 +10:00
5e79016217 Illumination measuring system to determine how "lit up" entities are (#5574)
Co-authored-by: ElectroJr <leonsfriedrich@gmail.com>
Co-authored-by: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2026-07-23 23:09:22 +10:00
metalgearslothandGitHub 537c4cb02f Fix sprite jittering (#6805) 2026-07-18 15:40:00 +10:00
rebaserHEADandGitHub 7089bd7a69 Tracy: Add entity rendering profiling zones (#6714) 2026-07-18 13:08:04 +10:00
WhatstoneandGitHub 7c7d1ae451 Cleanup: Warning resolution/suppression (#6721) 2026-07-16 19:43:54 +10:00
metalgearslothandGitHub 17b66c574e Fix SetUniformDirect allocation spam (#6769) 2026-07-16 17:28:34 +10:00
PokandGitHub b0b1fa354a FovRenderTarget (#6781) 2026-07-11 07:13:05 +10:00
f2625bf5c5 Removes IMapManager (#6584)
* Move MapManager queries to SharedMapSystem
Moves all variants of FindGridsIntersecting/TryFindGridAt to SharedMapSystem
Hollows out the MapManager methods and converts them into relays to SharedMapSystem

* Move CreateGrid to SharedMapSystem
Moves the functionality for CreateGrid and its variants to SharedMapSystem
Hollows out the MapManager methods and converts them into relays for the SharedMapSystem methods
Obsoletes them too
Also moves over the GetAllMapGrids and GetAllGrids methods

* Move RaiseOnTileChanged to SharedMapSystem
Also moves the SuppressOnTileChanged flag member to SharedMapSystem
Hollows out and obsoletes the MapManager versions

* Move default value constants to SharedMapSystem

* Converts map pausing events into LocalizedEntityCommands

* Move MapManager related delegates/structs to SharedMapSystem
Moves the GridCreationOptions struct to the same namespace as SharedMapSystem and converts it into a record struct
Move the GridCallback delegates to the same namespace as SharedMapSystem

* Move CullDeletionHistory to SharedMapSystem
Well, that was less painful than I thought it would be

* Actually obsolete the NetworkedMapManager method

* Rename file

* Doc comments for new SharedMapSystem methods

* Doc comment

* Doc comments

* Fix access

* Purge all references to IMapManagerInternal

* Cull easy IMapManager references

* The rest

* Purge IMapManager

* Private internal FindGridsIntersecting method

* please die

* 41

* notes

---------

Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
2026-07-01 19:32:17 -07:00
metalgearslothandGitHub afd792c0b1 Merge branch 'master' into master-merge 2026-06-26 21:48:28 +10:00
metalgearslothandGitHub 03ef503285 Add batch drawing methods (#6655)
* Add batched drawing API

Internally Clyde batches drawing, however when drawing hundreds / thousands of the same quad the batch checks add up. This just omits those checks and directly draws instead. Same with skipping color modulation.

Long-term could probably figure out a way to SIMD the transforms better.

* RN
2026-06-26 21:45:32 +10:00
metalgearsloth 3000a76322 Merge remote-tracking branch 'upstream/master' into 2026-06-07-sprite-sort 2026-06-19 19:33:07 +10:00
metalgearsloth 8e98d5479f Also this one 2026-06-11 19:49:58 +10:00
metalgearsloth 9d677d2277 Reduce per-frame allocs for openGL logs
Skip allocating entirely if we log-level not enabled. This is no.2 on debug allocations on client.
2026-06-11 18:55:43 +10:00
metalgearsloth 72ae628a5c Optimise sprite sorts
Quick and dirty but shaved off 10% on debug, would be less on release.
2026-06-07 00:00:18 +10:00
SamukaandGitHub 94c20cae28 Add scroll lock key (#6617)
* add scroll lock

* localization
2026-06-04 16:50:18 +02:00
83c2a1be11 [Dependency] source generator part 2 (#6550)
* [Dependency] source generator

No more reflection, no more codegen at runtime

Also various changes to Roslyn helpers to make this easier to write.

Requires all types with dependencies to be partial and not have readonly dependency fields. An analyzer enforces this at warning level, the previous injection strategies have remained in the code *for now* as a fallback.

No fallback is available for [field: Dependency] properties, due to a Roslyn bug.

Code Fixes exist. We love Roslyn

* Apply dependencies generator changes to all code

* Release notes

* Preprocessor got hands

* Handle nullable dependencies

These are bad but gotta deal with it.

* Apply suggestions from code review

Co-authored-by: Moony <moony@hellomouse.net>

* Fine, let's not use collection expressions

---------

Co-authored-by: Moony <moony@hellomouse.net>
2026-05-08 12:38:33 +02:00
B_KirillandGitHub bbf199757c Fix VRAM leak in MapChunk edge rendering (#6441)
* Fix VRAM leak in MapChunk edge rendering

* Remove CheckGlError because it is called in each of the deletion methods

* Revert "Remove CheckGlError because it is called in each of the deletion methods"

This reverts commit a48ffd71aa.
2026-05-08 11:57:50 +02:00
f95a16cf2e Always clean up render handle state after overlay draws (#6508)
* Always clean up render handle state after overlay draws

* i just forgot to commit that part i guess

---------

Co-authored-by: mirrorcult <mirrorcult@pm.me>
2026-05-05 12:44:42 +02:00
AmyandGitHub 63f1d3b4a5 Report error string on create cursor failure (#6455)
report error string on create cursor failure
2026-03-14 22:28:29 -04:00
eoineoineoinandGitHub 5393cfab85 Avoid crashing client when reloading a shader with syntax errors (#6425) 2026-02-27 08:20:19 -05:00
PJB3005 e7f75ab35d Fix size of OSWindows on macOS (& probably Wayland)
The way SDL handles window coordinates passes through the native platform API's behavior instead of trying to make a consistent API, so the way sizes are handled on macOS is different.
2026-01-31 08:13:19 +01:00
PJB3005 02b64b7386 Show task bar progress bar for loading progress
Using the new API in SDL 3.4.0
2026-01-18 23:30:15 +01:00
PJB3005 36e5f10511 Update SDL3 to 3.4.0 2026-01-18 23:30:15 +01:00
Richard Van TasselandGitHub 93d14d55c7 Let viewport clear when eye is missing (#6379)
* Adds option to viewport to allow render target clearing if eye is missing

* on->when and add to IClydeViewport

* add to ClydeHeadless
2026-01-18 21:17:31 +01:00
PJB3005 d43c3f2caf Merge remote-tracking branch 'origin/master' into 25-11-01-cef-update 2025-12-27 01:50:23 +01:00
PJB3005 ad056e0b45 Add [NotContentImplementable] to client interfaces 2025-12-23 18:34:27 +01:00
B_KirillandGitHub 68609a94d8 Fix inverted clipboard error check in SDL3 (#6348) 2025-12-22 17:35:09 +01:00
PJB3005 095c5f58d9 Obliterate GLFW with an orbital strike 2025-12-15 22:45:39 +01:00
SzuntiandGitHub 899eef397c Make Caps Lock bindable (#6308) 2025-11-24 11:10:24 +01:00
PJB3005 b8ff394f73 Fix spamming startup error messages for projects without splash logo 2025-11-16 15:01:46 +01:00