Changeset 269765 in webkit


Ignore:
Timestamp:
Nov 13, 2020 12:22:29 AM (3 years ago)
Author:
magomez@igalia.com
Message:

[GTK][WPE] FilterInfo must cleared when reusing BitmapTextureGL
https://bugs.webkit.org/show_bug.cgi?id=218854

Reviewed by Carlos Garcia Campos.

Clear the FilterInfo attribute when reusing a BitmapTextureGL.

  • platform/graphics/texmap/BitmapTextureGL.cpp:

(WebCore::BitmapTextureGL::didReset):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r269764 r269765  
     12020-11-13  Miguel Gomez  <magomez@igalia.com>
     2
     3        [GTK][WPE] FilterInfo must cleared when reusing BitmapTextureGL
     4        https://bugs.webkit.org/show_bug.cgi?id=218854
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        Clear the FilterInfo attribute when reusing a BitmapTextureGL.
     9
     10        * platform/graphics/texmap/BitmapTextureGL.cpp:
     11        (WebCore::BitmapTextureGL::didReset):
     12
    1132020-11-12  Youenn Fablet  <youenn@apple.com>
    214
  • trunk/Source/WebCore/platform/graphics/texmap/BitmapTextureGL.cpp

    r269614 r269765  
    8181    m_shouldClear = true;
    8282    m_colorConvertFlags = TextureMapperGL::NoFlag;
     83    m_filterInfo = FilterInfo();
    8384    if (m_textureSize == contentSize())
    8485        return;
Note: See TracChangeset for help on using the changeset viewer.