Files
OpenRA/OpenRA.Game
RoosterDragon a3d0a50f4d Improve sheet packing.
When sheet builders are adding sprites to a sheet, they work left to right along each row. They reserve height for the highest sprite seen along that row, resetting the height reservation when the row runs out of space and it moves down to the next row.

As the SpriteCache adds the sprites in a giant batch, it can optimise this operation by ordering the sprites by their height. This reduces wastage where shorter sprites don't use the the full height reserved within the row. The reduced wastage can help the sheet builder allocate fewer sheets, improving load times and improving GPU memory usage as less texture memory is required.
2024-03-11 08:47:56 +02:00
..
2023-10-30 23:31:33 +02:00
2023-11-25 16:45:05 +01:00
2023-11-19 19:28:57 +02:00
2024-03-11 08:47:56 +02:00
2024-01-24 10:11:39 +02:00
2023-01-11 11:58:54 +02:00
2024-03-09 21:10:02 +02:00
2023-11-16 09:29:17 +02:00
2024-01-31 13:29:58 +02:00
2024-02-09 16:30:05 +02:00
2023-04-08 16:51:51 +03:00
2023-11-15 19:13:17 +02:00
2023-01-11 11:58:54 +02:00
2023-11-19 19:28:57 +02:00
2023-06-20 17:57:40 +02:00
2023-06-06 11:51:47 +03:00
2023-04-08 16:51:51 +03:00
2023-04-08 16:51:51 +03:00
2023-11-16 09:29:17 +02:00
2023-10-09 17:50:02 +03:00
2023-11-16 08:45:10 +02:00
2023-10-30 23:31:33 +02:00
2023-08-11 15:51:53 +02:00
2023-01-11 11:58:54 +02:00
2023-08-07 21:38:09 +02:00
2023-08-07 21:38:09 +02:00
2023-11-15 19:13:17 +02:00
2023-04-08 16:51:51 +03:00
2023-08-20 20:41:27 +02:00
2023-11-16 08:45:10 +02:00
2023-04-08 16:51:51 +03:00