Welcome, Guest. Please login or register.

Author Topic: Netsurf 68k 16/24bit screen support?  (Read 2599 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline utri007Topic starter

Netsurf 68k 16/24bit screen support?
« 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?
ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD
 

Offline CountRaven

  • Jr. Member
  • **
  • Join Date: Jan 2009
  • Posts: 99
    • Show only replies by CountRaven
    • http://www.amigaplanet.gr
Re: Netsurf 68k 16/24bit screen support?
« Reply #1 on: October 02, 2009, 01:28:27 PM »
Yeah

I also wish it could work on 16/24bit gfx modes.
Peg2, Amiga 500, Amiga 600, Amiga 1200D-030, Amiga 1200PPC, Amiga 4000PPC, CD32, 2xCDTV, Sam 440EP, Efika, AmigaOne XE.

http://www.amigaplanet.gr
 

Offline Crumb

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1786
  • Country: 00
    • Show only replies by Crumb
    • http://cuaz.sourceforge.net
Re: Netsurf 68k 16/24bit screen support?
« Reply #2 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.
The only spanish amiga news web page/club: Club de Usuarios de Amiga de Zaragoza (CUAZ)
 

Offline AmigaHeretic

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 821
    • Show only replies by AmigaHeretic
Re: Netsurf 68k 16/24bit screen support?
« Reply #3 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.
A3000D (16mhz, 2MB Chip, 4MB Fast, SCSI (300+MB), SuperGen Genlock, Kick 3.1)
Back in my day, we didn\'t have water. We only had Oxygen and Hydrogen, and we\'d just have to shove them together.
 

Offline wawrzon

Re: Netsurf 68k 16/24bit screen support?
« Reply #4 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.
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16881
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: Netsurf 68k 16/24bit screen support?
« Reply #5 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.
int p; // A
 

Offline chris

Re: Netsurf 68k 16/24bit screen support?
« Reply #6 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.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline RMK305

  • Hero Member
  • *****
  • Join Date: Sep 2005
  • Posts: 506
    • Show only replies by RMK305
Re: Netsurf 68k 16/24bit screen support?
« Reply #7 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?
Amiga 4000, Warp Engine 040/40MHz, CV643D with scan doubler module, Tocatta soundcard, Deneb, 72Meg fast ram, 18 gig scsi hard drive.

3xA500, 1xA1200, 1xCD32
 

Offline wawrzon

Re: Netsurf 68k 16/24bit screen support?
« Reply #8 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.