Neil Roberts
0aaea4a93a
cogl-atlas: Try the next size when there would be less than 6% waste
...
Previously when the atlas needs to be migrated it would start by
trying with the same size as the existing atlas if there is enough
space for the new texture. However even if the atlas is completely
sorted there will always be some amount of waste so when the atlas
needs to grow it would usually end up redundantly trying the same size
when it is very unlikely to fit. This patch changes it so that there
must be at least 6% waste available after the new texture is added
otherwise it will start with the next atlas size.
2010-08-12 11:57:00 +01:00
..
2010-08-09 17:27:02 +01:00
2010-07-01 20:39:57 +01:00
2010-08-02 17:41:42 +01:00
2010-08-12 11:56:59 +01:00
2010-08-12 11:56:59 +01:00
2010-08-12 11:57:00 +01:00
2010-08-12 11:56:59 +01:00
2010-07-15 17:24:01 +01:00
2010-07-22 20:13:37 +01:00
2010-07-15 17:27:15 +01:00
2010-08-02 17:41:42 +01:00
2010-07-13 14:28:45 +01:00
2010-06-15 15:26:27 +01:00
2010-07-07 14:08:11 +01:00
2010-07-07 14:08:11 +01:00
2010-07-07 14:08:11 +01:00
2010-08-12 11:54:42 +01:00
2010-08-12 11:54:42 +01:00
2010-07-09 18:57:54 +01:00
2010-07-07 14:41:54 +01:00
2010-08-12 11:56:59 +01:00
2010-08-12 11:56:59 +01:00
2010-07-15 17:27:15 +01:00
2010-07-15 17:27:15 +01:00
2010-07-13 14:28:51 +01:00
2010-07-07 14:41:54 +01:00
2010-08-02 17:41:42 +01:00
2010-08-09 17:27:02 +01:00
2010-08-02 17:41:42 +01:00
2010-08-09 17:27:02 +01:00
2010-07-13 19:26:58 +01:00
2010-08-09 17:27:02 +01:00
2010-08-03 15:00:07 +01:00
2010-08-09 22:02:03 +01:00
2010-08-09 17:26:57 +01:00
2010-08-12 11:36:18 +01:00
2010-08-09 17:26:57 +01:00
2010-08-02 17:41:42 +01:00
2010-07-09 18:57:54 +01:00
2010-07-13 19:26:58 +01:00
2010-07-07 14:08:11 +01:00
2010-07-07 14:08:11 +01:00
2010-07-05 15:20:04 +01:00
2010-08-02 17:41:42 +01:00
2010-08-12 11:56:59 +01:00
2010-08-12 11:54:42 +01:00
2010-08-09 17:27:02 +01:00
2010-08-09 19:38:23 +01:00
2010-07-13 14:29:07 +01:00
2010-07-15 17:24:01 +01:00
2010-07-15 17:24:01 +01:00
2010-08-02 17:41:42 +01:00
2010-07-15 17:24:01 +01:00
2010-07-15 17:24:01 +01:00
2010-07-15 17:24:01 +01:00
2010-07-13 14:28:52 +01:00
2010-07-13 14:28:52 +01:00
2010-07-15 17:24:01 +01:00
2010-07-15 17:24:01 +01:00
2010-07-15 17:24:01 +01:00
2010-07-15 17:27:15 +01:00
2010-03-01 12:56:10 +00:00
2010-08-09 17:27:02 +01:00
2010-07-13 14:28:35 +01:00
2010-07-13 19:26:58 +01:00
2010-07-09 18:57:54 +01:00
2010-08-09 17:27:02 +01:00
2010-08-02 17:41:42 +01:00
2010-08-12 11:56:59 +01:00