Changeset 202854 in webkit


Ignore:
Timestamp:
Jul 6, 2016 2:48:01 AM (8 years ago)
Author:
zandobersek@gmail.com
Message:

[GTK] Better guard TextureMapper header and CMake includes
https://bugs.webkit.org/show_bug.cgi?id=159415

Reviewed by Carlos Garcia Campos.

  • PlatformGTK.cmake: Only include TextureMapper.cmake if USE_TEXTURE_MAPPER is enabled.
  • platform/graphics/GraphicsContext3DPrivate.h: Guard texmap header inclusions with USE(TEXTURE_MAPPER).
  • platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.h: Ditto, but wrap it around

the existing USE(TEXTURE_MAPPER_GL) block.

Location:
trunk/Source/WebCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r202851 r202854  
     12016-07-06  Zan Dobersek  <zdobersek@igalia.com>
     2
     3        [GTK] Better guard TextureMapper header and CMake includes
     4        https://bugs.webkit.org/show_bug.cgi?id=159415
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        * PlatformGTK.cmake: Only include TextureMapper.cmake if USE_TEXTURE_MAPPER is enabled.
     9        * platform/graphics/GraphicsContext3DPrivate.h: Guard texmap header inclusions with USE(TEXTURE_MAPPER).
     10        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.h: Ditto, but wrap it around
     11        the existing USE(TEXTURE_MAPPER_GL) block.
     12
    1132016-07-05  Olivier Blin  <olivier.blin@softathome.com>
    214
  • trunk/Source/WebCore/PlatformGTK.cmake

    r201864 r202854  
    22include(platform/ImageDecoders.cmake)
    33include(platform/Linux.cmake)
    4 include(platform/TextureMapper.cmake)
     4
     5if (USE_TEXTURE_MAPPER)
     6    include(platform/TextureMapper.cmake)
     7endif ()
    58
    69set(WebCore_OUTPUT_NAME WebCoreGTK)
  • trunk/Source/WebCore/platform/graphics/GraphicsContext3DPrivate.h

    r199000 r202854  
    2424#include "GraphicsContext3D.h"
    2525#include "PlatformLayer.h"
     26
     27#if USE(TEXTURE_MAPPER)
    2628#include "TextureMapperPlatformLayer.h"
    2729#include "TextureMapperPlatformLayerProxy.h"
     30#endif
    2831
    2932namespace WebCore {
  • trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.h

    r202611 r202854  
    2929#include "MediaPlayerPrivate.h"
    3030#include "PlatformLayer.h"
    31 #include "TextureMapperPlatformLayer.h"
    32 #include "TextureMapperPlatformLayerProxy.h"
    3331#include <glib.h>
    3432#include <wtf/Condition.h>
    3533#include <wtf/Forward.h>
    3634#include <wtf/RunLoop.h>
     35
     36#if USE(TEXTURE_MAPPER)
     37#include "TextureMapperPlatformLayer.h"
     38#include "TextureMapperPlatformLayerProxy.h"
    3739#if USE(TEXTURE_MAPPER_GL)
    3840#include "TextureMapperGL.h"
     41#endif
    3942#endif
    4043
Note: See TracChangeset for help on using the changeset viewer.