Rebase against a96abff8082d3c6ac7f1acb57727656a94a6bde9.

This commit is contained in:
Sebastian Lackner
2016-01-29 22:52:04 +01:00
parent da7ef4474e
commit 89a3c598c3
4 changed files with 144 additions and 144 deletions

View File

@@ -1,4 +1,4 @@
From 8794d625750d35293adecbedc32cc02257817b05 Mon Sep 17 00:00:00 2001
From 4be2da4492530a2704a8135dc2f65781c968f625 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Sun, 20 Jul 2014 22:22:14 +0200
Subject: wined3d: allow changing strict drawing through an exported function
@@ -9,23 +9,23 @@ Subject: wined3d: allow changing strict drawing through an exported function
2 files changed, 7 insertions(+)
diff --git a/dlls/wined3d/wined3d.spec b/dlls/wined3d/wined3d.spec
index 7a77003..5519a48 100644
index cd8174c..34afb71 100644
--- a/dlls/wined3d/wined3d.spec
+++ b/dlls/wined3d/wined3d.spec
@@ -219,6 +219,8 @@
@@ -222,6 +222,8 @@
@ cdecl wined3d_stateblock_decref(ptr)
@ cdecl wined3d_stateblock_incref(ptr)
+@ cdecl wined3d_strictdrawing_set(long)
+
@ cdecl wined3d_surface_blt(ptr ptr ptr ptr long ptr long)
@ cdecl wined3d_surface_decref(ptr)
@ cdecl wined3d_surface_from_resource(ptr)
@ cdecl wined3d_surface_get_overlay_position(ptr ptr ptr)
diff --git a/dlls/wined3d/wined3d_main.c b/dlls/wined3d/wined3d_main.c
index 758ba43..7ccd3a1 100644
index 0543d97..78cc3a2 100644
--- a/dlls/wined3d/wined3d_main.c
+++ b/dlls/wined3d/wined3d_main.c
@@ -505,6 +505,11 @@ void wined3d_unregister_window(HWND window)
@@ -515,6 +515,11 @@ void wined3d_unregister_window(HWND window)
wined3d_wndproc_mutex_unlock();
}
@@ -38,5 +38,5 @@ index 758ba43..7ccd3a1 100644
BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, void *reserved)
{
--
2.1.3
2.7.0

View File

@@ -51,7 +51,7 @@ usage()
# Get the upstream commit sha
upstream_commit()
{
echo "ed268bbf9183392e21e771f64bd91c19316f8361"
echo "a96abff8082d3c6ac7f1acb57727656a94a6bde9"
}
# Show version information

View File

@@ -1,4 +1,4 @@
From 42b6ba4bb832d0191cda985e2701c61626c103b6 Mon Sep 17 00:00:00 2001
From 1ad9f7310d40524027fbb81d998bf8eb1a5dd067 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20D=C3=B6singer?= <stefan@codeweavers.com>
Date: Tue, 21 Jan 2014 16:49:21 +0100
Subject: wined3d: Use resource facilities to destroy PBOs.
@@ -10,10 +10,10 @@ Subject: wined3d: Use resource facilities to destroy PBOs.
3 files changed, 4 insertions(+), 16 deletions(-)
diff --git a/dlls/wined3d/resource.c b/dlls/wined3d/resource.c
index 882491c..e10ba41 100644
index 2ad66de..362da3d 100644
--- a/dlls/wined3d/resource.c
+++ b/dlls/wined3d/resource.c
@@ -223,7 +223,7 @@ HRESULT resource_init(struct wined3d_resource *resource, struct wined3d_device *
@@ -233,7 +233,7 @@ HRESULT resource_init(struct wined3d_resource *resource, struct wined3d_device *
return WINED3D_OK;
}
@@ -23,10 +23,10 @@ index 882491c..e10ba41 100644
struct wined3d_context *context = context_acquire(resource->device, NULL);
const struct wined3d_gl_info *gl_info = context->gl_info;
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 273da13..8ae36af 100644
index 91f1229..83c5ad4 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -958,16 +958,6 @@ static HRESULT wined3d_surface_depth_blt(struct wined3d_surface *src_surface, DW
@@ -939,16 +939,6 @@ static HRESULT wined3d_surface_depth_blt(struct wined3d_surface *src_surface, DW
return WINED3D_OK;
}
@@ -42,8 +42,8 @@ index 273da13..8ae36af 100644
-
static ULONG surface_resource_incref(struct wined3d_resource *resource)
{
return wined3d_surface_incref(surface_from_resource(resource));
@@ -1013,10 +1003,6 @@ static void surface_unload(struct wined3d_resource *resource)
struct wined3d_surface *surface = surface_from_resource(resource);
@@ -996,10 +986,6 @@ static void surface_unload(struct wined3d_resource *resource)
wined3d_resource_invalidate_location(&surface->resource, ~surface->resource.map_binding);
}
@@ -54,7 +54,7 @@ index 273da13..8ae36af 100644
/* Destroy fbo render buffers. This is needed for implicit render targets, for
* all application-created targets the application has to release the surface
* before calling _Reset
@@ -3949,7 +3935,8 @@ static HRESULT surface_load_texture(struct wined3d_surface *surface,
@@ -3918,7 +3904,8 @@ static HRESULT surface_load_texture(struct wined3d_surface *surface,
wined3d_resource_prepare_map_memory(&surface->resource, context);
wined3d_resource_load_location(&surface->resource, context, surface->resource.map_binding);
@@ -65,10 +65,10 @@ index 273da13..8ae36af 100644
wined3d_resource_get_memory(&surface->resource, surface->resource.locations, &data);
diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
index 4fd8b62..50fc36b 100644
index 8864b3b..9813d84 100644
--- a/dlls/wined3d/wined3d_private.h
+++ b/dlls/wined3d/wined3d_private.h
@@ -2216,6 +2216,7 @@ DWORD wined3d_resource_access_from_location(DWORD location) DECLSPEC_HIDDEN;
@@ -2261,6 +2261,7 @@ DWORD wined3d_resource_access_from_location(DWORD location) DECLSPEC_HIDDEN;
BOOL wined3d_resource_allocate_sysmem(struct wined3d_resource *resource) DECLSPEC_HIDDEN;
BOOL wined3d_resource_check_block_align(const struct wined3d_resource *resource,
const struct wined3d_box *box) DECLSPEC_HIDDEN;
@@ -77,5 +77,5 @@ index 4fd8b62..50fc36b 100644
BYTE *wined3d_resource_get_map_ptr(const struct wined3d_resource *resource,
const struct wined3d_context *context, DWORD flags) DECLSPEC_HIDDEN;
--
2.6.1
2.7.0

File diff suppressed because it is too large Load Diff