Changeset 44702 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Jun 15, 2009, 6:27:57 PM (16 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/JavaScriptCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r44700 r44702  
     12009-06-15  Simon Fraser  <[email protected]>
     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  <[email protected]>
    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 */
Note: See TracChangeset for help on using the changeset viewer.