Liav A
57e19a7e56
LibGfx: Re-structure the whole initialization pattern for image decoders
...
When trying to figure out the correct implementation, we now have a very
strong distinction on plugins that are well suited for sniffing, and
plugins that need a MIME type to be chosen.
Instead of having multiple calls to non-static virtual sniff methods for
each Image decoding plugin, we have 2 static methods for each
implementation:
1. The sniff method, which in contrast to the old method, gets a
ReadonlyBytes parameter and ensures we can figure out the result
with zero heap allocations for most implementations.
2. The create method, which just creates a new instance so we don't
expose the constructor to everyone anymore.
In addition to that, we have a new virtual method called initialize,
which has a per-implementation initialization pattern to actually ensure
each implementation can construct a decoder object, and then have a
correct context being applied to it for the actual decoding.
2023-01-20 15:13:31 +00:00
..
2023-01-02 20:08:35 +00:00
2023-01-06 13:36:02 -07:00
2023-01-11 16:29:43 +00:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2023-01-08 23:01:16 +01:00
2022-12-30 17:16:29 +01:00
2022-12-07 11:48:27 +01:00
2022-12-07 11:48:27 +01:00
2023-01-12 13:56:11 +01:00
2023-01-12 13:56:11 +01:00
2023-01-05 12:09:35 +01:00
2022-12-26 09:27:19 +01:00
2022-12-28 22:32:21 -05:00
2022-12-07 11:48:27 +01:00
2022-12-10 14:28:38 +01:00
2022-12-10 14:28:38 +01:00
2023-01-12 11:25:51 +01:00
2022-12-07 11:48:27 +01:00
2023-01-06 13:36:02 -07:00
2023-01-03 15:25:02 +01:00
2022-12-06 08:54:33 +01:00
2023-01-03 15:25:02 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2023-01-17 00:36:01 +01:00
2023-01-17 00:36:01 +01:00
2022-11-29 15:39:13 +00:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2023-01-06 13:36:02 -07:00
2022-12-09 00:25:30 +01:00
2022-12-30 17:16:29 +01:00
2022-12-30 17:16:29 +01:00
2023-01-06 13:36:02 -07:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2023-01-06 13:36:02 -07:00
2022-12-06 08:54:33 +01:00
2023-01-17 19:52:52 -05:00
2023-01-09 09:45:26 +01:00
2022-12-07 11:48:27 +01:00
2022-12-07 11:48:27 +01:00
2022-12-07 11:48:27 +01:00
2022-12-07 11:48:27 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-16 10:14:20 +00:00
2022-12-06 08:54:33 +01:00
2023-01-07 14:39:30 +01:00
2022-12-06 08:54:33 +01:00
2022-12-07 11:48:27 +01:00
2022-12-07 11:48:27 +01:00
2023-01-20 15:13:31 +00:00
2022-12-06 08:54:33 +01:00
2023-01-07 14:39:30 +01:00
2022-12-06 08:54:33 +01:00
2022-12-15 17:36:57 +00:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2023-01-07 14:39:30 +01:00
2022-12-06 08:54:33 +01:00
2022-12-09 00:25:30 +01:00
2022-12-07 11:48:27 +01:00
2022-11-27 18:28:43 -07:00
2022-12-26 09:27:19 +01:00
2022-12-26 09:27:19 +01:00
2023-01-03 15:25:02 +01:00
2022-12-06 08:54:33 +01:00
2023-01-03 15:25:02 +01:00
2022-12-06 08:54:33 +01:00
2022-12-28 22:32:21 -05:00
2022-12-26 09:27:19 +01:00
2023-01-20 15:13:31 +00:00
2023-01-07 14:39:30 +01:00
2022-12-08 17:20:51 +01:00
2022-11-29 15:39:13 +00:00
2023-01-11 10:24:51 +01:00
2023-01-11 10:24:51 +01:00
2022-11-27 18:28:43 -07:00
2023-01-06 13:36:02 -07:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2023-01-17 19:52:52 -05:00
2022-12-06 08:54:33 +01:00
2023-01-06 13:43:04 +01:00
2022-12-06 08:54:33 +01:00
2023-01-03 15:25:02 +01:00
2022-12-06 08:54:33 +01:00
2022-12-07 11:48:27 +01:00
2022-12-07 11:48:27 +01:00
2022-12-10 14:28:38 +01:00
2022-12-07 11:48:27 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-10 14:28:38 +01:00
2022-12-10 14:28:38 +01:00
2023-01-06 13:36:02 -07:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-07 11:48:27 +01:00
2022-12-07 11:48:27 +01:00
2022-12-06 08:54:33 +01:00
2023-01-01 19:03:03 +01:00
2023-01-01 09:38:07 +00:00
2023-01-07 14:39:30 +01:00
2022-12-06 08:54:33 +01:00
2023-01-02 20:27:20 -05:00
2022-12-06 08:54:33 +01:00
2023-01-06 13:36:02 -07:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2023-01-03 15:25:02 +01:00
2022-12-06 08:54:33 +01:00
2022-12-10 11:49:24 +00:00
2022-12-06 08:54:33 +01:00
2023-01-07 14:39:30 +01:00
2023-01-07 14:39:30 +01:00
2022-12-28 22:32:21 -05:00
2022-12-26 09:27:19 +01:00
2023-01-06 13:36:02 -07:00
2022-12-15 21:00:24 +00:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2023-01-09 17:32:03 +00:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-07 11:48:27 +01:00
2022-12-07 11:48:27 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2023-01-03 15:25:02 +01:00
2022-12-16 09:58:51 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2023-01-13 13:37:19 +01:00
2023-01-13 13:37:19 +01:00
2023-01-12 11:25:51 +01:00
2023-01-11 09:15:10 +00:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-07 11:48:27 +01:00
2022-12-07 11:48:27 +01:00
2023-01-03 15:25:02 +01:00
2022-12-07 11:48:27 +01:00
2022-12-06 08:54:33 +01:00
2023-01-17 19:52:52 -05:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-07 11:48:27 +01:00
2022-12-07 11:48:27 +01:00
2022-12-06 08:54:33 +01:00
2022-12-28 22:32:21 -05:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2023-01-07 14:39:30 +01:00
2023-01-07 14:39:30 +01:00
2023-01-17 18:16:02 +01:00
2023-01-17 18:16:02 +01:00