Changeset 142537 in webkit


Ignore:
Timestamp:
Feb 11, 2013 3:54:55 PM (11 years ago)
Author:
ddkilzer@apple.com
Message:

[iOS] Upstream changes to Platform.h
<http://webkit.org/b/109459>

Reviewed by Benjamin Poulain.

  • wtf/Platform.h:
  • Changes for armv7s.
  • Add ENABLE() definitions for DASHBOARD_SUPPORT and WEBGL.
  • Re-sort USE() macros.
  • Remove ENABLE() macros for JIT, LLINT and YARR_JIT to enable on iOS Simulator. They are already defined below.
  • Turn off HAVE(HOSTED_CORE_ANIMATION) for iOS.
  • Turn on USE(COREMEDIA) for iOS 6.0 and later.
Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r142536 r142537  
     12013-02-11  David Kilzer  <ddkilzer@apple.com>
     2
     3        [iOS] Upstream changes to Platform.h
     4        <http://webkit.org/b/109459>
     5
     6        Reviewed by Benjamin Poulain.
     7
     8        * wtf/Platform.h:
     9        - Changes for armv7s.
     10        - Add ENABLE() definitions for DASHBOARD_SUPPORT and WEBGL.
     11        - Re-sort ENABLE() and USE() macros.
     12        - Remove ENABLE() macros for JIT, LLINT and YARR_JIT to enable
     13          on iOS Simulator.  They are already defined below.
     14        - Turn off HAVE(HOSTED_CORE_ANIMATION) for iOS.
     15        - Turn on USE(COREMEDIA) for iOS 6.0 and later.
     16
    1172013-02-08  Oliver Hunt  <oliver@apple.com>
    218
  • trunk/Source/WTF/wtf/Platform.h

    r142533 r142537  
    217217
    218218#elif defined(__ARM_ARCH_7A__) \
    219     || defined(__ARM_ARCH_7R__)
     219    || defined(__ARM_ARCH_7R__) \
     220    || defined(__ARM_ARCH_7S__)
    220221#define WTF_ARM_ARCH_VERSION 7
    221222
     
    255256    || defined(__ARM_ARCH_7__) \
    256257    || defined(__ARM_ARCH_7A__) \
     258    || defined(__ARM_ARCH_7M__) \
    257259    || defined(__ARM_ARCH_7R__) \
    258     || defined(__ARM_ARCH_7M__)
     260    || defined(__ARM_ARCH_7S__)
    259261#define WTF_THUMB_ARCH_VERSION 4
    260262
     
    604606#if PLATFORM(IOS)
    605607#define ENABLE_CONTEXT_MENUS 0
     608#define ENABLE_DASHBOARD_SUPPORT 0
     609#define ENABLE_DELETION_UI 0
    606610#define ENABLE_DRAG_SUPPORT 0
    607611#define ENABLE_GEOLOCATION 1
     
    612616#define ENABLE_REPAINT_THROTTLING 1
    613617#define ENABLE_WEB_ARCHIVE 1
    614 #define ENABLE_DELETION_UI 0
     618#define ENABLE_WEBGL 1
    615619#define HAVE_READLINE 1
     620#define WTF_USE_APPKIT 0
    616621#define WTF_USE_CF 1
    617622#define WTF_USE_CFNETWORK 1
    618623#define WTF_USE_NETWORK_CFDATA_ARRAY_CALLBACK 1
     624#define WTF_USE_SECURITY_FRAMEWORK 0
    619625#define WTF_USE_WEB_THREAD 1
    620 
    621 #if PLATFORM(IOS_SIMULATOR)
    622     #define ENABLE_JIT 0
    623     #define ENABLE_YARR_JIT 0
    624 #else
    625     #define ENABLE_JIT 1
    626     #define ENABLE_LLINT 1
    627     #define ENABLE_YARR_JIT 1
    628 #endif
    629 
    630 #define WTF_USE_APPKIT 0
    631 #define WTF_USE_SECURITY_FRAMEWORK 0
    632 #endif
     626#endif /* PLATFORM(IOS) */
    633627
    634628#if PLATFORM(WIN) && !OS(WINCE)
     
    721715
    722716#define HAVE_DISPATCH_H 1
    723 #define HAVE_HOSTED_CORE_ANIMATION 1
    724717#define HAVE_MADV_FREE 1
    725718#define HAVE_PTHREAD_SETNAME_NP 1
    726719
    727720#if !PLATFORM(IOS)
     721#define HAVE_HOSTED_CORE_ANIMATION 1
    728722#define HAVE_MADV_FREE_REUSE 1
    729723#endif /* !PLATFORM(IOS) */
     
    11371131#endif
    11381132
    1139 #if PLATFORM(MAC) && !PLATFORM(IOS) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1080
     1133#if (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 60000) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1080)
    11401134#define WTF_USE_COREMEDIA 1
    11411135#endif
Note: See TracChangeset for help on using the changeset viewer.