Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: utri007 on October 02, 2009, 09:08:15 AM

Title: Netsurf 68k 16/24bit screen support?
Post by: utri007 on October 02, 2009, 09:08:15 AM
Hi

I've problem with netsurf. My graphicks card doesn't support 32 bit screens.

WIll there be support for 16/24 bit screens?
Title: Re: Netsurf 68k 16/24bit screen support?
Post by: CountRaven on October 02, 2009, 01:28:27 PM
Yeah

I also wish it could work on 16/24bit gfx modes.
Title: Re: Netsurf 68k 16/24bit screen support?
Post by: Crumb on October 02, 2009, 02:54:02 PM
Perhaps some code to remap pictures may be taken from AWeb... they must have optimized 680x0 image decoders and an image decoder is usually quite portable.
Title: Re: Netsurf 68k 16/24bit screen support?
Post by: AmigaHeretic on October 02, 2009, 05:50:43 PM
Quote from: CountRaven;524523
Yeah

I also wish it could work on 16/24bit gfx modes.


NetSurf 2.1 on 68k works on 16bit screens fine.  It also has a non TTF version to speed it up on slower machines.

So I'm hoping the 3.0 version will eventually get 16 bit support back.
Title: Re: Netsurf 68k 16/24bit screen support?
Post by: wawrzon on October 02, 2009, 06:16:34 PM
for what i know it has become a little difficult to support different bit depths in netsurf after the update. but it is for artur to say.
Title: Re: Netsurf 68k 16/24bit screen support?
Post by: Karlos on October 02, 2009, 08:16:01 PM
24-bit packed pixel modes are a bit of pain to support, but without knowing how the rendering is carried out, it's a bit difficult to say how feasible it is to fix.

An indirect rendering strategy that renders to a 32-bit BitMap in fast ram that is then copied to any freshly exposed or updated bit using BlitBitMap() might work since the bottleneck is likely to be transferring the data over the bus rather than any conversion overhead. However, since I don't know how the browsers rendering engine works, that might be a completely stupid suggestion.
Title: Re: Netsurf 68k 16/24bit screen support?
Post by: chris on October 03, 2009, 12:59:13 PM
Quote from: Karlos;524555
24-bit packed pixel modes are a bit of pain to support, but without knowing how the rendering is carried out, it's a bit difficult to say how feasible it is to fix.

An indirect rendering strategy that renders to a 32-bit BitMap in fast ram that is then copied to any freshly exposed or updated bit using BlitBitMap() might work since the bottleneck is likely to be transferring the data over the bus rather than any conversion overhead. However, since I don't know how the browsers rendering engine works, that might be a completely stupid suggestion.


Internally all NetSurf bitmaps and colour definitions are 32-bit.  To support 24-bit/16-bit you need to down-convert the 32-bit bitmap just before display (this down-converted version could be cached for later writes to speed things up).

However, I don't know anything about SDL, it might be there where the problems lie.
Title: Re: Netsurf 68k 16/24bit screen support?
Post by: RMK305 on October 04, 2009, 09:30:48 PM
So is everyone who is running this on real Amiga hardware using a PCI graphics card like the Voodoo?
Title: Re: Netsurf 68k 16/24bit screen support?
Post by: wawrzon on October 04, 2009, 10:32:26 PM
Quote from: RMK305;524724
So is everyone who is running this on real Amiga hardware using a PCI graphics card like the Voodoo?


yes. i do.