May 18, 2026
2:09 p.m.
On Mon May 18 13:49:48 2026 +0000, Matteo Bruni wrote:
Can we avoid using staging textures when the situation allows? There should be a few cases where it's possible to directly access the user's texture (e.g. src or dst is a mappable `D3D10_USAGE_STAGING` texture). This could be introduced in a follow up patch as well. Yeah it's possible, I just avoided it in this initial patch set to simplify things. :) The initial patch that implements `D3DX10LoadTextureFromTexture()` felt kind of big already, even without support for those cases.
I can add it in this MR, or in another MR if that's fine. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10887#note_140381