Changeset 101796 in webkit


Ignore:
Timestamp:
Dec 2, 2011 7:32:05 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

Unreviewed, revert r101347.
https://bugs.webkit.org/show_bug.cgi?id=73580

It breaks the linking of Tools/ targets due to missing functions.

Patch by Raphael Kubo da Costa <kubo@profusion.mobi> on 2011-12-02

.:

  • Source/cmake/OptionsEfl.cmake:

Source/WebCore:

  • PlatformEfl.cmake:
  • platform/graphics/GraphicsLayer.cpp:
  • platform/graphics/GraphicsLayer.h:
  • platform/graphics/efl/GraphicsLayerEfl.cpp: Added.

(WebCore::GraphicsLayer::create):
(WebCore::GraphicsLayerEfl::GraphicsLayerEfl):
(WebCore::GraphicsLayerEfl::~GraphicsLayerEfl):
(WebCore::GraphicsLayerEfl::setNeedsDisplay):
(WebCore::GraphicsLayerEfl::setNeedsDisplayInRect):

  • platform/graphics/efl/GraphicsLayerEfl.h: Added.
  • platform/graphics/texmap/TextureMapperNode.cpp:

(WebCore::solveCubicBezierFunction):
(WebCore::solveStepsFunction):

Location:
trunk
Files:
2 added
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r101784 r101796  
     12011-12-02  Raphael Kubo da Costa  <kubo@profusion.mobi>
     2
     3        Unreviewed, revert r101347.
     4        https://bugs.webkit.org/show_bug.cgi?id=73580
     5
     6        It breaks the linking of Tools/ targets due to missing functions.
     7
     8        * Source/cmake/OptionsEfl.cmake:
     9
    1102011-12-02  Alejandro G. Castro  <alex@igalia.com>
    211
  • trunk/Source/WebCore/ChangeLog

    r101794 r101796  
     12011-12-02  Raphael Kubo da Costa  <kubo@profusion.mobi>
     2
     3        Unreviewed, revert r101347.
     4        https://bugs.webkit.org/show_bug.cgi?id=73580
     5
     6        It breaks the linking of Tools/ targets due to missing functions.
     7
     8        * PlatformEfl.cmake:
     9        * platform/graphics/GraphicsLayer.cpp:
     10        * platform/graphics/GraphicsLayer.h:
     11        * platform/graphics/efl/GraphicsLayerEfl.cpp: Added.
     12        (WebCore::GraphicsLayer::create):
     13        (WebCore::GraphicsLayerEfl::GraphicsLayerEfl):
     14        (WebCore::GraphicsLayerEfl::~GraphicsLayerEfl):
     15        (WebCore::GraphicsLayerEfl::setNeedsDisplay):
     16        (WebCore::GraphicsLayerEfl::setNeedsDisplayInRect):
     17        * platform/graphics/efl/GraphicsLayerEfl.h: Added.
     18        * platform/graphics/texmap/TextureMapperNode.cpp:
     19        (WebCore::solveCubicBezierFunction):
     20        (WebCore::solveStepsFunction):
     21
    1222011-12-01  Vsevolod Vlasov  <vsevik@chromium.org>
    223
  • trunk/Source/WebCore/PlatformEfl.cmake

    r101347 r101796  
    5656  platform/efl/WidgetEfl.cpp
    5757  platform/graphics/ImageSource.cpp
     58  platform/graphics/efl/GraphicsLayerEfl.cpp
    5859  platform/graphics/efl/IconEfl.cpp
    5960  platform/graphics/efl/ImageEfl.cpp
     
    208209ENDIF ()
    209210
    210 IF (WTF_USE_TEXTURE_MAPPER)
    211   LIST(APPEND WebCore_INCLUDE_DIRECTORIES
    212     ${OPENGL_INCLUDE_DIR}
    213     "${WEBCORE_DIR}/platform/graphics/texmap"
    214   )
    215   LIST(APPEND WebCore_SOURCES
    216     platform/graphics/opengl/TextureMapperGL.cpp
    217     platform/graphics/texmap/GraphicsLayerTextureMapper.cpp
    218     platform/graphics/texmap/TextureMapperNode.cpp
    219   )
    220    LIST(APPEND WebCore_LIBRARIES
    221     ${OPENGL_gl_LIBRARY}
    222   )
    223 ENDIF ()
    224 
    225211LIST(APPEND WebCore_LIBRARIES
    226212  ${Cairo_LIBRARIES}
  • trunk/Source/WebCore/platform/graphics/GraphicsLayer.cpp

    r101548 r101796  
    348348}
    349349
    350 #if PLATFORM(QT) || PLATFORM(EFL) || PLATFORM(GTK)
     350#if PLATFORM(QT) || PLATFORM(GTK)
    351351GraphicsLayer::GraphicsLayerFactory* GraphicsLayer::s_graphicsLayerFactory = 0;
    352352
  • trunk/Source/WebCore/platform/graphics/GraphicsLayer.h

    r101764 r101796  
    6969typedef LayerChromium PlatformLayer;
    7070}
    71 #elif PLATFORM(EFL)
    72 namespace WebCore {
    73 class TextureMapperPlatformLayer;
    74 typedef TextureMapperPlatformLayer PlatformLayer;
    75 };
    7671#elif PLATFORM(GTK)
    7772#if USE(TEXTURE_MAPPER_CAIRO) || USE(TEXTURE_MAPPER_GL)
     
    390385    bool usingTiledLayer() const { return m_usingTiledLayer; }
    391386
    392 #if PLATFORM(QT) || PLATFORM(EFL) || PLATFORM(GTK)
     387#if PLATFORM(QT) || PLATFORM(GTK)
    393388    // This allows several alternative GraphicsLayer implementations in the same port,
    394389    // e.g. if a different GraphicsLayer implementation is needed in WebKit1 vs. WebKit2.
     
    462457    int m_repaintCount;
    463458
    464 #if PLATFORM(QT) || PLATFORM(EFL) || PLATFORM(GTK)
     459#if PLATFORM(QT) || PLATFORM(GTK)
    465460    static GraphicsLayer::GraphicsLayerFactory* s_graphicsLayerFactory;
    466461#endif
  • trunk/Source/WebCore/platform/graphics/texmap/TextureMapperNode.cpp

    r101347 r101796  
    824824}
    825825
    826 static inline double solveCubicBezierFunction(double p1x, double p1y, double p2x, double p2y, double t, double duration)
     826static inline double solveCubicBezierFunction(qreal p1x, qreal p1y, qreal p2x, qreal p2y, double t, double duration)
    827827{
    828828    UnitBezier bezier(p1x, p1y, p2x, p2y);
     
    833833{
    834834    if (stepAtStart)
    835         return fmin(1.0, (floor(numSteps * t) + 1) / numSteps);
     835        return qMin(1.0, (floor(numSteps * t) + 1) / numSteps);
    836836    return floor(numSteps * t) / numSteps;
    837837}
  • trunk/Source/cmake/OptionsEfl.cmake

    r101685 r101796  
    3737FIND_PACKAGE(JPEG REQUIRED)
    3838FIND_PACKAGE(PNG REQUIRED)
    39 FIND_PACKAGE(OpenGL REQUIRED)
    4039
    4140ADD_DEFINITIONS(-DENABLE_CONTEXT_MENUS=0)
     
    4948SET(WTF_USE_CAIRO 1)
    5049ADD_DEFINITIONS(-DWTF_USE_CAIRO=1)
    51 
    52 SET(WTF_USE_TEXTURE_MAPPER 1)
    53 ADD_DEFINITIONS(-DWTF_USE_TEXTURE_MAPPER=1)
    5450
    5551SET(JSC_EXECUTABLE_NAME jsc_efl)
Note: See TracChangeset for help on using the changeset viewer.