Changeset 185805 in webkit


Ignore:
Timestamp:
Jun 21, 2015 3:06:14 AM (9 years ago)
Author:
commit-queue@webkit.org
Message:

libwebkit2gtk fails to link without opengl
https://bugs.webkit.org/show_bug.cgi?id=138332

Patch by Philip Chimento <philip.chimento@gmail.com> on 2015-06-21
Reviewed by Carlos Garcia Campos.

.:

  • Source/cmake/OptionsGTK.cmake: USE(TEXTURE_MAPPER) must be

enabled regardless of whether OpenGL is, because certain symbols
such as WebCore::GraphicsLayer::create() need to be built.

Source/WebCore:

  • CMakeLists.txt: The third-party ANGLE directories need to be

included even if ENABLE(GRAPHICS_CONTEXT_3D) is false. They must
be included after the OpenGL headers as the comment says.

  • platform/graphics/texmap/BitmapTexturePool.cpp: Remove

reference to no longer existent header file.

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r185802 r185805  
     12015-06-21  Philip Chimento  <philip.chimento@gmail.com>
     2
     3        libwebkit2gtk fails to link without opengl
     4        https://bugs.webkit.org/show_bug.cgi?id=138332
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        * Source/cmake/OptionsGTK.cmake: USE(TEXTURE_MAPPER) must be
     9        enabled regardless of whether OpenGL is, because certain symbols
     10        such as WebCore::GraphicsLayer::create() need to be built.
     11
    1122015-06-20  Michael Catanzaro  <mcatanzaro@igalia.com>
    213
  • trunk/Source/WebCore/CMakeLists.txt

    r185731 r185805  
    30483048
    30493049    list(APPEND WebCore_INCLUDE_DIRECTORIES
    3050         "${THIRDPARTY_DIR}/ANGLE/"
    3051         "${THIRDPARTY_DIR}/ANGLE/include/KHR"
    30523050        "${WEBCORE_DIR}/platform/graphics/gpu"
    30533051    )
     
    31493147endif ()
    31503148
     3149list(APPEND WebCore_INCLUDE_DIRECTORIES
     3150    "${THIRDPARTY_DIR}/ANGLE/"
     3151    "${THIRDPARTY_DIR}/ANGLE/include/KHR"
     3152)
     3153
    31513154if (ENABLE_WEB_REPLAY)
    31523155    list(APPEND WebCore_INCLUDE_DIRECTORIES
  • trunk/Source/WebCore/ChangeLog

    r185804 r185805  
     12015-06-21  Philip Chimento  <philip.chimento@gmail.com>
     2
     3        libwebkit2gtk fails to link without opengl
     4        https://bugs.webkit.org/show_bug.cgi?id=138332
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        * CMakeLists.txt: The third-party ANGLE directories need to be
     9        included even if ENABLE(GRAPHICS_CONTEXT_3D) is false. They must
     10        be included after the OpenGL headers as the comment says.
     11        * platform/graphics/texmap/BitmapTexturePool.cpp: Remove
     12        reference to no longer existent header file.
     13
    1142015-06-20  Tim Horton  <timothy_horton@apple.com>
    215
  • trunk/Source/WebCore/platform/graphics/texmap/BitmapTexturePool.cpp

    r183807 r185805  
    3131#include "BitmapTextureGL.h"
    3232#include "GLContext.h"
    33 #else
    34 #include "BitmapTextureImageBuffer.h"
    3533#endif
    3634
  • trunk/Source/cmake/OptionsGTK.cmake

    r185802 r185805  
    296296endif ()
    297297
     298SET_AND_EXPOSE_TO_BUILD(USE_TEXTURE_MAPPER TRUE)
     299
    298300if (ENABLE_OPENGL)
    299301    # ENABLE_OPENGL is true if either USE_OPENGL or ENABLE_GLES2 is true.
     
    319321    SET_AND_EXPOSE_TO_BUILD(ENABLE_GRAPHICS_CONTEXT_3D TRUE)
    320322
    321     SET_AND_EXPOSE_TO_BUILD(USE_TEXTURE_MAPPER TRUE)
    322323    SET_AND_EXPOSE_TO_BUILD(USE_TEXTURE_MAPPER_GL TRUE)
    323324
Note: See TracChangeset for help on using the changeset viewer.