https://bugs.winehq.org/show_bug.cgi?id=35205
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #8 from Matteo Bruni matteo.mystral@gmail.com --- Very nice work, it's probably the first time we find something depending on correct dirty rects handling in UpdateTexture().
This shouldn't be a hack, it's behavior we want to replicate. We want to test how it works exactly (e.g. after multiple LockRect() calls should multiple dirty rects be stored or just the union of the rects?) and then write a proper implementation. Actually there seem to be some relevant tests in Wine already (see add_dirty_rect_test() in d3d9/tests/visual.c), hopefully they are a good starting point for further work.
Interested? :)