Changeset 95564 in webkit


Ignore:
Timestamp:
Sep 20, 2011 1:13:15 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

[GTK] requestAnimationFrame support for gtk port
https://bugs.webkit.org/show_bug.cgi?id=66280

Patch by ChangSeok Oh <ChangSeok Oh> on 2011-09-20
Reviewed by Martin Robinson.

.:

  • configure.ac: Add an option to enable requestAnimationFrame for gtk port.

Source/JavaScriptCore:

Let GTK port use REQUEST_ANIMATION_FRAME_TIMER.

  • wtf/Platform.h:

Source/WebCore:

Add some files to build-target & activate ENABLE_REQUEST_ANIMATION_FRAME flag
when enabling requestAnimationFrame option.

fast/animation/request-animation-frame-cancel.html
fast/animation/request-animation-frame-cancel2.html
fast/animation/request-animation-frame-display.html
fast/animation/request-animation-frame-during-modal.html
fast/animation/request-animation-frame-timestamps.html
fast/animation/request-animation-frame-within-callback.html
fast/animation/request-animation-frame.html

  • GNUmakefile.am:
  • GNUmakefile.list.am:
Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r95518 r95564  
     12011-09-20  ChangSeok Oh  <shivamidow@gmail.com>
     2
     3        [GTK] requestAnimationFrame support for gtk port
     4        https://bugs.webkit.org/show_bug.cgi?id=66280
     5
     6        Reviewed by Martin Robinson.
     7
     8        * configure.ac: Add an option to enable requestAnimationFrame for gtk port.
     9
    1102011-09-20  Carlos Garcia Campos  <cgarcia@igalia.com>
    211
  • trunk/Source/JavaScriptCore/ChangeLog

    r95563 r95564  
     12011-09-20  ChangSeok Oh  <shivamidow@gmail.com>
     2
     3        [GTK] requestAnimationFrame support for gtk port
     4        https://bugs.webkit.org/show_bug.cgi?id=66280
     5
     6        Reviewed by Martin Robinson.
     7
     8        Let GTK port use REQUEST_ANIMATION_FRAME_TIMER.
     9
     10        * wtf/Platform.h:
     11
    1122011-09-20  Filip Pizlo  <fpizlo@apple.com>
    213
  • trunk/Source/JavaScriptCore/wtf/Platform.h

    r95555 r95564  
    11171117#endif
    11181118
    1119 #if PLATFORM(MAC)
     1119#if PLATFORM(MAC) || PLATFORM(GTK)
    11201120#define WTF_USE_REQUEST_ANIMATION_FRAME_TIMER 1
    11211121#endif
  • trunk/Source/WebCore/ChangeLog

    r95560 r95564  
     12011-09-20  ChangSeok Oh  <shivamidow@gmail.com>
     2
     3        [GTK] requestAnimationFrame support for gtk port
     4        https://bugs.webkit.org/show_bug.cgi?id=66280
     5
     6        Reviewed by Martin Robinson.
     7
     8        Add some files to build-target & activate ENABLE_REQUEST_ANIMATION_FRAME flag
     9        when enabling requestAnimationFrame option.
     10
     11        fast/animation/request-animation-frame-cancel.html
     12        fast/animation/request-animation-frame-cancel2.html
     13        fast/animation/request-animation-frame-display.html
     14        fast/animation/request-animation-frame-during-modal.html
     15        fast/animation/request-animation-frame-timestamps.html
     16        fast/animation/request-animation-frame-within-callback.html
     17        fast/animation/request-animation-frame.html
     18
     19        * GNUmakefile.am:
     20        * GNUmakefile.list.am:
     21
    1222011-09-20  Aaron Boodman  <aa@chromium.org>
    223
  • trunk/Source/WebCore/GNUmakefile.am

    r95501 r95564  
    551551
    552552# ---
     553# RequestAnimationFrame support
     554# ---
     555if ENABLE_REQUEST_ANIMATION_FRAME
     556FEATURE_DEFINES += ENABLE_REQUEST_ANIMATION_FRAME=1
     557webcore_cppflags += -DENABLE_REQUEST_ANIMATION_FRAME=1
     558endif  # END ENABLE_REQUEST_ANIMATION_FRAME
     559
     560# ---
    553561# 3D canvas (WebGL) support
    554562# ---
  • trunk/Source/WebCore/GNUmakefile.list.am

    r95521 r95564  
    48544854        Source/WebCore/loader/archive/mhtml/MHTMLParser.h
    48554855endif  # END ENABLE_MHTML
     4856
     4857# ---
     4858# RequestAnimationFrame support
     4859# ---
     4860if ENABLE_REQUEST_ANIMATION_FRAME
     4861webcore_built_sources += \
     4862    DerivedSources/WebCore/JSRequestAnimationFrameCallback.cpp \
     4863    DerivedSources/WebCore/JSRequestAnimationFrameCallback.h
     4864webcore_sources += \
     4865    Source/WebCore/bindings/js/JSRequestAnimationFrameCallbackCustom.cpp \
     4866    Source/WebCore/dom/RequestAnimationFrameCallback.h \
     4867    Source/WebCore/dom/ScriptedAnimationController.cpp \
     4868    Source/WebCore/dom/ScriptedAnimationController.h
     4869endif  # END ENABLE_REQUEST_ANIMATION_FRAME
  • trunk/configure.ac

    r95518 r95564  
    877877              [], [enable_animation_api="no"])
    878878AC_MSG_RESULT([$enable_animation_api])
     879
     880# check whether to enable requestAnimationFrame support
     881AC_MSG_CHECKING([whether to enable requestAnimationFrame support])
     882AC_ARG_ENABLE(request_animation_frame,
     883              AC_HELP_STRING([--enable-request-animation-frame],
     884                             [enable support for requestAnimationFrame (experimental) [default=no]]),
     885              [],[enable_request_animation_frame="no"])
     886AC_MSG_RESULT([$enable_request_animation_frame])
    879887
    880888# check whether to enable touch icon loading
     
    11691177AM_CONDITIONAL([ENABLE_SPELLCHECK],[test "$enable_spellcheck" = "yes"])
    11701178AM_CONDITIONAL([ENABLE_ANIMATION_API],[test "$enable_animation_api" = "yes"])
     1179AM_CONDITIONAL([ENABLE_REQUEST_ANIMATION_FRAME],[test "$enable_request_animation_frame" = "yes"])
    11711180AM_CONDITIONAL([ENABLE_TOUCH_ICON_LOADING],[test "$enable_touch_icon_loading" = "yes"])
    11721181AM_CONDITIONAL([ENABLE_REGISTER_PROTOCOL_HANDLER],[test "$enable_register_protocol_handler" = "yes"])
     
    12691278 Spellcheck support                                       : $enable_spellcheck
    12701279 Animation API                                            : $enable_animation_api
     1280 RequestAnimationFrame support                            : $enable_request_animation_frame
    12711281 Touch Icon Loading support                               : $enable_touch_icon_loading
    12721282 Register Protocol Handler support                        : $enable_register_protocol_handler
Note: See TracChangeset for help on using the changeset viewer.