From b517cf331aeb2616e216b1a78cc20d0027b4e0b6 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Fri, 24 Feb 2012 20:00:51 +0000 Subject: option_screen_compositing to enable switching compositing for NetSurf's own screen on/off. Some experimentation with compositing and simple/smart refresh reveals that simple refresh windows with compositing on for the screen behave the same as smart refresh windows. Smart refresh windows with compositing off use more gfx memory than when compositing is on. Simple refresh windows with compositing off will probably be more memory efficient, as we are using an off-screen bitmap to render the browsing area anyway. However due to this bitmap being re-used over multiple tabs/windows, it does not always reflect what should be on the window, so performing a redraw of damaged areas may be the only option. Need to read damaged regions from layer (probably through struct Region *DamageList) and check on performance vs memory or make the window refresh type configurable. Simple refresh code #ifdefed out for now for further investigation later. svn path=/trunk/netsurf/; revision=13464 --- amiga/Makefile.target | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'amiga/Makefile.target') diff --git a/amiga/Makefile.target b/amiga/Makefile.target index cf3c6a9e3..aa0cef61f 100644 --- a/amiga/Makefile.target +++ b/amiga/Makefile.target @@ -5,7 +5,7 @@ CFLAGS += -std=c99 -I . -Dnsamiga ifneq ($(SUBTARGET),os3) - CFLAGS += -N -U__STRICT_ANSI__ -D__USE_INLINE__ -D__USE_BASETYPE__ + CFLAGS += -U__STRICT_ANSI__ -D__USE_INLINE__ -D__USE_BASETYPE__ endif NETSURF_FEATURE_ROSPRITE_CFLAGS := -DWITH_NSSPRITE -- cgit v1.2.3