Gitweb links: ...log http://git.netsurf-browser.org/netsurf.git/shortlog/d39ae4a10239481a9bf7eb8c9d6688f1e1e7cf39 ...commit http://git.netsurf-browser.org/netsurf.git/commit/d39ae4a10239481a9bf7eb8c9d6688f1e1e7cf39 ...tree http://git.netsurf-browser.org/netsurf.git/tree/d39ae4a10239481a9bf7eb8c9d6688f1e1e7cf39
The branch, master has been updated via d39ae4a10239481a9bf7eb8c9d6688f1e1e7cf39 (commit) from 407e20578ff0b8c2b3fa534f82b4cf139e914ee0 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commitdiff http://git.netsurf-browser.org/netsurf.git/commit/?id=d39ae4a10239481a9bf7eb8c9d6688f1e1e7cf39 commit d39ae4a10239481a9bf7eb8c9d6688f1e1e7cf39 Author: Chris Young <ch...@unsatisfactorysoftware.co.uk> Commit: Chris Young <ch...@unsatisfactorysoftware.co.uk> AMIGA: Use RTG calls on OS3 Enabled for experimentation diff --git a/frontends/amiga/plotters.c b/frontends/amiga/plotters.c index 215c5eb..fe1e58f 100644 --- a/frontends/amiga/plotters.c +++ b/frontends/amiga/plotters.c @@ -144,16 +144,13 @@ struct gui_globals *ami_plot_ra_alloc(ULONG width, ULONG height, bool force32bit if((depth > 8) && (force32bit == false)) friend = scrn->RastPort.BitMap; } - /* OS3 is locked to using palette-mapped display even on RTG. - * To change this, comment out the below and build with the similar OS4 lines above. - * Various bits of RTG code are OS4-only and OS3 versions will need to be written, - * however a brief test reveals a negative performance benefit, so this lock to a - * palette-mapped display is most likely permanent. - */ -#warning OS3 locked to palette-mapped modes - gg->palette_mapped = true; - palette_mapped = true; - if(depth > 8) depth = 8; + if(depth < 16) { + gg->palette_mapped = true; + if(force32bit == false) palette_mapped = true; + } else { + gg->palette_mapped = false; + if(force32bit == false) palette_mapped = false; + } #endif /* Probably need to fix this next line */ ----------------------------------------------------------------------- Summary of changes: frontends/amiga/plotters.c | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/frontends/amiga/plotters.c b/frontends/amiga/plotters.c index 215c5eb..fe1e58f 100644 --- a/frontends/amiga/plotters.c +++ b/frontends/amiga/plotters.c @@ -144,16 +144,13 @@ struct gui_globals *ami_plot_ra_alloc(ULONG width, ULONG height, bool force32bit if((depth > 8) && (force32bit == false)) friend = scrn->RastPort.BitMap; } - /* OS3 is locked to using palette-mapped display even on RTG. - * To change this, comment out the below and build with the similar OS4 lines above. - * Various bits of RTG code are OS4-only and OS3 versions will need to be written, - * however a brief test reveals a negative performance benefit, so this lock to a - * palette-mapped display is most likely permanent. - */ -#warning OS3 locked to palette-mapped modes - gg->palette_mapped = true; - palette_mapped = true; - if(depth > 8) depth = 8; + if(depth < 16) { + gg->palette_mapped = true; + if(force32bit == false) palette_mapped = true; + } else { + gg->palette_mapped = false; + if(force32bit == false) palette_mapped = false; + } #endif /* Probably need to fix this next line */ -- NetSurf Browser _______________________________________________ netsurf-commits mailing list -- netsurf-commits@netsurf-browser.org To unsubscribe send an email to netsurf-commits-le...@netsurf-browser.org