Changeset 101347 in webkit
- Timestamp:
- Nov 29, 2011 2:47:32 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r101323 r101347 1 2011-11-29 Hyowon Kim <hw1008.kim@samsung.com> 2 3 [Texmap][EFL] Accelerated compositing support using TextureMapper on EFL port 4 https://bugs.webkit.org/show_bug.cgi?id=73111 5 6 Add feature define for TextureMapper and OpenGL package. 7 8 Reviewed by Noam Rosenthal. 9 10 * Source/cmake/OptionsEfl.cmake: 11 1 12 2011-11-29 Roland Steiner <rolandsteiner@chromium.org> 2 13 -
trunk/Source/WebCore/ChangeLog
r101345 r101347 1 2011-11-29 Hyowon Kim <hw1008.kim@samsung.com> 2 3 [Texmap][EFL] Accelerated compositing support using TextureMapper on EFL port 4 https://bugs.webkit.org/show_bug.cgi?id=73111 5 6 This patch adds Texture Mapper related files to PlatformEfl.cmake 7 and removes Qt-specific types in TextureMapperNode.cpp. 8 9 Reviewed by Noam Rosenthal. 10 11 * PlatformEfl.cmake: 12 * platform/graphics/GraphicsLayer.cpp: 13 * platform/graphics/GraphicsLayer.h: 14 * platform/graphics/efl/GraphicsLayerEfl.cpp: Removed. 15 * platform/graphics/efl/GraphicsLayerEfl.h: Removed. 16 * platform/graphics/texmap/TextureMapperNode.cpp: 17 (WebCore::solveCubicBezierFunction): 18 (WebCore::solveStepsFunction): 19 1 20 2011-11-28 Pavel Feldman <pfeldman@google.com> 2 21 -
trunk/Source/WebCore/PlatformEfl.cmake
r101079 r101347 56 56 platform/efl/WidgetEfl.cpp 57 57 platform/graphics/ImageSource.cpp 58 platform/graphics/efl/GraphicsLayerEfl.cpp59 58 platform/graphics/efl/IconEfl.cpp 60 59 platform/graphics/efl/ImageEfl.cpp … … 209 208 ENDIF () 210 209 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 211 225 LIST(APPEND WebCore_LIBRARIES 212 226 ${Cairo_LIBRARIES} -
trunk/Source/WebCore/platform/graphics/GraphicsLayer.cpp
r98735 r101347 348 348 } 349 349 350 #if PLATFORM(QT) 350 #if PLATFORM(QT) || PLATFORM(EFL) 351 351 GraphicsLayer::GraphicsLayerFactory* GraphicsLayer::s_graphicsLayerFactory = 0; 352 352 -
trunk/Source/WebCore/platform/graphics/GraphicsLayer.h
r98735 r101347 69 69 typedef LayerChromium PlatformLayer; 70 70 } 71 #elif PLATFORM(EFL) 72 namespace WebCore { 73 class TextureMapperPlatformLayer; 74 typedef TextureMapperPlatformLayer PlatformLayer; 75 }; 71 76 #else 72 77 typedef void* PlatformLayer; … … 378 383 bool usingTiledLayer() const { return m_usingTiledLayer; } 379 384 380 #if PLATFORM(QT) 385 #if PLATFORM(QT) || PLATFORM(EFL) 381 386 // This allows several alternative GraphicsLayer implementations in the same port, 382 387 // e.g. if a different GraphicsLayer implementation is needed in WebKit1 vs. WebKit2. … … 450 455 int m_repaintCount; 451 456 452 #if PLATFORM(QT) 457 #if PLATFORM(QT) || PLATFORM(EFL) 453 458 static GraphicsLayer::GraphicsLayerFactory* s_graphicsLayerFactory; 454 459 #endif -
trunk/Source/WebCore/platform/graphics/texmap/TextureMapperNode.cpp
r101196 r101347 824 824 } 825 825 826 static inline double solveCubicBezierFunction( qreal p1x, qreal p1y, qreal p2x, qrealp2y, double t, double duration)826 static inline double solveCubicBezierFunction(double p1x, double p1y, double p2x, double p2y, double t, double duration) 827 827 { 828 828 UnitBezier bezier(p1x, p1y, p2x, p2y); … … 833 833 { 834 834 if (stepAtStart) 835 return qMin(1.0, (floor(numSteps * t) + 1) / numSteps);835 return fmin(1.0, (floor(numSteps * t) + 1) / numSteps); 836 836 return floor(numSteps * t) / numSteps; 837 837 } -
trunk/Source/cmake/OptionsEfl.cmake
r101079 r101347 37 37 FIND_PACKAGE(JPEG REQUIRED) 38 38 FIND_PACKAGE(PNG REQUIRED) 39 FIND_PACKAGE(OpenGL REQUIRED) 39 40 40 41 ADD_DEFINITIONS(-DENABLE_CONTEXT_MENUS=0) … … 48 49 SET(WTF_USE_CAIRO 1) 49 50 ADD_DEFINITIONS(-DWTF_USE_CAIRO=1) 51 52 SET(WTF_USE_TEXTURE_MAPPER 1) 53 ADD_DEFINITIONS(-DWTF_USE_TEXTURE_MAPPER=1) 50 54 51 55 SET(JSC_EXECUTABLE_NAME jsc_efl)
Note: See TracChangeset
for help on using the changeset viewer.