132b578d3Smrg/*
232b578d3Smrg * Copyright 2003 through 2004 by Marc Aurele La France (TSI @ UQV), tsi@xfree86.org
332b578d3Smrg *
432b578d3Smrg * Permission to use, copy, modify, distribute, and sell this software and its
532b578d3Smrg * documentation for any purpose is hereby granted without fee, provided that
632b578d3Smrg * the above copyright notice appear in all copies and that both that copyright
732b578d3Smrg * notice and this permission notice appear in supporting documentation, and
832b578d3Smrg * that the name of Marc Aurele La France not be used in advertising or
932b578d3Smrg * publicity pertaining to distribution of the software without specific,
1032b578d3Smrg * written prior permission.  Marc Aurele La France makes no representations
1132b578d3Smrg * about the suitability of this software for any purpose.  It is provided
1232b578d3Smrg * "as-is" without express or implied warranty.
1332b578d3Smrg *
1432b578d3Smrg * MARC AURELE LA FRANCE DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
1532b578d3Smrg * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.  IN NO
1632b578d3Smrg * EVENT SHALL MARC AURELE LA FRANCE BE LIABLE FOR ANY SPECIAL, INDIRECT OR
1732b578d3Smrg * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
1832b578d3Smrg * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
1932b578d3Smrg * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2032b578d3Smrg * PERFORMANCE OF THIS SOFTWARE.
2132b578d3Smrg */
2232b578d3Smrg
2332b578d3Smrg#ifndef ___ATIMACH64ACCEL_H___
2432b578d3Smrg#define ___ATIMACH64ACCEL_H___ 1
2532b578d3Smrg
2632b578d3Smrg#include "atipriv.h"
2732b578d3Smrg
28e35d4d8eSmrg#ifdef HAVE_XAA_H
2932b578d3Smrg#include "xaa.h"
30e35d4d8eSmrg#endif
3132b578d3Smrg#include "exa.h"
3232b578d3Smrg
3332b578d3Smrg#define ATIMach64MaxX  4095
3432b578d3Smrg#define ATIMach64MaxY 16383
3532b578d3Smrg
3632b578d3Smrg#ifdef USE_EXA
3732b578d3Smrgextern Bool ATIMach64ExaInit(ScreenPtr);
3832b578d3Smrg#endif
3932b578d3Smrg#ifdef USE_XAA
4032b578d3Smrgextern Bool ATIMach64AccelInit(ScreenPtr);
4132b578d3Smrg#endif
4232b578d3Smrgextern void ATIMach64Sync(ScrnInfoPtr);
4332b578d3Smrg
4432b578d3Smrg/* atimach64accel.c */
4532b578d3Smrgextern void ATIMach64ValidateClip(ATIPtr, int, int, int, int);
4632b578d3Smrg
4732b578d3Smrg#ifdef USE_EXA
4832b578d3Smrg/* atimach64render.c */
4932b578d3Smrgextern Bool Mach64CheckComposite(int, PicturePtr, PicturePtr, PicturePtr);
5032b578d3Smrgextern Bool Mach64PrepareComposite(int, PicturePtr, PicturePtr, PicturePtr,
5132b578d3Smrg				   PixmapPtr, PixmapPtr, PixmapPtr);
5232b578d3Smrgextern void Mach64Composite(PixmapPtr, int, int, int, int, int, int, int, int);
5332b578d3Smrgextern void Mach64DoneComposite(PixmapPtr);
5432b578d3Smrg#endif
5532b578d3Smrg
5632b578d3Smrg#endif /* ___ATIMACH64ACCEL_H___ */
57