wined3d: Introduce wined3d_output_get_adapter().
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f9701d3777
commit
744ff73829
|
@ -1179,6 +1179,13 @@ HRESULT CDECL wined3d_output_find_closest_matching_mode(const struct wined3d_out
|
|||
return WINED3D_OK;
|
||||
}
|
||||
|
||||
struct wined3d_adapter * CDECL wined3d_output_get_adapter(const struct wined3d_output *output)
|
||||
{
|
||||
TRACE("output %p.\n", output);
|
||||
|
||||
return output->adapter;
|
||||
}
|
||||
|
||||
HRESULT CDECL wined3d_output_get_display_mode(const struct wined3d_output *output,
|
||||
struct wined3d_display_mode *mode, enum wined3d_display_rotation *rotation)
|
||||
{
|
||||
|
|
|
@ -157,12 +157,13 @@
|
|||
@ cdecl wined3d_device_validate_device(ptr ptr)
|
||||
|
||||
@ cdecl wined3d_output_find_closest_matching_mode(ptr ptr)
|
||||
@ cdecl wined3d_output_get_adapter(ptr)
|
||||
@ cdecl wined3d_output_get_display_mode(ptr ptr ptr)
|
||||
@ cdecl wined3d_output_get_mode(ptr long long long ptr)
|
||||
@ cdecl wined3d_output_get_mode_count(ptr long long)
|
||||
@ cdecl wined3d_output_get_raster_status(ptr ptr)
|
||||
@ cdecl wined3d_output_set_display_mode(ptr ptr)
|
||||
@ cdecl wined3d_output_release_ownership(ptr)
|
||||
@ cdecl wined3d_output_set_display_mode(ptr ptr)
|
||||
@ cdecl wined3d_output_take_ownership(ptr long)
|
||||
|
||||
@ cdecl wined3d_palette_create(ptr long long ptr ptr)
|
||||
|
|
|
@ -2497,6 +2497,7 @@ HRESULT __cdecl wined3d_device_validate_device(const struct wined3d_device *devi
|
|||
|
||||
HRESULT __cdecl wined3d_output_find_closest_matching_mode(const struct wined3d_output *output,
|
||||
struct wined3d_display_mode *mode);
|
||||
struct wined3d_adapter * __cdecl wined3d_output_get_adapter(const struct wined3d_output *output);
|
||||
HRESULT __cdecl wined3d_output_get_display_mode(const struct wined3d_output *output,
|
||||
struct wined3d_display_mode *mode, enum wined3d_display_rotation *rotation);
|
||||
HRESULT __cdecl wined3d_output_get_mode(const struct wined3d_output *output,
|
||||
|
|
Loading…
Reference in New Issue