|
|
|
|
File: [XFree86 CVS] / xc / programs / Xserver / dbe / midbe.h
(download)
Revision: 3.4, Sun Feb 19 15:51:18 2006 UTC (7 years, 3 months ago) by tsi Branch: MAIN CVS Tags: xf-4_8_0-bindist, xf-4_8_0, xf-4_8-branch, xf-4_7_99_9, xf-4_7_99_8, xf-4_7_99_7, xf-4_7_99_6, xf-4_7_99_5, xf-4_7_99_4, xf-4_7_99_31, xf-4_7_99_30, xf-4_7_99_3, xf-4_7_99_29, xf-4_7_99_28, xf-4_7_99_27, xf-4_7_99_26, xf-4_7_99_25, xf-4_7_99_24, xf-4_7_99_23, xf-4_7_99_22, xf-4_7_99_21, xf-4_7_99_20, xf-4_7_99_2, xf-4_7_99_19, xf-4_7_99_18, xf-4_7_99_17, xf-4_7_99_16, xf-4_7_99_15, xf-4_7_99_14, xf-4_7_99_13, xf-4_7_99_12, xf-4_7_99_11, xf-4_7_99_10, xf-4_7_99_1, xf-4_7_0, xf-4_7-branch, xf-4_6_99_9, xf-4_6_99_8, xf-4_6_99_7, xf-4_6_99_6, xf-4_6_99_5, xf-4_6_99_4, xf-4_6_99_3, xf-4_6_99_29, xf-4_6_99_28, xf-4_6_99_27, xf-4_6_99_26, xf-4_6_99_25, xf-4_6_99_24, xf-4_6_99_23, xf-4_6_99_22, xf-4_6_99_21, xf-4_6_99_20, xf-4_6_99_2, xf-4_6_99_19, xf-4_6_99_18, xf-4_6_99_17, xf-4_6_99_16, xf-4_6_99_15, xf-4_6_99_14, xf-4_6_99_13, xf-4_6_99_12, xf-4_6_99_11, xf-4_6_99_10, xf-4_6_99_1, xf-4_6_0, xf-4_6-branch, xf-4_5_99_904, xf-4_5_99_903, xf-4_5_99_902, xf-4_5_99_901, xf-4_5_99_22, HEAD Changes since 3.3: +5 -1 lines 217. A rework of the way extension support is built into servers to allow for
servers with different sets of extensions in the same build. This starts
with an idea introduced in David Dawes's TinyX work, and extends it to
also apply to the Xprt, Xnest, Xvfb, Xdmx and Xsun* servers. The changes
include:
- Add, as a comment, a definition for what makes an extension pervasive.
- TOGCUP is not a pervasive extension, but XSYNC, BIGREQS and XRES are.
- Consolidate #define's for the Xv, XvMC and XRES extensions.
- Flip, in favour of the majority case, MITSHM's default decision WRT
whether or not a framebuffer stores pixmap data in the server's virtual
address space. MI is now independent of MITSHM and MITSHM is no longer
a pervasive extension.
- Add a DIX helper to determine whether Xinerama is active and use it
instead of #ifdef'ed code in all loadable modules. Re-implement, as
a screen wrapper, Xinerama's PaintWindow*() hacks. Move down to DIX
Xinerama's only MI hook. Both MI and loadable module objects are now
independent of Xinerama.
- Add more XCSECURITY-related DIX helpers. Loadable module objects that
provide their own extensions (e.g. apm) are now independent of the core
binary's support for XCSECURITY.
- Extend DBE to allow for front and back buffer revalidations (to be used
in future changes to restore the only existing example of DBE hardware
acceleration after converting the sunffb driver to fb, XAA & Render).
This is the change that chronologically started all this.
- Separate Xv and XvMC extensions more cleanly.
- Move Xserver/*/tiny directories under Xserver/hw/tinyx.
- Fix !PrintOnlyServer builds.
- Clean up Xserver/Imakefile.
- Remove remaining traces of Xdec* servers.
- Fix parallel make bug in Xserver/Imakefile caused by unintentional
symbol re-use.
- Accomodate XWin more cleanly by not "skipping" over Xserver/hw.
- Remove all extension stub code (no longer needed).
`make World` is required to correctly build these changes. In fact, I
recommend staring from a fresh checkout. These changes are bundled as
one commit due to module versioning considerations. (Marc La France)
|
/* $XFree86: xc/programs/Xserver/dbe/midbe.h,v 3.3tsi Exp $ */
/******************************************************************************
*
* Copyright (c) 1994, 1995 Hewlett-Packard Company
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL HEWLETT-PACKARD COMPANY BE LIABLE FOR ANY CLAIM,
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* Except as contained in this notice, the name of the Hewlett-Packard
* Company shall not be used in advertising or otherwise to promote the
* sale, use or other dealings in this Software without prior written
* authorization from the Hewlett-Packard Company.
*
* Header file for users of machine-independent DBE code
*
*****************************************************************************/
#ifndef MIDBE_H
#define MIDBE_H
/* INCLUDES */
#include "dbestruct.h"
/* EXTERNS */
extern Bool miDbeInit(
ScreenPtr pScreen,
DbeScreenPrivPtr pDbeScreenPriv
);
#endif /* MIDBE_H */
|
Powered by ViewCVS 0.9.2 |