On Mon, 2009-06-29 at 14:17 +0100, Michael Drake wrote:
In article <1246279542.18148.312.camel@duiker>,
John-Mark Bell <jmb(a)netsurf-browser.org> wrote:
> The most obvious solution to all of this is to make bitmaps completely
> opaque to the core and have them provide accessors/mutators for bitmap
> data in a defined format (namely: whatever the core speaks). The
> frontend can then store bitmap data in whatever format they like and the
> core can still access it as necessary.
I think it's then harder to have the image decoders in the core, isn't it?
Every platform would need their own implementation.
No. That's the wholepoint of providing mechanisms to allow the core to
read/write the image data *in a defined format*.
J.