From freedesktop-xorg Fri Mar 28 17:24:38 2008 From: Krzysztof Lichota Date: Fri, 28 Mar 2008 17:24:38 +0000 To: freedesktop-xorg Subject: Re: Backport of "intel" driver to Xorg 7.0 Message-Id: <47ED29D6.6090102 () lichota ! net> X-MARC-Message: https://marc.info/?l=freedesktop-xorg&m=120672509428840 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1641719097==" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============1641719097== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig1963714D35A507A1C73DE520" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1963714D35A507A1C73DE520 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Matthias Hopf napisa=C5=82(a): > On Mar 28, 08 12:51:01 +0100, Krzysztof Lichota wrote: >> I got to the point where driver is compiling and 2D acceleration using= >> XAA is working (providing much better speed than Vesa), but I cannot >> make XV work as it is using "textured video" (I guess overlay mode is >> not present in 965G) and some necessary arguments are missing for >> textured video. Namely: >> >> Function I830PutImage() in 7.0 does not have "DrawablePtr pDraw" >> argument, so later on the following code does not work: >> if (pDraw->type =3D=3D DRAWABLE_WINDOW) { >> pPixmap =3D (*pScreen->GetWindowPixmap)((WindowPtr)pDraw); >> } else { >> pPixmap =3D (PixmapPtr)pDraw; >> } >=20 > I hit exactly the same issue. The attached patch fixes the problem for > me, though I don't know ATM whether the choice I made is correct or onl= y > works by accident. >=20 > Note also that this doesn't test for the API, so only apply this patch > when compiling for older Xservers. Unfortunately there's no easy way to= > detect this ABI change. :-( Thanks a lot, it works now! :) Krzysztof Lichota --------------enig1963714D35A507A1C73DE520 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH7SnbSHJB/1EhaUwRAlTWAKCZPxkM8lY2R5QZhWGla5F+Zu+1IQCdEpkI baQVyBGlOGewJ4l+nFoRAU0= =qmXX -----END PGP SIGNATURE----- --------------enig1963714D35A507A1C73DE520-- --===============1641719097== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg --===============1641719097==--