b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync/* $Xorg: scrnintstr.h,v 1.4 2001/02/09 02:05:15 xorgcvs Exp $ */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync/***********************************************************
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncCopyright 1987, 1998 The Open Group
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncPermission to use, copy, modify, distribute, and sell this software and its
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncdocumentation for any purpose is hereby granted without fee, provided that
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncthe above copyright notice appear in all copies and that both that
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsynccopyright notice and this permission notice appear in supporting
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncdocumentation.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncThe above copyright notice and this permission notice shall be included in
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncall copies or substantial portions of the Software.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncOPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncExcept as contained in this notice, the name of The Open Group shall not be
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncused in advertising or otherwise to promote the sale, use or other dealings
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncin this Software without prior written authorization from The Open Group.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncCopyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync All Rights Reserved
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncPermission to use, copy, modify, and distribute this software and its
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncdocumentation for any purpose and without fee is hereby granted,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncprovided that the above copyright notice appear in all copies and that
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncboth that copyright notice and this permission notice appear in
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncsupporting documentation, and that the name of Digital not be
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncused in advertising or publicity pertaining to distribution of the
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncsoftware without specific, written prior permission.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncDIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncDIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncWHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync******************************************************************/
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync/* $XFree86: xc/programs/Xserver/include/scrnintstr.h,v 1.12 2003/04/27 21:31:05 herrb Exp $ */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync short nplanes;/* = log2 (ColormapEntries). This does not
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * imply that the screen has this many planes.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * it may have more or fewer */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync VisualID *vids; /* block of visual ids for this depth */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * There is a typedef for each screen function pointer so that code that
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * needs to declare a screen function pointer (e.g. in a screen private
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * or as a local variable) can easily do so and retain full type checking.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*index*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*class*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync unsigned short * /*pwidth*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync unsigned short * /*pheight*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*on*/);
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*sx*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*sy*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync unsigned int /*format*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync unsigned long /*planeMask*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync char * /*pdstLine*/);
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*wMax*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int* /*pwidth*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*nspans*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync char * /*pdstStart*/);
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*width*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*height*/);
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*y*/);
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync unsigned long /*mask*/);
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*what*/);
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsynctypedef PaintWindowProcPtr PaintWindowBackgroundProcPtr;
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsynctypedef PaintWindowProcPtr PaintWindowBorderProcPtr;
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*dx*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*dy*/);
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*width*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*height*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*depth*/);
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*xorg*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*yorg*/);
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*srcx*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*srcy*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*dstx*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*dsty*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync unsigned long /*plane*/);
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*windx*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*windy*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*oldx*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*oldy*/);
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*guarantee*/);
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*ndef*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync unsigned short* /*pred*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync unsigned short* /*pgreen*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync unsigned short* /*pblue*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*major*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*minor*/);
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*screenNum*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*screenNum*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync unsigned long /*result*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*width*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*height*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*depth*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*bitsPerPixel*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*devKind*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync unsigned int /*w*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync unsigned int /*h*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#endif /* SHAPE */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync unsigned int /*width*/);
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int myNum; /* index of this instance in Screens[] */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync unsigned long rgf; /* array of flags; she's -- HUNGARIAN */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync /* next field is a stipple to use as default in
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync a GC. we don't build default tiles of all depths
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync because they are likely to be of a color
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync different from the default fg pixel, so
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync we don't win anything by building
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync a standard one.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync /* Random screen procedures */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync PointerNonInterestBoxProcPtr PointerNonInterestBox;
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync /* Window Procedures */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync ChangeWindowAttributesProcPtr ChangeWindowAttributes;
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync PaintWindowBackgroundProcPtr PaintWindowBackground;
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync /* Pixmap procedures */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync /* Backing store procedures */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync TranslateBackingStoreProcPtr TranslateBackingStore;
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * A read/write copy of the lower level backing store vector is needed now
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * that the functions can be wrapped.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync /* Font procedures */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync /* Cursor Procedures */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync /* GC procedures */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync /* Colormap procedures */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync ListInstalledColormapsProcPtr ListInstalledColormaps;
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync /* Region procedures */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync /* os layer procedures */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync /* anybody can get a piece of this array */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync CreateScreenResourcesProcPtr CreateScreenResources;
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync PixmapPtr pScratchPixmap; /* scratch pixmap "pool" */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync MarkOverlappedWindowsProcPtr MarkOverlappedWindows;
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#endif /* SHAPE */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int /*argc*/,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync char ** /*argv*/);
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#endif /* SCREENINTSTRUCT_H */