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
Moved pipelight related patches to a separate folder.
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
From 32ae090ad4a99862a420cfe44847d8e2905cdde7 Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Lackner <sebastian@fds-team.de>
|
||||
Date: Sat, 21 Dec 2013 23:57:02 +0100
|
||||
Subject: winex11: Implement X11DRV_FLUSH_GDI_DISPLAY ExtEscape command
|
||||
|
||||
---
|
||||
dlls/winex11.drv/init.c | 3 +++
|
||||
dlls/winex11.drv/x11drv.h | 3 ++-
|
||||
2 files changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dlls/winex11.drv/init.c b/dlls/winex11.drv/init.c
|
||||
index 5a7d316..68d3f96 100644
|
||||
--- a/dlls/winex11.drv/init.c
|
||||
+++ b/dlls/winex11.drv/init.c
|
||||
@@ -440,6 +440,9 @@ static INT X11DRV_ExtEscape( PHYSDEV dev, INT escape, INT in_count, LPCVOID in_d
|
||||
return TRUE;
|
||||
}
|
||||
break;
|
||||
+ case X11DRV_FLUSH_GDI_DISPLAY:
|
||||
+ XFlush( gdi_display );
|
||||
+ return TRUE;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
diff --git a/dlls/winex11.drv/x11drv.h b/dlls/winex11.drv/x11drv.h
|
||||
index 9008db6..85dd2a5 100644
|
||||
--- a/dlls/winex11.drv/x11drv.h
|
||||
+++ b/dlls/winex11.drv/x11drv.h
|
||||
@@ -277,7 +277,8 @@ enum x11drv_escape_codes
|
||||
X11DRV_GET_DRAWABLE, /* get current drawable for a DC */
|
||||
X11DRV_START_EXPOSURES, /* start graphics exposures */
|
||||
X11DRV_END_EXPOSURES, /* end graphics exposures */
|
||||
- X11DRV_FLUSH_GL_DRAWABLE /* flush changes made to the gl drawable */
|
||||
+ X11DRV_FLUSH_GL_DRAWABLE, /* flush changes made to the gl drawable */
|
||||
+ X11DRV_FLUSH_GDI_DISPLAY /* flush the gdi display */
|
||||
};
|
||||
|
||||
struct x11drv_escape_set_drawable
|
||||
--
|
||||
1.7.9.5
|
||||
|
@@ -0,0 +1,25 @@
|
||||
From ed6d82faea2efb04dda99738f8eea9ac8c9de1df Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
||||
Date: Thu, 9 Jan 2014 02:54:31 +0100
|
||||
Subject: user32: Decrease minimum SetTimer interval from 15 to 5 ms
|
||||
|
||||
---
|
||||
dlls/user32/message.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dlls/user32/message.c b/dlls/user32/message.c
|
||||
index 2cd1472..8a4aa7d 100644
|
||||
--- a/dlls/user32/message.c
|
||||
+++ b/dlls/user32/message.c
|
||||
@@ -4407,7 +4407,7 @@ UINT_PTR WINAPI SetTimer( HWND hwnd, UINT_PTR id, UINT timeout, TIMERPROC proc )
|
||||
|
||||
/* MSDN states that the minimum timeout should be USER_TIMER_MINIMUM (10.0 ms), but testing
|
||||
* indicates that the true minimum is closer to 15.6 ms. */
|
||||
- timeout = min( max( 15, timeout ), USER_TIMER_MAXIMUM );
|
||||
+ timeout = min( max( 5, timeout ), USER_TIMER_MAXIMUM );
|
||||
|
||||
SERVER_START_REQ( set_win_timer )
|
||||
{
|
||||
--
|
||||
1.8.3.2
|
||||
|
@@ -0,0 +1,34 @@
|
||||
From 34551d5eb1b88021766cafcb9046d1e76a2b3bf8 Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Lackner <sebastian@fds-team.de>
|
||||
Date: Mon, 13 Jan 2014 23:37:02 +0100
|
||||
Subject: wined3d: Allow to set strictDrawOrdering via environment variable
|
||||
|
||||
---
|
||||
dlls/wined3d/wined3d_main.c | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/dlls/wined3d/wined3d_main.c b/dlls/wined3d/wined3d_main.c
|
||||
index a0ecfa7..fa89700 100644
|
||||
--- a/dlls/wined3d/wined3d_main.c
|
||||
+++ b/dlls/wined3d/wined3d_main.c
|
||||
@@ -140,6 +140,7 @@ static BOOL wined3d_dll_init(HINSTANCE hInstDLL)
|
||||
HKEY appkey = 0;
|
||||
DWORD len, tmpvalue;
|
||||
WNDCLASSA wc;
|
||||
+ const char *env;
|
||||
|
||||
wined3d_context_tls_idx = TlsAlloc();
|
||||
if (wined3d_context_tls_idx == TLS_OUT_OF_INDEXES)
|
||||
@@ -309,6 +310,9 @@ static BOOL wined3d_dll_init(HINSTANCE hInstDLL)
|
||||
if (appkey) RegCloseKey( appkey );
|
||||
if (hkey) RegCloseKey( hkey );
|
||||
|
||||
+ if ((env = getenv("WINE_STRICT_DRAW_ORDERING")))
|
||||
+ wined3d_settings.strict_draw_ordering = atoi(env);
|
||||
+
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
--
|
||||
1.7.9.5
|
||||
|
@@ -0,0 +1,3 @@
|
||||
Revision: 1
|
||||
Author: Michael Müller
|
||||
Title: Decrease minimum SetTimer interval from 15 to 5 ms.
|
@@ -0,0 +1,4 @@
|
||||
Revision: 1
|
||||
Author: Sebastian Lackner
|
||||
Title: Allow to set wined3d strictDrawOrdering via environment variable.
|
||||
|
@@ -0,0 +1,3 @@
|
||||
Revision: 1
|
||||
Author: Sebastian Lackner
|
||||
Title: Implement X11DRV_FLUSH_GDI_DISPLAY ExtEscape command.
|
Reference in New Issue
Block a user