wined3d: Introduce wined3d_device_flush().
Signed-off-by: Chip Davis <cdavis@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
87435db8a1
commit
5d437b5ccd
|
@ -5106,6 +5106,13 @@ void CDECL wined3d_device_evict_managed_resources(struct wined3d_device *device)
|
|||
}
|
||||
}
|
||||
|
||||
void CDECL wined3d_device_flush(struct wined3d_device *device)
|
||||
{
|
||||
TRACE("device %p.\n", device);
|
||||
|
||||
wined3d_cs_emit_flush(device->cs);
|
||||
}
|
||||
|
||||
static void update_swapchain_flags(struct wined3d_texture *texture)
|
||||
{
|
||||
unsigned int flags = texture->swapchain->state.desc.flags;
|
||||
|
|
|
@ -53,6 +53,7 @@
|
|||
@ cdecl wined3d_device_draw_primitive_instanced_indirect(ptr ptr long)
|
||||
@ cdecl wined3d_device_end_scene(ptr)
|
||||
@ cdecl wined3d_device_evict_managed_resources(ptr)
|
||||
@ cdecl wined3d_device_flush(ptr)
|
||||
@ cdecl wined3d_device_get_available_texture_mem(ptr)
|
||||
@ cdecl wined3d_device_get_blend_state(ptr ptr)
|
||||
@ cdecl wined3d_device_get_clip_status(ptr ptr)
|
||||
|
|
|
@ -2334,6 +2334,7 @@ void __cdecl wined3d_device_draw_primitive_instanced_indirect(struct wined3d_dev
|
|||
struct wined3d_buffer *buffer, unsigned int offset);
|
||||
HRESULT __cdecl wined3d_device_end_scene(struct wined3d_device *device);
|
||||
void __cdecl wined3d_device_evict_managed_resources(struct wined3d_device *device);
|
||||
void __cdecl wined3d_device_flush(struct wined3d_device *device);
|
||||
UINT __cdecl wined3d_device_get_available_texture_mem(const struct wined3d_device *device);
|
||||
struct wined3d_blend_state * __cdecl wined3d_device_get_blend_state(const struct wined3d_device *device,
|
||||
struct wined3d_color *blend_factor);
|
||||
|
|
Loading…
Reference in New Issue