winehq.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
February
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
January
2003
December
November
October
September
August
July
June
May
April
March
February
January
2002
December
November
October
September
August
July
June
May
April
March
February
January
2001
December
November
October
September
August
July
June
May
April
March
February
List overview
wine-commits
April 2011
----- 2025 -----
February 2025
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
----- 2003 -----
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
----- 2002 -----
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002
----- 2001 -----
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
wine-commits@winehq.org
3 participants
937 discussions
Start a n
N
ew thread
Rico Schüller : d3dx9: Implement ID3DXBaseEffect:: GetPassDesc().
by Alexandre Julliard
20 Apr '11
20 Apr '11
Module: wine Branch: master Commit: f284dc77f2f9e760af34600f225f4b6c086cf17f URL:
http://source.winehq.org/git/wine.git/?a=commit;h=f284dc77f2f9e760af34600f2…
Author: Rico Schüller <kgbricola(a)web.de> Date: Wed Apr 20 07:58:29 2011 +0200 d3dx9: Implement ID3DXBaseEffect::GetPassDesc(). --- dlls/d3dx9_36/effect.c | 38 ++++++++++++++++++++++++++++++++++++-- 1 files changed, 36 insertions(+), 2 deletions(-) diff --git a/dlls/d3dx9_36/effect.c b/dlls/d3dx9_36/effect.c index ce2ed82..837e80d 100644 --- a/dlls/d3dx9_36/effect.c +++ b/dlls/d3dx9_36/effect.c @@ -171,6 +171,26 @@ struct d3dx_technique *is_valid_technique(struct ID3DXBaseEffectImpl *base, D3DX return NULL; } +struct d3dx_pass *is_valid_pass(struct ID3DXBaseEffectImpl *base, D3DXHANDLE pass) +{ + unsigned int i, k; + + for (i = 0; i < base->technique_count; ++i) + { + struct d3dx_technique *technique = get_technique_struct(base->technique_handles[i]); + + for (k = 0; k < technique->pass_count; ++k) + { + if (technique->pass_handles[k] == pass) + { + return get_pass_struct(pass); + } + } + } + + return NULL; +} + struct d3dx_parameter *is_valid_sub_parameter(struct d3dx_parameter *param, D3DXHANDLE parameter) { unsigned int i, count; @@ -513,10 +533,24 @@ static HRESULT WINAPI ID3DXBaseEffectImpl_GetTechniqueDesc(ID3DXBaseEffect *ifac static HRESULT WINAPI ID3DXBaseEffectImpl_GetPassDesc(ID3DXBaseEffect *iface, D3DXHANDLE pass, D3DXPASS_DESC *desc) { struct ID3DXBaseEffectImpl *This = impl_from_ID3DXBaseEffect(iface); + struct d3dx_pass *p = is_valid_pass(This, pass); - FIXME("iface %p, pass %p, desc %p stub\n", This, pass, desc); + TRACE("iface %p, pass %p, desc %p\n", This, pass, desc); - return E_NOTIMPL; + if (!desc || !p) + { + WARN("Invalid argument specified.\n"); + return D3DERR_INVALIDCALL; + } + + desc->Name = p->name; + desc->Annotations = p->annotation_count; + + FIXME("Pixel shader and vertex shader are not supported, yet.\n"); + desc->pVertexShaderFunction = NULL; + desc->pVertexShaderFunction = NULL; + + return D3D_OK; } static HRESULT WINAPI ID3DXBaseEffectImpl_GetFunctionDesc(ID3DXBaseEffect *iface, D3DXHANDLE shader, D3DXFUNCTION_DESC *desc)
1
0
0
0
Rico Schüller : d3dx9: Fix ID3DXEffect*:: GetVectorArray() forward.
by Alexandre Julliard
20 Apr '11
20 Apr '11
Module: wine Branch: master Commit: 8afc8dc0c70da2a0d162b1d054782c370ef3c52a URL:
http://source.winehq.org/git/wine.git/?a=commit;h=8afc8dc0c70da2a0d162b1d05…
Author: Rico Schüller <kgbricola(a)web.de> Date: Wed Apr 20 07:58:22 2011 +0200 d3dx9: Fix ID3DXEffect*::GetVectorArray() forward. --- dlls/d3dx9_36/effect.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/d3dx9_36/effect.c b/dlls/d3dx9_36/effect.c index fefb3b4..ce2ed82 100644 --- a/dlls/d3dx9_36/effect.c +++ b/dlls/d3dx9_36/effect.c @@ -1479,7 +1479,7 @@ static HRESULT WINAPI ID3DXEffectImpl_GetVectorArray(ID3DXEffect *iface, D3DXHAN TRACE("Forward iface %p, base %p\n", This, base); - return ID3DXBaseEffectImpl_SetVectorArray(base, parameter, vector, count); + return ID3DXBaseEffectImpl_GetVectorArray(base, parameter, vector, count); } static HRESULT WINAPI ID3DXEffectImpl_SetMatrix(ID3DXEffect *iface, D3DXHANDLE parameter, CONST D3DXMATRIX *matrix) @@ -2382,7 +2382,7 @@ static HRESULT WINAPI ID3DXEffectCompilerImpl_GetVectorArray(ID3DXEffectCompiler TRACE("Forward iface %p, base %p\n", This, base); - return ID3DXBaseEffectImpl_SetVectorArray(base, parameter, vector, count); + return ID3DXBaseEffectImpl_GetVectorArray(base, parameter, vector, count); } static HRESULT WINAPI ID3DXEffectCompilerImpl_SetMatrix(ID3DXEffectCompiler *iface, D3DXHANDLE parameter, CONST D3DXMATRIX *matrix)
1
0
0
0
Matteo Bruni : wined3d: Fallback to our private window when context activation fails otherwise.
by Alexandre Julliard
20 Apr '11
20 Apr '11
Module: wine Branch: master Commit: a3c12c5be426ac9ac19b7760eeeec1f2c1dbe551 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=a3c12c5be426ac9ac19b7760e…
Author: Matteo Bruni <mbruni(a)codeweavers.com> Date: Tue Apr 12 22:27:54 2011 +0200 wined3d: Fallback to our private window when context activation fails otherwise. --- dlls/wined3d/context.c | 51 ++++++++++++++++++++++++++++++++++++++- dlls/wined3d/swapchain.c | 8 ++++++ dlls/wined3d/wined3d_private.h | 3 ++ 3 files changed, 60 insertions(+), 2 deletions(-) diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c index 544d662..18c9438 100644 --- a/dlls/wined3d/context.c +++ b/dlls/wined3d/context.c @@ -795,15 +795,62 @@ static BOOL context_set_pixel_format(const struct wined3d_gl_info *gl_info, HDC static BOOL context_set_gl_context(struct wined3d_context *ctx) { + struct wined3d_swapchain *swapchain = ctx->swapchain; + if (!pwglMakeCurrent(ctx->hdc, ctx->glCtx)) { WARN("Failed to make GL context %p current on device context %p, last error %#x.\n", ctx->glCtx, ctx->hdc, GetLastError()); ctx->valid = 0; - context_set_current(NULL); - return FALSE; + WARN("Trying fallback to the backup window.\n"); + + if (!swapchain->backup_dc) + { + TRACE("Creating the backup window for swapchain %p.\n", swapchain); + swapchain->backup_wnd = CreateWindowA(WINED3D_OPENGL_WINDOW_CLASS_NAME, "WineD3D fake window", + WS_OVERLAPPEDWINDOW, 10, 10, 10, 10, NULL, NULL, NULL, NULL); + if (!swapchain->backup_wnd) + { + ERR("Failed to create a window.\n"); + goto fail; + } + swapchain->backup_dc = GetDC(swapchain->backup_wnd); + if (!swapchain->backup_dc) + { + ERR("Failed to get a DC.\n"); + goto fail; + } + if (!context_set_pixel_format(ctx->gl_info, swapchain->backup_dc, ctx->pixel_format)) + { + ERR("Failed to set pixel format %d on device context %p.\n", + ctx->pixel_format, swapchain->backup_dc); + goto fail; + } + } + + if (!pwglMakeCurrent(swapchain->backup_dc, ctx->glCtx)) + { + ERR("Fallback to backup window (dc %p) failed too, last error %#x.\n", + swapchain->backup_dc, GetLastError()); + context_set_current(NULL); + return FALSE; + } } return TRUE; + +fail: + if (swapchain->backup_dc) + { + ReleaseDC(swapchain->backup_wnd, swapchain->backup_dc); + swapchain->backup_dc = NULL; + } + if (swapchain->backup_wnd) + { + DestroyWindow(swapchain->backup_wnd); + swapchain->backup_wnd = NULL; + } + context_set_current(NULL); + return FALSE; } static void context_restore_gl_context(HDC dc, HGLRC gl_ctx) diff --git a/dlls/wined3d/swapchain.c b/dlls/wined3d/swapchain.c index 21d518f..275084b 100644 --- a/dlls/wined3d/swapchain.c +++ b/dlls/wined3d/swapchain.c @@ -80,6 +80,14 @@ static void swapchain_cleanup(struct wined3d_swapchain *swapchain) mode.Format = swapchain->orig_fmt; IWineD3DDevice_SetDisplayMode((IWineD3DDevice *)swapchain->device, 0, &mode); } + + if (swapchain->backup_dc) + { + TRACE("Destroying backup wined3d window %p, dc %p.\n", swapchain->backup_wnd, swapchain->backup_dc); + + ReleaseDC(swapchain->backup_wnd, swapchain->backup_dc); + DestroyWindow(swapchain->backup_wnd); + } } ULONG CDECL wined3d_swapchain_incref(struct wined3d_swapchain *swapchain) diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h index 8c90464..1b1fcec 100644 --- a/dlls/wined3d/wined3d_private.h +++ b/dlls/wined3d/wined3d_private.h @@ -2543,6 +2543,9 @@ struct wined3d_swapchain HWND win_handle; HWND device_window; + + HDC backup_dc; + HWND backup_wnd; }; void x11_copy_to_screen(struct wined3d_swapchain *swapchain, const RECT *rect) DECLSPEC_HIDDEN;
1
0
0
0
Matteo Bruni : wined3d: Add two functions for GL context activation/restore .
by Alexandre Julliard
20 Apr '11
20 Apr '11
Module: wine Branch: master Commit: edebabc2ec018908cae3b127012d83b1071fd2ba URL:
http://source.winehq.org/git/wine.git/?a=commit;h=edebabc2ec018908cae3b1270…
Author: Matteo Bruni <mbruni(a)codeweavers.com> Date: Tue Apr 12 22:26:21 2011 +0200 wined3d: Add two functions for GL context activation/restore. --- dlls/wined3d/context.c | 66 +++++++++++++++++++++--------------------------- 1 files changed, 29 insertions(+), 37 deletions(-) diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c index c965095..544d662 100644 --- a/dlls/wined3d/context.c +++ b/dlls/wined3d/context.c @@ -793,6 +793,29 @@ static BOOL context_set_pixel_format(const struct wined3d_gl_info *gl_info, HDC return TRUE; } +static BOOL context_set_gl_context(struct wined3d_context *ctx) +{ + if (!pwglMakeCurrent(ctx->hdc, ctx->glCtx)) + { + WARN("Failed to make GL context %p current on device context %p, last error %#x.\n", + ctx->glCtx, ctx->hdc, GetLastError()); + ctx->valid = 0; + context_set_current(NULL); + return FALSE; + } + return TRUE; +} + +static void context_restore_gl_context(HDC dc, HGLRC gl_ctx) +{ + if (!pwglMakeCurrent(dc, gl_ctx)) + { + ERR("Failed to restore GL context %p on device context %p, last error %#x.\n", + gl_ctx, dc, GetLastError()); + context_set_current(NULL); + } +} + static void context_update_window(struct wined3d_context *context) { if (context->win_handle == context->swapchain->win_handle) @@ -826,12 +849,7 @@ static void context_update_window(struct wined3d_context *context) goto err; } - if (!pwglMakeCurrent(context->hdc, context->glCtx)) - { - ERR("Failed to make GL context %p current on device context %p, last error %#x.\n", - context->glCtx, context->hdc, GetLastError()); - goto err; - } + context_set_gl_context(context); return; @@ -855,7 +873,7 @@ static void context_destroy_gl_resources(struct wined3d_context *context) context_update_window(context); if (context->valid && restore_ctx != context->glCtx) - context->valid = !!pwglMakeCurrent(context->hdc, context->glCtx); + context_set_gl_context(context); else restore_ctx = NULL; ENTER_GL(); @@ -937,12 +955,7 @@ static void context_destroy_gl_resources(struct wined3d_context *context) if (restore_ctx) { - if (!pwglMakeCurrent(restore_dc, restore_ctx)) - { - DWORD err = GetLastError(); - ERR("Failed to restore GL context %p on device context %p, last error %#x.\n", - restore_ctx, restore_dc, err); - } + context_restore_gl_context(restore_dc, restore_ctx); } else if (pwglGetCurrentContext() && !pwglMakeCurrent(NULL, NULL)) { @@ -1007,16 +1020,8 @@ BOOL context_set_current(struct wined3d_context *ctx) } TRACE("Switching to D3D context %p, GL context %p, device context %p.\n", ctx, ctx->glCtx, ctx->hdc); - if (!pwglMakeCurrent(ctx->hdc, ctx->glCtx)) - { - DWORD err = GetLastError(); - ERR("Failed to make GL context %p current on device context %p, last error %#x.\n", - ctx->glCtx, ctx->hdc, err); - ctx->valid = 0; - pwglMakeCurrent(NULL, NULL); - TlsSetValue(wined3d_context_tls_idx, NULL); + if (!context_set_gl_context(ctx)) return FALSE; - } ctx->current = 1; } else if(pwglGetCurrentContext()) @@ -1049,13 +1054,7 @@ void context_release(struct wined3d_context *context) if (!--context->level && context->restore_ctx) { TRACE("Restoring GL context %p on device context %p.\n", context->restore_ctx, context->restore_dc); - if (!pwglMakeCurrent(context->restore_dc, context->restore_ctx)) - { - DWORD err = GetLastError(); - ERR("Failed to restore GL context %p on device context %p, last error %#x.\n", - context->restore_ctx, context->restore_dc, err); - context_set_current(NULL); - } + context_restore_gl_context(context->restore_dc, context->restore_ctx); context->restore_ctx = NULL; context->restore_dc = NULL; } @@ -2324,14 +2323,7 @@ struct wined3d_context *context_acquire(IWineD3DDeviceImpl *device, IWineD3DSurf } else if (context->restore_ctx) { - if (!pwglMakeCurrent(context->hdc, context->glCtx)) - { - DWORD err = GetLastError(); - ERR("Failed to make GL context %p current on device context %p, last error %#x.\n", - context->glCtx, context->hdc, err); - context->valid = 0; - pwglMakeCurrent(NULL, NULL); - } + context_set_gl_context(context); } return context;
1
0
0
0
André Hentschel : winedbg: Fix PC adjustment for ARM.
by Alexandre Julliard
20 Apr '11
20 Apr '11
Module: wine Branch: master Commit: 894f892b9356ba4295d86914d1e81e36da5bdc6a URL:
http://source.winehq.org/git/wine.git/?a=commit;h=894f892b9356ba4295d86914d…
Author: André Hentschel <nerv(a)dawncrow.de> Date: Tue Apr 19 21:55:00 2011 +0200 winedbg: Fix PC adjustment for ARM. --- programs/winedbg/be_arm.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/programs/winedbg/be_arm.c b/programs/winedbg/be_arm.c index 8f07251..732b581 100644 --- a/programs/winedbg/be_arm.c +++ b/programs/winedbg/be_arm.c @@ -3,7 +3,7 @@ * * Copyright 2000-2003 Marcus Meissner * 2004 Eric Pouech - * 2010 André Hentschel + * 2010, 2011 André Hentschel * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -164,11 +164,11 @@ static int be_arm_adjust_pc_for_break(CONTEXT* ctx, BOOL way) { if (way) { - ctx->Pc--; - return -1; + ctx->Pc-=4; + return -4; } - ctx->Pc++; - return 1; + ctx->Pc+=4; + return 4; } static int be_arm_fetch_integer(const struct dbg_lvalue* lvalue, unsigned size,
1
0
0
0
Dylan Smith : include: Create header file d3dx9anim.h.
by Alexandre Julliard
20 Apr '11
20 Apr '11
Module: wine Branch: master Commit: 5cccad1311745117628b9a5f10652b5211151b51 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=5cccad1311745117628b9a5f1…
Author: Dylan Smith <dylan.ah.smith(a)gmail.com> Date: Tue Apr 19 13:59:54 2011 -0400 include: Create header file d3dx9anim.h. --- include/Makefile.in | 1 + include/d3dx9.h | 1 + include/d3dx9anim.h | 391 +++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 393 insertions(+), 0 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=5cccad1311745117628b9…
1
0
0
0
Dylan Smith : include: Add d3dx9mesh.h X template extensions.
by Alexandre Julliard
20 Apr '11
20 Apr '11
Module: wine Branch: master Commit: 8f33a4d32d8383f9616297f973f3a5e7539688e6 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=8f33a4d32d8383f9616297f97…
Author: Dylan Smith <dylan.ah.smith(a)gmail.com> Date: Tue Apr 19 13:59:46 2011 -0400 include: Add d3dx9mesh.h X template extensions. --- include/d3dx9mesh.h | 166 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 166 insertions(+), 0 deletions(-) diff --git a/include/d3dx9mesh.h b/include/d3dx9mesh.h index 4c45528..b4fad7d 100644 --- a/include/d3dx9mesh.h +++ b/include/d3dx9mesh.h @@ -788,4 +788,170 @@ DEFINE_GUID(DXFILEOBJ_EffectInstance, 0xe331f7e4, 0x0559, 0x4cc2, 0x8e DEFINE_GUID(DXFILEOBJ_AnimTicksPerSecond, 0x9e415a43, 0x7ba6, 0x4a73, 0x87, 0x43, 0xb7, 0x3d, 0x47, 0xe8, 0x84, 0x76); DEFINE_GUID(DXFILEOBJ_CompressedAnimationSet, 0x7f9b00b3, 0xf125, 0x4890, 0x87, 0x6e, 0x1c, 0x42, 0xbf, 0x69, 0x7c, 0x4d); +#define XSKINEXP_TEMPLATES \ + "xof 0303txt 0032\ + template XSkinMeshHeader \ + { \ + <3CF169CE-FF7C-44ab-93C0-F78F62D172E2> \ + WORD nMaxSkinWeightsPerVertex; \ + WORD nMaxSkinWeightsPerFace; \ + WORD nBones; \ + } \ + template VertexDuplicationIndices \ + { \ + <B8D65549-D7C9-4995-89CF-53A9A8B031E3> \ + DWORD nIndices; \ + DWORD nOriginalVertices; \ + array DWORD indices[nIndices]; \ + } \ + template FaceAdjacency \ + { \ + <A64C844A-E282-4756-8B80-250CDE04398C> \ + DWORD nIndices; \ + array DWORD indices[nIndices]; \ + } \ + template SkinWeights \ + { \ + <6F0D123B-BAD2-4167-A0D0-80224F25FABB> \ + STRING transformNodeName; \ + DWORD nWeights; \ + array DWORD vertexIndices[nWeights]; \ + array float weights[nWeights]; \ + Matrix4x4 matrixOffset; \ + } \ + template Patch \ + { \ + <A3EB5D44-FC22-429D-9AFB-3221CB9719A6> \ + DWORD nControlIndices; \ + array DWORD controlIndices[nControlIndices]; \ + } \ + template PatchMesh \ + { \ + <D02C95CC-EDBA-4305-9B5D-1820D7704BBF> \ + DWORD nVertices; \ + array Vector vertices[nVertices]; \ + DWORD nPatches; \ + array Patch patches[nPatches]; \ + [ ... ] \ + } \ + template PatchMesh9 \ + { \ + <B9EC94E1-B9A6-4251-BA18-94893F02C0EA> \ + DWORD Type; \ + DWORD Degree; \ + DWORD Basis; \ + DWORD nVertices; \ + array Vector vertices[nVertices]; \ + DWORD nPatches; \ + array Patch patches[nPatches]; \ + [ ... ] \ + } template EffectFloats \ + { \ + <F1CFE2B3-0DE3-4e28-AFA1-155A750A282D> \ + DWORD nFloats; \ + array float Floats[nFloats]; \ + } \ + template EffectString \ + { \ + <D55B097E-BDB6-4c52-B03D-6051C89D0E42> \ + STRING Value; \ + } \ + template EffectDWord \ + { \ + <622C0ED0-956E-4da9-908A-2AF94F3CE716> \ + DWORD Value; \ + } template EffectParamFloats \ + { \ + <3014B9A0-62F5-478c-9B86-E4AC9F4E418B> \ + STRING ParamName; \ + DWORD nFloats; \ + array float Floats[nFloats]; \ + } template EffectParamString \ + { \ + <1DBC4C88-94C1-46ee-9076-2C28818C9481> \ + STRING ParamName; \ + STRING Value; \ + } \ + template EffectParamDWord \ + { \ + <E13963BC-AE51-4c5d-B00F-CFA3A9D97CE5> \ + STRING ParamName; \ + DWORD Value; \ + } \ + template EffectInstance \ + { \ + <E331F7E4-0559-4cc2-8E99-1CEC1657928F> \ + STRING EffectFilename; \ + [ ... ] \ + } template AnimTicksPerSecond \ + { \ + <9E415A43-7BA6-4a73-8743-B73D47E88476> \ + DWORD AnimTicksPerSecond; \ + } \ + template CompressedAnimationSet \ + { \ + <7F9B00B3-F125-4890-876E-1C42BF697C4D> \ + DWORD CompressedBlockSize; \ + FLOAT TicksPerSec; \ + DWORD PlaybackType; \ + DWORD BufferLength; \ + array DWORD CompressedData[BufferLength]; \ + } " + +#define XEXTENSIONS_TEMPLATES \ + "xof 0303txt 0032\ + template FVFData \ + { \ + <B6E70A0E-8EF9-4e83-94AD-ECC8B0C04897> \ + DWORD dwFVF; \ + DWORD nDWords; \ + array DWORD data[nDWords]; \ + } \ + template VertexElement \ + { \ + <F752461C-1E23-48f6-B9F8-8350850F336F> \ + DWORD Type; \ + DWORD Method; \ + DWORD Usage; \ + DWORD UsageIndex; \ + } \ + template DeclData \ + { \ + <BF22E553-292C-4781-9FEA-62BD554BDD93> \ + DWORD nElements; \ + array VertexElement Elements[nElements]; \ + DWORD nDWords; \ + array DWORD data[nDWords]; \ + } \ + template PMAttributeRange \ + { \ + <917E0427-C61E-4a14-9C64-AFE65F9E9844> \ + DWORD iFaceOffset; \ + DWORD nFacesMin; \ + DWORD nFacesMax; \ + DWORD iVertexOffset; \ + DWORD nVerticesMin; \ + DWORD nVerticesMax; \ + } \ + template PMVSplitRecord \ + { \ + <574CCC14-F0B3-4333-822D-93E8A8A08E4C> \ + DWORD iFaceCLW; \ + DWORD iVlrOffset; \ + DWORD iCode; \ + } \ + template PMInfo \ + { \ + <B6C3E656-EC8B-4b92-9B62-681659522947> \ + DWORD nAttributes; \ + array PMAttributeRange attributeRanges[nAttributes]; \ + DWORD nMaxValence; \ + DWORD nMinLogicalVertices; \ + DWORD nMaxLogicalVertices; \ + DWORD nVSplits; \ + array PMVSplitRecord splitRecords[nVSplits]; \ + DWORD nAttributeMispredicts; \ + array DWORD attributeMispredicts[nAttributeMispredicts]; \ + } " + #endif /* __WINE_D3DX9MESH_H */
1
0
0
0
Dmitry Timoshkov : winex11.drv: Use dialog window type again for owned popup windows.
by Alexandre Julliard
20 Apr '11
20 Apr '11
Module: wine Branch: master Commit: fd043c56443430ee993c7d7281845b9b726b48d6 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=fd043c56443430ee993c7d728…
Author: Dmitry Timoshkov <dmitry(a)codeweavers.com> Date: Wed Apr 20 01:16:25 2011 +0900 winex11.drv: Use dialog window type again for owned popup windows. --- dlls/winex11.drv/window.c | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c index 15ee1c2..acbafde 100644 --- a/dlls/winex11.drv/window.c +++ b/dlls/winex11.drv/window.c @@ -1173,7 +1173,13 @@ static void set_wm_hints( Display *display, struct x11drv_win_data *data ) /* size hints */ set_size_hints( display, data, style ); - window_type = x11drv_atom(_NET_WM_WINDOW_TYPE_NORMAL); + /* Only use dialog type for owned popups. Metacity allows making fullscreen + * only normal windows, and doesn't handle correctly TRANSIENT_FOR hint for + * dialogs owned by fullscreen windows. + */ + if ((style & WS_POPUP) && owner) window_type = x11drv_atom(_NET_WM_WINDOW_TYPE_DIALOG); + else window_type = x11drv_atom(_NET_WM_WINDOW_TYPE_NORMAL); + XChangeProperty(display, data->whole_window, x11drv_atom(_NET_WM_WINDOW_TYPE), XA_ATOM, 32, PropModeReplace, (unsigned char*)&window_type, 1);
1
0
0
0
Alexandre Julliard : winhttp: Use an accessor function instead of directly accessing the X509_STORE_CTX structure .
by Alexandre Julliard
20 Apr '11
20 Apr '11
Module: wine Branch: master Commit: 84f2960e5b2e9c0e7fce104dbb3060573e94de85 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=84f2960e5b2e9c0e7fce104db…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Apr 20 16:28:31 2011 +0200 winhttp: Use an accessor function instead of directly accessing the X509_STORE_CTX structure. --- dlls/winhttp/net.c | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/dlls/winhttp/net.c b/dlls/winhttp/net.c index 38fd2cb..02ba1af 100644 --- a/dlls/winhttp/net.c +++ b/dlls/winhttp/net.c @@ -134,6 +134,7 @@ MAKE_FUNCPTR( ERR_free_strings ); MAKE_FUNCPTR( ERR_get_error ); MAKE_FUNCPTR( ERR_error_string ); MAKE_FUNCPTR( X509_STORE_CTX_get_ex_data ); +MAKE_FUNCPTR( X509_STORE_CTX_get_chain ); MAKE_FUNCPTR( i2d_X509 ); MAKE_FUNCPTR( sk_value ); MAKE_FUNCPTR( sk_num ); @@ -370,13 +371,14 @@ static int netconn_secure_verify( int preverify_ok, X509_STORE_CTX *ctx ) X509 *cert; int i; PCCERT_CONTEXT endCert = NULL; + struct stack_st *chain = (struct stack_st *)pX509_STORE_CTX_get_chain( ctx ); ret = TRUE; - for (i = 0; ret && i < psk_num((struct stack_st *)ctx->chain); i++) + for (i = 0; ret && i < psk_num(chain); i++) { PCCERT_CONTEXT context; - cert = (X509 *)psk_value((struct stack_st *)ctx->chain, i); + cert = (X509 *)psk_value(chain, i); if ((context = X509_to_cert_context( cert ))) { if (i == 0) @@ -484,6 +486,7 @@ BOOL netconn_init( netconn_t *conn, BOOL secure ) LOAD_FUNCPTR( ERR_get_error ); LOAD_FUNCPTR( ERR_error_string ); LOAD_FUNCPTR( X509_STORE_CTX_get_ex_data ); + LOAD_FUNCPTR( X509_STORE_CTX_get_chain ); LOAD_FUNCPTR( i2d_X509 ); LOAD_FUNCPTR( sk_value ); LOAD_FUNCPTR( sk_num );
1
0
0
0
Alexandre Julliard : wininet: Use an accessor function instead of directly accessing the X509_STORE_CTX structure .
by Alexandre Julliard
20 Apr '11
20 Apr '11
Module: wine Branch: master Commit: 5b4be5d4c3fa3e43ea19f836e2831d6ba978ad3d URL:
http://source.winehq.org/git/wine.git/?a=commit;h=5b4be5d4c3fa3e43ea19f836e…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Apr 20 16:28:27 2011 +0200 wininet: Use an accessor function instead of directly accessing the X509_STORE_CTX structure. --- dlls/wininet/netconnection.c | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/dlls/wininet/netconnection.c b/dlls/wininet/netconnection.c index cfc4e7c..5a4be9a 100644 --- a/dlls/wininet/netconnection.c +++ b/dlls/wininet/netconnection.c @@ -162,6 +162,7 @@ MAKE_FUNCPTR(ERR_free_strings); MAKE_FUNCPTR(ERR_get_error); MAKE_FUNCPTR(ERR_error_string); MAKE_FUNCPTR(X509_STORE_CTX_get_ex_data); +MAKE_FUNCPTR(X509_STORE_CTX_get_chain); MAKE_FUNCPTR(i2d_X509); MAKE_FUNCPTR(sk_num); MAKE_FUNCPTR(sk_value); @@ -328,13 +329,14 @@ static int netconn_secure_verify(int preverify_ok, X509_STORE_CTX *ctx) X509 *cert; int i; PCCERT_CONTEXT endCert = NULL; + struct stack_st *chain = (struct stack_st *)pX509_STORE_CTX_get_chain( ctx ); ret = TRUE; - for (i = 0; ret && i < psk_num((struct stack_st *)ctx->chain); i++) + for (i = 0; ret && i < psk_num(chain); i++) { PCCERT_CONTEXT context; - cert = (X509 *)psk_value((struct stack_st *)ctx->chain, i); + cert = (X509 *)psk_value(chain, i); if ((context = X509_to_cert_context(cert))) { if (i == 0) @@ -452,6 +454,7 @@ DWORD NETCON_init(WININET_NETCONNECTION *connection, BOOL useSSL) DYNCRYPTO(ERR_get_error); DYNCRYPTO(ERR_error_string); DYNCRYPTO(X509_STORE_CTX_get_ex_data); + DYNCRYPTO(X509_STORE_CTX_get_chain); DYNCRYPTO(i2d_X509); DYNCRYPTO(sk_num); DYNCRYPTO(sk_value);
1
0
0
0
← Newer
1
...
24
25
26
27
28
29
30
...
94
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
Results per page:
10
25
50
100
200