WineD3D: Do not use the IWineD3DSurface for the cursor

Stefan Dösinger stefandoesinger at gmx.at
Thu Jul 27 12:07:05 CDT 2006


Am Donnerstag 27 Juli 2006 15:59 schrieb H. Verbeet:
> about simply creating a new surface and copying the original
> surface's contents
This would go through the whole surface construction code, a HeapAlloc, and 
the release code + HeapFree every frame to draw the cursor. If I created the 
surface when the pointer is set I would still have to do refcounting tricks 
because the newly created surface normally addrefs the device and creates a 
circular refcount dependency
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20060727/4ddc2f59/attachment.pgp


More information about the wine-devel mailing list