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 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
2 participants
838 discussions
Start a n
N
ew thread
Vincent Povirk : windowscodecs: Implement FlipRotator_CopyPalette.
by Alexandre Julliard
28 Jul '11
28 Jul '11
Module: wine Branch: master Commit: b031b619c7ff60a72be1b9e888332823dbb86fb9 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=b031b619c7ff60a72be1b9e88…
Author: Vincent Povirk <vincent(a)codeweavers.com> Date: Wed Jul 27 16:09:10 2011 -0500 windowscodecs: Implement FlipRotator_CopyPalette. --- dlls/windowscodecs/fliprotate.c | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/dlls/windowscodecs/fliprotate.c b/dlls/windowscodecs/fliprotate.c index 26062cd..ee2a9c2 100644 --- a/dlls/windowscodecs/fliprotate.c +++ b/dlls/windowscodecs/fliprotate.c @@ -143,8 +143,13 @@ static HRESULT WINAPI FlipRotator_GetResolution(IWICBitmapFlipRotator *iface, static HRESULT WINAPI FlipRotator_CopyPalette(IWICBitmapFlipRotator *iface, IWICPalette *pIPalette) { - FIXME("(%p,%p): stub\n", iface, pIPalette); - return E_NOTIMPL; + FlipRotator *This = impl_from_IWICBitmapFlipRotator(iface); + TRACE("(%p,%p)\n", iface, pIPalette); + + if (!This->source) + return WINCODEC_ERR_WRONGSTATE; + else + return IWICBitmapSource_CopyPalette(This->source, pIPalette); } static HRESULT WINAPI FlipRotator_CopyPixels(IWICBitmapFlipRotator *iface,
1
0
0
0
Vincent Povirk : windowscodecs: Implement FlipRotator_GetResolution.
by Alexandre Julliard
28 Jul '11
28 Jul '11
Module: wine Branch: master Commit: 6956f2be1bfb8871e4fd5e2957d7160e79b49db1 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=6956f2be1bfb8871e4fd5e295…
Author: Vincent Povirk <vincent(a)codeweavers.com> Date: Wed Jul 27 16:07:57 2011 -0500 windowscodecs: Implement FlipRotator_GetResolution. --- dlls/windowscodecs/fliprotate.c | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/dlls/windowscodecs/fliprotate.c b/dlls/windowscodecs/fliprotate.c index 2e834a2..26062cd 100644 --- a/dlls/windowscodecs/fliprotate.c +++ b/dlls/windowscodecs/fliprotate.c @@ -129,9 +129,15 @@ static HRESULT WINAPI FlipRotator_GetPixelFormat(IWICBitmapFlipRotator *iface, static HRESULT WINAPI FlipRotator_GetResolution(IWICBitmapFlipRotator *iface, double *pDpiX, double *pDpiY) { - FIXME("(%p,%p,%p): stub\n", iface, pDpiX, pDpiY); + FlipRotator *This = impl_from_IWICBitmapFlipRotator(iface); + TRACE("(%p,%p,%p)\n", iface, pDpiX, pDpiY); - return E_NOTIMPL; + if (!This->source) + return WINCODEC_ERR_WRONGSTATE; + else if (This->swap_xy) + return IWICBitmapSource_GetResolution(This->source, pDpiY, pDpiX); + else + return IWICBitmapSource_GetResolution(This->source, pDpiX, pDpiY); } static HRESULT WINAPI FlipRotator_CopyPalette(IWICBitmapFlipRotator *iface,
1
0
0
0
Vincent Povirk : windowscodecs: Implement GetDecoderInfo for all the decoders.
by Alexandre Julliard
28 Jul '11
28 Jul '11
Module: wine Branch: master Commit: e9fba4fc07c012433c1fd189e967fadb380dfb18 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=e9fba4fc07c012433c1fd189e…
Author: Vincent Povirk <vincent(a)codeweavers.com> Date: Wed Jul 27 16:03:09 2011 -0500 windowscodecs: Implement GetDecoderInfo for all the decoders. --- dlls/windowscodecs/icoformat.c | 16 ++++++++++++++-- dlls/windowscodecs/jpegformat.c | 16 ++++++++++++++-- dlls/windowscodecs/pngformat.c | 16 ++++++++++++++-- dlls/windowscodecs/tgaformat.c | 16 ++++++++++++++-- dlls/windowscodecs/tiffformat.c | 16 ++++++++++++++-- 5 files changed, 70 insertions(+), 10 deletions(-) diff --git a/dlls/windowscodecs/icoformat.c b/dlls/windowscodecs/icoformat.c index a49683a..fcb5d49 100644 --- a/dlls/windowscodecs/icoformat.c +++ b/dlls/windowscodecs/icoformat.c @@ -534,8 +534,20 @@ static HRESULT WINAPI IcoDecoder_GetContainerFormat(IWICBitmapDecoder *iface, static HRESULT WINAPI IcoDecoder_GetDecoderInfo(IWICBitmapDecoder *iface, IWICBitmapDecoderInfo **ppIDecoderInfo) { - FIXME("(%p,%p): stub\n", iface, ppIDecoderInfo); - return E_NOTIMPL; + HRESULT hr; + IWICComponentInfo *compinfo; + + TRACE("(%p,%p)\n", iface, ppIDecoderInfo); + + hr = CreateComponentInfo(&CLSID_WICIcoDecoder, &compinfo); + if (FAILED(hr)) return hr; + + hr = IWICComponentInfo_QueryInterface(compinfo, &IID_IWICBitmapDecoderInfo, + (void**)ppIDecoderInfo); + + IWICComponentInfo_Release(compinfo); + + return hr; } static HRESULT WINAPI IcoDecoder_CopyPalette(IWICBitmapDecoder *iface, diff --git a/dlls/windowscodecs/jpegformat.c b/dlls/windowscodecs/jpegformat.c index ab21fbf..083a352 100644 --- a/dlls/windowscodecs/jpegformat.c +++ b/dlls/windowscodecs/jpegformat.c @@ -362,8 +362,20 @@ static HRESULT WINAPI JpegDecoder_GetContainerFormat(IWICBitmapDecoder *iface, static HRESULT WINAPI JpegDecoder_GetDecoderInfo(IWICBitmapDecoder *iface, IWICBitmapDecoderInfo **ppIDecoderInfo) { - FIXME("(%p,%p): stub\n", iface, ppIDecoderInfo); - return E_NOTIMPL; + HRESULT hr; + IWICComponentInfo *compinfo; + + TRACE("(%p,%p)\n", iface, ppIDecoderInfo); + + hr = CreateComponentInfo(&CLSID_WICJpegDecoder, &compinfo); + if (FAILED(hr)) return hr; + + hr = IWICComponentInfo_QueryInterface(compinfo, &IID_IWICBitmapDecoderInfo, + (void**)ppIDecoderInfo); + + IWICComponentInfo_Release(compinfo); + + return hr; } static HRESULT WINAPI JpegDecoder_CopyPalette(IWICBitmapDecoder *iface, diff --git a/dlls/windowscodecs/pngformat.c b/dlls/windowscodecs/pngformat.c index f1c0e3c..f5f6fdb 100644 --- a/dlls/windowscodecs/pngformat.c +++ b/dlls/windowscodecs/pngformat.c @@ -475,8 +475,20 @@ static HRESULT WINAPI PngDecoder_GetContainerFormat(IWICBitmapDecoder *iface, static HRESULT WINAPI PngDecoder_GetDecoderInfo(IWICBitmapDecoder *iface, IWICBitmapDecoderInfo **ppIDecoderInfo) { - FIXME("(%p,%p): stub\n", iface, ppIDecoderInfo); - return E_NOTIMPL; + HRESULT hr; + IWICComponentInfo *compinfo; + + TRACE("(%p,%p)\n", iface, ppIDecoderInfo); + + hr = CreateComponentInfo(&CLSID_WICPngDecoder, &compinfo); + if (FAILED(hr)) return hr; + + hr = IWICComponentInfo_QueryInterface(compinfo, &IID_IWICBitmapDecoderInfo, + (void**)ppIDecoderInfo); + + IWICComponentInfo_Release(compinfo); + + return hr; } static HRESULT WINAPI PngDecoder_CopyPalette(IWICBitmapDecoder *iface, diff --git a/dlls/windowscodecs/tgaformat.c b/dlls/windowscodecs/tgaformat.c index 8db1cf1..0a12056 100644 --- a/dlls/windowscodecs/tgaformat.c +++ b/dlls/windowscodecs/tgaformat.c @@ -351,8 +351,20 @@ static HRESULT WINAPI TgaDecoder_GetContainerFormat(IWICBitmapDecoder *iface, static HRESULT WINAPI TgaDecoder_GetDecoderInfo(IWICBitmapDecoder *iface, IWICBitmapDecoderInfo **ppIDecoderInfo) { - FIXME("(%p,%p): stub\n", iface, ppIDecoderInfo); - return E_NOTIMPL; + HRESULT hr; + IWICComponentInfo *compinfo; + + TRACE("(%p,%p)\n", iface, ppIDecoderInfo); + + hr = CreateComponentInfo(&CLSID_WineTgaDecoder, &compinfo); + if (FAILED(hr)) return hr; + + hr = IWICComponentInfo_QueryInterface(compinfo, &IID_IWICBitmapDecoderInfo, + (void**)ppIDecoderInfo); + + IWICComponentInfo_Release(compinfo); + + return hr; } static HRESULT WINAPI TgaDecoder_CopyPalette(IWICBitmapDecoder *iface, diff --git a/dlls/windowscodecs/tiffformat.c b/dlls/windowscodecs/tiffformat.c index fb4f65c..6422b62 100644 --- a/dlls/windowscodecs/tiffformat.c +++ b/dlls/windowscodecs/tiffformat.c @@ -590,8 +590,20 @@ static HRESULT WINAPI TiffDecoder_GetContainerFormat(IWICBitmapDecoder *iface, static HRESULT WINAPI TiffDecoder_GetDecoderInfo(IWICBitmapDecoder *iface, IWICBitmapDecoderInfo **ppIDecoderInfo) { - FIXME("(%p,%p): stub\n", iface, ppIDecoderInfo); - return E_NOTIMPL; + HRESULT hr; + IWICComponentInfo *compinfo; + + TRACE("(%p,%p)\n", iface, ppIDecoderInfo); + + hr = CreateComponentInfo(&CLSID_WICTiffDecoder, &compinfo); + if (FAILED(hr)) return hr; + + hr = IWICComponentInfo_QueryInterface(compinfo, &IID_IWICBitmapDecoderInfo, + (void**)ppIDecoderInfo); + + IWICComponentInfo_Release(compinfo); + + return hr; } static HRESULT WINAPI TiffDecoder_CopyPalette(IWICBitmapDecoder *iface,
1
0
0
0
Vincent Povirk : windowscodecs: Implement GetContainerFormat for more components.
by Alexandre Julliard
28 Jul '11
28 Jul '11
Module: wine Branch: master Commit: 5a45076d1dfc2b0a437226854b60096bf0f9e56f URL:
http://source.winehq.org/git/wine.git/?a=commit;h=5a45076d1dfc2b0a437226854…
Author: Vincent Povirk <vincent(a)codeweavers.com> Date: Wed Jul 27 15:54:07 2011 -0500 windowscodecs: Implement GetContainerFormat for more components. --- dlls/windowscodecs/bmpencode.c | 4 ++-- dlls/windowscodecs/icoformat.c | 4 ++-- dlls/windowscodecs/tiffformat.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dlls/windowscodecs/bmpencode.c b/dlls/windowscodecs/bmpencode.c index 69148af..d9931d6 100644 --- a/dlls/windowscodecs/bmpencode.c +++ b/dlls/windowscodecs/bmpencode.c @@ -489,8 +489,8 @@ static HRESULT WINAPI BmpEncoder_Initialize(IWICBitmapEncoder *iface, static HRESULT WINAPI BmpEncoder_GetContainerFormat(IWICBitmapEncoder *iface, GUID *pguidContainerFormat) { - FIXME("(%p,%s): stub\n", iface, debugstr_guid(pguidContainerFormat)); - return E_NOTIMPL; + memcpy(pguidContainerFormat, &GUID_ContainerFormatBmp, sizeof(GUID)); + return S_OK; } static HRESULT WINAPI BmpEncoder_GetEncoderInfo(IWICBitmapEncoder *iface, diff --git a/dlls/windowscodecs/icoformat.c b/dlls/windowscodecs/icoformat.c index b4abac5..a49683a 100644 --- a/dlls/windowscodecs/icoformat.c +++ b/dlls/windowscodecs/icoformat.c @@ -527,8 +527,8 @@ end: static HRESULT WINAPI IcoDecoder_GetContainerFormat(IWICBitmapDecoder *iface, GUID *pguidContainerFormat) { - FIXME("(%p,%p): stub\n", iface, pguidContainerFormat); - return E_NOTIMPL; + memcpy(pguidContainerFormat, &GUID_ContainerFormatIco, sizeof(GUID)); + return S_OK; } static HRESULT WINAPI IcoDecoder_GetDecoderInfo(IWICBitmapDecoder *iface, diff --git a/dlls/windowscodecs/tiffformat.c b/dlls/windowscodecs/tiffformat.c index 65de4ff..fb4f65c 100644 --- a/dlls/windowscodecs/tiffformat.c +++ b/dlls/windowscodecs/tiffformat.c @@ -1650,8 +1650,8 @@ exit: static HRESULT WINAPI TiffEncoder_GetContainerFormat(IWICBitmapEncoder *iface, GUID *pguidContainerFormat) { - FIXME("(%p,%s): stub\n", iface, debugstr_guid(pguidContainerFormat)); - return E_NOTIMPL; + memcpy(pguidContainerFormat, &GUID_ContainerFormatTiff, sizeof(GUID)); + return S_OK; } static HRESULT WINAPI TiffEncoder_GetEncoderInfo(IWICBitmapEncoder *iface,
1
0
0
0
Stefan Dösinger : wined3d: Restore the call to context_validate_onscreen_formats.
by Alexandre Julliard
28 Jul '11
28 Jul '11
Module: wine Branch: master Commit: 41f9ca2abfe7ca253d25e7184113da56c67ee815 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=41f9ca2abfe7ca253d25e7184…
Author: Stefan Dösinger <stefan(a)codeweavers.com> Date: Wed Jul 27 23:22:49 2011 +0200 wined3d: Restore the call to context_validate_onscreen_formats. This got lost accidentally in d321959dd7ba21b555f27d32937c911fa61117a6. --- dlls/wined3d/context.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c index b83dab5..fbfb843 100644 --- a/dlls/wined3d/context.c +++ b/dlls/wined3d/context.c @@ -2247,6 +2247,11 @@ BOOL context_apply_draw_state(struct wined3d_context *context, struct wined3d_de fb->render_targets, fb->depth_stencil)) return FALSE; + if (wined3d_settings.offscreen_rendering_mode == ORM_FBO && isStateDirty(context, STATE_FRAMEBUFFER)) + { + context_validate_onscreen_formats(context, fb->depth_stencil); + } + /* Preload resources before FBO setup. Texture preload in particular may * result in changes to the current FBO, due to using e.g. FBO blits for * updating a resource location. */
1
0
0
0
Michael Stefaniuc : dpnet: COM cleanup for the IDirectPlay8Address iface.
by Alexandre Julliard
28 Jul '11
28 Jul '11
Module: wine Branch: master Commit: 2ddf1c38c70994a697229675115b16b1193d9c3c URL:
http://source.winehq.org/git/wine.git/?a=commit;h=2ddf1c38c70994a6972296751…
Author: Michael Stefaniuc <mstefani(a)redhat.de> Date: Wed Jul 27 23:32:47 2011 +0200 dpnet: COM cleanup for the IDirectPlay8Address iface. --- dlls/dpnet/address.c | 149 ++++++++++++++++++++++++++++---------------- dlls/dpnet/dpnet_private.h | 5 +- 2 files changed, 98 insertions(+), 56 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=2ddf1c38c70994a697229…
1
0
0
0
Henri Verbeet : wined3d: Only invalidate state for the current context in wined3d_buffer_map().
by Alexandre Julliard
28 Jul '11
28 Jul '11
Module: wine Branch: master Commit: 487cc9729b19fcb14b1cd753801e505f3d713182 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=487cc9729b19fcb14b1cd7538…
Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Wed Jul 27 21:13:37 2011 +0200 wined3d: Only invalidate state for the current context in wined3d_buffer_map(). --- dlls/wined3d/buffer.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dlls/wined3d/buffer.c b/dlls/wined3d/buffer.c index 807579e..9b20d87 100644 --- a/dlls/wined3d/buffer.c +++ b/dlls/wined3d/buffer.c @@ -1016,12 +1016,13 @@ HRESULT CDECL wined3d_buffer_map(struct wined3d_buffer *buffer, UINT offset, UIN struct wined3d_context *context; const struct wined3d_gl_info *gl_info; - if (buffer->buffer_type_hint == GL_ELEMENT_ARRAY_BUFFER_ARB) - device_invalidate_state(device, STATE_INDEXBUFFER); - context = context_acquire(device, NULL); gl_info = context->gl_info; + ENTER_GL(); + + if (buffer->buffer_type_hint == GL_ELEMENT_ARRAY_BUFFER_ARB) + context_invalidate_state(context, STATE_INDEXBUFFER); GL_EXTCALL(glBindBufferARB(buffer->buffer_type_hint, buffer->buffer_object)); if (gl_info->supported[ARB_MAP_BUFFER_RANGE])
1
0
0
0
Henri Verbeet : wined3d: Only invalidate state for the current context in wined3d_device_set_cursor_properties ().
by Alexandre Julliard
28 Jul '11
28 Jul '11
Module: wine Branch: master Commit: cc2dc5b0c8dcaa17e6900fa7a6e4ebcac821d6c0 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=cc2dc5b0c8dcaa17e6900fa7a…
Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Wed Jul 27 21:13:36 2011 +0200 wined3d: Only invalidate state for the current context in wined3d_device_set_cursor_properties(). --- dlls/wined3d/device.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index e3e6848..16327e4 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -5263,7 +5263,7 @@ HRESULT CDECL wined3d_device_set_cursor_properties(struct wined3d_device *device checkGLcall("glActiveTextureARB"); sampler = device->rev_tex_unit_map[0]; if (sampler != WINED3D_UNMAPPED_STAGE) - device_invalidate_state(device, STATE_SAMPLER(sampler)); + context_invalidate_state(context, STATE_SAMPLER(sampler)); /* Create a new cursor texture */ glGenTextures(1, &device->cursorTexture); checkGLcall("glGenTextures");
1
0
0
0
Henri Verbeet : wined3d: Only invalidate state for the current context in device_clear_render_targets ().
by Alexandre Julliard
28 Jul '11
28 Jul '11
Module: wine Branch: master Commit: a1ba5b5131b7b13ff718bd3b2677b7e2e727f232 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=a1ba5b5131b7b13ff718bd3b2…
Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Wed Jul 27 21:13:35 2011 +0200 wined3d: Only invalidate state for the current context in device_clear_render_targets(). --- dlls/wined3d/device.c | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index f1901bf..e3e6848 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -707,10 +707,10 @@ HRESULT device_clear_render_targets(struct wined3d_device *device, UINT rt_count if (context->gl_info->supported[EXT_STENCIL_TWO_SIDE]) { glDisable(GL_STENCIL_TEST_TWO_SIDE_EXT); - device_invalidate_state(device, STATE_RENDER(WINED3DRS_TWOSIDEDSTENCILMODE)); + context_invalidate_state(context, STATE_RENDER(WINED3DRS_TWOSIDEDSTENCILMODE)); } glStencilMask(~0U); - device_invalidate_state(device, STATE_RENDER(WINED3DRS_STENCILWRITEMASK)); + context_invalidate_state(context, STATE_RENDER(WINED3DRS_STENCILWRITEMASK)); glClearStencil(stencil); checkGLcall("glClearStencil"); clear_mask = clear_mask | GL_STENCIL_BUFFER_BIT; @@ -730,7 +730,7 @@ HRESULT device_clear_render_targets(struct wined3d_device *device, UINT rt_count surface_modify_location(fb->depth_stencil, SFLAG_INDRAWABLE, TRUE); glDepthMask(GL_TRUE); - device_invalidate_state(device, STATE_RENDER(WINED3DRS_ZWRITEENABLE)); + context_invalidate_state(context, STATE_RENDER(WINED3DRS_ZWRITEENABLE)); glClearDepth(depth); checkGLcall("glClearDepth"); clear_mask = clear_mask | GL_DEPTH_BUFFER_BIT; @@ -744,10 +744,10 @@ HRESULT device_clear_render_targets(struct wined3d_device *device, UINT rt_count } glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE); - device_invalidate_state(device, STATE_RENDER(WINED3DRS_COLORWRITEENABLE)); - device_invalidate_state(device, STATE_RENDER(WINED3DRS_COLORWRITEENABLE1)); - device_invalidate_state(device, STATE_RENDER(WINED3DRS_COLORWRITEENABLE2)); - device_invalidate_state(device, STATE_RENDER(WINED3DRS_COLORWRITEENABLE3)); + context_invalidate_state(context, STATE_RENDER(WINED3DRS_COLORWRITEENABLE)); + context_invalidate_state(context, STATE_RENDER(WINED3DRS_COLORWRITEENABLE1)); + context_invalidate_state(context, STATE_RENDER(WINED3DRS_COLORWRITEENABLE2)); + context_invalidate_state(context, STATE_RENDER(WINED3DRS_COLORWRITEENABLE3)); glClearColor(color->r, color->g, color->b, color->a); checkGLcall("glClearColor"); clear_mask = clear_mask | GL_COLOR_BUFFER_BIT;
1
0
0
0
Henri Verbeet : wined3d: Only invalidate state for the current context in tesselate_rectpatch().
by Alexandre Julliard
28 Jul '11
28 Jul '11
Module: wine Branch: master Commit: 7e3f85cab6c2a5111f9f96ca4d9f0f0cafffbd2e URL:
http://source.winehq.org/git/wine.git/?a=commit;h=7e3f85cab6c2a5111f9f96ca4…
Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Wed Jul 27 21:13:34 2011 +0200 wined3d: Only invalidate state for the current context in tesselate_rectpatch(). --- dlls/wined3d/drawprim.c | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dlls/wined3d/drawprim.c b/dlls/wined3d/drawprim.c index bbcfc59..6133182 100644 --- a/dlls/wined3d/drawprim.c +++ b/dlls/wined3d/drawprim.c @@ -875,7 +875,7 @@ HRESULT tesselate_rectpatch(struct wined3d_device *This, struct WineD3DRectPatch */ glPolygonMode(GL_FRONT_AND_BACK, GL_FILL); checkGLcall("glPolygonMode(GL_FRONT_AND_BACK, GL_FILL)"); - device_invalidate_state(This, STATE_RENDER(WINED3DRS_FILLMODE)); + context_invalidate_state(context, STATE_RENDER(WINED3DRS_FILLMODE)); if (patch->has_normals) { static const GLfloat black[] = {0.0f, 0.0f, 0.0f, 0.0f}; @@ -887,30 +887,30 @@ HRESULT tesselate_rectpatch(struct wined3d_device *This, struct WineD3DRectPatch checkGLcall("glEnable(GL_LIGHTING)"); glLightModelfv(GL_LIGHT_MODEL_AMBIENT, black); checkGLcall("glLightModel for MODEL_AMBIENT"); - device_invalidate_state(This, STATE_RENDER(WINED3DRS_AMBIENT)); + context_invalidate_state(context, STATE_RENDER(WINED3DRS_AMBIENT)); for (i = 3; i < context->gl_info->limits.lights; ++i) { glDisable(GL_LIGHT0 + i); checkGLcall("glDisable(GL_LIGHT0 + i)"); - device_invalidate_state(This, STATE_ACTIVELIGHT(i)); + context_invalidate_state(context, STATE_ACTIVELIGHT(i)); } - device_invalidate_state(This, STATE_ACTIVELIGHT(0)); + context_invalidate_state(context, STATE_ACTIVELIGHT(0)); glLightfv(GL_LIGHT0, GL_DIFFUSE, red); glLightfv(GL_LIGHT0, GL_SPECULAR, black); glLightfv(GL_LIGHT0, GL_AMBIENT, black); glLightfv(GL_LIGHT0, GL_POSITION, red); glEnable(GL_LIGHT0); checkGLcall("Setting up light 1"); - device_invalidate_state(This, STATE_ACTIVELIGHT(1)); + context_invalidate_state(context, STATE_ACTIVELIGHT(1)); glLightfv(GL_LIGHT1, GL_DIFFUSE, green); glLightfv(GL_LIGHT1, GL_SPECULAR, black); glLightfv(GL_LIGHT1, GL_AMBIENT, black); glLightfv(GL_LIGHT1, GL_POSITION, green); glEnable(GL_LIGHT1); checkGLcall("Setting up light 2"); - device_invalidate_state(This, STATE_ACTIVELIGHT(2)); + context_invalidate_state(context, STATE_ACTIVELIGHT(2)); glLightfv(GL_LIGHT2, GL_DIFFUSE, blue); glLightfv(GL_LIGHT2, GL_SPECULAR, black); glLightfv(GL_LIGHT2, GL_AMBIENT, black); @@ -918,8 +918,8 @@ HRESULT tesselate_rectpatch(struct wined3d_device *This, struct WineD3DRectPatch glEnable(GL_LIGHT2); checkGLcall("Setting up light 3"); - device_invalidate_state(This, STATE_MATERIAL); - device_invalidate_state(This, STATE_RENDER(WINED3DRS_COLORVERTEX)); + context_invalidate_state(context, STATE_MATERIAL); + context_invalidate_state(context, STATE_RENDER(WINED3DRS_COLORVERTEX)); glDisable(GL_COLOR_MATERIAL); glMaterialfv(GL_FRONT_AND_BACK, GL_EMISSION, black); glMaterialfv(GL_FRONT_AND_BACK, GL_SPECULAR, black);
1
0
0
0
← Newer
1
...
6
7
8
9
10
11
12
...
84
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
Results per page:
10
25
50
100
200