> 
> It's not even possible to fix it within the platform code as the
> bitmap plotter doesn't know what original content-type (or pixel
> format) is.

I see in new plotter API in wiki here 

http://wiki.netsurf-browser.org/Plotter-api

bool (*bitmap)(void *pw, const plot_rect *rect, struct bitmap *bitmap,
colour_t bg_colour, bitmapf_t flags);

but currently 32 bit plotters in libnsfb have this.(i check out today
newest)

bitmap(nsfb_t *nsfb,
       const nsfb_bbox_t *loc,
       const nsfb_colour_t *pixel, 
       int bmp_width, 
       int bmp_height, 
       int bmp_stride,
       bool alpha)
{

maybe it is planned in the new plotter API to add pixelformat bits on flags.
?.
then the plotter can choose correct one.

> 
> Regards
> Chris
Regards


Reply via email to