Changeset 167072 in webkit


Ignore:
Timestamp:
Apr 10, 2014 7:42:48 AM (10 years ago)
Author:
Martin Robinson
Message:

[GTK] LayerTreeHostGtk is creating a software scene graph
https://bugs.webkit.org/show_bug.cgi?id=131471

Reviewed by Sergio Villar Senin.

At some point, a regression was introduced that sent the GTK+ WebKit2 scenegraph down the
software route. The rest of the file depends on the fact that the TextureMapper is the OpenGL
variety, so we should force that explicitly. This is causing crashes locally and soon we
should be able to test this directly.

  • WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp:

(WebKit::LayerTreeHostGtk::initialize): Force the use of the OpenGL scenegraph.

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r167064 r167072  
     12014-04-10  Martin Robinson  <mrobinson@igalia.com>
     2
     3        [GTK] LayerTreeHostGtk is creating a software scene graph
     4        https://bugs.webkit.org/show_bug.cgi?id=131471
     5
     6        Reviewed by Sergio Villar Senin.
     7
     8        At some point, a regression was introduced that sent the GTK+ WebKit2 scenegraph down the
     9        software route. The rest of the file depends on the fact that the TextureMapper is the OpenGL
     10        variety, so we should force that explicitly. This is causing crashes locally and soon we
     11        should be able to test this directly.
     12
     13        * WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp:
     14        (WebKit::LayerTreeHostGtk::initialize): Force the use of the OpenGL scenegraph.
     15
    1162014-04-09  Jeremy Jones  <jeremyj@apple.com>
    217
  • trunk/Source/WebKit2/WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp

    r167006 r167072  
    123123    context->makeContextCurrent();
    124124
    125     m_textureMapper = TextureMapperGL::create();
     125    m_textureMapper = TextureMapper::create(TextureMapper::OpenGLMode);
    126126    static_cast<TextureMapperGL*>(m_textureMapper.get())->setEnableEdgeDistanceAntialiasing(true);
    127127    toTextureMapperLayer(m_rootLayer.get())->setTextureMapper(m_textureMapper.get());
Note: See TracChangeset for help on using the changeset viewer.