summaryrefslogtreecommitdiff
path: root/src/i830.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-01-30 16:34:50 -0800
committerEric Anholt <eric@anholt.net>2007-01-30 16:34:50 -0800
commit4cd552e8f4851e029e43bf778cd8340f6c2c4881 (patch)
tree9a8a411ba11f4dcf6685dc64cce9a4415e0ea04a /src/i830.h
parent6a628ae12b0568d656059891c5bca4415d8a735f (diff)
Fix accelerated Render transformations.
Previously, we tried to use 2 points instead of 3 to describe the source rectangles, which mostly just worked for scaling.
Diffstat (limited to 'src/i830.h')
-rw-r--r--src/i830.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/i830.h b/src/i830.h
index d9dae5b7..66cfba1e 100644
--- a/src/i830.h
+++ b/src/i830.h
@@ -657,6 +657,10 @@ I830EXAPrepareComposite(int op, PicturePtr pSrcPicture,
PicturePtr pMaskPicture, PicturePtr pDstPicture,
PixmapPtr pSrc, PixmapPtr pMask, PixmapPtr pDst);
+void
+i830_get_transformed_coordinates(int x, int y, PictTransformPtr transform,
+ float *x_out, float *y_out);
+
extern const int I830PatternROP[16];
extern const int I830CopyROP[16];
#endif