[PATCH 4/5] wined3d: Remove the unused device type parameter from the fragment pipe's get_caps() function.

Stefan Dösinger stefandoesinger at gmx.at
Wed Feb 3 12:06:00 CST 2010


Am 03.02.2010 um 18:17 schrieb Henri Verbeet:

> On the subject of actually supporting software devices, we should probably
> implement those by creating a software or reference adapter with appropriate
> gl_info and pipe implementations and creating a device based on that.
Wouldn't that conflict with how adapters work in the d3d8/9 API? There an adapter identifies the display hardware, not necessarily the rendering device.

Or, to phrase it in API terms:

> static HRESULT WINAPI IWineD3DImpl_CreateDevice(IWineD3D *iface, UINT adapter_idx,
>         WINED3DDEVTYPE device_type, HWND focus_window, DWORD flags, IUnknown *parent,
>         IWineD3DDeviceParent *device_parent, IWineD3DDevice **device)
You'd want to remove device_type from here as well if we merge it into the adapter(and then deal with splitting up wined3d adapters into d3d8/9 adapters and device types in the client libs)




More information about the wine-devel mailing list