Changeset 220699 in webkit


Ignore:
Timestamp:
Aug 14, 2017 9:37:01 AM (7 years ago)
Author:
zandobersek@gmail.com
Message:

REGRESSION(r220517-r220521) [GTK] Various compositing tests fail
https://bugs.webkit.org/show_bug.cgi?id=175478

Reviewed by Sergio Villar Senin.

Source/WebCore:

Fix a regression introduced in r220519. Move a framebuffer binding in TextureMapperGL
away from GraphicsContext3D and onto the OpenGL API to work around the framebuffer
binding state that's kept in the GraphicsContext3D class. This mismatch in how the
framebuffer was bound was causing a couple of test failures in compositing tests.

No new tests -- regressed tests have their failure expectations removed.

  • platform/graphics/texmap/TextureMapperGL.cpp:

(WebCore::TextureMapperGL::bindDefaultSurface): Don't use GraphicsContext3D for the
glBindFramebuffer() call. This would be done in subsequent patches that would move
TextureMapperGL off the GraphicsContext3D usage, but this specific use case clashes
with the framebuffer binding that's done in BitmapTextureGL and was causing test
failures.

LayoutTests:

  • platform/gtk/TestExpectations: Remove failure and flakiness expectations.
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r220681 r220699  
     12017-08-14  Zan Dobersek  <zdobersek@igalia.com>
     2
     3        REGRESSION(r220517-r220521) [GTK] Various compositing tests fail
     4        https://bugs.webkit.org/show_bug.cgi?id=175478
     5
     6        Reviewed by Sergio Villar Senin.
     7
     8        * platform/gtk/TestExpectations: Remove failure and flakiness expectations.
     9
    1102017-08-14  Ms2ger  <Ms2ger@igalia.com>
    211
  • trunk/LayoutTests/platform/gtk/TestExpectations

    r220681 r220699  
    18971897webkit.org/b/174354 imported/w3c/IndexedDB-private-browsing/idbfactory_open.html [ Crash Pass ]
    18981898
    1899 webkit.org/b/175478 compositing/images/positioned-image-content-rect.html [ Pass ImageOnlyFailure ]
    1900 webkit.org/b/175478 compositing/images/truncated-direct-png-image.html [ Pass ImageOnlyFailure ]
    1901 
    19021899#////////////////////////////////////////////////////////////////////////////////////////
    19031900# End of Flaky tests
     
    34153412webkit.org/b/175422 imported/w3c/web-platform-tests/beacon/headers/header-content-type.html [ Failure ]
    34163413
    3417 webkit.org/b/175478 compositing/contents-opaque/opaque-with-clip-path.html [ ImageOnlyFailure ]
    3418 webkit.org/b/175478 compositing/masks/compositing-clip-path-and-mask.html [ ImageOnlyFailure ]
    3419 webkit.org/b/175478 compositing/masks/compositing-clip-path.html [ ImageOnlyFailure ]
    3420 webkit.org/b/175478 compositing/masks/compositing-clip-path-origin.html [ ImageOnlyFailure ]
    3421 webkit.org/b/175478 compositing/masks/reference-clip-path-on-composited.html [ ImageOnlyFailure ]
    3422 webkit.org/b/175478 css3/filters/animation-from-initial-values-with-color-matrix.html [ ImageOnlyFailure ]
    3423 
    34243414#////////////////////////////////////////////////////////////////////////////////////////
    34253415# End of non-crashing, non-flaky tests failing
  • trunk/Source/WebCore/ChangeLog

    r220696 r220699  
     12017-08-14  Zan Dobersek  <zdobersek@igalia.com>
     2
     3        REGRESSION(r220517-r220521) [GTK] Various compositing tests fail
     4        https://bugs.webkit.org/show_bug.cgi?id=175478
     5
     6        Reviewed by Sergio Villar Senin.
     7
     8        Fix a regression introduced in r220519. Move a framebuffer binding in TextureMapperGL
     9        away from GraphicsContext3D and onto the OpenGL API to work around the framebuffer
     10        binding state that's kept in the GraphicsContext3D class. This mismatch in how the
     11        framebuffer was bound was causing a couple of test failures in compositing tests.
     12
     13        No new tests -- regressed tests have their failure expectations removed.
     14
     15        * platform/graphics/texmap/TextureMapperGL.cpp:
     16        (WebCore::TextureMapperGL::bindDefaultSurface): Don't use GraphicsContext3D for the
     17        glBindFramebuffer() call. This would be done in subsequent patches that would move
     18        TextureMapperGL off the GraphicsContext3D usage, but this specific use case clashes
     19        with the framebuffer binding that's done in BitmapTextureGL and was causing test
     20        failures.
     21
    1222017-08-14  Chris Dumez  <cdumez@apple.com>
    223
  • trunk/Source/WebCore/platform/graphics/texmap/TextureMapperGL.cpp

    r220521 r220699  
    650650void TextureMapperGL::bindDefaultSurface()
    651651{
    652     m_context3D->bindFramebuffer(GraphicsContext3D::FRAMEBUFFER, data().targetFrameBuffer);
     652    glBindFramebuffer(GL_FRAMEBUFFER, data().targetFrameBuffer);
    653653    auto& viewport = data().viewport;
    654654    data().projectionMatrix = createProjectionMatrix(IntSize(viewport[2], viewport[3]), data().PaintFlags & PaintingMirrored);
Note: See TracChangeset for help on using the changeset viewer.