[PATCH 5/7] wined3d: Avoid destroying active contexts.

Józef Kucia joseph.kucia at gmail.com
Thu Oct 6 04:45:19 CDT 2016


On Thu, Oct 6, 2016 at 11:28 AM, Henri Verbeet <hverbeet at gmail.com> wrote:
> Still, ideally the context wouldn't have a device pointer either. I
> think the legitimate accesses to the device are mostly either
> accessing shared resources like textures and samplers, or using the
> device to get at the wined3d creation flags. We can probably store the
> shared resources in some structure inside the device, and then store a
> pointer to that in the context instead, and probably just copy the
> flags.

FWIW, a copy of the wined3d creation flags is stored in d3d_info, so
"context->d3d_info.wined3d_creation_flags" is the proper way to get
them.



More information about the wine-devel mailing list