Module: wine
Branch: master
Commit: 04f5c9153ad4654b56f71acbed7558f2ccd7ee71
URL: http://source.winehq.org/git/wine.git/?a=commit;h=04f5c9153ad4654b56f71acbe…
Author: Frédéric Delanoy <frederic.delanoy(a)gmail.com>
Date: Fri Jul 10 13:15:05 2009 +0200
cryptui: Fix UI display.
---
dlls/cryptui/cryptui_En.rc | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/dlls/cryptui/cryptui_En.rc b/dlls/cryptui/cryptui_En.rc
index 957fe98..5aee197 100644
--- a/dlls/cryptui/cryptui_En.rc
+++ b/dlls/cryptui/cryptui_En.rc
@@ -285,16 +285,16 @@ CAPTION "Certificate Import Wizard"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Welcome to the Certificate Import Wizard", IDC_IMPORT_TITLE,
- 115,1,195,40
+ 115,7,195,12
LTEXT "This wizard helps you import certificates, certificate revocation lists, and certificate trust lists from a file to a certificate store.",
- -1, 115,33,195,16
+ -1, 115,26,195,25
LTEXT "A certificate can be used to identify you or the computer with which you are communicating. It can also be used for authentication, and to sign messages. Certificate stores are collections of certificates, certificate revocation lists, and certificate trust lists.",
-1, 115,56,195,40
LTEXT "To continue, click Next.",
-1, 115,103,195,8
END
-IDD_IMPORT_FILE DIALOG DISCARDABLE 0,0,317,143
+IDD_IMPORT_FILE DIALOG DISCARDABLE 0,0,317,178
CAPTION "Certificate Import Wizard"
FONT 8, "MS Shell Dlg"
BEGIN
@@ -325,7 +325,7 @@ BEGIN
PUSHBUTTON "B&rowse...", IDC_IMPORT_BROWSE_STORE, 236,49,60,14
END
-IDD_IMPORT_FINISH DIALOG DISCARDABLE 0,0,317,143
+IDD_IMPORT_FINISH DIALOG DISCARDABLE 0,0,317,178
CAPTION "Certificate Import Wizard"
FONT 8, "MS Shell Dlg"
BEGIN
@@ -381,9 +381,9 @@ CAPTION "Certificate Export Wizard"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Welcome to the Certificate Export Wizard", IDC_EXPORT_TITLE,
- 115,1,195,40
+ 115,7,195,12
LTEXT "This wizard helps you export certificates, certificate revocation lists, and certificate trust lists from a certificate store to a file.",
- -1, 115,33,195,16
+ -1, 115,26,195,25
LTEXT "A certificate can be used to identify you or the computer with which you are communicating. It can also be used for authentication, and to sign messages. Certificate stores are collections of certificates, certificate revocation lists, and certificate trust lists.",
-1, 115,56,195,40
LTEXT "To continue, click Next.",
@@ -394,8 +394,8 @@ IDD_EXPORT_PRIVATE_KEY DIALOG DISCARDABLE 0,0,317,143
CAPTION "Certificate Export Wizard"
FONT 8, "MS Shell Dlg"
BEGIN
- LTEXT "If you choose to export the private key, you will be prompted for a password to protect the private key on a later page.", -1, 21,1,195,23
- LTEXT "Do you wish to export the private key?", -1, 21,24,195,15
+ LTEXT "If you choose to export the private key, you will be prompted for a password to protect the private key on a later page.", -1, 21,1,195,25
+ LTEXT "Do you wish to export the private key?", -1, 21,27,195,10
AUTORADIOBUTTON "&Yes, export the private key",
IDC_EXPORT_PRIVATE_KEY_YES, 31,36,200,12, BS_AUTORADIOBUTTON|WS_TABSTOP
AUTORADIOBUTTON "N&o, do not export the private key",
@@ -447,7 +447,7 @@ BEGIN
PUSHBUTTON "B&rowse...", IDC_EXPORT_BROWSE_FILE, 236,11,60,14
END
-IDD_EXPORT_FINISH DIALOG DISCARDABLE 0,0,317,143
+IDD_EXPORT_FINISH DIALOG DISCARDABLE 0,0,317,178
CAPTION "Certificate Export Wizard"
FONT 8, "MS Shell Dlg"
BEGIN
Module: wine
Branch: master
Commit: 17769497ebebb91bf925f51e685adbb47d27ae3a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=17769497ebebb91bf925f51e6…
Author: Stefan Dösinger <stefan(a)codeweavers.com>
Date: Thu Jul 9 22:24:27 2009 +0200
wined3d: Drop the color0 mov optimization if the src is overwritten.
---
dlls/wined3d/baseshader.c | 24 +++++++++++++++++-------
1 files changed, 17 insertions(+), 7 deletions(-)
diff --git a/dlls/wined3d/baseshader.c b/dlls/wined3d/baseshader.c
index 411665e..0c2ede1 100644
--- a/dlls/wined3d/baseshader.c
+++ b/dlls/wined3d/baseshader.c
@@ -632,9 +632,12 @@ HRESULT shader_get_registers_used(IWineD3DBaseShader *iface, const struct wined3
reg_maps->texcoord_mask[dst_param.reg.idx] |= dst_param.write_mask;
}
- if (shader_version.type == WINED3D_SHADER_TYPE_PIXEL
- && dst_param.reg.type == WINED3DSPR_COLOROUT && dst_param.reg.idx == 0)
+ if (shader_version.type == WINED3D_SHADER_TYPE_PIXEL)
{
+ IWineD3DPixelShaderImpl *ps = (IWineD3DPixelShaderImpl *)This;
+
+ if(dst_param.reg.type == WINED3DSPR_COLOROUT && dst_param.reg.idx == 0)
+ {
/* Many 2.0 and 3.0 pixel shaders end with a MOV from a temp register to
* COLOROUT 0. If we know this in advance, the ARB shader backend can skip
* the mov and perform the sRGB write correction from the source register.
@@ -642,13 +645,20 @@ HRESULT shader_get_registers_used(IWineD3DBaseShader *iface, const struct wined3
* However, if the mov is only partial, we can't do this, and if the write
* comes from an instruction other than MOV it is hard to do as well. If
* COLOROUT 0 is overwritten partially later, the marker is dropped again. */
- IWineD3DPixelShaderImpl *ps = (IWineD3DPixelShaderImpl *)This;
- ps->color0_mov = FALSE;
- if (ins.handler_idx == WINED3DSIH_MOV)
+ ps->color0_mov = FALSE;
+ if (ins.handler_idx == WINED3DSIH_MOV)
+ {
+ /* Used later when the source register is read. */
+ color0_mov = TRUE;
+ }
+ }
+ /* Also drop the MOV marker if the source register is overwritten prior to the shader
+ * end
+ */
+ else if(dst_param.reg.type == WINED3DSPR_TEMP && dst_param.reg.idx == ps->color0_reg)
{
- /* Used later when the source register is read. */
- color0_mov = TRUE;
+ ps->color0_mov = FALSE;
}
}