Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | RISC OS: initialise font subsystem after Wimp_Initialise | John-Mark Bell | 2022-05-27 | 1 | -8/+10 |
| | | | | | | | | | | | If RUfl detects it is running in a Wimp task it will display a progress meter while scanning fonts. We had this behaviour until ~2017, when it became broken due to the font initialisation being moved before the call to Wimp_Initialise (because the hotlist display logic got moved to the treeview, which needs fonts set up) Move both the font and hotlist initialisation after the call to Wimp_Initialise to restore the desired behaviour. | ||||
* | RISC OS: fix up following RUfl API change | John-Mark Bell | 2022-05-27 | 1 | -3/+3 |
| | |||||
* | Browser window: include theme.h | John-Mark Bell | 2022-05-27 | 1 | -0/+1 |
| | | | | | This is necessary to avoid a warning on platforms that support theme installation. | ||||
* | Save complete: silence warning | John-Mark Bell | 2022-05-27 | 1 | -2/+2 |
| | | | | | | Not all runtime library headers declare the first argument to regexec as being const so don't make our snregexec wrapper do so. Additionally, make save_complete_import_re static. | ||||
* | about(chart): include config.h to silence warning | John-Mark Bell | 2022-05-27 | 1 | -0/+1 |
| | | | | This file uses strndup, so needs config.h including to define it. | ||||
* | Amiga: Do not use pre-multiplied alpha with CompositeTags() (ie. OS4 RTG) | Chris Young | 2022-04-01 | 2 | -8/+24 |
| | |||||
* | Amiga: Use ARGB format bitmaps | Chris Young | 2022-04-01 | 3 | -28/+10 |
| | |||||
* | GTK: Simplify opaque bitmap handling. | Michael Drake | 2022-03-29 | 2 | -52/+6 |
| | | | | | Avoid creating new bitmaps and copying in set_opaque by always using an RGBA format. | ||||
* | Bitmap: Implement test_opaque in core instead of in every frontend. | Michael Drake | 2022-03-29 | 15 | -247/+38 |
| | |||||
* | Bitmap: Try to squash -Wtautological-constant-out-of-range-compare | Michael Drake | 2022-03-28 | 1 | -1/+2 |
| | |||||
* | GTK: Bitmap: Converted bool not needed any more. | Michael Drake | 2022-03-28 | 1 | -1/+0 |
| | |||||
* | GTK: Drop bitmap format logging that's duplicated in the core. | Michael Drake | 2022-03-28 | 1 | -1/+0 |
| | |||||
* | Bitmap: Log the bitmap format that gets set. | Michael Drake | 2022-03-28 | 1 | -0/+36 |
| | |||||
* | GTK: Get the core to handle premultipled alpha bitmap format. | Michael Drake | 2022-03-28 | 2 | -170/+1 |
| | |||||
* | WebP: Optimisation: If it's opaque avoid any PMA conversions. | Michael Drake | 2022-03-28 | 1 | -0/+4 |
| | |||||
* | PNG: Allow support for premultiplied alpha. | Michael Drake | 2022-03-28 | 1 | -4/+13 |
| | | | | | | | | | | | | | LibPNG doesn't support premultiplied alpha, so now that the core supports it, we can't just say that the decoded PNG is in the core bitmap format. So we now say it's in the core pixel layout, and if it's opaque we say it has the same premultipled alpha setting as core bitmaps because the conversion is costly and makes no difference. On the other hand if it is not opaque we now admit that it is not premultipled alpha so it gets converted if needed. | ||||
* | Bitmap: Add support for premultiplied alpha conversion. | Michael Drake | 2022-03-28 | 3 | -17/+164 |
| | |||||
* | GTK: Search: Squash implicit declaration of malloc. | Michael Drake | 2022-03-28 | 1 | -0/+1 |
| | |||||
* | GTK: Scaffolding: Squash implicit declaration of malloc, free. | Michael Drake | 2022-03-28 | 1 | -0/+1 |
| | |||||
* | GTK: Misc: Squash strcmp and strdup implicit declaration warnings. | Michael Drake | 2022-03-28 | 1 | -0/+2 |
| | |||||
* | GTK: Set bitmap format to match Cairo format. | Michael Drake | 2022-03-28 | 2 | -12/+47 |
| | | | | Cairo format is native endian 0xAARRGGBB. | ||||
* | Desktop: Browser window: Squash theme install start warning. | Michael Drake | 2022-03-28 | 1 | -0/+4 |
| | |||||
* | About: Chart: Squash implicit declaration of strndup. | Michael Drake | 2022-03-28 | 1 | -0/+1 |
| | |||||
* | Image: JPEG: Decode to client bitmap format where possible. | Michael Drake | 2022-03-27 | 1 | -51/+125 |
| | |||||
* | Image: JPEG: Warn if not using libjpeg-turbo. | Michael Drake | 2022-03-27 | 1 | -7/+2 |
| | | | | Replaces RISC OS warning with a more general and relevant one. | ||||
* | Image: WebP: Decode to client bitmap format where possible. | Michael Drake | 2022-03-27 | 1 | -8/+24 |
| | |||||
* | Image: WebP: Correct output buffer size for rowstride. | Michael Drake | 2022-03-27 | 1 | -1/+1 |
| | |||||
* | Image: Sprite: Avoid multiple bitmap format conversions. | Michael Drake | 2022-03-27 | 1 | -14/+4 |
| | |||||
* | Image: RSVG: Just use bitmap to client for conversion. | Michael Drake | 2022-03-27 | 1 | -39/+1 |
| | |||||
* | Image: PNG: Decode to client bitmap format. | Michael Drake | 2022-03-27 | 1 | -11/+32 |
| | |||||
* | Image: GIF: Decode directly to client bitmap format. | Michael Drake | 2022-03-27 | 1 | -36/+22 |
| | |||||
* | Bitmap: Colour layout converter doesn't need to be exposed. | Michael Drake | 2022-03-27 | 2 | -46/+46 |
| | |||||
* | Treeview: Use bitmap layout for bitmap generation. | Michael Drake | 2022-03-27 | 1 | -40/+41 |
| | |||||
* | Bitmap: Convert pixel_to_colour to layout-aware function. | Michael Drake | 2022-03-27 | 1 | -6/+22 |
| | |||||
* | Bitmap: Move bitmap pixel to colour macro to bitmap header. | Michael Drake | 2022-03-27 | 3 | -5/+6 |
| | |||||
* | Image: WebP: Call bitmap format conversion after decode. | Michael Drake | 2022-03-27 | 1 | -0/+4 |
| | | | | | Currently a no-op, because we decode to the default format and no front end requests anything but the default format. | ||||
* | Image: RSVG: Call bitmap format conversion after decode. | Michael Drake | 2022-03-27 | 1 | -0/+4 |
| | | | | | Currently a no-op, because we decode to the default format and no front end requests anything but the default format. | ||||
* | Image: PNG: Call bitmap format conversion after decode. | Michael Drake | 2022-03-26 | 1 | -0/+11 |
| | | | | | Currently a no-op, because we decode to the default format and no front end requests anything but the default format. | ||||
* | Image: Sprite: Call bitmap format conversion after decode. | Michael Drake | 2022-03-26 | 1 | -0/+4 |
| | | | | | Currently a no-op, because we decode to the default format and no front end requests anything but the default format. | ||||
* | Image: JPEG: Call bitmap format conversion after decode. | Michael Drake | 2022-03-26 | 1 | -0/+5 |
| | | | | | Currently a no-op, because we decode to the default format and no front end requests anything but the default format. | ||||
* | Image: ICO: Abstract image decode into helper. | Michael Drake | 2022-03-26 | 1 | -29/+23 |
| | |||||
* | Image: ICO: Call bitmap format conversion after decode. | Michael Drake | 2022-03-26 | 1 | -0/+10 |
| | | | | | Currently a no-op, because we decode to the default format and no front end requests anything but the default format. | ||||
* | Image: GIF: Call bitmap format conversion before/after decode. | Michael Drake | 2022-03-26 | 1 | -2/+36 |
| | | | | | Currently a no-op, because we decode to the default format and no front end requests anything but the default format. | ||||
* | Image: BMP: Call bitmap format conversion after decode. | Michael Drake | 2022-03-26 | 1 | -0/+4 |
| | | | | | Currently a no-op, because we decode to the default format and no front end requests anything but the default format. | ||||
* | Bitmap: Initialise layout for default pixel format. | Michael Drake | 2022-03-26 | 1 | -1/+6 |
| | |||||
* | Bitmap: Add format conversion routines. | Michael Drake | 2022-03-26 | 2 | -0/+82 |
| | |||||
* | Include: Bitmap: Add API for setting core bitmap format. | Michael Drake | 2022-03-26 | 4 | -1/+238 |
| | |||||
* | Include: Bitmap: Document bitmap pixel alignment requirement. | Michael Drake | 2022-03-26 | 1 | -0/+2 |
| | |||||
* | Treeview: Change bitmap generation to per-pixel channel indexing. | Michael Drake | 2022-03-25 | 1 | -40/+50 |
| | | | | This will be needed when the core bitmap layout is client controlled. | ||||
* | RISC OS: Include core bitmap header from RO bitmap header. | Michael Drake | 2022-03-24 | 2 | -1/+2 |
| | | | | Squash warnings about enum declared inside parameter list. |