Home
last modified time | relevance | path

Searched refs:wined3d (Results 1 – 24 of 24) sorted by relevance

/reactos/dll/directx/wine/d3d9/
H A Ddirectx.c86 wined3d_decref(d3d9->wined3d); in d3d9_Release()
103 hr = wined3d_register_software_device(d3d9->wined3d, init_function); in d3d9_RegisterSoftwareDevice()
117 ret = wined3d_get_adapter_count(d3d9->wined3d); in d3d9_GetAdapterCount()
167 ret = wined3d_get_adapter_mode_count(d3d9->wined3d, adapter, in d3d9_GetAdapterModeCount()
324 hr = wined3d_check_depth_stencil_match(d3d9->wined3d, adapter, device_type, in d3d9_CheckDepthStencilMatch()
380 hr = wined3d_get_output_desc(d3d9->wined3d, adapter, &desc); in d3d9_GetAdapterMonitor()
432 ret = wined3d_get_adapter_mode_count(d3d9->wined3d, adapter, in d3d9_GetAdapterModeCountEx()
483 hr = wined3d_get_adapter_display_mode(d3d9->wined3d, adapter, &wined3d_mode, in d3d9_GetAdapterDisplayModeEx()
540 hr = wined3d_get_adapter_identifier(d3d9->wined3d, adapter, 0, &adapter_id); in d3d9_GetAdapterLUID()
593 d3d9->wined3d = wined3d_create(flags); in d3d9_init()
[all …]
H A Dd3d9_private.h65 struct wined3d *wined3d; member
116 HRESULT device_init(struct d3d9_device *device, struct d3d9 *parent, struct wined3d *wined3d,
H A Ddevice.c4174 HRESULT device_init(struct d3d9_device *device, struct d3d9 *parent, struct wined3d *wined3d, in device_init() argument
4193 if (FAILED(hr = wined3d_device_create(wined3d, adapter, device_type, focus_window, flags, 4, in device_init()
4201 wined3d_get_device_caps(wined3d, adapter, device_type, &caps); in device_init()
/reactos/dll/directx/wine/d3d8/
H A Ddirectx.c81 wined3d_decref(d3d8->wined3d); in d3d8_Release()
98 hr = wined3d_register_software_device(d3d8->wined3d, init_function); in d3d8_RegisterSoftwareDevice()
112 hr = wined3d_get_adapter_count(d3d8->wined3d); in d3d8_GetAdapterCount()
136 hr = wined3d_get_adapter_identifier(d3d8->wined3d, adapter, flags, &adapter_id); in d3d8_GetAdapterIdentifier()
158 hr = wined3d_get_adapter_mode_count(d3d8->wined3d, adapter, in d3d8_GetAdapterModeCount()
175 hr = wined3d_enum_adapter_modes(d3d8->wined3d, adapter, WINED3DFMT_UNKNOWN, in d3d8_EnumAdapterModes()
298 hr = wined3d_check_device_multisample_type(d3d8->wined3d, adapter, device_type, in d3d8_CheckDeviceMultiSampleType()
316 hr = wined3d_check_depth_stencil_match(d3d8->wined3d, adapter, device_type, in d3d8_CheckDepthStencilMatch()
353 hr = wined3d_get_output_desc(d3d8->wined3d, adapter, &desc); in d3d8_GetAdapterMonitor()
426 d3d8->wined3d = wined3d_create(flags); in d3d8_init()
[all …]
H A Dd3d8_private.h51 struct wined3d *wined3d; member
129 HRESULT device_init(struct d3d8_device *device, struct d3d8 *parent, struct wined3d *wined3d, UINT …
H A Ddevice.c3279 HRESULT device_init(struct d3d8_device *device, struct d3d8 *parent, struct wined3d *wined3d, UINT … in device_init() argument
3300 hr = wined3d_device_create(wined3d, adapter, device_type, focus_window, flags, 4, in device_init()
/reactos/dll/directx/wine/wined3d/
H A Ddirectx.c456 ULONG CDECL wined3d_incref(struct wined3d *wined3d) in wined3d_incref() argument
465 ULONG CDECL wined3d_decref(struct wined3d *wined3d) in wined3d_decref() argument
479 heap_free(wined3d); in wined3d_decref()
4484 UINT CDECL wined3d_get_adapter_count(const struct wined3d *wined3d) in wined3d_get_adapter_count() argument
4487 wined3d, wined3d->adapter_count); in wined3d_get_adapter_count()
4840 HRESULT CDECL wined3d_set_adapter_display_mode(struct wined3d *wined3d, in wined3d_set_adapter_display_mode() argument
4939 HRESULT CDECL wined3d_get_adapter_identifier(const struct wined3d *wined3d, in wined3d_get_adapter_identifier() argument
5091 HRESULT CDECL wined3d_check_depth_stencil_match(const struct wined3d *wined3d, in wined3d_check_depth_stencil_match() argument
6256 if (wined3d->adapter_count && adapter_idx >= wined3d->adapter_count) in wined3d_device_create()
6820 HRESULT wined3d_init(struct wined3d *wined3d, DWORD flags) in wined3d_init() argument
[all …]
H A Dswapchain.c244 return wined3d_get_adapter_raster_status(swapchain->device->wined3d, in wined3d_swapchain_get_raster_status()
255 hr = wined3d_get_adapter_display_mode(swapchain->device->wined3d, in wined3d_swapchain_get_display_mode()
799 if (device->wined3d->flags & WINED3D_NO3D) in swapchain_init()
813 if (FAILED(hr = wined3d_get_adapter_display_mode(device->wined3d, in swapchain_init()
871 if (!(device->wined3d->flags & WINED3D_NO3D)) in swapchain_init()
905 if (!(device->wined3d->flags & WINED3D_NO3D)) in swapchain_init()
992 if (FAILED(wined3d_set_adapter_display_mode(device->wined3d, in swapchain_init()
1177 if (device->wined3d->flags & WINED3D_RESTORE_MODE_ON_ACTIVATE) in wined3d_swapchain_activate()
1179 if (FAILED(wined3d_set_adapter_display_mode(device->wined3d, in wined3d_swapchain_activate()
1186 if (FAILED(wined3d_set_adapter_display_mode(device->wined3d, in wined3d_swapchain_activate()
[all …]
H A DCMakeLists.txt11 # We name this d3dwine.dll, because the Virtualbox additions ship with a custom wined3d.dll
13 spec2def(d3dwine.dll wined3d.spec ADD_IMPORTLIB)
H A Dwined3d_main.c97 struct wined3d * CDECL wined3d_create(DWORD flags) in wined3d_create()
99 struct wined3d *object; in wined3d_create()
102 if (!(object = heap_alloc_zero(FIELD_OFFSET(struct wined3d, adapters[1])))) in wined3d_create()
H A Dresource.c211 … if (!(access & WINED3D_RESOURCE_ACCESS_CPU) && device->wined3d->flags & WINED3D_VIDMEM_ACCOUNTING) in resource_init()
239 const struct wined3d *d3d = resource->device->wined3d; in resource_cleanup()
H A Dversion.rc22 #define WINE_FILENAME_STR "wined3d.dll"
H A Ddevice.c517 wined3d_decref(device->wined3d); in wined3d_device_decref()
518 device->wined3d = NULL; in wined3d_device_decref()
1073 if (device->wined3d->flags & WINED3D_NO3D) in wined3d_device_init_3d()
5054 return device->wined3d;
5195 HRESULT device_init(struct wined3d_device *device, struct wined3d *wined3d, argument
5199 struct wined3d_adapter *adapter = &wined3d->adapters[adapter_idx];
5206 device->wined3d = wined3d;
5207 wined3d_incref(device->wined3d);
5208 device->adapter = wined3d->adapter_count ? adapter : NULL;
5235 wined3d_decref(device->wined3d);
[all …]
H A Dwined3d_private.h2769 struct wined3d struct
2777 HRESULT wined3d_init(struct wined3d *wined3d, DWORD flags) DECLSPEC_HIDDEN; argument
2927 struct wined3d *wined3d; member
3007 HRESULT device_init(struct wined3d_device *device, struct wined3d *wined3d,
H A Dtexture.c2856 if ((desc->usage & WINED3DUSAGE_OWNDC) || (device->wined3d->flags & WINED3D_NO3D))
3699 if (!(texture->resource.usage & WINED3DUSAGE_OWNDC) && !(device->wined3d->flags & WINED3D_NO3D))
H A Dglsl_shader.c10699 priv->legacy_lighting = device->wined3d->flags & WINED3D_LEGACY_FFP_LIGHTING; in shader_glsl_alloc()
/reactos/sdk/include/reactos/wine/
H A Dwined3d.h2113 struct wined3d;
2182 HRESULT __cdecl wined3d_check_device_format(const struct wined3d *wined3d, UINT adaper_idx,
2191 HRESULT __cdecl wined3d_check_device_type(const struct wined3d *wined3d, UINT adapter_idx,
2195 ULONG __cdecl wined3d_decref(struct wined3d *wined3d);
2196 HRESULT __cdecl wined3d_enum_adapter_modes(const struct wined3d *wined3d, UINT adapter_idx,
2199 HRESULT __cdecl wined3d_find_closest_matching_adapter_mode(const struct wined3d *wined3d,
2201 UINT __cdecl wined3d_get_adapter_count(const struct wined3d *wined3d);
2210 HRESULT __cdecl wined3d_get_device_caps(const struct wined3d *wined3d, UINT adapter_idx,
2214 ULONG __cdecl wined3d_incref(struct wined3d *wined3d);
2216 HRESULT __cdecl wined3d_set_adapter_display_mode(struct wined3d *wined3d,
[all …]
/reactos/dll/directx/wine/ddraw/
H A Dmain.c59 static void ddraw_enumerate_secondary_devices(struct wined3d *wined3d, LPDDENUMCALLBACKEXA callback, in ddraw_enumerate_secondary_devices() argument
80 if (SUCCEEDED(hr = wined3d_get_adapter_identifier(wined3d, adapter, 0x0, &adapter_id))) in ddraw_enumerate_secondary_devices()
81 hr = wined3d_get_output_desc(wined3d, adapter, &output_desc); in ddraw_enumerate_secondary_devices()
430 struct wined3d *wined3d; in DirectDrawEnumerateExA() local
443 if (!(wined3d = wined3d_create(DDRAW_WINED3D_FLAGS))) in DirectDrawEnumerateExA()
445 if (!(wined3d = wined3d_create(DDRAW_WINED3D_FLAGS | WINED3D_NO3D))) in DirectDrawEnumerateExA()
466 ddraw_enumerate_secondary_devices(wined3d, callback, context); in DirectDrawEnumerateExA()
470 wined3d_decref(wined3d); in DirectDrawEnumerateExA()
475 wined3d_decref(wined3d); in DirectDrawEnumerateExA()
H A Dddraw.c443 wined3d_decref(This->wined3d); in ddraw_destroy()
1262 hr = wined3d_get_device_caps(ddraw->wined3d, 0, WINED3D_DEVICE_TYPE_HAL, &wined3d_caps); in ddraw_get_d3dcaps()
1829 hr = wined3d_get_adapter_display_mode(ddraw->wined3d, WINED3DADAPTER_DEFAULT, &mode, NULL); in ddraw7_GetMonitorFrequency()
1970 framebuffer_size = wined3d_calculate_format_pitch(ddraw->wined3d, WINED3DADAPTER_DEFAULT, in ddraw7_GetAvailableVidMem()
1985 hr = wined3d_get_adapter_identifier(ddraw->wined3d, WINED3DADAPTER_DEFAULT, 0, &desc); in ddraw7_GetAvailableVidMem()
2663 hr = wined3d_get_adapter_identifier(ddraw->wined3d, WINED3DADAPTER_DEFAULT, 0x0, &adapter_id); in ddraw7_GetDeviceIdentifier()
5070 if (!(ddraw->wined3d = wined3d_create(flags))) in ddraw_init()
5073 if (!(ddraw->wined3d = wined3d_create(flags))) in ddraw_init()
5083 wined3d_decref(ddraw->wined3d); in ddraw_init()
5093 if (FAILED(hr = wined3d_device_create(ddraw->wined3d, WINED3DADAPTER_DEFAULT, device_type, in ddraw_init()
[all …]
H A Dddraw_private.h92 struct wined3d *wined3d; member
H A Ddevice.c1082 …if (FAILED(hr = wined3d_get_adapter_display_mode(device->ddraw->wined3d, WINED3DADAPTER_DEFAULT, &… in d3d_device7_EnumTextureFormats()
1091 …if (wined3d_check_device_format(device->ddraw->wined3d, WINED3DADAPTER_DEFAULT, WINED3D_DEVICE_TYP… in d3d_device7_EnumTextureFormats()
1113 if (wined3d_check_device_format(device->ddraw->wined3d, WINED3DADAPTER_DEFAULT, in d3d_device7_EnumTextureFormats()
1210 …if (FAILED(hr = wined3d_get_adapter_display_mode(device->ddraw->wined3d, WINED3DADAPTER_DEFAULT, &… in d3d_device2_EnumTextureFormats()
1219 if (wined3d_check_device_format(device->ddraw->wined3d, 0, WINED3D_DEVICE_TYPE_HAL, in d3d_device2_EnumTextureFormats()
H A Dsurface.c5949 …if (FAILED(hr = wined3d_get_adapter_display_mode(ddraw->wined3d, WINED3DADAPTER_DEFAULT, &mode, NU… in ddraw_surface_create()
6092 if (SUCCEEDED(hr = wined3d_check_device_format(ddraw->wined3d, WINED3DADAPTER_DEFAULT, in ddraw_surface_create()
6125 SUCCEEDED(hr = wined3d_check_device_format(ddraw->wined3d, WINED3DADAPTER_DEFAULT, in ddraw_surface_create()
6201 … && desc->u1.dwLinearSize < wined3d_calculate_format_pitch(ddraw->wined3d, WINED3DADAPTER_DEFAULT, in ddraw_surface_create()
6218 … if (desc->u1.lPitch < wined3d_calculate_format_pitch(ddraw->wined3d, WINED3DADAPTER_DEFAULT, in ddraw_surface_create()
/reactos/dll/directx/wine/
H A DCMakeLists.txt48 add_subdirectory(wined3d)
/reactos/media/doc/
H A DWINESYNC.txt45 dll/directx/wine/wined3d # Synced to WineStaging-3.3