1
mirror of https://github.com/mpv-player/mpv synced 2024-11-11 00:15:33 +01:00
mpv/libdha
diego 99b2bd502c Reuse common parts of all Makefiles.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22603 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-15 09:19:30 +00:00
..
bin binary drivers 2002-01-04 10:30:50 +00:00
dhahelperwin The FSF changed postal address. 2006-09-01 12:11:11 +00:00
kernelhelper Unify dep/depend targets. 2006-11-20 11:18:01 +00:00
oth support for vidix on ATI Radeon 9600SE cards 2007-01-04 16:04:31 +00:00
sysdep Hack around libavutil/bswap.h compilation problems due to always_inline undefined. 2006-12-07 11:58:07 +00:00
AsmMacros.h Improved readability and new stuffs 2002-01-15 08:33:09 +00:00
libdha.c openbsd xf86 aperture support 2005-01-21 21:36:30 +00:00
libdha.h Ignore disabled cards. (Jon Burgess <jburgess@uklinux.net>) 2003-03-31 00:14:36 +00:00
Makefile Reuse common parts of all Makefiles. 2007-03-15 09:19:30 +00:00
mtrr.c Make MTRR setup work on AMD64 and simplify some #ifdefs 2005-09-03 19:17:28 +00:00
pci_db2c.awk Fix typo and some updates. 2002-01-12 20:47:55 +00:00
pci.c GNU/kFreeBSD support, closes Bugzilla #704. 2007-01-10 14:56:23 +00:00
README spelling + grammar 2003-12-31 21:33:28 +00:00
test.c occured --> occurred typo patch by Clinton Roy <croy@dstc.edu.au> 2003-12-24 22:00:51 +00:00

lidbha - Direct Hardware Access library
=======================================

This library was designed for providing direct hardware access under different
OS'es and architectures, so it's platform- and os-independent.

The main project on the top of libdha is Vidix. It provides userspace
video drivers for Matrox, Ati, 3Dlabs, Trident (and it's still evolving).

For the full list of supported OS'es read the sources, anyway here's a 'reported
as working' list (these platforms are used daily):
 Linux/x86
 FreeBSD/x86
 NetBSD/x86
 Linux/PPC

There are different ways to access the hardware, normally only ROOT can do that.
With root privileges libdha will run fine, but there are some others ways
to use it as a normal user:
1, set the SUID bit on the binary (in this way it runs with root privileges)
2, use svgalib kernel helper
3, use dhahelper (not yet finished)

The library is based on XFree86 and gfxdump (a utility from the GATOS project)
sources.

Original import and design by Nick Kurshev and Alex Beregszaszi.
Current maintenance and dhahelper by Alex Beregszaszi.
Svgalib kernelhelper support by Matan Ziv-Av.
(for the e-mail addresses see the AUTHORS file in MPlayer)