Bug 67112 - [EFL] Support requestAnimationFrame API
Summary: [EFL] Support requestAnimationFrame API
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit EFL (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 70170
  Show dependency treegraph
 
Reported: 2011-08-29 00:43 PDT by ChangSeok Oh
Modified: 2011-11-07 10:28 PST (History)
7 users (show)

See Also:


Attachments
patch (4.17 KB, patch)
2011-10-14 01:34 PDT, ChangSeok Oh
no flags Details | Formatted Diff | Diff
Updated patch (4.56 KB, patch)
2011-10-15 00:30 PDT, ChangSeok Oh
no flags Details | Formatted Diff | Diff
Updated patch (4.56 KB, patch)
2011-11-02 01:14 PDT, ChangSeok Oh
no flags Details | Formatted Diff | Diff
Updated patch (4.99 KB, patch)
2011-11-02 02:47 PDT, ChangSeok Oh
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ChangSeok Oh 2011-08-29 00:43:24 PDT
This bug is for implementing requestAnimationFrame JS interface for EFL port.
Comment 1 ChangSeok Oh 2011-10-14 01:34:59 PDT
Created attachment 110977 [details]
patch
Comment 2 Gyuyoung Kim 2011-10-14 01:54:12 PDT
Comment on attachment 110977 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=110977&action=review

> Source/WebCore/CMakeLists.txt:2182
> +IF (ENABLE_REQUEST_ANIMATION_FRAME)

Where is ENABLE_REQUEST_ANIMATION_FRAME defined?  Is IF (WTF_USE_REQUEST_ANIMATION_FRAME) correct?
Comment 3 Raphael Kubo da Costa (:rakuco) 2011-10-14 04:50:21 PDT
Comment on attachment 110977 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=110977&action=review

I've noticed you use different email addresses in the ChangeLog and in your Bugzilla account. Is that intentional? Do you know of any test (either a page on the internet or some page in LayoutTests) where I can see this feature working?

Still r? while waiting for the answers.

> ChangeLog:8
> +        Add build-option for reqeustAnimationFrame feature.

Typo in reqeustAnimationFrame.

>> Source/WebCore/CMakeLists.txt:2182
>> +IF (ENABLE_REQUEST_ANIMATION_FRAME)
> 
> Where is ENABLE_REQUEST_ANIMATION_FRAME defined?  Is IF (WTF_USE_REQUEST_ANIMATION_FRAME) correct?

Defined in Source/cmake/OptionsEfl.cmake below?

> Source/cmake/OptionsEfl.cmake:87
> +WEBKIT_FEATURE(ENABLE_REQUEST_ANIMATION_FRAME "Enable requestAnimationFrame API" DEFAULT OFF)

Any reason for it to be OFF by default?
Comment 4 Gyuyoung Kim 2011-10-14 04:53:51 PDT
(In reply to comment #3)
> (From update of attachment 110977 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=110977&action=review
> 
> >> Source/WebCore/CMakeLists.txt:2182
> >> +IF (ENABLE_REQUEST_ANIMATION_FRAME)
> > 
> > Where is ENABLE_REQUEST_ANIMATION_FRAME defined?  Is IF (WTF_USE_REQUEST_ANIMATION_FRAME) correct?
> 
> Defined in Source/cmake/OptionsEfl.cmake below?

Yes, right. My mistake. Sorry.
Comment 5 ChangSeok Oh 2011-10-14 23:27:30 PDT
Comment on attachment 110977 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=110977&action=review

>> ChangeLog:8

> 
> Typo in reqeustAnimationFrame.

Oops. Done

>> Source/cmake/OptionsEfl.cmake:87
>> +WEBKIT_FEATURE(ENABLE_REQUEST_ANIMATION_FRAME "Enable requestAnimationFrame API" DEFAULT OFF)
> 
> Any reason for it to be OFF by default?

This feature is not fixed yet. Formal spec is under working so that it may be possible to change later. (http://www.w3.org/TR/animation-timing/)
And most important reason is that I found critical issue related with this.
I'm trying to fix it in here, bug70170.
Comment 6 ChangSeok Oh 2011-10-14 23:40:31 PDT
(In reply to comment #3)
> (From update of attachment 110977 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=110977&action=review
> 
> I've noticed you use different email addresses in the ChangeLog and in your Bugzilla account. Is that intentional? Do you know of any test (either a page on the internet or some page in LayoutTests) where I can see this feature working?
Yes. that's intentional. shivamidow@gmail.com is my private account so that I can find somebody's question and request quickly, and also I don't want to receive too much mail from bugzilla. :p

Well. Test cases for this feature already exist in current repository. I'll update them in ChangLog.
Comment 7 ChangSeok Oh 2011-10-15 00:30:58 PDT
Created attachment 111128 [details]
Updated patch
Comment 8 Gyuyoung Kim 2011-10-19 22:16:44 PDT
(In reply to comment #5)
> (From update of attachment 110977 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=110977&action=review

> This feature is not fixed yet. Formal spec is under working so that it may be possible to change later. (http://www.w3.org/TR/animation-timing/)
> And most important reason is that I found critical issue related with this.
> I'm trying to fix it in here, bug70170.

I think it is better to add this feature enabled after closing Bug 70170.
Comment 9 ChangSeok Oh 2011-11-02 01:14:13 PDT
Created attachment 113288 [details]
Updated patch
Comment 10 Ryuan Choi 2011-11-02 01:16:53 PDT
Comment on attachment 113288 [details]
Updated patch

View in context: https://bugs.webkit.org/attachment.cgi?id=113288&action=review

> Source/WebCore/CMakeLists.txt:2187
> +        bindings/js/JSRequestAnimationFrameCallbackCustom.cpp

IMO, JSRequestAnimationFrameCallbackCustom.cpp should be moved to UseJSC.cmake
Comment 11 ChangSeok Oh 2011-11-02 02:47:48 PDT
Created attachment 113294 [details]
Updated patch
Comment 12 ChangSeok Oh 2011-11-02 02:49:50 PDT
(In reply to comment #10)
> (From update of attachment 113288 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=113288&action=review
> 
> > Source/WebCore/CMakeLists.txt:2187
> > +        bindings/js/JSRequestAnimationFrameCallbackCustom.cpp
> 
> IMO, JSRequestAnimationFrameCallbackCustom.cpp should be moved to UseJSC.cmake
Done.
Comment 13 Ryuan Choi 2011-11-02 03:09:06 PDT
LGTM.
Comment 14 Gyuyoung Kim 2011-11-02 17:59:26 PDT
LGTM too.
Comment 15 WebKit Review Bot 2011-11-07 10:28:43 PST
Comment on attachment 113294 [details]
Updated patch

Clearing flags on attachment: 113294

Committed r99442: <http://trac.webkit.org/changeset/99442>
Comment 16 WebKit Review Bot 2011-11-07 10:28:49 PST
All reviewed patches have been landed.  Closing bug.