Advice fixing #13683 (DirectX mouse overlay?)

Stefan Dösinger stefandoesinger at gmail.com
Wed Apr 23 03:59:47 CDT 2014


Am 23.04.2014 um 09:15 schrieb Christopher Thielen <christopher at thielen.co>:
> Once the cursor data is loaded from bitmap16.flx to a heap, I never see a reference to that memory again, at least in an API trace. After various initializations, there are a lot of CreateTexture calls followed by LockRect ... UnlockRect. From reading around online, my guess is the game uploads textures using memcpy() while the rect is locked. Can anyone who knows a bit more about D3D confirm that's a probable method of uploading textures?
Correct. This is a common way to load textures. There are others, but they all involve LockRect and UnlockRect at some point.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20140423/6bad44a3/attachment.sig>


More information about the wine-devel mailing list