1428d7b3dSmrg/* 2428d7b3dSmrg * Copyright © 2000 Keith Packard, member of The XFree86 Project, Inc. 3428d7b3dSmrg * Copyright © 2012 Intel Corporation 4428d7b3dSmrg * 5428d7b3dSmrg * Permission to use, copy, modify, distribute, and sell this software and its 6428d7b3dSmrg * documentation for any purpose is hereby granted without fee, provided that 7428d7b3dSmrg * the above copyright notice appear in all copies and that both that 8428d7b3dSmrg * copyright notice and this permission notice appear in supporting 9428d7b3dSmrg * documentation, and that the name of Keith Packard not be used in 10428d7b3dSmrg * advertising or publicity pertaining to distribution of the software without 11428d7b3dSmrg * specific, written prior permission. Keith Packard makes no 12428d7b3dSmrg * representations about the suitability of this software for any purpose. It 13428d7b3dSmrg * is provided "as is" without express or implied warranty. 14428d7b3dSmrg * 15428d7b3dSmrg * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 16428d7b3dSmrg * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 17428d7b3dSmrg * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR 18428d7b3dSmrg * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 19428d7b3dSmrg * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 20428d7b3dSmrg * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 21428d7b3dSmrg * PERFORMANCE OF THIS SOFTWARE. 22428d7b3dSmrg */ 23428d7b3dSmrg 24428d7b3dSmrg#ifndef FBPICT_H 25428d7b3dSmrg#define FBPICT_H 26428d7b3dSmrg 27428d7b3dSmrg#ifdef HAVE_CONFIG_H 28428d7b3dSmrg#include "config.h" 29428d7b3dSmrg#endif 30428d7b3dSmrg 31428d7b3dSmrg#include <xorg-server.h> 32428d7b3dSmrg#include <picturestr.h> 33428d7b3dSmrg 34428d7b3dSmrg#include "sfb.h" 35428d7b3dSmrg 36428d7b3dSmrgextern void 37428d7b3dSmrgfbComposite(CARD8 op, 38428d7b3dSmrg PicturePtr pSrc, 39428d7b3dSmrg PicturePtr pMask, 40428d7b3dSmrg PicturePtr pDst, 41428d7b3dSmrg INT16 xSrc, INT16 ySrc, 42428d7b3dSmrg INT16 xMask, INT16 yMask, 43428d7b3dSmrg INT16 xDst, INT16 yDst, 44428d7b3dSmrg CARD16 width, CARD16 height); 45428d7b3dSmrg 46428d7b3dSmrgextern pixman_image_t *image_from_pict(PicturePtr pict, 47428d7b3dSmrg Bool has_clip, 48428d7b3dSmrg int *xoff, int *yoff); 49428d7b3dSmrg 50428d7b3dSmrgextern void free_pixman_pict(PicturePtr, pixman_image_t *); 51428d7b3dSmrg 52428d7b3dSmrg#endif /* FBPICT_H */ 53