You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-09-12 18:50:20 -07:00
Rebase against be91fcd879a1de768a57b4a06be470c10313b08d.
[advapi32-RegNotifyChangeKeyValue] Removed patch to fix return value of RegNotifyChangeKeyValue for pending events (accepted upstream).
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From b1ebd3a49593c0feb4780fd9cf47910095c3c8fc Mon Sep 17 00:00:00 2001
|
||||
From 70aa91068703ddf7f6edb982f1a1c37482df7dcf Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Lackner <sebastian@fds-team.de>
|
||||
Date: Wed, 4 Nov 2015 19:31:30 +0100
|
||||
Subject: wined3d: Rename wined3d_resource_(un)map to
|
||||
@@ -21,7 +21,7 @@ To avoid name conflicts in the CSMT patchset.
|
||||
12 files changed, 44 insertions(+), 44 deletions(-)
|
||||
|
||||
diff --git a/dlls/d3d11/device.c b/dlls/d3d11/device.c
|
||||
index 4e84dad..551dea7 100644
|
||||
index f0bb52e..b804bc4 100644
|
||||
--- a/dlls/d3d11/device.c
|
||||
+++ b/dlls/d3d11/device.c
|
||||
@@ -273,7 +273,7 @@ static HRESULT STDMETHODCALLTYPE d3d11_immediate_context_Map(ID3D11DeviceContext
|
||||
@@ -227,7 +227,7 @@ index 83457fc..7f51a1d 100644
|
||||
|
||||
if (src_surface->surface_desc.ddsCaps.dwCaps & DDSCAPS_MIPMAP)
|
||||
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
|
||||
index 62e5129..0a32e14 100644
|
||||
index 5231533..42dd0f1 100644
|
||||
--- a/dlls/wined3d/device.c
|
||||
+++ b/dlls/wined3d/device.c
|
||||
@@ -3569,7 +3569,7 @@ static HRESULT wined3d_device_update_texture_3d(struct wined3d_device *device,
|
||||
@@ -248,7 +248,7 @@ index 62e5129..0a32e14 100644
|
||||
goto done;
|
||||
}
|
||||
|
||||
@@ -4289,7 +4289,7 @@ static struct wined3d_texture *wined3d_device_create_cursor_texture(struct wined
|
||||
@@ -4293,7 +4293,7 @@ static struct wined3d_texture *wined3d_device_create_cursor_texture(struct wined
|
||||
struct wined3d_texture *texture;
|
||||
HRESULT hr;
|
||||
|
||||
@@ -257,7 +257,7 @@ index 62e5129..0a32e14 100644
|
||||
{
|
||||
ERR("Failed to map source texture.\n");
|
||||
return NULL;
|
||||
@@ -4312,7 +4312,7 @@ static struct wined3d_texture *wined3d_device_create_cursor_texture(struct wined
|
||||
@@ -4316,7 +4316,7 @@ static struct wined3d_texture *wined3d_device_create_cursor_texture(struct wined
|
||||
|
||||
hr = wined3d_texture_create(device, &desc, 1, WINED3D_TEXTURE_CREATE_MAPPABLE,
|
||||
&data, NULL, &wined3d_null_parent_ops, &texture);
|
||||
@@ -266,7 +266,7 @@ index 62e5129..0a32e14 100644
|
||||
if (FAILED(hr))
|
||||
{
|
||||
ERR("Failed to create cursor texture.\n");
|
||||
@@ -4392,14 +4392,14 @@ HRESULT CDECL wined3d_device_set_cursor_properties(struct wined3d_device *device
|
||||
@@ -4396,14 +4396,14 @@ HRESULT CDECL wined3d_device_set_cursor_properties(struct wined3d_device *device
|
||||
return E_OUTOFMEMORY;
|
||||
memset(mask_bits, 0xff, mask_size);
|
||||
|
||||
@@ -306,41 +306,49 @@ index 423d162..0821fde 100644
|
||||
TRACE("resource %p, sub_resource_idx %u.\n", resource, sub_resource_idx);
|
||||
|
||||
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
|
||||
index a7dfbf5..d47f3a9 100644
|
||||
index 16d03e8..aece7e5 100644
|
||||
--- a/dlls/wined3d/surface.c
|
||||
+++ b/dlls/wined3d/surface.c
|
||||
@@ -1735,25 +1735,25 @@ static struct wined3d_texture *surface_convert_format(struct wined3d_texture *sr
|
||||
memset(&src_map, 0, sizeof(src_map));
|
||||
memset(&dst_map, 0, sizeof(dst_map));
|
||||
@@ -1737,7 +1737,7 @@ static struct wined3d_texture *surface_convert_format(struct wined3d_texture *sr
|
||||
}
|
||||
|
||||
memset(&src_map, 0, sizeof(src_map));
|
||||
- if (FAILED(wined3d_resource_map(&src_texture->resource, sub_resource_idx,
|
||||
+ if (FAILED(wined3d_resource_sub_resource_map(&src_texture->resource, sub_resource_idx,
|
||||
&src_map, NULL, WINED3D_MAP_READONLY)))
|
||||
{
|
||||
ERR("Failed to map the source texture.\n");
|
||||
wined3d_texture_decref(dst_texture);
|
||||
return NULL;
|
||||
@@ -1749,17 +1749,17 @@ static struct wined3d_texture *surface_convert_format(struct wined3d_texture *sr
|
||||
struct wined3d_map_desc dst_map;
|
||||
|
||||
memset(&dst_map, 0, sizeof(dst_map));
|
||||
- if (FAILED(wined3d_resource_map(&dst_texture->resource, 0, &dst_map, NULL, 0)))
|
||||
+ if (FAILED(wined3d_resource_sub_resource_map(&dst_texture->resource, 0, &dst_map, NULL, 0)))
|
||||
{
|
||||
ERR("Failed to map the destination texture.\n");
|
||||
- wined3d_resource_unmap(&src_texture->resource, sub_resource_idx);
|
||||
+ wined3d_resource_sub_resource_unmap(&src_texture->resource, sub_resource_idx);
|
||||
wined3d_texture_decref(dst_texture);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
conv->convert(src_map.data, dst_map.data, src_map.row_pitch, dst_map.row_pitch, desc.width, desc.height);
|
||||
|
||||
- wined3d_resource_unmap(&dst_texture->resource, 0);
|
||||
+ wined3d_resource_sub_resource_unmap(&dst_texture->resource, 0);
|
||||
}
|
||||
- if (FAILED(wined3d_resource_map(&dst_texture->resource, 0, &dst_map, NULL, 0)))
|
||||
+ if (FAILED(wined3d_resource_sub_resource_map(&dst_texture->resource, 0, &dst_map, NULL, 0)))
|
||||
else
|
||||
{
|
||||
ERR("Failed to map the destination texture.\n");
|
||||
- wined3d_resource_unmap(&src_texture->resource, sub_resource_idx);
|
||||
+ wined3d_resource_sub_resource_unmap(&src_texture->resource, sub_resource_idx);
|
||||
wined3d_texture_decref(dst_texture);
|
||||
return NULL;
|
||||
@@ -1783,7 +1783,7 @@ static struct wined3d_texture *surface_convert_format(struct wined3d_texture *sr
|
||||
wined3d_texture_validate_location(dst_texture, 0, WINED3D_LOCATION_TEXTURE_RGB);
|
||||
wined3d_texture_invalidate_location(dst_texture, 0, ~WINED3D_LOCATION_TEXTURE_RGB);
|
||||
}
|
||||
|
||||
conv->convert(src_map.data, dst_map.data, src_map.row_pitch, dst_map.row_pitch, desc.width, desc.height);
|
||||
|
||||
- wined3d_resource_unmap(&dst_texture->resource, 0);
|
||||
- wined3d_resource_unmap(&src_texture->resource, sub_resource_idx);
|
||||
+ wined3d_resource_sub_resource_unmap(&dst_texture->resource, 0);
|
||||
+ wined3d_resource_sub_resource_unmap(&src_texture->resource, sub_resource_idx);
|
||||
|
||||
return dst_texture;
|
||||
}
|
||||
@@ -3648,7 +3648,7 @@ static HRESULT surface_cpu_blt(struct wined3d_texture *dst_texture, unsigned int
|
||||
@@ -3678,7 +3678,7 @@ static HRESULT surface_cpu_blt(struct wined3d_texture *dst_texture, unsigned int
|
||||
if (src_texture == dst_texture && src_sub_resource_idx == dst_sub_resource_idx)
|
||||
{
|
||||
same_sub_resource = TRUE;
|
||||
@@ -349,7 +357,7 @@ index a7dfbf5..d47f3a9 100644
|
||||
src_map = dst_map;
|
||||
src_format = dst_texture->resource.format;
|
||||
dst_format = src_format;
|
||||
@@ -3673,7 +3673,7 @@ static HRESULT surface_cpu_blt(struct wined3d_texture *dst_texture, unsigned int
|
||||
@@ -3703,7 +3703,7 @@ static HRESULT surface_cpu_blt(struct wined3d_texture *dst_texture, unsigned int
|
||||
src_texture = converted_texture;
|
||||
src_sub_resource_idx = 0;
|
||||
}
|
||||
@@ -358,7 +366,7 @@ index a7dfbf5..d47f3a9 100644
|
||||
src_format = src_texture->resource.format;
|
||||
src_fmt_flags = src_texture->resource.format_flags;
|
||||
}
|
||||
@@ -3683,7 +3683,7 @@ static HRESULT surface_cpu_blt(struct wined3d_texture *dst_texture, unsigned int
|
||||
@@ -3713,7 +3713,7 @@ static HRESULT surface_cpu_blt(struct wined3d_texture *dst_texture, unsigned int
|
||||
src_fmt_flags = dst_fmt_flags;
|
||||
}
|
||||
|
||||
@@ -367,7 +375,7 @@ index a7dfbf5..d47f3a9 100644
|
||||
}
|
||||
|
||||
bpp = dst_format->byte_count;
|
||||
@@ -4099,9 +4099,9 @@ error:
|
||||
@@ -4129,9 +4129,9 @@ error:
|
||||
FIXME(" Unsupported flags %#x.\n", flags);
|
||||
|
||||
release:
|
||||
|
||||
Reference in New Issue
Block a user