From cb0ee9b6c7629dbea52af2e36ec45217c8e4522a Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 26 Feb 2009 19:32:03 +0000 Subject: add some notes on the different frontends svn path=/trunk/netsurf/; revision=6642 --- Docs/BUILDING-Framebuffer | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'Docs/BUILDING-Framebuffer') diff --git a/Docs/BUILDING-Framebuffer b/Docs/BUILDING-Framebuffer index 20948e14e..cb3fce877 100644 --- a/Docs/BUILDING-Framebuffer +++ b/Docs/BUILDING-Framebuffer @@ -44,6 +44,46 @@ sets up some environment variables which enable NetSurf to find its resources. + Selecting a frontend and appropriate options +============================================== + + The framebuffer port can operate on a number of frontends. A + frontend in this context is simply the combination of input and + output devices. A frontend output device may be any linearly mapped + area of memory. The framebuffer may be treated as values at 32, 16 + or 8 bits per pixel. The input device is typically selected to + complement the output device and is completely specific to the + frontend. + + There are several configuration options which may influence the + framebuffer frontends. These are: + + fb_refresh - The refresh rate (for physical displays) + fb_depth - The depth (in bits per pixel) of the framebuffer + window_width - The width of the framebuffer + window_height - The height of the framebuffer + + The defaults are for 800 by 600 pixels at 16bpp and 70Hz refresh rate. + + There are currently four frontends: + + linux Output to a Linux framebuffer and input from linux input + event device nodes. The output device is specified with + the fb_device option which defaults to /dev/fb0 . The + input nodes are searched for in the path specified by the + fb_input_devpath option which defaults to /dev/input/ + + sdl The SDL frontend is a straightforward port to the SDL library + which abstracts the input and output from the application and has + been targeted to several operating systems. + + vnc The VNC server frontend uses the libvncserver library to + provide a straightforward unsecured VNC server, multiple + clients may connect. + + able Output to the Simtec ABLE bootloader framebuffer and input + from its input device node. + Obtaining NetSurf's build dependencies ======================================== -- cgit v1.2.3