Commit 5caf4d82 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Import Upstream version 1.4.1

parent b3db4862
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -164,8 +164,9 @@ LD = @LD@
LDFLAGS = @LDFLAGS@
LIBJPEG = @LIBJPEG@
LIBOBJS = @LIBOBJS@
LIBPNG = @LIBPNG@
LIBPNG_CFLAGS = @LIBPNG_CFLAGS@
LIBPNG_CONFIG = @LIBPNG_CONFIG@
LIBPNG_LIBS = @LIBPNG_LIBS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
......
This diff is collapsed.
DirectFB README
---------------
This is a developers release of DirectFB.
DirectFB is a graphics library which was designed with embedded
systems in mind. It offers maximum hardware accelerated performance
at a minimum of resource usage and overhead.
......@@ -34,7 +32,7 @@ Supported Operating Systems
We do not have the resources to ensure that every release of
DirectFB works on all supported platforms. If you are a user of one
of the operating system listed above, and have the time to test the
CVS version regularly, your help is greatly appreciated.
CVS or GIT version regularly, your help is greatly appreciated.
Build Requirements
......@@ -144,15 +142,14 @@ Running multiple DirectFB applications at the same time
multi application core of DirectFB which allows multiple DirectFB
applications to run at the same time within a session.
DirectFB applications communicate through a layer we called Fusion.
DirectFB applications communicate through a layer we call "Fusion".
This layer was previously implemented completely in user space using
semaphores and message queues. But since 0.9.15 the Fusion Kernel
Device is required which implements critical parts of Fusion and thus
lead to better performance and decent stability. To install this kernel
module (only available for Linux yet), check out the linux-fusion
module from our CVS repository or use the patch provided by this
release (in the patches directory). Note that you don't need to patch
your kernel using the CVS version of Fusion.
module (only available for Linux yet), find the linux-fusion
module in our CVS or GIT repository or on the DirectFB website.
For DirectFB 1.4.x releases you should use linux-fusion 8.1.1 or newer.
Compile DirectFB with multi-application core enabled:
......@@ -169,7 +166,7 @@ Running multiple DirectFB applications at the same time
A good way to test the multi-application core is to install the lite
toolkit and DFBTerm, a DirectFB terminal (both available in the
DirectFB CVS repository). You can then start DirectFB applications
DirectFB CVS/GIT repository). You can then start DirectFB applications
from dfbterm.
......@@ -203,7 +200,7 @@ Installation
impact. It may be noticably slower in some areas, e.g. text drawing.
You may use the options "no-debug" and "no-trace" by default, e.g.
in '/etc/directfbrc', and use "--dfb:debug,trace" on the command
in '<prefix>/etc/directfbrc', and use "--dfb:debug,trace" on the command
line if needed.
2) Make sure that "<prefix>/lib" is listed in your /etc/ld.so.conf.
......@@ -240,18 +237,19 @@ Configuring DirectFB
There are lots of things that can be configured. We try to ship DirectFB
with reasonable defaults but you might have to tweak things. There are
several ways to do this. You may edit the system-wide configuration
file /etc/directfbrc or the user-specific $HOME/.directfbrc. There's a
manual page called directfbrc(5) that documents all the settings. The
same manual page also explains how DirectFB application can be
file <prefix>/etc/directfbrc or the user-specific $HOME/.directfbrc.
There's a manual page called directfbrc(5) that documents all the settings.
The same manual page also explains how DirectFB application can be
configured via the command-line.
Configuring the Linux frame buffer device
-----------------------------------------
DirectFB needs a Linux kernel with frame buffer support. Check the
documentation in the kernel tree (/usr/src/linux/Documentation/fb/) on
how to enable the frame buffer device for your graphics card.
DirectFB's prefered way-of-working needs a Linux kernel
with frame buffer support. Check the documentation in the kernel tree
(/usr/src/linux/Documentation/fb/) on how to enable the frame buffer device
for your graphics card.
The generic VESA frame buffer device does not support mode switching
and you will not get hardware acceleration. To make DirectFB work with
......@@ -298,6 +296,7 @@ Using the builtin "window manager"
- Press X to cycle the focus through the windows.
- Press S to raise the lowest window to the top.
- Press P to enable and show the mouse cursor.
- Press R to rotate the focused window by 90 degree.
- Press E to focus the window currently under the mouse cursor,
useful in conjunction with 'X'.
- Press Escape to return from fullscreen mode to the desktop.
......@@ -407,6 +406,7 @@ Thanks to
Phil Endecott <spam_from_directfb_dev@chezphil.org>
Brian Austin <brian.austin@cirrus.com>
Keith Mok <ek9852@gmail.com>
Young Hoon <jcybha@hanmail.net>
Special thanks to Ville Syrjala for his great work on the
Matrox TV-Out support and for his several patches including
......@@ -418,7 +418,7 @@ site at 'http://www.sci.fi/~syrjala/'.
Legal stuff
-----------
(c) Copyright 2001-2007 The DirectFB Organization (directfb.org)
(c) Copyright 2001-2009 The DirectFB Organization (directfb.org)
(c) Copyright 2000-2004 Convergence (integrated media) GmbH
All rights reserved.
......
......@@ -137,7 +137,7 @@ autoconf
(autoheader --version) < /dev/null > /dev/null 2>&1 && echo Running autoheader... && autoheader
echo Running automake ...
automake --add-missing $am_opt
automake -Wno-portability --add-missing $am_opt
cd $ORIGDIR
......
/* config.h.in. Generated from configure.in by autoheader. */
/* Define to 1 if you are compiling for ARM. */
#undef ARCH_ARM
/* Define to 1 if you are compiling for PowerPC. */
#undef ARCH_PPC
......@@ -12,6 +15,15 @@
/* Define to 1 if you are compiling for AMD64. */
#undef ARCH_X86_64
/* Dithering to use when rendering to RGB16 surfaces */
#undef DFB_DITHER565
/* Advanced dithering, uses large dither table */
#undef DFB_DITHER_ADVANCED
/* Simple dithering, uses small dither table */
#undef DFB_DITHER_SIMPLE
/* Define to 1 if Video4Linux 2 is supported. */
#undef DFB_HAVE_V4L2
......@@ -120,6 +132,12 @@
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Define to 1 if arm assembly is available. */
#undef USE_ARMASM
/* Define to 1 if GLX has been selected or detected */
#undef USE_GLX
/* Define to 1 if compiling on KallistiOS. */
#undef USE_KOS
......
This diff is collapsed.
This diff is collapsed.
......@@ -129,8 +129,9 @@ LD = @LD@
LDFLAGS = @LDFLAGS@
LIBJPEG = @LIBJPEG@
LIBOBJS = @LIBOBJS@
LIBPNG = @LIBPNG@
LIBPNG_CFLAGS = @LIBPNG_CFLAGS@
LIBPNG_CONFIG = @LIBPNG_CONFIG@
LIBPNG_LIBS = @LIBPNG_LIBS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
......
%define name directfb
%define version 1.2.10
%define version 1.4.1
%define oname DirectFB
%define libname lib%name
......
......@@ -138,8 +138,9 @@ LD = @LD@
LDFLAGS = @LDFLAGS@
LIBJPEG = @LIBJPEG@
LIBOBJS = @LIBOBJS@
LIBPNG = @LIBPNG@
LIBPNG_CFLAGS = @LIBPNG_CFLAGS@
LIBPNG_CONFIG = @LIBPNG_CONFIG@
LIBPNG_LIBS = @LIBPNG_LIBS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
......
.\" Hey Emacs! This file is -*- nroff -*- source.
.\"
.\" This man page is Copyright (C) 2002-2003 Sven Neumann <neo@directfb.org>
.\" This manual page is Copyright (C) 2002-2003 Sven Neumann <neo@directfb.org>
.TH DIRECTFB-CSOURCE 1 "24 Oct 2003" "Version @DIRECTFB_VERSION@" "DirectFB Manual Pages"
.TH DIRECTFB-CSOURCE 1 "14 May 2009" "Version @DIRECTFB_VERSION@" "DirectFB Manual Pages"
.SH NAME
directfb-csource \- C code generation utility for DirectFB surfaces
......@@ -37,6 +37,12 @@ values are ARGB, RGB32, RGB24, RGB16, RGB15, RGB332, A8 and LUT8.
By default the format is ARGB if the PNG image has an alpha channel
or RGB32 otherwise.
.TP
.B --dither-rgb16
If specified, images rendered to RGB16 surfaces are dithered. This
reduces banding caused by the limited colorspace. This option has no
effect for other pixel-formats than RGB16.
.TP
.B --version
Output version information.
......
......@@ -349,7 +349,7 @@ Ignore all non-IR Linux Input devices.
.TP
.BI [no-]linux-input-grab
Grab Linux Input devices. When a device is grabbed only DirectFB
will receive events from it. The default is to grab.
will receive events from it. The default is to not grab.
.TP
.BI [no-]cursor
......
......@@ -119,8 +119,9 @@ LD = @LD@
LDFLAGS = @LDFLAGS@
LIBJPEG = @LIBJPEG@
LIBOBJS = @LIBOBJS@
LIBPNG = @LIBPNG@
LIBPNG_CFLAGS = @LIBPNG_CFLAGS@
LIBPNG_CONFIG = @LIBPNG_CONFIG@
LIBPNG_LIBS = @LIBPNG_LIBS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
......
......@@ -83,3 +83,8 @@ mode "320x200 85Hz 16bit"
timings 60440 32 32 20 4 48 1
double true
endmode
mode "2048x480 60Hz 16bit"
geometry 2048 480 2048 480 16
timings 6411 256 32 52 10 160 8
endmode
......@@ -24,6 +24,12 @@ else
DAVINCI_DIR =
endif
if GFX_GL
GL_DIR = gl
else
GL_DIR =
endif
if GFX_I810
I810_DIR = i810
else
......@@ -120,12 +126,14 @@ else
EP9X_DIR =
endif
SUBDIRS = \
$(ATI128_DIR) \
$(CLE266_DIR) \
$(CYBER5K_DIR) \
$(DAVINCI_DIR) \
$(EP9X_DIR) \
$(GL_DIR) \
$(I810_DIR) \
$(I830_DIR) \
$(MACH64_DIR) \
......
......@@ -55,7 +55,7 @@ RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
ETAGS = etags
CTAGS = ctags
DIST_SUBDIRS = ati128 cle266 cyber5k davinci ep9x i810 i830 mach64 \
DIST_SUBDIRS = ati128 cle266 cyber5k davinci ep9x gl i810 i830 mach64 \
matrox neomagic nsc nvidia omap radeon savage sh772x sis315 \
tdfx unichrome vmware
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
......@@ -133,8 +133,9 @@ LD = @LD@
LDFLAGS = @LDFLAGS@
LIBJPEG = @LIBJPEG@
LIBOBJS = @LIBOBJS@
LIBPNG = @LIBPNG@
LIBPNG_CFLAGS = @LIBPNG_CFLAGS@
LIBPNG_CONFIG = @LIBPNG_CONFIG@
LIBPNG_LIBS = @LIBPNG_LIBS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
......@@ -248,6 +249,8 @@ top_srcdir = @top_srcdir@
@GFX_CYBER5K_TRUE@CYBER5K_DIR = cyber5k
@GFX_DAVINCI_FALSE@DAVINCI_DIR =
@GFX_DAVINCI_TRUE@DAVINCI_DIR = davinci
@GFX_GL_FALSE@GL_DIR =
@GFX_GL_TRUE@GL_DIR = gl
@GFX_I810_FALSE@I810_DIR =
@GFX_I810_TRUE@I810_DIR = i810
@GFX_I830_FALSE@I830_DIR =
......@@ -286,6 +289,7 @@ SUBDIRS = \
$(CYBER5K_DIR) \
$(DAVINCI_DIR) \
$(EP9X_DIR) \
$(GL_DIR) \
$(I810_DIR) \
$(I830_DIR) \
$(MACH64_DIR) \
......
......@@ -28,7 +28,7 @@ libdirectfb_ati128_la_SOURCES = \
mmio.h
libdirectfb_ati128_la_LDFLAGS = \
-export-dynamic \
-module \
-avoid-version \
$(DFB_LDFLAGS)
......
......@@ -156,8 +156,9 @@ LD = @LD@
LDFLAGS = @LDFLAGS@
LIBJPEG = @LIBJPEG@
LIBOBJS = @LIBOBJS@
LIBPNG = @LIBPNG@
LIBPNG_CFLAGS = @LIBPNG_CFLAGS@
LIBPNG_CONFIG = @LIBPNG_CONFIG@
LIBPNG_LIBS = @LIBPNG_LIBS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
......@@ -284,7 +285,7 @@ libdirectfb_ati128_la_SOURCES = \
mmio.h
libdirectfb_ati128_la_LDFLAGS = \
-export-dynamic \
-module \
-avoid-version \
$(DFB_LDFLAGS)
......
/*
(c) Copyright 2001-2008 The world wide DirectFB Open Source Community (directfb.org)
(c) Copyright 2001-2009 The world wide DirectFB Open Source Community (directfb.org)
(c) Copyright 2000-2004 Convergence (integrated media) GmbH
All rights reserved.
......
/*
(c) Copyright 2001-2008 The world wide DirectFB Open Source Community (directfb.org)
(c) Copyright 2001-2009 The world wide DirectFB Open Source Community (directfb.org)
(c) Copyright 2000-2004 Convergence (integrated media) GmbH
All rights reserved.
......
/*
(c) Copyright 2001-2008 The world wide DirectFB Open Source Community (directfb.org)
(c) Copyright 2001-2009 The world wide DirectFB Open Source Community (directfb.org)
(c) Copyright 2000-2004 Convergence (integrated media) GmbH
All rights reserved.
......
/*
(c) Copyright 2001-2008 The world wide DirectFB Open Source Community (directfb.org)
(c) Copyright 2001-2009 The world wide DirectFB Open Source Community (directfb.org)
(c) Copyright 2000-2004 Convergence (integrated media) GmbH
All rights reserved.
......
/*
(c) Copyright 2001-2008 The world wide DirectFB Open Source Community (directfb.org)
(c) Copyright 2001-2009 The world wide DirectFB Open Source Community (directfb.org)
(c) Copyright 2000-2004 Convergence (integrated media) GmbH
All rights reserved.
......
/*
(c) Copyright 2001-2008 The world wide DirectFB Open Source Community (directfb.org)
(c) Copyright 2001-2009 The world wide DirectFB Open Source Community (directfb.org)
(c) Copyright 2000-2004 Convergence (integrated media) GmbH
All rights reserved.
......
......@@ -32,7 +32,7 @@ libdirectfb_cle266_la_SOURCES = \
regs2d.h regs3d.h
libdirectfb_cle266_la_LDFLAGS = \
-export-dynamic \
-module \
-avoid-version \
$(DFB_LDFLAGS)
......
......@@ -158,8 +158,9 @@ LD = @LD@
LDFLAGS = @LDFLAGS@
LIBJPEG = @LIBJPEG@
LIBOBJS = @LIBOBJS@
LIBPNG = @LIBPNG@
LIBPNG_CFLAGS = @LIBPNG_CFLAGS@
LIBPNG_CONFIG = @LIBPNG_CONFIG@
LIBPNG_LIBS = @LIBPNG_LIBS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
......@@ -291,7 +292,7 @@ libdirectfb_cle266_la_SOURCES = \
regs2d.h regs3d.h
libdirectfb_cle266_la_LDFLAGS = \
-export-dynamic \
-module \
-avoid-version \
$(DFB_LDFLAGS)
......
/*
(c) Copyright 2001-2008 The world wide DirectFB Open Source Community (directfb.org)
(c) Copyright 2001-2009 The world wide DirectFB Open Source Community (directfb.org)
(c) Copyright 2000-2004 Convergence (integrated media) GmbH
All rights reserved.
......
......@@ -28,7 +28,7 @@ libdirectfb_cyber5k_la_SOURCES = \
mmio.h
libdirectfb_cyber5k_la_LDFLAGS = \
-export-dynamic \
-module \
-avoid-version \
$(DFB_LDFLAGS)
......
......@@ -156,8 +156,9 @@ LD = @LD@
LDFLAGS = @LDFLAGS@
LIBJPEG = @LIBJPEG@
LIBOBJS = @LIBOBJS@
LIBPNG = @LIBPNG@
LIBPNG_CFLAGS = @LIBPNG_CFLAGS@
LIBPNG_CONFIG = @LIBPNG_CONFIG@
LIBPNG_LIBS = @LIBPNG_LIBS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
......@@ -286,7 +287,7 @@ libdirectfb_cyber5k_la_SOURCES = \
mmio.h
libdirectfb_cyber5k_la_LDFLAGS = \
-export-dynamic \
-module \
-avoid-version \
$(DFB_LDFLAGS)
......
/*
(c) Copyright 2001-2008 The world wide DirectFB Open Source Community (directfb.org)
(c) Copyright 2001-2009 The world wide DirectFB Open Source Community (directfb.org)
(c) Copyright 2000-2004 Convergence (integrated media) GmbH
All rights reserved.
......
/*
(c) Copyright 2001-2008 The world wide DirectFB Open Source Community (directfb.org)
(c) Copyright 2001-2009 The world wide DirectFB Open Source Community (directfb.org)
(c) Copyright 2000-2004 Convergence (integrated media) GmbH
All rights reserved.
......
/*
(c) Copyright 2001-2008 The world wide DirectFB Open Source Community (directfb.org)