Changeset 70485 in webkit


Ignore:
Timestamp:
Oct 25, 2010 1:20:15 PM (13 years ago)
Author:
noam.rosenthal@nokia.com
Message:

2010-10-25 No'am Rosenthal <noam.rosenthal@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

[Texmap] [Qt] Texture mapper initial implementation
https://bugs.webkit.org/show_bug.cgi?id=47070

Add a config flag and a define (WTF_USE_TEXTURE_MAPPER) to WebCore, to enable opt-in compilation of texture-mapper with Qt.

No new tests: WIP for a new implementation.

  • WebCore.pro:
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r70484 r70485  
     12010-10-25  No'am Rosenthal  <noam.rosenthal@nokia.com>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        [Texmap] [Qt] Texture mapper initial implementation
     6        https://bugs.webkit.org/show_bug.cgi?id=47070
     7
     8        Add a config flag and a define (WTF_USE_TEXTURE_MAPPER) to WebCore, to enable opt-in compilation of texture-mapper with Qt.
     9
     10        No new tests: WIP for a new implementation.
     11
     12        * WebCore.pro:
     13
    1142010-10-25  Jian Li  <jianli@chromium.org>
    215
  • trunk/WebCore/WebCore.pro

    r70410 r70485  
    20712071    platform/graphics/Pen.h \
    20722072    platform/graphics/qt/FontCustomPlatformData.h \
    2073     platform/graphics/qt/GraphicsLayerQt.h \
    20742073    platform/graphics/qt/ImageDecoderQt.h \
    20752074    platform/graphics/qt/StillImageQt.h \
     
    26072606    platform/graphics/qt/GradientQt.cpp \
    26082607    platform/graphics/qt/GraphicsContextQt.cpp \
    2609     platform/graphics/qt/GraphicsLayerQt.cpp \
    26102608    platform/graphics/qt/IconQt.cpp \
    26112609    platform/graphics/qt/ImageBufferQt.cpp \
     
    38203818}
    38213819
     3820# Uncomment this to enable Texture Mapper.
     3821# CONFIG += texmap
     3822
     3823contains(CONFIG, texmap) {
     3824    DEFINES += WTF_USE_TEXTURE_MAPPER=1
     3825    HEADERS += \
     3826        platform/graphics/texmap/TextureMapper.h \
     3827        platform/graphics/texmap/TextureMapperPlatformLayer.h
     3828
     3829    SOURCES += \
     3830        platform/graphics/qt/TextureMapperQt.cpp \
     3831        platform/graphics/texmap/GraphicsLayerTextureMapper.cpp
     3832
     3833    contains(QT_CONFIG, opengl) {
     3834        QT += opengl
     3835        HEADERS += platform/graphics/opengl/TextureMapperGL.h
     3836        SOURCES += platform/graphics/opengl/TextureMapperGL.cpp
     3837    }
     3838} else {
     3839    HEADERS += platform/graphics/qt/GraphicsLayerQt.h
     3840    SOURCES += platform/graphics/qt/GraphicsLayerQt.cpp
     3841}
     3842
    38223843symbian {
    38233844    shared {
Note: See TracChangeset for help on using the changeset viewer.