Changeset 201275 in webkit


Ignore:
Timestamp:
May 23, 2016 5:26:34 AM (8 years ago)
Author:
commit-queue@webkit.org
Message:

[ThreadedCompositor] Ensure that the BitmapTexture used by CoordinatedBackingStoreTile matches the opacity of the painted surface
https://bugs.webkit.org/show_bug.cgi?id=157942

Patch by Miguel Gomez <magomez@igalia.com> on 2016-05-23
Reviewed by Žan Doberšek.

  • Shared/CoordinatedGraphics/CoordinatedBackingStore.cpp:

(WebKit::CoordinatedBackingStoreTile::swapBuffers):
Reset the BitmapTexture if it doesn't match the opacity required by the surface
that's being painted.

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r201267 r201275  
     12016-05-23  Miguel Gomez  <magomez@igalia.com>
     2
     3        [ThreadedCompositor] Ensure that the BitmapTexture used by CoordinatedBackingStoreTile matches the opacity of the painted surface
     4        https://bugs.webkit.org/show_bug.cgi?id=157942
     5
     6        Reviewed by Žan Doberšek.
     7
     8        * Shared/CoordinatedGraphics/CoordinatedBackingStore.cpp:
     9        (WebKit::CoordinatedBackingStoreTile::swapBuffers):
     10        Reset the BitmapTexture if it doesn't match the opacity required by the surface
     11        that's being painted.
     12
    1132016-05-22  Carlos Garcia Campos  <cgarcia@igalia.com>
    214
  • trunk/Source/WebKit2/Shared/CoordinatedGraphics/CoordinatedBackingStore.cpp

    r194103 r201275  
    4949        shouldReset = true;
    5050    }
     51
     52    if (m_surface->supportsAlpha() == texture->isOpaque())
     53        shouldReset = true;
    5154
    5255    ASSERT(textureMapper.maxTextureSize().width() >= m_tileRect.size().width());
Note: See TracChangeset for help on using the changeset viewer.