Changeset 44702 in webkit


Ignore:
Timestamp:
Jun 15, 2009 6:27:57 PM (15 years ago)
Author:
Simon Fraser
Message:

2009-06-15 Simon Fraser <Simon Fraser>

Reviewed by Mark Rowe.

<rdar://problem/6974857>

Define ENABLE_3D_RENDERING and WTF_USE_ACCELERATED_COMPOSITING when building on 10.6.
Move the ENABLE_3D_RENDERING switch from config.h and WebKitPrefix.h to wtf/Platform.h

Location:
trunk
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r44700 r44702  
     12009-06-15  Simon Fraser  <simon.fraser@apple.com>
     2
     3        Reviewed by Mark Rowe.
     4
     5        <rdar://problem/6974857>
     6
     7        Define ENABLE_3D_RENDERING when building on 10.6, and move ENABLE_3D_RENDERING
     8        switch from config.h to wtf/Platform.h.
     9
     10        * Configurations/FeatureDefines.xcconfig:
     11        * wtf/Platform.h:
     12
    1132009-06-15  Gavin Barraclough  <barraclough@apple.com>
    214
  • trunk/JavaScriptCore/Configurations/FeatureDefines.xcconfig

    r44253 r44702  
    2828// Set any ENABLE_FEATURE_NAME macro to an empty string to disable that feature.
    2929
    30 ENABLE_3D_RENDERING = ;
     30ENABLE_3D_RENDERING = $(ENABLE_3D_RENDERING_$(MAC_OS_X_VERSION_MAJOR));
     31ENABLE_3D_RENDERING_1060 = ENABLE_3D_RENDERING;
     32
    3133ENABLE_CHANNEL_MESSAGING = ;
    3234ENABLE_DATABASE = ENABLE_DATABASE;
  • trunk/JavaScriptCore/wtf/Platform.h

    r44528 r44702  
    609609#endif
    610610
     611/* Accelerated compositing */
     612#if PLATFORM(MAC)
     613#if !defined(BUILDING_ON_TIGER) && !defined(BUILDING_ON_LEOPARD)
     614#define WTF_USE_ACCELERATED_COMPOSITING 1
     615#endif
     616#endif
     617
     618#if PLATFORM(IPHONE)
     619#define WTF_USE_ACCELERATED_COMPOSITING 1
     620#endif
     621
    611622#endif /* WTF_Platform_h */
  • trunk/WebCore/ChangeLog

    r44701 r44702  
     12009-06-15  Simon Fraser  <simon.fraser@apple.com>
     2
     3        Reviewed by Mark Rowe.
     4
     5        <rdar://problem/6974857>
     6       
     7        Define ENABLE_3D_RENDERING when building on 10.6, and move ENABLE_3D_RENDERING
     8        switch from config.h to wtf/Platform.h.
     9
     10        * Configurations/FeatureDefines.xcconfig:
     11        * config.h:
     12
    1132009-06-15  Pavel Feldman  <pfeldman@chromium.org>
    214
  • trunk/WebCore/Configurations/FeatureDefines.xcconfig

    r44253 r44702  
    2828// Set any ENABLE_FEATURE_NAME macro to an empty string to disable that feature.
    2929
    30 ENABLE_3D_RENDERING = ;
     30ENABLE_3D_RENDERING = $(ENABLE_3D_RENDERING_$(MAC_OS_X_VERSION_MAJOR));
     31ENABLE_3D_RENDERING_1060 = ENABLE_3D_RENDERING;
     32
    3133ENABLE_CHANNEL_MESSAGING = ;
    3234ENABLE_DATABASE = ENABLE_DATABASE;
  • trunk/WebCore/config.h

    r44630 r44702  
    128128// New theme
    129129#define WTF_USE_NEW_THEME 1
    130 
    131 // Accelerated compositing
    132 #if !defined(BUILDING_ON_TIGER) && !defined(BUILDING_ON_LEOPARD)
    133 #define WTF_USE_ACCELERATED_COMPOSITING 0
    134 #endif
    135130#endif // PLATFORM(MAC)
    136131
  • trunk/WebKit/mac/ChangeLog

    r44699 r44702  
     12009-06-15  Simon Fraser  <simon.fraser@apple.com>
     2
     3        Reviewed by Mark Rowe.
     4
     5        <rdar://problem/6974857>
     6       
     7        Define ENABLE_3D_RENDERING when building on 10.6, and move ENABLE_3D_RENDERING
     8        switch from config.h to wtf/Platform.h.
     9
     10        * Configurations/FeatureDefines.xcconfig:
     11        * WebKitPrefix.h:
     12
    1132009-06-15  Anders Carlsson  <andersca@apple.com>
    214
  • trunk/WebKit/mac/Configurations/FeatureDefines.xcconfig

    r44253 r44702  
    2828// Set any ENABLE_FEATURE_NAME macro to an empty string to disable that feature.
    2929
    30 ENABLE_3D_RENDERING = ;
     30ENABLE_3D_RENDERING = $(ENABLE_3D_RENDERING_$(MAC_OS_X_VERSION_MAJOR));
     31ENABLE_3D_RENDERING_1060 = ENABLE_3D_RENDERING;
     32
    3133ENABLE_CHANNEL_MESSAGING = ;
    3234ENABLE_DATABASE = ENABLE_DATABASE;
  • trunk/WebKit/mac/WebKitPrefix.h

    r42684 r44702  
    7979#endif
    8080
    81 // Accelerated compositing (also needs to be set in WebCore/config.h)
    82 #if !defined(BUILDING_ON_TIGER) && !defined(BUILDING_ON_LEOPARD)
    83 #define WTF_USE_ACCELERATED_COMPOSITING 0
    84 #endif
    85 
    8681/* WebKit has no way to pull settings from WebCore/config.h for now */
    8782/* so we assume WebKit is always being compiled on top of JavaScriptCore */
  • trunk/WebKitTools/ChangeLog

    r44681 r44702  
     12009-06-15  Simon Fraser  <simon.fraser@apple.com>
     2
     3        Reviewed by Mark Rowe.
     4       
     5        <rdar://problem/6974857>
     6       
     7        Build with ENABLE_3D_RENDERING turned on by default on SnowLeopard.
     8
     9        * Scripts/build-webkit:
     10
    1112009-06-12  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
    212
  • trunk/WebKitTools/Scripts/build-webkit

    r44681 r44702  
    5454my @features = (
    5555    { option => "3d-rendering", desc => "Toggle 3D rendering support",
    56       define => "ENABLE_3D_RENDERING", default => 0, value => \$threeDRenderingSupport },
     56      define => "ENABLE_3D_RENDERING", default => (isAppleMacWebKit() && isSnowLeopard()), value => \$threeDRenderingSupport },
    5757
    5858    { option => "channel-messaging", desc => "Toggle MessageChannel and MessagePort support",
Note: See TracChangeset for help on using the changeset viewer.