Commit Graph

14731 Commits

Author SHA1 Message Date
Michael Drake
bbfc0ca353 Image: JPEG: Warn if not using libjpeg-turbo.
Replaces RISC OS warning with a more general and relevant one.
2022-03-27 11:03:43 +01:00
Michael Drake
d33af42911 Image: WebP: Decode to client bitmap format where possible. 2022-03-27 10:50:29 +01:00
Michael Drake
41995c3999 Image: WebP: Correct output buffer size for rowstride. 2022-03-27 10:41:27 +01:00
Michael Drake
fba7a349c0 Image: Sprite: Avoid multiple bitmap format conversions. 2022-03-27 10:17:48 +01:00
Michael Drake
694a3b4c98 Image: RSVG: Just use bitmap to client for conversion. 2022-03-27 09:58:21 +01:00
Michael Drake
b0e7de8bff Image: PNG: Decode to client bitmap format. 2022-03-27 09:58:21 +01:00
Michael Drake
cde6a10ef4 Image: GIF: Decode directly to client bitmap format. 2022-03-27 09:58:21 +01:00
Michael Drake
c69bc8ba9c Bitmap: Colour layout converter doesn't need to be exposed. 2022-03-27 09:58:21 +01:00
Michael Drake
05a0a6997e Treeview: Use bitmap layout for bitmap generation. 2022-03-27 09:58:21 +01:00
Michael Drake
aeead57677 Bitmap: Convert pixel_to_colour to layout-aware function. 2022-03-27 09:58:21 +01:00
Michael Drake
d00c049d02 Bitmap: Move bitmap pixel to colour macro to bitmap header. 2022-03-27 09:58:21 +01:00
Michael Drake
1bbb499f88 Image: WebP: Call bitmap format conversion after decode.
Currently a no-op, because we decode to the default format
and no front end requests anything but the default format.
2022-03-27 09:58:21 +01:00
Michael Drake
df6ff85305 Image: RSVG: Call bitmap format conversion after decode.
Currently a no-op, because we decode to the default format
and no front end requests anything but the default format.
2022-03-27 09:58:21 +01:00
Michael Drake
052acc752c Image: PNG: Call bitmap format conversion after decode.
Currently a no-op, because we decode to the default format
and no front end requests anything but the default format.
2022-03-26 15:45:00 +00:00
Michael Drake
7bf6a88c9c Image: Sprite: Call bitmap format conversion after decode.
Currently a no-op, because we decode to the default format
and no front end requests anything but the default format.
2022-03-26 15:45:00 +00:00
Michael Drake
2f0fbbcaa0 Image: JPEG: Call bitmap format conversion after decode.
Currently a no-op, because we decode to the default format
and no front end requests anything but the default format.
2022-03-26 15:45:00 +00:00
Michael Drake
c7dce05437 Image: ICO: Abstract image decode into helper. 2022-03-26 15:45:00 +00:00
Michael Drake
60b12cd9fe Image: ICO: Call bitmap format conversion after decode.
Currently a no-op, because we decode to the default format
and no front end requests anything but the default format.
2022-03-26 15:45:00 +00:00
Michael Drake
e7a355bf8d Image: GIF: Call bitmap format conversion before/after decode.
Currently a no-op, because we decode to the default format
and no front end requests anything but the default format.
2022-03-26 15:45:00 +00:00
Michael Drake
27a89439a2 Image: BMP: Call bitmap format conversion after decode.
Currently a no-op, because we decode to the default format
and no front end requests anything but the default format.
2022-03-26 15:45:00 +00:00
Michael Drake
976f54bf48 Bitmap: Initialise layout for default pixel format. 2022-03-26 15:45:00 +00:00
Michael Drake
f27db5f80b Bitmap: Add format conversion routines. 2022-03-26 15:45:00 +00:00
Michael Drake
e9d1a1fa9d Include: Bitmap: Add API for setting core bitmap format. 2022-03-26 15:45:00 +00:00
Michael Drake
6011da798f Include: Bitmap: Document bitmap pixel alignment requirement. 2022-03-26 14:13:56 +00:00
Michael Drake
725d1c9911 Treeview: Change bitmap generation to per-pixel channel indexing.
This will be needed when the core bitmap layout is client controlled.
2022-03-25 20:18:13 +00:00
Michael Drake
7f6a00ad2b RISC OS: Include core bitmap header from RO bitmap header.
Squash warnings about enum declared inside parameter list.
2022-03-24 22:19:22 +00:00
Michael Drake
9892eefd0a RISC OS: Squash unused variable warning. 2022-03-24 22:17:48 +00:00
Michael Drake
002c3c1a7c Bitmap API: Clean up creation flags. 2022-03-24 18:09:28 +00:00
Michael Drake
c2d72d1e93 Include: Bitmap: Remove unused save callback. 2022-03-24 15:29:27 +00:00
Michael Drake
eca8c260a8 BeOS: Drop bitmap save callback entry; core doesn't use it. 2022-03-24 15:29:08 +00:00
Michael Drake
b0e61d1f32 Windows: Drop bitmap save callback entry; core doesn't use it. 2022-03-24 15:28:49 +00:00
Michael Drake
e104fd798b RISC OS: Drop bitmap save callback entry; core doesn't use it. 2022-03-24 15:28:36 +00:00
Michael Drake
8e57f2a2f5 Monkey: Drop bitmap save callback entry; core doesn't use it. 2022-03-24 15:28:22 +00:00
Michael Drake
ee874c7ea1 GTK: Drop bitmap save callback entry; core doesn't use it. 2022-03-24 15:27:55 +00:00
Michael Drake
9114068d3f Framebuffer: Drop bitmap save callback entry; core doesn't use it. 2022-03-24 15:27:33 +00:00
Michael Drake
1e9687196d Atari: Drop bitmap save callback entry; core doesn't use it. 2022-03-24 15:26:07 +00:00
Michael Drake
fca10f324e Amiga: Drop bitmap save callback entry; core doesn't use it. 2022-03-24 15:25:18 +00:00
Michael Drake
2fb5fcdda2 GUI: Bitmap save callback was never required. 2022-03-24 15:24:25 +00:00
Michael Drake
28c0e79624 Include: Bitmap: Modified flag isn't used. 2022-03-24 14:01:16 +00:00
Michael Drake
527cc33c7f Monkey: Bitmap: Modified flag is not used. 2022-03-24 13:59:57 +00:00
Michael Drake
09bd355a5c RISC OS: Bitmap modified flag is not used. 2022-03-24 13:58:22 +00:00
Michael Drake
14d265d502 Include: Bitmap: Fix comment typo. 2022-03-24 13:57:07 +00:00
Michael Drake
6f591aceaf Include: Bitmap: Drop get_bpp from bitmap operation table.
Core bitmaps have always been 32bpp.
2022-03-24 13:03:19 +00:00
Michael Drake
a65186f7a8 BeOS: Drop bitmap get bpp function. 2022-03-24 13:03:19 +00:00
Michael Drake
a9c0441725 Atari: Drop bitmap get bpp function. 2022-03-24 13:03:19 +00:00
Michael Drake
16346898d1 Amiga: Drop bitmap get bpp function. 2022-03-24 13:03:19 +00:00
Michael Drake
26cef7d444 GTK: Drop bitmap get bpp function. 2022-03-24 12:53:10 +00:00
Michael Drake
236e8612e0 Framebuffer: Drop bitmap get bpp function. 2022-03-24 12:50:01 +00:00
Michael Drake
26b189af67 Monkey: Drop bitmap get bpp function. 2022-03-24 12:47:31 +00:00
Michael Drake
521440df7c Windows: Drop bitmap get bpp function. 2022-03-24 12:26:52 +00:00