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
July 2012
----- 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
2 participants
712 discussions
Start a n
N
ew thread
Henri Verbeet : d3d10: Add support for parsing sample masks to parse_fx10_object().
by Alexandre Julliard
18 Jul '12
18 Jul '12
Module: wine Branch: master Commit: 1cfba6cefbef6fe1d2cf1becac8cf183029c14cd URL:
http://source.winehq.org/git/wine.git/?a=commit;h=1cfba6cefbef6fe1d2cf1beca…
Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Wed Jul 18 15:52:32 2012 +0200 d3d10: Add support for parsing sample masks to parse_fx10_object(). --- dlls/d3d10/d3d10_private.h | 2 ++ dlls/d3d10/effect.c | 30 ++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 0 deletions(-) diff --git a/dlls/d3d10/d3d10_private.h b/dlls/d3d10/d3d10_private.h index be1a87d..46af4f4 100644 --- a/dlls/d3d10/d3d10_private.h +++ b/dlls/d3d10/d3d10_private.h @@ -53,6 +53,7 @@ enum d3d10_effect_object_type D3D10_EOT_PIXELSHADER = 0x7, D3D10_EOT_GEOMETRYSHADER = 0x8, D3D10_EOT_BLEND_FACTOR = 0xa, + D3D10_EOT_SAMPLE_MASK = 0xb, }; enum d3d10_effect_object_operation @@ -158,6 +159,7 @@ struct d3d10_effect_pass struct d3d10_effect_object *objects; struct d3d10_effect_variable *annotations; + UINT sample_mask; float blend_factor[4]; }; diff --git a/dlls/d3d10/effect.c b/dlls/d3d10/effect.c index 2c22520..fc2be61 100644 --- a/dlls/d3d10/effect.c +++ b/dlls/d3d10/effect.c @@ -917,6 +917,20 @@ static BOOL read_float_value(DWORD value, D3D_SHADER_VARIABLE_TYPE in_type, floa } } +static BOOL read_int32_value(DWORD value, D3D_SHADER_VARIABLE_TYPE in_type, INT *out_data, UINT idx) +{ + switch (in_type) + { + case D3D10_SVT_INT: + out_data[idx] = value; + return TRUE; + + default: + FIXME("Unhandled in_type %#x.\n", in_type); + return FALSE; + } +} + static BOOL read_value_list(const char *ptr, D3D_SHADER_VARIABLE_TYPE out_type, UINT out_size, void *out_data) { @@ -944,6 +958,11 @@ static BOOL read_value_list(const char *ptr, D3D_SHADER_VARIABLE_TYPE out_type, return FALSE; break; + case D3D10_SVT_UINT: + if (!read_int32_value(value, in_type, out_data, i)) + return FALSE; + break; + default: FIXME("Unhandled out_type %#x.\n", out_type); return FALSE; @@ -999,6 +1018,16 @@ static HRESULT parse_fx10_object(struct d3d10_effect_object *o, const char **ptr hr = S_OK; break; + case D3D10_EOT_SAMPLE_MASK: + if (!read_value_list(data + offset, D3D10_SVT_UINT, 1, &o->pass->sample_mask)) + { + FIXME("Failed to read sample mask.\n"); + return E_FAIL; + } + + hr = S_OK; + break; + case D3D10_EOT_BLEND_FACTOR: if (!read_value_list(data + offset, D3D10_SVT_FLOAT, 4, &o->pass->blend_factor[0])) { @@ -2547,6 +2576,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_effect_pass_GetDesc(ID3D10EffectPass *ifa } } + desc->SampleMask = This->sample_mask; memcpy(desc->BlendFactor, This->blend_factor, 4 * sizeof(float)); return S_OK;
1
0
0
0
Henri Verbeet : d3d10: Add support for parsing blend factors to parse_fx10_object().
by Alexandre Julliard
18 Jul '12
18 Jul '12
Module: wine Branch: master Commit: d53ad3acb0665248500edcc4d9302d5fd0830740 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=d53ad3acb0665248500edcc4d…
Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Wed Jul 18 15:52:31 2012 +0200 d3d10: Add support for parsing blend factors to parse_fx10_object(). --- dlls/d3d10/d3d10_private.h | 9 ++++-- dlls/d3d10/effect.c | 66 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+), 3 deletions(-) diff --git a/dlls/d3d10/d3d10_private.h b/dlls/d3d10/d3d10_private.h index 13eae62..be1a87d 100644 --- a/dlls/d3d10/d3d10_private.h +++ b/dlls/d3d10/d3d10_private.h @@ -49,9 +49,10 @@ void d3d10_rb_free(void *ptr) DECLSPEC_HIDDEN; enum d3d10_effect_object_type { - D3D10_EOT_VERTEXSHADER = 6, - D3D10_EOT_PIXELSHADER = 7, - D3D10_EOT_GEOMETRYSHADER = 8, + D3D10_EOT_VERTEXSHADER = 0x6, + D3D10_EOT_PIXELSHADER = 0x7, + D3D10_EOT_GEOMETRYSHADER = 0x8, + D3D10_EOT_BLEND_FACTOR = 0xa, }; enum d3d10_effect_object_operation @@ -156,6 +157,8 @@ struct d3d10_effect_pass DWORD annotation_count; struct d3d10_effect_object *objects; struct d3d10_effect_variable *annotations; + + float blend_factor[4]; }; /* ID3D10EffectTechnique */ diff --git a/dlls/d3d10/effect.c b/dlls/d3d10/effect.c index b5cf791..2c22520 100644 --- a/dlls/d3d10/effect.c +++ b/dlls/d3d10/effect.c @@ -865,6 +865,10 @@ static HRESULT parse_fx10_anonymous_shader(struct d3d10_effect *e, struct d3d10_ shader = "geometryshader"; t->basetype = D3D10_SVT_GEOMETRYSHADER; break; + + default: + FIXME("Unhandled object type %#x.\n", otype); + return E_FAIL; } if (!copy_name(shader, &t->name)) @@ -899,6 +903,56 @@ static HRESULT parse_fx10_anonymous_shader(struct d3d10_effect *e, struct d3d10_ return S_OK; } +static BOOL read_float_value(DWORD value, D3D_SHADER_VARIABLE_TYPE in_type, float *out_data, UINT idx) +{ + switch (in_type) + { + case D3D10_SVT_FLOAT: + out_data[idx] = *(float *)&value; + return TRUE; + + default: + FIXME("Unhandled in_type %#x.\n", in_type); + return FALSE; + } +} + +static BOOL read_value_list(const char *ptr, D3D_SHADER_VARIABLE_TYPE out_type, + UINT out_size, void *out_data) +{ + D3D_SHADER_VARIABLE_TYPE in_type; + DWORD t, value; + DWORD count, i; + + read_dword(&ptr, &count); + if (count != out_size) + return FALSE; + + TRACE("%u values:\n", count); + for (i = 0; i < count; ++i) + { + read_dword(&ptr, &t); + read_dword(&ptr, &value); + + in_type = d3d10_variable_type(t, FALSE); + TRACE("\t%s: %#x.\n", debug_d3d10_shader_variable_type(in_type), value); + + switch (out_type) + { + case D3D10_SVT_FLOAT: + if (!read_float_value(value, in_type, out_data, i)) + return FALSE; + break; + + default: + FIXME("Unhandled out_type %#x.\n", out_type); + return FALSE; + } + } + + return TRUE; +} + static HRESULT parse_fx10_object(struct d3d10_effect_object *o, const char **ptr, const char *data) { const char *data_ptr = NULL; @@ -945,6 +999,16 @@ static HRESULT parse_fx10_object(struct d3d10_effect_object *o, const char **ptr hr = S_OK; break; + case D3D10_EOT_BLEND_FACTOR: + if (!read_value_list(data + offset, D3D10_SVT_FLOAT, 4, &o->pass->blend_factor[0])) + { + FIXME("Failed to read blend factor.\n"); + return E_FAIL; + } + + hr = S_OK; + break; + default: FIXME("Unhandled object type %#x\n", o->type); hr = E_FAIL; @@ -2483,6 +2547,8 @@ static HRESULT STDMETHODCALLTYPE d3d10_effect_pass_GetDesc(ID3D10EffectPass *ifa } } + memcpy(desc->BlendFactor, This->blend_factor, 4 * sizeof(float)); + return S_OK; }
1
0
0
0
Henri Verbeet : secur32: Recognize some more TLS versions.
by Alexandre Julliard
18 Jul '12
18 Jul '12
Module: wine Branch: master Commit: 8abcfeddd859a0ef30f803d3b32afdecba61a44f URL:
http://source.winehq.org/git/wine.git/?a=commit;h=8abcfeddd859a0ef30f803d3b…
Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Wed Jul 18 15:52:30 2012 +0200 secur32: Recognize some more TLS versions. --- dlls/secur32/schannel_gnutls.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/dlls/secur32/schannel_gnutls.c b/dlls/secur32/schannel_gnutls.c index 96fb471..16ce0de 100644 --- a/dlls/secur32/schannel_gnutls.c +++ b/dlls/secur32/schannel_gnutls.c @@ -228,7 +228,9 @@ static DWORD schannel_get_protocol(gnutls_protocol_t proto) switch (proto) { case GNUTLS_SSL3: return SP_PROT_SSL3_CLIENT; - case GNUTLS_TLS1_0: return SP_PROT_TLS1_CLIENT; + case GNUTLS_TLS1_0: return SP_PROT_TLS1_0_CLIENT; + case GNUTLS_TLS1_1: return SP_PROT_TLS1_1_CLIENT; + case GNUTLS_TLS1_2: return SP_PROT_TLS1_2_CLIENT; default: FIXME("unknown protocol %d\n", proto); return 0;
1
0
0
0
Henri Verbeet : include: Add some more SP_PROT_* flags.
by Alexandre Julliard
18 Jul '12
18 Jul '12
Module: wine Branch: master Commit: dde180fee38b3f3c33bd535e57497c4fdfd50a73 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=dde180fee38b3f3c33bd535e5…
Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Wed Jul 18 15:52:29 2012 +0200 include: Add some more SP_PROT_* flags. --- include/schannel.h | 58 +++++++++++++++++++++++++++++++++++++++++---------- 1 files changed, 46 insertions(+), 12 deletions(-) diff --git a/include/schannel.h b/include/schannel.h index d522edf..2e1a9f6 100644 --- a/include/schannel.h +++ b/include/schannel.h @@ -104,19 +104,53 @@ static const WCHAR SCHANNEL_NAME_W[] = { 'S','c','h','a','n','n','e','l',0 }; #define SCHANNEL_ALERT 2 #define SCHANNEL_SESSION 3 -#define SP_PROT_TLS1_CLIENT 128 -#define SP_PROT_TLS1_SERVER 64 -#define SP_PROT_SSL3_CLIENT 32 -#define SP_PROT_SSL3_SERVER 16 -#define SP_PROT_SSL2_CLIENT 8 -#define SP_PROT_SSL2_SERVER 4 -#define SP_PROT_PCT1_CLIENT 2 -#define SP_PROT_PCT1_SERVER 1 - -#define SP_PROT_TLS1 (SP_PROT_TLS1_CLIENT | SP_PROT_TLS1_SERVER) -#define SP_PROT_SSL3 (SP_PROT_SSL3_CLIENT | SP_PROT_SSL3_SERVER) -#define SP_PROT_SSL2 (SP_PROT_SSL2_CLIENT | SP_PROT_SSL2_SERVER) -#define SP_PROT_PCT1 (SP_PROT_PCT1_CLIENT | SP_PROT_PCT1_SERVER) +#define SP_PROT_ALL 0xffffffff +#define SP_PROT_UNI_CLIENT 0x80000000 +#define SP_PROT_UNI_SERVER 0x40000000 +#define SP_PROT_TLS1_2_CLIENT 0x00000800 +#define SP_PROT_TLS1_2_SERVER 0x00000400 +#define SP_PROT_TLS1_1_CLIENT 0x00000200 +#define SP_PROT_TLS1_1_SERVER 0x00000100 +#define SP_PROT_TLS1_0_CLIENT SP_PROT_TLS1_CLIENT +#define SP_PROT_TLS1_0_SERVER SP_PROT_TLS1_SERVER +#define SP_PROT_TLS1_CLIENT 0x00000080 +#define SP_PROT_TLS1_SERVER 0x00000040 +#define SP_PROT_SSL3_CLIENT 0x00000020 +#define SP_PROT_SSL3_SERVER 0x00000010 +#define SP_PROT_SSL2_CLIENT 0x00000008 +#define SP_PROT_SSL2_SERVER 0x00000004 +#define SP_PROT_PCT1_CLIENT 0x00000002 +#define SP_PROT_PCT1_SERVER 0x00000001 +#define SP_PROT_NONE 0x00000000 + +#define SP_PROT_UNI (SP_PROT_UNI_CLIENT | SP_PROT_UNI_SERVER) +#define SP_PROT_TLS1_2 (SP_PROT_TLS1_2_CLIENT | SP_PROT_TLS1_2_SERVER) +#define SP_PROT_TLS1_1 (SP_PROT_TLS1_1_CLIENT | SP_PROT_TLS1_1_SERVER) +#define SP_PROT_TLS1_0 (SP_PROT_TLS1_0_CLIENT | SP_PROT_TLS1_0_SERVER) +#define SP_PROT_TLS1 (SP_PROT_TLS1_CLIENT | SP_PROT_TLS1_SERVER) +#define SP_PROT_SSL3 (SP_PROT_SSL3_CLIENT | SP_PROT_SSL3_SERVER) +#define SP_PROT_SSL2 (SP_PROT_SSL2_CLIENT | SP_PROT_SSL2_SERVER) +#define SP_PROT_PCT1 (SP_PROT_PCT1_CLIENT | SP_PROT_PCT1_SERVER) + +#define SP_PROT_SSL3TLS1_CLIENTS (SP_PROT_SSL3_CLIENT | SP_PROT_TLS1_CLIENT) +#define SP_PROT_SSL3TLS1_SERVERS (SP_PROT_SSL3_SERVER | SP_PROT_TLS1_SERVER) +#define SP_PROT_SSL3TLS1_X_CLIENTS (SP_PROT_SSL3_CLIENT | SP_PROT_TLS1_X_CLIENT) +#define SP_PROT_SSL3TLS1_X_SERVERS (SP_PROT_SSL3_SERVER | SP_PROT_TLS1_X_SERVER) +#define SP_PROT_TLS1_X_CLIENT (SP_PROT_TLS1_0_CLIENT | SP_PROT_TLS1_1_CLIENT | SP_PROT_TLS1_2_CLIENT) +#define SP_PROT_TLS1_X_SERVER (SP_PROT_TLS1_0_SERVER | SP_PROT_TLS1_1_SERVER | SP_PROT_TLS1_2_SERVER) +#define SP_PROT_TLS1_1PLUS_CLIENT (SP_PROT_TLS1_1_CLIENT | SP_PROT_TLS1_2_CLIENT) +#define SP_PROT_TLS1_1PLUS_SERVER (SP_PROT_TLS1_1_SERVER | SP_PROT_TLS1_2_SERVER) +#define SP_PROT_CLIENTS (SP_PROT_PCT1_CLIENT | SP_PROT_SSL2_CLIENT | SP_PROT_SSL3_CLIENT \ + | SP_PROT_TLS1_CLIENT | SP_PROT_UNI_CLIENT) +#define SP_PROT_SERVERS (SP_PROT_PCT1_SERVER | SP_PROT_SSL2_SERVER | SP_PROT_SSL3_SERVER \ + | SP_PROT_TLS1_SERVER | SP_PROT_UNI_SERVER) +#define SP_PROT_X_CLIENTS (SP_PROT_CLIENTS | SP_PROT_TLS1_X_CLIENT) +#define SP_PROT_X_SERVERS (SP_PROT_SERVERS | SP_PROT_TLS1_X_SERVER) + +#define SP_PROT_SSL3TLS1 (SP_PROT_SSL3 | SP_PROT_TLS1) +#define SP_PROT_SSL3TLS1_X (SP_PROT_SSL3 | SP_PROT_TLS1_X) +#define SP_PROT_TLS1_X (SP_PROT_TLS1_X_CLIENT | SP_PROT_TLS1_X_SERVER) +#define SP_PROT_TLS1_1PLUS (SP_PROT_TLS1_1PLUS_CLIENT | SP_PROT_TLS1_1PLUS_SERVER) #define SCH_CRED_NO_SYSTEM_MAPPER 2 #define SCH_CRED_NO_SERVERNAME_CHECK 4
1
0
0
0
Jacek Caban : vbscript: Use current locale in to_string.
by Alexandre Julliard
18 Jul '12
18 Jul '12
Module: wine Branch: master Commit: 6bef4da592c8be4857dc0fa179a3139835266d3c URL:
http://source.winehq.org/git/wine.git/?a=commit;h=6bef4da592c8be4857dc0fa17…
Author: Jacek Caban <jacek(a)codeweavers.com> Date: Wed Jul 18 13:37:07 2012 +0200 vbscript: Use current locale in to_string. --- dlls/vbscript/global.c | 28 +++++++++------------------- 1 files changed, 9 insertions(+), 19 deletions(-) diff --git a/dlls/vbscript/global.c b/dlls/vbscript/global.c index c3b650f..55c1acc 100644 --- a/dlls/vbscript/global.c +++ b/dlls/vbscript/global.c @@ -124,26 +124,16 @@ static HRESULT to_int(VARIANT *v, int *ret) static HRESULT to_string(VARIANT *v, BSTR *ret) { - static const WCHAR trueW[] = {'T','r','u','e',0}; - static const WCHAR falseW[] = {'F','a','l','s','e',0}; + VARIANT dst; + HRESULT hres; - switch(V_VT(v)) { - case VT_BOOL: - *ret = SysAllocString(V_BOOL(v) ? trueW : falseW); - return *ret ? S_OK : E_OUTOFMEMORY; - default: { - VARIANT dst; - HRESULT hres; - - V_VT(&dst) = VT_EMPTY; - hres = VariantChangeTypeEx(&dst, v, MAKELCID(MAKELANGID(LANG_ENGLISH,SUBLANG_ENGLISH_US),SORT_DEFAULT), 0, VT_BSTR); - if(FAILED(hres)) - return hres; + V_VT(&dst) = VT_EMPTY; + hres = VariantChangeType(&dst, v, VARIANT_LOCALBOOL, VT_BSTR); + if(FAILED(hres)) + return hres; - *ret = V_BSTR(&dst); - return S_OK; - } - } + *ret = V_BSTR(&dst); + return S_OK; } static IUnknown *create_object(script_ctx_t *ctx, const WCHAR *progid)
1
0
0
0
Jacek Caban : vbscript: Fixed locale-related test failures.
by Alexandre Julliard
18 Jul '12
18 Jul '12
Module: wine Branch: master Commit: 2be12eacaf616907a79354265bbb0f51d974e70a URL:
http://source.winehq.org/git/wine.git/?a=commit;h=2be12eacaf616907a79354265…
Author: Jacek Caban <jacek(a)codeweavers.com> Date: Wed Jul 18 13:36:58 2012 +0200 vbscript: Fixed locale-related test failures. --- dlls/vbscript/tests/api.vbs | 8 ++++---- dlls/vbscript/tests/run.c | 28 +++++++++++++++++++++------- 2 files changed, 25 insertions(+), 11 deletions(-) diff --git a/dlls/vbscript/tests/api.vbs b/dlls/vbscript/tests/api.vbs index 4914e7a..fd339dd 100644 --- a/dlls/vbscript/tests/api.vbs +++ b/dlls/vbscript/tests/api.vbs @@ -154,8 +154,8 @@ TestUCase "test", "TEST" TestUCase "123aBC?", "123ABC?" TestUCase "", "" TestUCase 1, "1" -TestUCase true, "TRUE" -TestUCase 0.123, "0.123" +if isEnglishLang then TestUCase true, "TRUE" +TestUCase 0.123, doubleAsString(0.123) TestUCase Empty, "" Call ok(getVT(UCase(Null)) = "VT_NULL", "getVT(UCase(Null)) = " & getVT(UCase(Null))) @@ -168,8 +168,8 @@ TestLCase "test", "test" TestLCase "123aBC?", "123abc?" TestLCase "", "" TestLCase 1, "1" -TestLCase true, "true" -TestLCase 0.123, "0.123" +if isEnglishLang then TestLCase true, "true" +TestLCase 0.123, doubleAsString(0.123) TestLCase Empty, "" Call ok(getVT(LCase(Null)) = "VT_NULL", "getVT(LCase(Null)) = " & getVT(LCase(Null))) diff --git a/dlls/vbscript/tests/run.c b/dlls/vbscript/tests/run.c index 91c45e6..8569d71 100644 --- a/dlls/vbscript/tests/run.c +++ b/dlls/vbscript/tests/run.c @@ -82,6 +82,7 @@ DEFINE_EXPECT(Next); #define DISPID_GLOBAL_PROPARGPUT 1011 #define DISPID_GLOBAL_PROPARGPUT1 1012 #define DISPID_GLOBAL_COLLOBJ 1013 +#define DISPID_GLOBAL_DOUBLEASSTRING 1014 #define DISPID_TESTOBJ_PROPGET 2000 #define DISPID_TESTOBJ_PROPPUT 2001 @@ -90,7 +91,7 @@ DEFINE_EXPECT(Next); static const WCHAR testW[] = {'t','e','s','t',0}; -static BOOL strict_dispid_check; +static BOOL strict_dispid_check, is_english; static const char *test_name = "(null)"; static int test_counter; @@ -815,6 +816,11 @@ static HRESULT WINAPI Global_GetDispID(IDispatchEx *iface, BSTR bstrName, DWORD *pid = DISPID_GLOBAL_COUNTER; return S_OK; } + if(!strcmp_wa(bstrName, "doubleAsString")) { + test_grfdex(grfdex, fdexNameCaseInsensitive); + *pid = DISPID_GLOBAL_DOUBLEASSTRING; + return S_OK; + } if(strict_dispid_check && strcmp_wa(bstrName, "x")) ok(0, "unexpected call %s %x\n", wine_dbgstr_w(bstrName), grfdex); @@ -905,12 +911,7 @@ static HRESULT WINAPI Global_InvokeEx(IDispatchEx *iface, DISPID id, LCID lcid, ok(pei != NULL, "pei == NULL\n"); V_VT(pvarRes) = VT_BOOL; - if(is_lang_english()) { - V_BOOL(pvarRes) = VARIANT_TRUE; - }else { - skip("Skipping some tests in non-English UIs\n"); - V_BOOL(pvarRes) = VARIANT_FALSE; - } + V_BOOL(pvarRes) = is_english ? VARIANT_TRUE : VARIANT_FALSE; return S_OK; case DISPID_GLOBAL_VBVAR: @@ -1069,6 +1070,15 @@ static HRESULT WINAPI Global_InvokeEx(IDispatchEx *iface, DISPID id, LCID lcid, V_VT(pvarRes) = VT_I2; V_I2(pvarRes) = test_counter++; return S_OK; + + case DISPID_GLOBAL_DOUBLEASSTRING: + ok(wFlags == (INVOKE_FUNC|INVOKE_PROPERTYGET), "wFlags = %x\n", wFlags); + ok(pdp->cArgs == 1, "cArgs = %d\n", pdp->cArgs); + ok(V_VT(pdp->rgvarg) == VT_R8, "V_VT(pdp->rgvarg) = %d\n", V_VT(pdp->rgvarg)); + ok(pvarRes != NULL, "pvarRes == NULL\n"); + + V_VT(pvarRes) = VT_BSTR; + return VarBstrFromR8(V_R8(pdp->rgvarg), 0, 0, &V_BSTR(pvarRes)); } ok(0, "unexpected call %d\n", id); @@ -1590,6 +1600,10 @@ START_TEST(run) int argc; char **argv; + is_english = is_lang_english(); + if(!is_english) + skip("Skipping some tests in non-English UIs\n"); + argc = winetest_get_mainargs(&argv); CoInitialize(NULL);
1
0
0
0
Alexandre Julliard : opengl32: Call all OpenGL functions through the current context table and don' t link against libGL.
by Alexandre Julliard
18 Jul '12
18 Jul '12
Module: wine Branch: master Commit: 93eff3e862abc5f60036dc48e7a0c92cc4ed5135 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=93eff3e862abc5f60036dc48e…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue Jul 17 00:06:25 2012 +0200 opengl32: Call all OpenGL functions through the current context table and don't link against libGL. --- dlls/opengl32/Makefile.in | 1 - dlls/opengl32/wgl.c | 39 +++++++++++++++++++++++---------------- 2 files changed, 23 insertions(+), 17 deletions(-) diff --git a/dlls/opengl32/Makefile.in b/dlls/opengl32/Makefile.in index 07de178..ff26507 100644 --- a/dlls/opengl32/Makefile.in +++ b/dlls/opengl32/Makefile.in @@ -2,7 +2,6 @@ MODULE = opengl32.dll IMPORTLIB = opengl32 IMPORTS = user32 gdi32 advapi32 EXTRAINCL = @X_CFLAGS@ -EXTRALIBS = @X_LIBS@ @X_PRE_LIBS@ @XLIB@ @X_EXTRA_LIBS@ @OPENGL_LIBS@ C_SRCS = \ opengl_ext.c \ diff --git a/dlls/opengl32/wgl.c b/dlls/opengl32/wgl.c index 7a1b1d2..54f2a43 100644 --- a/dlls/opengl32/wgl.c +++ b/dlls/opengl32/wgl.c @@ -617,6 +617,7 @@ static int compar(const void *elt_a, const void *elt_b) { /* Check if a GL extension is supported */ static BOOL is_extension_supported(const char* extension) { + const struct opengl_funcs *funcs = NtCurrentTeb()->glTable; const char *gl_ext_string = (const char*)wine_glGetString(GL_EXTENSIONS); TRACE("Checking for extension '%s'\n", extension); @@ -642,7 +643,7 @@ static BOOL is_extension_supported(const char* extension) * Check if we are searching for a core GL function */ if(strncmp(extension, "GL_VERSION_", 11) == 0) { - const GLubyte *gl_version = glGetString(GL_VERSION); + const GLubyte *gl_version = funcs->gl.p_glGetString(GL_VERSION); const char *version = extension + 11; /* Move past 'GL_VERSION_' */ if(!gl_version) { @@ -806,14 +807,15 @@ BOOL WINAPI wglSwapLayerBuffers(HDC hdc, */ static BOOL wglUseFontBitmaps_common( HDC hdc, DWORD first, DWORD count, DWORD listBase, BOOL unicode ) { + const struct opengl_funcs *funcs = NtCurrentTeb()->glTable; GLYPHMETRICS gm; unsigned int glyph, size = 0; void *bitmap = NULL, *gl_bitmap = NULL; int org_alignment; BOOL ret = TRUE; - glGetIntegerv(GL_UNPACK_ALIGNMENT, &org_alignment); - glPixelStorei(GL_UNPACK_ALIGNMENT, 4); + funcs->gl.p_glGetIntegerv(GL_UNPACK_ALIGNMENT, &org_alignment); + funcs->gl.p_glPixelStorei(GL_UNPACK_ALIGNMENT, 4); for (glyph = first; glyph < first + count; glyph++) { static const MAT2 identity = { {0,1},{0,0},{0,0},{0,1} }; @@ -883,20 +885,20 @@ static BOOL wglUseFontBitmaps_common( HDC hdc, DWORD first, DWORD count, DWORD l } } - glNewList(listBase++, GL_COMPILE); + funcs->gl.p_glNewList(listBase++, GL_COMPILE); if (needed_size != 0) { - glBitmap(gm.gmBlackBoxX, gm.gmBlackBoxY, + funcs->gl.p_glBitmap(gm.gmBlackBoxX, gm.gmBlackBoxY, 0 - gm.gmptGlyphOrigin.x, (int) gm.gmBlackBoxY - gm.gmptGlyphOrigin.y, gm.gmCellIncX, gm.gmCellIncY, gl_bitmap); } else { /* This is the case of 'empty' glyphs like the space character */ - glBitmap(0, 0, 0, 0, gm.gmCellIncX, gm.gmCellIncY, NULL); + funcs->gl.p_glBitmap(0, 0, 0, 0, gm.gmCellIncX, gm.gmCellIncY, NULL); } - glEndList(); + funcs->gl.p_glEndList(); } - glPixelStorei(GL_UNPACK_ALIGNMENT, org_alignment); + funcs->gl.p_glPixelStorei(GL_UNPACK_ALIGNMENT, org_alignment); HeapFree(GetProcessHeap(), 0, bitmap); HeapFree(GetProcessHeap(), 0, gl_bitmap); return ret; @@ -965,21 +967,24 @@ static void fixed_to_double(POINTFX fixed, UINT em_size, GLdouble vertex[3]) static void tess_callback_vertex(GLvoid *vertex) { + const struct opengl_funcs *funcs = NtCurrentTeb()->glTable; GLdouble *dbl = vertex; TRACE("%f, %f, %f\n", dbl[0], dbl[1], dbl[2]); - glVertex3dv(vertex); + funcs->gl.p_glVertex3dv(vertex); } static void tess_callback_begin(GLenum which) { + const struct opengl_funcs *funcs = NtCurrentTeb()->glTable; TRACE("%d\n", which); - glBegin(which); + funcs->gl.p_glBegin(which); } static void tess_callback_end(void) { + const struct opengl_funcs *funcs = NtCurrentTeb()->glTable; TRACE("\n"); - glEnd(); + funcs->gl.p_glEnd(); } /*********************************************************************** @@ -995,6 +1000,7 @@ static BOOL wglUseFontOutlines_common(HDC hdc, LPGLYPHMETRICSFLOAT lpgmf, BOOL unicode) { + const struct opengl_funcs *funcs = NtCurrentTeb()->glTable; UINT glyph; const MAT2 identity = {{0,1},{0,0},{0,0},{0,1}}; GLUtesselator *tess; @@ -1068,7 +1074,7 @@ static BOOL wglUseFontOutlines_common(HDC hdc, lpgmf++; } - glNewList(listBase++, GL_COMPILE); + funcs->gl.p_glNewList(listBase++, GL_COMPILE); pgluTessBeginPolygon(tess, NULL); pph = (TTPOLYGONHEADER*)buf; @@ -1128,8 +1134,8 @@ static BOOL wglUseFontOutlines_common(HDC hdc, error_in_list: pgluTessEndPolygon(tess); - glTranslated((GLdouble)gm.gmCellIncX / em_size, (GLdouble)gm.gmCellIncY / em_size, 0.0); - glEndList(); + funcs->gl.p_glTranslated((GLdouble)gm.gmCellIncX / em_size, (GLdouble)gm.gmCellIncY / em_size, 0.0); + funcs->gl.p_glEndList(); HeapFree(GetProcessHeap(), 0, buf); HeapFree(GetProcessHeap(), 0, vertices); } @@ -1248,6 +1254,7 @@ static char *build_gl_extensions( const char *extensions ) */ const GLubyte * WINAPI wine_glGetString( GLenum name ) { + const struct opengl_funcs *funcs = NtCurrentTeb()->glTable; static const GLubyte *gl_extensions; /* this is for buggy nvidia driver, crashing if called from a different @@ -1255,11 +1262,11 @@ const GLubyte * WINAPI wine_glGetString( GLenum name ) if(wglGetCurrentContext() == NULL) return NULL; - if (name != GL_EXTENSIONS) return glGetString(name); + if (name != GL_EXTENSIONS) return funcs->gl.p_glGetString(name); if (!gl_extensions) { - const char *orig_ext = (const char *)glGetString(GL_EXTENSIONS); + const char *orig_ext = (const char *)funcs->gl.p_glGetString(GL_EXTENSIONS); char *new_ext = build_gl_extensions( orig_ext ); if (InterlockedCompareExchangePointer( (void **)&gl_extensions, new_ext, NULL )) HeapFree( GetProcessHeap(), 0, new_ext );
1
0
0
0
Alexandre Julliard : opengl32: Redirect standard OpenGL functions through the TEB function table.
by Alexandre Julliard
18 Jul '12
18 Jul '12
Module: wine Branch: master Commit: df91c7bc833780169695221b564ee71b76ffe112 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=df91c7bc833780169695221b5…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Jul 16 23:56:55 2012 +0200 opengl32: Redirect standard OpenGL functions through the TEB function table. --- dlls/opengl32/make_opengl | 3 -- dlls/opengl32/opengl_norm.c | 27 ++++++++++++++++++++++ dlls/opengl32/wgl.c | 53 +------------------------------------------ dlls/winex11.drv/opengl.c | 42 +++++++++++++++------------------ 4 files changed, 47 insertions(+), 78 deletions(-) diff --git a/dlls/opengl32/make_opengl b/dlls/opengl32/make_opengl index 9773a4a..af309ec 100755 --- a/dlls/opengl32/make_opengl +++ b/dlls/opengl32/make_opengl @@ -235,9 +235,6 @@ sub GenerateThunk($$$) return "" if $func_ref->[0] eq "glDebugEntry"; return "" if $func_ref->[0] eq "glGetString"; - return "" if $func_ref->[0] eq "glGetIntegerv"; - return "" if $func_ref->[0] eq "glFinish"; - return "" if $func_ref->[0] eq "glFlush"; # If for opengl_norm.c, generate a nice heading otherwise Patrik won't be happy :-) # Patrik says: Well I would be even happier if a (OPENGL32.@) was added as well. Done. :-) diff --git a/dlls/opengl32/opengl_norm.c b/dlls/opengl32/opengl_norm.c index 66efce7..6d9cf65 100644 --- a/dlls/opengl32/opengl_norm.c +++ b/dlls/opengl32/opengl_norm.c @@ -812,6 +812,24 @@ void WINAPI wine_glFeedbackBuffer( GLsizei size, GLenum type, GLfloat* buffer ) } /*********************************************************************** + * glFinish (OPENGL32.@) + */ +void WINAPI wine_glFinish( void ) { + const struct opengl_funcs *funcs = NtCurrentTeb()->glTable; + TRACE("()\n"); + funcs->gl.p_glFinish( ); +} + +/*********************************************************************** + * glFlush (OPENGL32.@) + */ +void WINAPI wine_glFlush( void ) { + const struct opengl_funcs *funcs = NtCurrentTeb()->glTable; + TRACE("()\n"); + funcs->gl.p_glFlush( ); +} + +/*********************************************************************** * glFogf (OPENGL32.@) */ void WINAPI wine_glFogf( GLenum pname, GLfloat param ) { @@ -929,6 +947,15 @@ void WINAPI wine_glGetFloatv( GLenum pname, GLfloat* params ) { } /*********************************************************************** + * glGetIntegerv (OPENGL32.@) + */ +void WINAPI wine_glGetIntegerv( GLenum pname, GLint* params ) { + const struct opengl_funcs *funcs = NtCurrentTeb()->glTable; + TRACE("(%d, %p)\n", pname, params ); + funcs->gl.p_glGetIntegerv( pname, params ); +} + +/*********************************************************************** * glGetLightfv (OPENGL32.@) */ void WINAPI wine_glGetLightfv( GLenum light, GLenum pname, GLfloat* params ) { diff --git a/dlls/opengl32/wgl.c b/dlls/opengl32/wgl.c index 8acc173..7a1b1d2 100644 --- a/dlls/opengl32/wgl.c +++ b/dlls/opengl32/wgl.c @@ -47,14 +47,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(wgl); WINE_DECLARE_DEBUG_CHANNEL(opengl); -static struct -{ - /* internal WGL functions */ - void (WINAPI *p_wglFinish)(void); - void (WINAPI *p_wglFlush)(void); - void (WINAPI *p_wglGetIntegerv)(GLenum pname, GLint* params); -} wine_wgl; - #ifdef SONAME_LIBGLU #define MAKE_FUNCPTR(f) static typeof(f) * p##f; MAKE_FUNCPTR(gluNewTess) @@ -1205,24 +1197,6 @@ GLint WINAPI wine_glDebugEntry( GLint unknown1, GLint unknown2 ) return 0; } -/*********************************************************************** - * glFinish (OPENGL32.@) - */ -void WINAPI wine_glFinish( void ) -{ - TRACE("()\n"); - wine_wgl.p_wglFinish(); -} - -/*********************************************************************** - * glFlush (OPENGL32.@) - */ -void WINAPI wine_glFlush( void ) -{ - TRACE("()\n"); - wine_wgl.p_wglFlush(); -} - /* build the extension string by filtering out the disabled extensions */ static char *build_gl_extensions( const char *extensions ) { @@ -1294,14 +1268,6 @@ const GLubyte * WINAPI wine_glGetString( GLenum name ) } /*********************************************************************** - * glGetIntegerv (OPENGL32.@) - */ -void WINAPI wine_glGetIntegerv( GLenum pname, GLint* params ) -{ - wine_wgl.p_wglGetIntegerv(pname, params); -} - -/*********************************************************************** * wglSwapBuffers (OPENGL32.@) */ BOOL WINAPI DECLSPEC_HOTPATCH wglSwapBuffers( HDC hdc ) @@ -1309,23 +1275,6 @@ BOOL WINAPI DECLSPEC_HOTPATCH wglSwapBuffers( HDC hdc ) return GdiSwapBuffers(hdc); } -/* This is for brain-dead applications that use OpenGL functions before even - creating a rendering context.... */ -static BOOL process_attach(void) -{ - HDC hdc = GetDC( 0 ); - const struct wgl_funcs *funcs = get_dc_funcs( hdc ); - - ReleaseDC( 0, hdc ); - - /* internal WGL functions */ - wine_wgl.p_wglFinish = (void *)funcs->p_wglGetProcAddress("wglFinish"); - wine_wgl.p_wglFlush = (void *)funcs->p_wglGetProcAddress("wglFlush"); - wine_wgl.p_wglGetIntegerv = (void *)funcs->p_wglGetProcAddress("wglGetIntegerv"); - return TRUE; -} - - /**********************************************************************/ static void process_detach(void) @@ -1344,7 +1293,7 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved ) opengl32_handle = hinst; DisableThreadLibraryCalls(hinst); NtCurrentTeb()->glTable = &null_opengl_funcs; - return process_attach(); + break; case DLL_THREAD_ATTACH: NtCurrentTeb()->glTable = &null_opengl_funcs; break; diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c index aae4f4b..b36a29c 100644 --- a/dlls/winex11.drv/opengl.c +++ b/dlls/winex11.drv/opengl.c @@ -328,6 +328,10 @@ static void (*pglXFreeMemoryNV)(GLvoid *pointer); static void (*pglXCopySubBufferMESA)(Display *dpy, GLXDrawable drawable, int x, int y, int width, int height); /* Standard OpenGL */ +static void (*pglFinish)(void); +static void (*pglFlush)(void); +static void (*pglGetIntegerv)(GLenum,GLint*); + MAKE_FUNCPTR(glBindTexture) MAKE_FUNCPTR(glBitmap) MAKE_FUNCPTR(glCopyTexSubImage1D) @@ -336,16 +340,17 @@ MAKE_FUNCPTR(glCopyTexSubImage2D) MAKE_FUNCPTR(glDrawBuffer) MAKE_FUNCPTR(glEndList) MAKE_FUNCPTR(glGetError) -MAKE_FUNCPTR(glGetIntegerv) MAKE_FUNCPTR(glGetString) MAKE_FUNCPTR(glNewList) MAKE_FUNCPTR(glPixelStorei) MAKE_FUNCPTR(glReadPixels) MAKE_FUNCPTR(glTexImage2D) -MAKE_FUNCPTR(glFinish) -MAKE_FUNCPTR(glFlush) #undef MAKE_FUNCPTR +static void wglFinish(void); +static void wglFlush(void); +static void wglGetIntegerv(GLenum pname, GLint* params); + static int GLXErrorHandler(Display *dpy, XErrorEvent *event, void *arg) { /* In the future we might want to find the exact X or GLX error to report back to the app */ @@ -513,6 +518,14 @@ static BOOL has_opengl(void) } } + /* redirect some standard OpenGL functions */ +#define REDIRECT(func) \ + do { p##func = opengl_funcs.gl.p_##func; opengl_funcs.gl.p_##func = w##func; } while(0) + REDIRECT( glFinish ); + REDIRECT( glFlush ); + REDIRECT( glGetIntegerv ); +#undef REDIRECT + pglXGetProcAddressARB = wine_dlsym(opengl_handle, "glXGetProcAddressARB", NULL, 0); if (pglXGetProcAddressARB == NULL) { ERR("Could not find glXGetProcAddressARB in libGL, disabling OpenGL.\n"); @@ -563,14 +576,11 @@ static BOOL has_opengl(void) LOAD_FUNCPTR(glDrawBuffer); LOAD_FUNCPTR(glEndList); LOAD_FUNCPTR(glGetError); - LOAD_FUNCPTR(glGetIntegerv); LOAD_FUNCPTR(glGetString); LOAD_FUNCPTR(glNewList); LOAD_FUNCPTR(glPixelStorei); LOAD_FUNCPTR(glReadPixels); LOAD_FUNCPTR(glTexImage2D); - LOAD_FUNCPTR(glFinish); - LOAD_FUNCPTR(glFlush); #undef LOAD_FUNCPTR /* It doesn't matter if these fail. They'll only be used if the driver reports @@ -1791,7 +1801,7 @@ static HDC glxdrv_wglGetCurrentDC( struct wgl_context *ctx ) } /* WGL helper function which handles differences in glGetIntegerv from WGL and GLX */ -static void WINAPI X11DRV_wglGetIntegerv(GLenum pname, GLint* params) +static void wglGetIntegerv(GLenum pname, GLint* params) { wine_tsx11_lock(); switch(pname) @@ -1872,7 +1882,7 @@ static void flush_gl_drawable( struct glx_physdev *physdev ) } -static void WINAPI X11DRV_wglFinish(void) +static void wglFinish(void) { struct wgl_context *ctx = NtCurrentTeb()->glContext; enum x11drv_escape_codes code = X11DRV_FLUSH_GL_DRAWABLE; @@ -1888,7 +1898,7 @@ static void WINAPI X11DRV_wglFinish(void) } } -static void WINAPI X11DRV_wglFlush(void) +static void wglFlush(void) { struct wgl_context *ctx = NtCurrentTeb()->glContext; enum x11drv_escape_codes code = X11DRV_FLUSH_GL_DRAWABLE; @@ -3052,17 +3062,6 @@ static BOOL register_extension(const WineGLExtension * ext) return TRUE; } -static const WineGLExtension WGL_internal_functions = -{ - "", - { - { "wglFinish", X11DRV_wglFinish }, - { "wglFlush", X11DRV_wglFlush }, - { "wglGetIntegerv", X11DRV_wglGetIntegerv }, - } -}; - - static const WineGLExtension WGL_ARB_create_context_extension = { "WGL_ARB_create_context", @@ -3166,9 +3165,6 @@ static void X11DRV_WineGL_LoadExtensions(void) { WineGLInfo.wglExtensions[0] = 0; - /* Load Wine internal functions */ - register_extension(&WGL_internal_functions); - /* ARB Extensions */ if(glxRequireExtension("GLX_ARB_create_context"))
1
0
0
0
Alexandre Julliard : opengl32: Call OpenGL extension functions through the TEB function table.
by Alexandre Julliard
18 Jul '12
18 Jul '12
Module: wine Branch: master Commit: d66fa61e097aa801c381d7b00972abb667aee220 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=d66fa61e097aa801c381d7b00…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Jul 18 13:07:08 2012 +0200 opengl32: Call OpenGL extension functions through the TEB function table. --- dlls/opengl32/make_opengl | 42 +- dlls/opengl32/opengl_ext.c |10333 ++++++++++++++++++-------------------------- dlls/opengl32/opengl_ext.h | 1 - dlls/opengl32/wgl.c | 4 +- 4 files changed, 4147 insertions(+), 6233 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=d66fa61e097aa801c381d…
1
0
0
0
Alexandre Julliard : opengl32: Call standard OpenGL functions through the TEB function table.
by Alexandre Julliard
18 Jul '12
18 Jul '12
Module: wine Branch: master Commit: 5bfd5f3d7b5d2cea2145eace6f9c23c131f9fa98 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=5bfd5f3d7b5d2cea2145eace6…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Jul 16 23:39:31 2012 +0200 opengl32: Call standard OpenGL functions through the TEB function table. --- dlls/opengl32/make_opengl | 17 +- dlls/opengl32/opengl_norm.c | 996 ++++++++++++++++++++++++++++-------------- dlls/opengl32/tests/opengl.c | 4 +- 3 files changed, 675 insertions(+), 342 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=5bfd5f3d7b5d2cea2145e…
1
0
0
0
← Newer
1
...
29
30
31
32
33
34
35
...
72
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
Results per page:
10
25
50
100
200