/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/d3d8/ |
H A D | directx.c | 92 wined3d_decref(d3d8->wined3d); 109 hr = wined3d_register_software_device(d3d8->wined3d, init_function); 123 hr = wined3d_get_adapter_count(d3d8->wined3d); 147 hr = wined3d_get_adapter_identifier(d3d8->wined3d, adapter, flags, &adapter_id); 169 hr = wined3d_get_adapter_mode_count(d3d8->wined3d, adapter, 186 hr = wined3d_enum_adapter_modes(d3d8->wined3d, adapter, WINED3DFMT_UNKNOWN, 211 hr = wined3d_get_adapter_display_mode(d3d8->wined3d, adapter, &wined3d_mode, NULL); 235 hr = wined3d_check_device_type(d3d8->wined3d, adapter, device_type, wined3dformat_from_d3dformat(display_format), 265 hr = wined3d_check_device_format(d3d8->wined3d, adapter, device_type, wined3dformat_from_d3dformat(adapter_format), 282 hr = wined3d_check_device_multisample_type(d3d8->wined3d, adapte [all...] |
H A D | d3d8_private.h | 46 #include "wine/wined3d.h" 54 /* Not nice, but it lets wined3d support different versions of directx */ 116 struct wined3d *wined3d; member in struct:d3d8 183 HRESULT device_init(struct d3d8_device *device, struct d3d8 *parent, struct wined3d *wined3d, UINT adapter,
|
H A D | device.c | 94 FIXME("Unhandled wined3d format %#x.\n", format); 357 TRACE("Releasing wined3d device %p.\n", device->wined3d_device); 1179 ERR("Failed to get wined3d render target.\n"); 1929 /* The caller is responsible for wined3d locking */ 2013 /* The caller is responsible for wined3d locking */ 2783 ERR("Failed to get wined3d stream source, hr %#x.\n", hr); 3067 HRESULT device_init(struct d3d8_device *device, struct d3d8 *parent, struct wined3d *wined3d, UINT adapter, argument 3088 hr = wined3d_device_create(wined3d, adapter, device_type, focus_window, flags, 4, 3092 WARN("Failed to create wined3d devic [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/d3d9/ |
H A D | directx.c | 95 wined3d_decref(d3d9->wined3d); 112 hr = wined3d_register_software_device(d3d9->wined3d, init_function); 126 ret = wined3d_get_adapter_count(d3d9->wined3d); 150 hr = wined3d_get_adapter_identifier(d3d9->wined3d, adapter, flags, &adapter_id); 171 /* Others than that not supported by d3d9, but reported by wined3d for ddraw. Filter them out. */ 176 ret = wined3d_get_adapter_mode_count(d3d9->wined3d, adapter, 197 hr = wined3d_enum_adapter_modes(d3d9->wined3d, adapter, wined3dformat_from_d3dformat(format), 221 hr = wined3d_get_adapter_display_mode(d3d9->wined3d, adapter, &wined3d_mode, NULL); 245 hr = wined3d_check_device_type(d3d9->wined3d, adapter, device_type, wined3dformat_from_d3dformat(display_format), 275 hr = wined3d_check_device_format(d3d9->wined3d, adapte [all...] |
H A D | d3d9_private.h | 53 #include "wine/wined3d.h" 142 struct wined3d *wined3d; member in struct:d3d9 178 HRESULT device_init(struct d3d9_device *device, struct d3d9 *parent, struct wined3d *wined3d,
|
H A D | device.c | 102 FIXME("Unhandled wined3d format %#x.\n", format); 452 /* Some functionality is implemented in d3d9.dll, not wined3d.dll. Add the needed caps */ 2269 /* The caller is responsible for wined3d locking */ 2353 /* The caller is responsible for wined3d locking */ 3752 HRESULT device_init(struct d3d9_device *device, struct d3d9 *parent, struct wined3d *wined3d, argument 3775 hr = wined3d_device_create(wined3d, adapter, device_type, focus_window, flags, 4, 3779 WARN("Failed to create wined3d device, hr %#x.\n", hr); 3788 wined3d_get_device_caps(wined3d, adapter, device_type, &caps); 3829 ERR("Failed to allocate wined3d parameter [all...] |
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/wine/ |
H A D | winedxgi.idl | 37 struct wined3d *get_wined3d();
|
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/ |
H A D | directx.c | 449 ULONG CDECL wined3d_incref(struct wined3d *wined3d) argument 451 ULONG refcount = InterlockedIncrement(&wined3d->ref); 453 TRACE("%p increasing refcount to %u.\n", wined3d, refcount); 458 ULONG CDECL wined3d_decref(struct wined3d *wined3d) argument 460 ULONG refcount = InterlockedDecrement(&wined3d->ref); 462 TRACE("%p decreasing refcount to %u.\n", wined3d, refcount); 468 for (i = 0; i < wined3d->adapter_count; ++i) 470 wined3d_adapter_cleanup(&wined3d 472 HeapFree(GetProcessHeap(), 0, wined3d); local 3259 wined3d_get_adapter_count(const struct wined3d *wined3d) argument 3267 wined3d_register_software_device(struct wined3d *wined3d, void *init_function) argument 3274 wined3d_get_adapter_monitor(const struct wined3d *wined3d, UINT adapter_idx) argument 3288 wined3d_get_adapter_mode_count(const struct wined3d *wined3d, UINT adapter_idx, enum wined3d_format_id format_id, enum wined3d_scanline_ordering scanline_ordering) argument 3349 wined3d_enum_adapter_modes(const struct wined3d *wined3d, UINT adapter_idx, enum wined3d_format_id format_id, enum wined3d_scanline_ordering scanline_ordering, UINT mode_idx, struct wined3d_display_mode *mode) argument 3439 wined3d_get_adapter_display_mode(const struct wined3d *wined3d, UINT adapter_idx, struct wined3d_display_mode *mode, enum wined3d_display_rotation *rotation) argument 3524 wined3d_set_adapter_display_mode(struct wined3d *wined3d, UINT adapter_idx, const struct wined3d_display_mode *mode) argument 3610 wined3d_get_adapter_identifier(const struct wined3d *wined3d, UINT adapter_idx, DWORD flags, struct wined3d_adapter_identifier *identifier) argument 3670 wined3d_get_adapter_raster_status(const struct wined3d *wined3d, UINT adapter_idx, struct wined3d_raster_status *raster_status) argument 3783 wined3d_check_depth_stencil_match(const struct wined3d *wined3d, UINT adapter_idx, enum wined3d_device_type device_type, enum wined3d_format_id adapter_format_id, enum wined3d_format_id render_target_format_id, enum wined3d_format_id depth_stencil_format_id) argument 3837 wined3d_check_device_multisample_type(const struct wined3d *wined3d, UINT adapter_idx, enum wined3d_device_type device_type, enum wined3d_format_id surface_format_id, BOOL windowed, enum wined3d_multisample_type multisample_type, DWORD *quality_levels) argument 4027 wined3d_check_device_format(const struct wined3d *wined3d, UINT adapter_idx, enum wined3d_device_type device_type, enum wined3d_format_id adapter_format_id, DWORD usage, enum wined3d_resource_type resource_type, enum wined3d_format_id check_format_id) argument 4220 wined3d_check_device_format_conversion(const struct wined3d *wined3d, UINT adapter_idx, enum wined3d_device_type device_type, enum wined3d_format_id src_format, enum wined3d_format_id dst_format) argument 4230 wined3d_check_device_type(const struct wined3d *wined3d, UINT adapter_idx, enum wined3d_device_type device_type, enum wined3d_format_id display_format, enum wined3d_format_id backbuffer_format, BOOL windowed) argument 4331 wined3d_get_device_caps(const struct wined3d *wined3d, UINT adapter_idx, enum wined3d_device_type device_type, WINED3DCAPS *caps) argument 4912 wined3d_device_create(struct wined3d *wined3d, UINT adapter_idx, enum wined3d_device_type device_type, HWND focus_window, DWORD flags, BYTE surface_alignment, struct wined3d_device_parent *device_parent, struct wined3d_device **device) argument 5496 wined3d_init(struct wined3d *wined3d, UINT version, DWORD flags) argument [all...] |
H A D | resource.c | 101 const struct wined3d *d3d = device->wined3d; 186 const struct wined3d *d3d = resource->device->wined3d; 306 if (resource->device->wined3d->dxVersion != 7)
|
H A D | swapchain.c | 214 if (FAILED(hr = wined3d_set_adapter_display_mode(swapchain->device->wined3d, 221 TRACE("Destroying backup wined3d window %p, dc %p.\n", swapchain->backup_wnd, swapchain->backup_dc); 357 * here in wined3d to avoid problems in other libs. */ 371 return wined3d_get_adapter_raster_status(swapchain->device->wined3d, 382 hr = wined3d_get_adapter_display_mode(swapchain->device->wined3d, 1041 if (device->wined3d->flags & WINED3D_NO3D) 1096 if (FAILED(hr = wined3d_get_adapter_display_mode(device->wined3d, 1153 if (!(device->wined3d->flags & WINED3D_NO3D)) 1172 if (FAILED(hr = wined3d_set_adapter_display_mode(device->wined3d, adapter->ordinal, &mode))) 1181 if (!(device->wined3d [all...] |
H A D | wined3d_main.c | 103 struct wined3d * CDECL wined3d_create(UINT version, DWORD flags) 105 struct wined3d *object; 117 object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, FIELD_OFFSET(struct wined3d, adapters[1])); 120 ERR("Failed to allocate wined3d object memory.\n"); 133 WARN("Failed to initialize wined3d object, hr %#x.\n", hr); 141 TRACE("Created wined3d object %p for d3d%d support.\n", object, version); 381 * registered, or if the application still has an active wined3d 448 ERR("Window %p is not registered with wined3d.\n", window); 473 WARN("Window %p is already registered with wined3d.\n", window); 523 ERR("Window %p is not registered with wined3d [all...] |
H A D | device.c | 793 wined3d_decref(device->wined3d); 794 device->wined3d = NULL; 842 /* Create a 32x32 white surface to indicate that wined3d is used, but the specified image 873 /* Fill the surface with a white color to show that wined3d is there */ 1143 if (device->wined3d->flags & WINED3D_NO3D) 1467 /* Enables thread safety in the wined3d device and its resources. Called by DirectDraw 3891 return wined3d_get_device_caps(device->wined3d, device->adapter->ordinal, 4668 if (FAILED(hr = wined3d_get_adapter_display_mode(device->wined3d, device->adapter->ordinal, &mode, NULL))) 5214 if (FAILED(hr = wined3d_set_adapter_display_mode(device->wined3d, device->adapter->ordinal, &m))) 5517 HRESULT device_init(struct wined3d_device *device, struct wined3d *wined3 argument [all...] |
H A D | wined3d_private.h | 67 #include "wine/wined3d.h" 1845 struct wined3d struct 1854 HRESULT wined3d_init(struct wined3d *wined3d, UINT version, DWORD flags) DECLSPEC_HIDDEN; 1874 struct wined3d *wined3d; member in struct:wined3d_device 2012 HRESULT device_init(struct wined3d_device *device, struct wined3d *wined3d,
|
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/vbox/libWineStub/include/wine/ |
H A D | wined3d.h | 1979 struct wined3d; 2035 HRESULT __cdecl wined3d_check_depth_stencil_match(const struct wined3d *wined3d, UINT adapter_idx, 2038 HRESULT __cdecl wined3d_check_device_format(const struct wined3d *wined3d, UINT adaper_idx, 2041 HRESULT __cdecl wined3d_check_device_format_conversion(const struct wined3d *wined3d, UINT adapter_idx, 2044 HRESULT __cdecl wined3d_check_device_multisample_type(const struct wined3d *wined3d, UINT adapter_idx, 2047 HRESULT __cdecl wined3d_check_device_type(const struct wined3d *wined3 [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/ |
H A D | swapchain_base.c | 119 * here in wined3d to avoid problems in other libs 161 hr = IWineD3D_GetAdapterDisplayMode(This->device->wined3d, This->device->adapter->ordinal, pMode);
|
H A D | resource.c | 222 if (((IWineD3DImpl *)This->resource.device->wined3d)->dxVersion != 7)
|
H A D | device.c | 645 IWineD3D_Release(This->wined3d); 646 This->wined3d = NULL; 1479 /* Create a 32x32 white surface to indicate that wined3d is used, but the specified image 1511 /* Fill the surface with a white color to show that wined3d is there */ 2033 /* Enables thread safety in the wined3d device and its resources. Called by DirectDraw 2109 *ppD3D = This->wined3d; 4341 return IWineD3D_GetDeviceCaps(This->wined3d, This->adapter->ordinal, This->devType, pCaps); 6269 /* should we be calling the parent or the wined3d surface? */ 6583 count = IWineD3D_GetAdapterModeCount(This->wined3d, This->adapter->ordinal, WINED3DFMT_UNKNOWN); 6586 hr = IWineD3D_EnumAdapterModes(This->wined3d, Thi 7531 device_init(IWineD3DDeviceImpl *device, IWineD3DImpl *wined3d, UINT adapter_idx, WINED3DDEVTYPE device_type, HWND focus_window, DWORD flags, IUnknown *parent, IWineD3DDeviceParent *device_parent) argument [all...] |
H A D | directx.c | 5336 * wined3d simultaneously 5704 HRESULT wined3d_init(IWineD3DImpl *wined3d, UINT version, IUnknown *parent) argument 5706 wined3d->lpVtbl = &IWineD3D_Vtbl; 5707 wined3d->dxVersion = version; 5708 wined3d->ref = 1; 5709 wined3d->parent = parent; 5711 if (!InitAdapters(wined3d))
|
H A D | swapchain.c | 985 IWineD3D_GetAdapterDisplayMode(device->wined3d, adapter->ordinal, &mode);
|
H A D | wined3d_private.h | 57 #include "wine/wined3d.h" 884 /* TODO: Confirm each of these works when wined3d move completed */ 1664 HRESULT wined3d_init(IWineD3DImpl *wined3d, UINT version, IUnknown *parent) DECLSPEC_HIDDEN; 1843 IWineD3D *wined3d; member in struct:IWineD3DDeviceImpl 1985 HRESULT device_init(IWineD3DDeviceImpl *device, IWineD3DImpl *wined3d,
|
/vbox/src/VBox/Devices/Graphics/shaderlib/libWineStub/ |
H A D | debug.c | 35 #include <wine/wined3d.h>
|
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/d3d8/ |
H A D | d3d8_private.h | 45 #include "wine/wined3d.h" 53 /* Not nice, but it lets wined3d support different versions of directx */ 193 /* But what about baseVertexIndex in state blocks? hmm... it may be a better idea to pass this to wined3d */ 205 HRESULT device_init(IDirect3DDevice8Impl *device, IWineD3D *wined3d, UINT adapter,
|
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/d3d9/ |
H A D | d3d9_private.h | 48 #include "wine/wined3d.h" 61 /* Not nice, but it lets wined3d support different versions of directx */ 193 HRESULT device_init(IDirect3DDevice9Impl *device, IWineD3D *wined3d, UINT adapter, D3DDEVTYPE device_type,
|
H A D | device.c | 408 /* Some functionality is implemented in d3d9.dll, not wined3d.dll. Add the needed caps */ 3321 HRESULT device_init(IDirect3DDevice9Impl *device, IWineD3D *wined3d, UINT adapter, D3DDEVTYPE device_type, argument 3339 hr = IWineD3D_CreateDevice(wined3d, adapter, device_type, focus_window, flags, (IUnknown *)device, 3343 WARN("Failed to create wined3d device, hr %#x.\n", hr); 3366 IWineD3D_GetDeviceCaps(wined3d, adapter, device_type, &caps); 3375 ERR("Failed to allocate wined3d parameters.\n");
|
/vbox/src/VBox/Devices/Graphics/shaderlib/ |
H A D | wined3d_private.h | 57 #include "wine/wined3d.h" 905 /* TODO: Confirm each of these works when wined3d move completed */ 1696 HRESULT wined3d_init(IWineD3DImpl *wined3d, UINT version, IUnknown *parent) DECLSPEC_HIDDEN; 1875 IWineD3D *wined3d; member in struct:IWineD3DDeviceImpl 2020 HRESULT device_init(IWineD3DDeviceImpl *device, IWineD3DImpl *wined3d,
|