Changeset 101796 in webkit
- Timestamp:
- Dec 2, 2011 7:32:05 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r101784 r101796 1 2011-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 1 10 2011-12-02 Alejandro G. Castro <alex@igalia.com> 2 11 -
trunk/Source/WebCore/ChangeLog
r101794 r101796 1 2011-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 1 22 2011-12-01 Vsevolod Vlasov <vsevik@chromium.org> 2 23 -
trunk/Source/WebCore/PlatformEfl.cmake
r101347 r101796 56 56 platform/efl/WidgetEfl.cpp 57 57 platform/graphics/ImageSource.cpp 58 platform/graphics/efl/GraphicsLayerEfl.cpp 58 59 platform/graphics/efl/IconEfl.cpp 59 60 platform/graphics/efl/ImageEfl.cpp … … 208 209 ENDIF () 209 210 210 IF (WTF_USE_TEXTURE_MAPPER)211 LIST(APPEND WebCore_INCLUDE_DIRECTORIES212 ${OPENGL_INCLUDE_DIR}213 "${WEBCORE_DIR}/platform/graphics/texmap"214 )215 LIST(APPEND WebCore_SOURCES216 platform/graphics/opengl/TextureMapperGL.cpp217 platform/graphics/texmap/GraphicsLayerTextureMapper.cpp218 platform/graphics/texmap/TextureMapperNode.cpp219 )220 LIST(APPEND WebCore_LIBRARIES221 ${OPENGL_gl_LIBRARY}222 )223 ENDIF ()224 225 211 LIST(APPEND WebCore_LIBRARIES 226 212 ${Cairo_LIBRARIES} -
trunk/Source/WebCore/platform/graphics/GraphicsLayer.cpp
r101548 r101796 348 348 } 349 349 350 #if PLATFORM(QT) || PLATFORM( EFL) || PLATFORM(GTK)350 #if PLATFORM(QT) || PLATFORM(GTK) 351 351 GraphicsLayer::GraphicsLayerFactory* GraphicsLayer::s_graphicsLayerFactory = 0; 352 352 -
trunk/Source/WebCore/platform/graphics/GraphicsLayer.h
r101764 r101796 69 69 typedef LayerChromium PlatformLayer; 70 70 } 71 #elif PLATFORM(EFL)72 namespace WebCore {73 class TextureMapperPlatformLayer;74 typedef TextureMapperPlatformLayer PlatformLayer;75 };76 71 #elif PLATFORM(GTK) 77 72 #if USE(TEXTURE_MAPPER_CAIRO) || USE(TEXTURE_MAPPER_GL) … … 390 385 bool usingTiledLayer() const { return m_usingTiledLayer; } 391 386 392 #if PLATFORM(QT) || PLATFORM( EFL) || PLATFORM(GTK)387 #if PLATFORM(QT) || PLATFORM(GTK) 393 388 // This allows several alternative GraphicsLayer implementations in the same port, 394 389 // e.g. if a different GraphicsLayer implementation is needed in WebKit1 vs. WebKit2. … … 462 457 int m_repaintCount; 463 458 464 #if PLATFORM(QT) || PLATFORM( EFL) || PLATFORM(GTK)459 #if PLATFORM(QT) || PLATFORM(GTK) 465 460 static GraphicsLayer::GraphicsLayerFactory* s_graphicsLayerFactory; 466 461 #endif -
trunk/Source/WebCore/platform/graphics/texmap/TextureMapperNode.cpp
r101347 r101796 824 824 } 825 825 826 static inline double solveCubicBezierFunction( double p1x, double p1y, double p2x, doublep2y, double t, double duration)826 static inline double solveCubicBezierFunction(qreal p1x, qreal p1y, qreal p2x, qreal p2y, double t, double duration) 827 827 { 828 828 UnitBezier bezier(p1x, p1y, p2x, p2y); … … 833 833 { 834 834 if (stepAtStart) 835 return fmin(1.0, (floor(numSteps * t) + 1) / numSteps);835 return qMin(1.0, (floor(numSteps * t) + 1) / numSteps); 836 836 return floor(numSteps * t) / numSteps; 837 837 } -
trunk/Source/cmake/OptionsEfl.cmake
r101685 r101796 37 37 FIND_PACKAGE(JPEG REQUIRED) 38 38 FIND_PACKAGE(PNG REQUIRED) 39 FIND_PACKAGE(OpenGL REQUIRED)40 39 41 40 ADD_DEFINITIONS(-DENABLE_CONTEXT_MENUS=0) … … 49 48 SET(WTF_USE_CAIRO 1) 50 49 ADD_DEFINITIONS(-DWTF_USE_CAIRO=1) 51 52 SET(WTF_USE_TEXTURE_MAPPER 1)53 ADD_DEFINITIONS(-DWTF_USE_TEXTURE_MAPPER=1)54 50 55 51 SET(JSC_EXECUTABLE_NAME jsc_efl)
Note: See TracChangeset
for help on using the changeset viewer.