Displaying 1 result from an estimated 1 matches for "nv30exatransformcoord".
Did you mean:
nv10exatransformcoord
2010 Apr 20
1
[PATCH] nv30/exa : cleanup from nv40 exa
...G(chan, rankine, NV34TCL_TX_UNITS_ENABLE, 1);
OUT_RING (chan, pmPict?3:1);
pNv->alu = op;
@@ -550,13 +492,12 @@ NV30EXAPrepareComposite(int op, PicturePtr psPict,
#define xFixedToFloat(v) \
((float)xFixedToInt((v)) + ((float)xFixedFrac(v) / 65536.0))
-static void
+static inline void
NV30EXATransformCoord(PictTransformPtr t, int x, int y, float sx, float sy,
float *x_ret, float *y_ret)
{
- PictVector v;
-
if (t) {
+ PictVector v;
v.vector[0] = IntToxFixed(x);
v.vector[1] = IntToxFixed(y);
v.vector[2] = xFixed1;
@@ -600,7 +541,9 @@ NV30EXAComposite(PixmapPtr pdPix, int srcX , int...