Marinescu-Ghetau Iulian wrote:
Hi there,
Thanks alot for all the information, it helped me a great deal in
understanding the problem and trying to solve it!
I would like to ask you one more thing: if its not too much trouble
for you, could you have a look over the few lines i wrote at
"http://bugs.winehq.org/show_bug.cgi?id=3902#c4" and tell me what you
think ? I found a way to fix the Bug and improve general bitmaps
performance and wanted to know if it could work, before i start coding !
You can't really speed up the uploading of bitmaps to the X server when
the state has been changed to DIB_Status_AppMod since you can't tell
what has changed, but I do think your idea is good for downloading the
bitmap from the X server when in the GDI state. I would maybe suggest
making the changed rect an argument to the coerce function though so it
isn't possible for GDI functions to forget to do it before calling coerce.
--
Rob Shearman