Rebase against 853351698842c92db62bddedd2f531b7c5e745d1

This commit is contained in:
Alistair Leslie-Hughes 2018-10-30 11:18:13 +11:00
parent 5a85ab07af
commit b874b3656e
4 changed files with 63 additions and 63 deletions

View File

@ -1,4 +1,4 @@
From 636fa0f406701e9af68f4274f07da1489a7b0c72 Mon Sep 17 00:00:00 2001
From ecc77dff2c2d1bebf3cc546389cedc60569c0f1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Thu, 19 Jan 2017 16:54:42 +0100
Subject: [PATCH] wined3d: Add wined3d_resource_map_info function.
@ -13,10 +13,10 @@ Subject: [PATCH] wined3d: Add wined3d_resource_map_info function.
6 files changed, 70 insertions(+)
diff --git a/dlls/wined3d/buffer.c b/dlls/wined3d/buffer.c
index 17bcb70bc3..1777638751 100644
index 58e5685..784860e 100644
--- a/dlls/wined3d/buffer.c
+++ b/dlls/wined3d/buffer.c
@@ -1304,6 +1304,24 @@ static HRESULT buffer_resource_sub_resource_map(struct wined3d_resource *resourc
@@ -1306,6 +1306,24 @@ static HRESULT buffer_resource_sub_resource_map(struct wined3d_resource *resourc
return wined3d_buffer_gl_map(buffer_gl, offset, size, (BYTE **)&map_desc->data, flags);
}
@ -41,7 +41,7 @@ index 17bcb70bc3..1777638751 100644
static HRESULT buffer_resource_sub_resource_unmap(struct wined3d_resource *resource, unsigned int sub_resource_idx)
{
if (sub_resource_idx)
@@ -1323,6 +1341,7 @@ static const struct wined3d_resource_ops buffer_resource_ops =
@@ -1325,6 +1343,7 @@ static const struct wined3d_resource_ops buffer_resource_ops =
buffer_resource_preload,
buffer_unload,
buffer_resource_sub_resource_map,
@ -50,7 +50,7 @@ index 17bcb70bc3..1777638751 100644
};
diff --git a/dlls/wined3d/resource.c b/dlls/wined3d/resource.c
index 9df0a0923b..909dd3ae4b 100644
index 9df0a09..909dd3a 100644
--- a/dlls/wined3d/resource.c
+++ b/dlls/wined3d/resource.c
@@ -360,6 +360,14 @@ HRESULT CDECL wined3d_resource_map(struct wined3d_resource *resource, unsigned i
@ -69,10 +69,10 @@ index 9df0a0923b..909dd3ae4b 100644
{
TRACE("resource %p, sub_resource_idx %u.\n", resource, sub_resource_idx);
diff --git a/dlls/wined3d/texture.c b/dlls/wined3d/texture.c
index a3d834e8f5..2d62e697f5 100644
index 42bae13..80cbe01 100644
--- a/dlls/wined3d/texture.c
+++ b/dlls/wined3d/texture.c
@@ -2683,6 +2683,36 @@ static HRESULT texture_resource_sub_resource_map(struct wined3d_resource *resour
@@ -2696,6 +2696,36 @@ static HRESULT texture_resource_sub_resource_map(struct wined3d_resource *resour
return WINED3D_OK;
}
@ -109,16 +109,16 @@ index a3d834e8f5..2d62e697f5 100644
static HRESULT texture_resource_sub_resource_unmap(struct wined3d_resource *resource, unsigned int sub_resource_idx)
{
struct wined3d_texture_sub_resource *sub_resource;
@@ -2734,6 +2764,7 @@ static const struct wined3d_resource_ops texture_resource_ops =
@@ -2747,6 +2777,7 @@ static const struct wined3d_resource_ops texture_resource_ops =
texture_resource_preload,
wined3d_texture_unload,
wined3d_texture_gl_unload,
texture_resource_sub_resource_map,
+ texture_resource_sub_resource_map_info,
texture_resource_sub_resource_unmap,
};
diff --git a/dlls/wined3d/wined3d.spec b/dlls/wined3d/wined3d.spec
index ee70221191..f494456451 100644
index ee70221..f494456 100644
--- a/dlls/wined3d/wined3d.spec
+++ b/dlls/wined3d/wined3d.spec
@@ -220,6 +220,7 @@
@ -130,7 +130,7 @@ index ee70221191..f494456451 100644
@ cdecl wined3d_resource_set_parent(ptr ptr)
@ cdecl wined3d_resource_set_priority(ptr long)
diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
index 2b52218972..e0ec463805 100644
index e4cd7d3..1938ccd 100644
--- a/dlls/wined3d/wined3d_private.h
+++ b/dlls/wined3d/wined3d_private.h
@@ -3094,6 +3094,8 @@ struct wined3d_resource_ops
@ -143,7 +143,7 @@ index 2b52218972..e0ec463805 100644
};
diff --git a/include/wine/wined3d.h b/include/wine/wined3d.h
index dc491d3b98..8e0cf66509 100644
index dc491d3..8e0cf66 100644
--- a/include/wine/wined3d.h
+++ b/include/wine/wined3d.h
@@ -1835,6 +1835,13 @@ struct wined3d_map_desc
@ -170,5 +170,5 @@ index dc491d3b98..8e0cf66509 100644
void __cdecl wined3d_resource_set_parent(struct wined3d_resource *resource, void *parent);
DWORD __cdecl wined3d_resource_set_priority(struct wined3d_resource *resource, DWORD priority);
--
2.19.1
1.9.1

View File

@ -1,7 +1,7 @@
From 02bef2f484ca326c8e99db32f0882cefe886fb4b Mon Sep 17 00:00:00 2001
From 89af577ac4db5a48ed30bcf06703a2e7ef05fa7a Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Sat, 6 Jun 2015 07:03:33 +0800
Subject: ntdll: Improve stub of NtQueryEaFile.
Subject: [PATCH] ntdll: Improve stub of NtQueryEaFile.
Based on a patch by Qian Hong.
---
@ -10,10 +10,10 @@ Based on a patch by Qian Hong.
2 files changed, 98 insertions(+), 4 deletions(-)
diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c
index cfc85e5dd05..b3f4f234107 100644
index a2cc839..4c7f1b2 100644
--- a/dlls/ntdll/file.c
+++ b/dlls/ntdll/file.c
@@ -3397,14 +3397,25 @@ NTSTATUS WINAPI NtQueryVolumeInformationFile( HANDLE handle, PIO_STATUS_BLOCK io
@@ -3415,14 +3415,25 @@ NTSTATUS WINAPI NtQueryVolumeInformationFile( HANDLE handle, PIO_STATUS_BLOCK io
* Success: 0. Atrributes read into buffer
* Failure: An NTSTATUS error code describing the error.
*/
@ -44,18 +44,18 @@ index cfc85e5dd05..b3f4f234107 100644
diff --git a/dlls/ntdll/tests/file.c b/dlls/ntdll/tests/file.c
index dd8830c9ce1..ba28782107d 100644
index 7554187..e9a0d79 100644
--- a/dlls/ntdll/tests/file.c
+++ b/dlls/ntdll/tests/file.c
@@ -81,6 +81,7 @@ static NTSTATUS (WINAPI *pNtQueryDirectoryFile)(HANDLE,HANDLE,PIO_APC_ROUTINE,PV
@@ -84,6 +84,7 @@ static NTSTATUS (WINAPI *pNtQueryDirectoryFile)(HANDLE,HANDLE,PIO_APC_ROUTINE,PV
static NTSTATUS (WINAPI *pNtQueryVolumeInformationFile)(HANDLE,PIO_STATUS_BLOCK,PVOID,ULONG,FS_INFORMATION_CLASS);
static NTSTATUS (WINAPI *pNtQueryFullAttributesFile)(const OBJECT_ATTRIBUTES*, FILE_NETWORK_OPEN_INFORMATION*);
static NTSTATUS (WINAPI *pNtFlushBuffersFile)(HANDLE, IO_STATUS_BLOCK*);
+static NTSTATUS (WINAPI *pNtQueryEaFile)(HANDLE,PIO_STATUS_BLOCK,PVOID,ULONG,BOOLEAN,PVOID,ULONG,PULONG,BOOLEAN);
static inline BOOL is_signaled( HANDLE obj )
{
@@ -4453,6 +4454,86 @@ static void test_flush_buffers_file(void)
static WCHAR fooW[] = {'f','o','o',0};
@@ -4796,6 +4797,86 @@ static void test_flush_buffers_file(void)
DeleteFileA(buffer);
}
@ -142,7 +142,7 @@ index dd8830c9ce1..ba28782107d 100644
START_TEST(file)
{
HMODULE hkernel32 = GetModuleHandleA("kernel32.dll");
@@ -4491,6 +4572,7 @@ START_TEST(file)
@@ -4836,6 +4917,7 @@ START_TEST(file)
pNtQueryVolumeInformationFile = (void *)GetProcAddress(hntdll, "NtQueryVolumeInformationFile");
pNtQueryFullAttributesFile = (void *)GetProcAddress(hntdll, "NtQueryFullAttributesFile");
pNtFlushBuffersFile = (void *)GetProcAddress(hntdll, "NtFlushBuffersFile");
@ -150,12 +150,12 @@ index dd8830c9ce1..ba28782107d 100644
test_read_write();
test_NtCreateFile();
@@ -4516,4 +4598,5 @@ START_TEST(file)
@@ -4865,4 +4947,5 @@ START_TEST(file)
test_query_attribute_information_file();
test_ioctl();
test_flush_buffers_file();
+ test_query_ea();
}
--
2.11.0
1.9.1

View File

@ -52,7 +52,7 @@ usage()
# Get the upstream commit sha
upstream_commit()
{
echo "d279bc24934fd1b68324017ae1b9e70975640a0a"
echo "853351698842c92db62bddedd2f531b7c5e745d1"
}
# Show version information

View File

@ -1,7 +1,7 @@
From 18631bae9b0750d47ce23a4164e49b7ae1f3fe31 Mon Sep 17 00:00:00 2001
From 231b7707b5a3f79c63ac3542ba58bf39fc04e972 Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Fri, 4 Dec 2015 10:36:47 +0100
Subject: server: Introduce a new alloc_handle object callback. (v2)
Subject: [PATCH] server: Introduce a new alloc_handle object callback. (v2)
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
---
@ -42,10 +42,10 @@ Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
34 files changed, 75 insertions(+), 3 deletions(-)
diff --git a/server/async.c b/server/async.c
index adbadc5..7f7b255 100644
index f2674bb..4828bcb 100644
--- a/server/async.c
+++ b/server/async.c
@@ -78,6 +78,7 @@ static const struct object_ops async_ops =
@@ -79,6 +79,7 @@ static const struct object_ops async_ops =
no_link_name, /* link_name */
NULL, /* unlink_name */
no_open_file, /* open_file */
@ -53,7 +53,7 @@ index adbadc5..7f7b255 100644
no_close_handle, /* close_handle */
async_destroy /* destroy */
};
@@ -461,6 +462,7 @@ static const struct object_ops iosb_ops =
@@ -467,6 +468,7 @@ static const struct object_ops iosb_ops =
no_link_name, /* link_name */
NULL, /* unlink_name */
no_open_file, /* open_file */
@ -74,7 +74,7 @@ index 3ff7540..7bebf13 100644
atom_table_destroy /* destroy */
};
diff --git a/server/change.c b/server/change.c
index 1f2f7c5..441c510 100644
index d00a885..a4ed5df 100644
--- a/server/change.c
+++ b/server/change.c
@@ -172,6 +172,7 @@ static const struct object_ops dir_ops =
@ -86,7 +86,7 @@ index 1f2f7c5..441c510 100644
dir_destroy /* destroy */
};
diff --git a/server/clipboard.c b/server/clipboard.c
index 160eb46..70b7e32 100644
index 162725b..0898150 100644
--- a/server/clipboard.c
+++ b/server/clipboard.c
@@ -87,6 +87,7 @@ static const struct object_ops clipboard_ops =
@ -158,7 +158,7 @@ index 79b7e52..d658fc0 100644
debug_ctx_destroy /* destroy */
};
diff --git a/server/device.c b/server/device.c
index dcc2946..47fe000 100644
index ac7d88f..55e6c7d 100644
--- a/server/device.c
+++ b/server/device.c
@@ -75,6 +75,7 @@ static const struct object_ops irp_call_ops =
@ -194,7 +194,7 @@ index dcc2946..47fe000 100644
device_file_destroy /* destroy */
};
diff --git a/server/directory.c b/server/directory.c
index 7ffaedc..d903ff2 100644
index 6aa3a55..699eb70f 100644
--- a/server/directory.c
+++ b/server/directory.c
@@ -67,6 +67,7 @@ static const struct object_ops object_type_ops =
@ -234,10 +234,10 @@ index cfc0f6a..608fafb 100644
no_destroy /* destroy */
};
diff --git a/server/fd.c b/server/fd.c
index 6118f52..9dc953f 100644
index e2d6143..52f70a3 100644
--- a/server/fd.c
+++ b/server/fd.c
@@ -217,6 +217,7 @@ static const struct object_ops fd_ops =
@@ -218,6 +218,7 @@ static const struct object_ops fd_ops =
no_link_name, /* link_name */
NULL, /* unlink_name */
no_open_file, /* open_file */
@ -245,7 +245,7 @@ index 6118f52..9dc953f 100644
no_close_handle, /* close_handle */
fd_destroy /* destroy */
};
@@ -256,6 +257,7 @@ static const struct object_ops device_ops =
@@ -257,6 +258,7 @@ static const struct object_ops device_ops =
no_link_name, /* link_name */
NULL, /* unlink_name */
no_open_file, /* open_file */
@ -253,7 +253,7 @@ index 6118f52..9dc953f 100644
no_close_handle, /* close_handle */
device_destroy /* destroy */
};
@@ -294,6 +296,7 @@ static const struct object_ops inode_ops =
@@ -295,6 +297,7 @@ static const struct object_ops inode_ops =
no_link_name, /* link_name */
NULL, /* unlink_name */
no_open_file, /* open_file */
@ -261,7 +261,7 @@ index 6118f52..9dc953f 100644
no_close_handle, /* close_handle */
inode_destroy /* destroy */
};
@@ -334,6 +337,7 @@ static const struct object_ops file_lock_ops =
@@ -335,6 +338,7 @@ static const struct object_ops file_lock_ops =
no_link_name, /* link_name */
NULL, /* unlink_name */
no_open_file, /* open_file */
@ -270,7 +270,7 @@ index 6118f52..9dc953f 100644
no_destroy /* destroy */
};
diff --git a/server/file.c b/server/file.c
index 446621a..cbfc257 100644
index 6840223..5eb5e65 100644
--- a/server/file.c
+++ b/server/file.c
@@ -95,6 +95,7 @@ static const struct object_ops file_ops =
@ -339,7 +339,7 @@ index 3a0e4b4..dc653b8 100644
hook_table_destroy /* destroy */
};
diff --git a/server/mailslot.c b/server/mailslot.c
index f4c7007..bc169dd 100644
index 95308c4..bc9089b 100644
--- a/server/mailslot.c
+++ b/server/mailslot.c
@@ -89,6 +89,7 @@ static const struct object_ops mailslot_ops =
@ -367,7 +367,7 @@ index f4c7007..bc169dd 100644
mailslot_device_destroy /* destroy */
};
diff --git a/server/mapping.c b/server/mapping.c
index 1ed8c9d..8bfaa8e 100644
index 1be6680..fb58376 100644
--- a/server/mapping.c
+++ b/server/mapping.c
@@ -77,6 +77,7 @@ static const struct object_ops ranges_ops =
@ -407,10 +407,10 @@ index d1887e4..a2a0a24 100644
mutex_destroy /* destroy */
};
diff --git a/server/named_pipe.c b/server/named_pipe.c
index ba6f507..215c838 100644
index 19a5426..bc4d28f 100644
--- a/server/named_pipe.c
+++ b/server/named_pipe.c
@@ -128,6 +128,7 @@ static const struct object_ops named_pipe_ops =
@@ -134,6 +134,7 @@ static const struct object_ops named_pipe_ops =
named_pipe_link_name, /* link_name */
default_unlink_name, /* unlink_name */
named_pipe_open_file, /* open_file */
@ -418,7 +418,7 @@ index ba6f507..215c838 100644
no_close_handle, /* close_handle */
named_pipe_destroy /* destroy */
};
@@ -169,6 +170,7 @@ static const struct object_ops pipe_server_ops =
@@ -176,6 +177,7 @@ static const struct object_ops pipe_server_ops =
no_link_name, /* link_name */
NULL, /* unlink_name */
no_open_file, /* open_file */
@ -426,7 +426,7 @@ index ba6f507..215c838 100644
fd_close_handle, /* close_handle */
pipe_server_destroy /* destroy */
};
@@ -210,6 +212,7 @@ static const struct object_ops pipe_client_ops =
@@ -217,6 +219,7 @@ static const struct object_ops pipe_client_ops =
no_link_name, /* link_name */
NULL, /* unlink_name */
no_open_file, /* open_file */
@ -434,14 +434,14 @@ index ba6f507..215c838 100644
fd_close_handle, /* close_handle */
pipe_end_destroy /* destroy */
};
@@ -258,6 +261,7 @@ static const struct object_ops named_pipe_device_ops =
directory_link_name, /* link_name */
@@ -263,6 +266,7 @@ static const struct object_ops named_pipe_device_ops =
default_unlink_name, /* unlink_name */
named_pipe_device_open_file, /* open_file */
+ no_alloc_handle, /* alloc_handle */
fd_close_handle, /* close_handle */
no_close_handle, /* close_handle */
+ fd_close_handle, /* close_handle */
named_pipe_device_destroy /* destroy */
};
diff --git a/server/object.c b/server/object.c
index 4455718..14cd38e 100644
--- a/server/object.c
@ -482,10 +482,10 @@ index b5c50e1..72ad852 100644
extern void no_destroy( struct object *obj );
#ifdef DEBUG_OBJECTS
diff --git a/server/process.c b/server/process.c
index f8739d0..c269b50 100644
index 5938fb4..c0a0113 100644
--- a/server/process.c
+++ b/server/process.c
@@ -84,6 +84,7 @@ static const struct object_ops process_ops =
@@ -85,6 +85,7 @@ static const struct object_ops process_ops =
no_link_name, /* link_name */
NULL, /* unlink_name */
no_open_file, /* open_file */
@ -510,7 +510,7 @@ index f8739d0..c269b50 100644
job_destroy /* destroy */
};
diff --git a/server/queue.c b/server/queue.c
index c479b38..382f14f 100644
index f5d3b19..f51a8f0 100644
--- a/server/queue.c
+++ b/server/queue.c
@@ -181,6 +181,7 @@ static const struct object_ops msg_queue_ops =
@ -530,7 +530,7 @@ index c479b38..382f14f 100644
thread_input_destroy /* destroy */
};
diff --git a/server/registry.c b/server/registry.c
index 8ad97d4..50b6a0b 100644
index 9e6815d..21a6be5 100644
--- a/server/registry.c
+++ b/server/registry.c
@@ -170,6 +170,7 @@ static const struct object_ops key_ops =
@ -542,7 +542,7 @@ index 8ad97d4..50b6a0b 100644
key_destroy /* destroy */
};
diff --git a/server/request.c b/server/request.c
index 6120bc5..83e6089 100644
index 86f293f..f75f21e 100644
--- a/server/request.c
+++ b/server/request.c
@@ -107,6 +107,7 @@ static const struct object_ops master_socket_ops =
@ -566,7 +566,7 @@ index 08ff153..15e7392 100644
no_destroy /* destroy */
};
diff --git a/server/serial.c b/server/serial.c
index bb976a1..089f47c 100644
index f0adf92..1722149 100644
--- a/server/serial.c
+++ b/server/serial.c
@@ -102,6 +102,7 @@ static const struct object_ops serial_ops =
@ -590,7 +590,7 @@ index 74416fa..4b2b8c4 100644
handler_destroy /* destroy */
};
diff --git a/server/snapshot.c b/server/snapshot.c
index e35588a..6e788ab 100644
index a32207c..47316d0 100644
--- a/server/snapshot.c
+++ b/server/snapshot.c
@@ -71,6 +71,7 @@ static const struct object_ops snapshot_ops =
@ -602,7 +602,7 @@ index e35588a..6e788ab 100644
snapshot_destroy /* destroy */
};
diff --git a/server/sock.c b/server/sock.c
index 84f54f6..43456f0 100644
index a8e6e28..cd9a8fa 100644
--- a/server/sock.c
+++ b/server/sock.c
@@ -155,6 +155,7 @@ static const struct object_ops sock_ops =
@ -634,7 +634,7 @@ index 9199bc5..ecc0e43 100644
symlink_destroy /* destroy */
};
diff --git a/server/thread.c b/server/thread.c
index 2cf5054..30ef3d2 100644
index 79e7e1a..b52649e 100644
--- a/server/thread.c
+++ b/server/thread.c
@@ -120,6 +120,7 @@ static const struct object_ops thread_apc_ops =
@ -666,10 +666,10 @@ index 3a786fb..95df28f 100644
timer_destroy /* destroy */
};
diff --git a/server/token.c b/server/token.c
index 0810a61..e51dccc 100644
index e7b64b2..5df4e35 100644
--- a/server/token.c
+++ b/server/token.c
@@ -155,6 +155,7 @@ static const struct object_ops token_ops =
@@ -161,6 +161,7 @@ static const struct object_ops token_ops =
no_link_name, /* link_name */
NULL, /* unlink_name */
no_open_file, /* open_file */
@ -698,5 +698,5 @@ index a0be058..5f96be8 100644
desktop_destroy /* destroy */
};
--
2.7.4
1.9.1