xserver

xserver with xephyr scale patch
git clone https://git.neptards.moe/u3shit/xserver.git
Log | Files | Refs | README | LICENSE

fbpict.h (2620B)


      1 /*
      2  *
      3  * Copyright © 2000 Keith Packard, member of The XFree86 Project, Inc.
      4  *
      5  * Permission to use, copy, modify, distribute, and sell this software and its
      6  * documentation for any purpose is hereby granted without fee, provided that
      7  * the above copyright notice appear in all copies and that both that
      8  * copyright notice and this permission notice appear in supporting
      9  * documentation, and that the name of Keith Packard not be used in
     10  * advertising or publicity pertaining to distribution of the software without
     11  * specific, written prior permission.  Keith Packard makes no
     12  * representations about the suitability of this software for any purpose.  It
     13  * is provided "as is" without express or implied warranty.
     14  *
     15  * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
     16  * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
     17  * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
     18  * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
     19  * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
     20  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
     21  * PERFORMANCE OF THIS SOFTWARE.
     22  */
     23 
     24 #ifdef HAVE_DIX_CONFIG_H
     25 #include <dix-config.h>
     26 #endif
     27 
     28 #ifndef _FBPICT_H_
     29 #define _FBPICT_H_
     30 
     31 /* fbpict.c */
     32 extern _X_EXPORT void
     33 fbComposite(CARD8 op,
     34             PicturePtr pSrc,
     35             PicturePtr pMask,
     36             PicturePtr pDst,
     37             INT16 xSrc,
     38             INT16 ySrc,
     39             INT16 xMask,
     40             INT16 yMask, INT16 xDst, INT16 yDst, CARD16 width, CARD16 height);
     41 
     42 /* fbtrap.c */
     43 
     44 extern _X_EXPORT void
     45 fbAddTraps(PicturePtr pPicture,
     46            INT16 xOff, INT16 yOff, int ntrap, xTrap * traps);
     47 
     48 extern _X_EXPORT void
     49 fbRasterizeTrapezoid(PicturePtr alpha, xTrapezoid * trap, int x_off, int y_off);
     50 
     51 extern _X_EXPORT void
     52 fbAddTriangles(PicturePtr pPicture,
     53                INT16 xOff, INT16 yOff, int ntri, xTriangle * tris);
     54 
     55 extern _X_EXPORT void
     56 fbTrapezoids(CARD8 op,
     57              PicturePtr pSrc,
     58              PicturePtr pDst,
     59              PictFormatPtr maskFormat,
     60              INT16 xSrc, INT16 ySrc, int ntrap, xTrapezoid * traps);
     61 
     62 extern _X_EXPORT void
     63 fbTriangles(CARD8 op,
     64             PicturePtr pSrc,
     65             PicturePtr pDst,
     66             PictFormatPtr maskFormat,
     67             INT16 xSrc, INT16 ySrc, int ntris, xTriangle * tris);
     68 
     69 extern _X_EXPORT void
     70 fbGlyphs(CARD8 op,
     71 	 PicturePtr pSrc,
     72 	 PicturePtr pDst,
     73 	 PictFormatPtr maskFormat,
     74 	 INT16 xSrc,
     75 	 INT16 ySrc, int nlist,
     76 	 GlyphListPtr list,
     77 	 GlyphPtr *glyphs);
     78 
     79 #endif                          /* _FBPICT_H_ */