WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
172780
[WebCore] Enable REQUEST_ANIMATION_FRAME_TIMER for all ports
https://bugs.webkit.org/show_bug.cgi?id=172780
Summary
[WebCore] Enable REQUEST_ANIMATION_FRAME_TIMER for all ports
Don Olmstead
Reported
2017-05-31 15:23:44 PDT
All ports have USE_REQUEST_ANIMATION_FRAME_TIMER on. Remove all conditional compilation around it.
Attachments
Patch
(17.93 KB, patch)
2017-05-31 17:00 PDT
,
Don Olmstead
no flags
Details
Formatted Diff
Diff
Patch
(17.93 KB, patch)
2017-05-31 17:09 PDT
,
Don Olmstead
no flags
Details
Formatted Diff
Diff
Patch
(18.03 KB, patch)
2017-05-31 17:39 PDT
,
Don Olmstead
no flags
Details
Formatted Diff
Diff
Patch
(18.04 KB, patch)
2017-05-31 17:41 PDT
,
Don Olmstead
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Don Olmstead
Comment 1
2017-05-31 17:00:28 PDT
Created
attachment 311659
[details]
Patch Removing all references to USE(REQUEST_ANIMATION_FRAME_TIMER). In Platform.h there's a conditional !USE(WINGDI) for its setting but no one is building with WINGDI and it should probably be removed in the future.
Build Bot
Comment 2
2017-05-31 17:03:23 PDT
Attachment 311659
[details]
did not pass style-queue: ERROR: Source/WebCore/page/Chrome.h:88: Missing space inside { }. [whitespace/braces] [5] Total errors found: 1 in 7 files If any of these errors are false positives, please file a bug against check-webkit-style.
Don Olmstead
Comment 3
2017-05-31 17:09:02 PDT
Created
attachment 311661
[details]
Patch Fix style
Don Olmstead
Comment 4
2017-05-31 17:39:00 PDT
Created
attachment 311665
[details]
Patch
Build Bot
Comment 5
2017-05-31 17:40:11 PDT
Attachment 311665
[details]
did not pass style-queue: ERROR: Source/WebCore/ChangeLog:8: You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible. [changelog/nonewtests] [5] Total errors found: 1 in 7 files If any of these errors are false positives, please file a bug against check-webkit-style.
Don Olmstead
Comment 6
2017-05-31 17:41:48 PDT
Created
attachment 311666
[details]
Patch
Don Olmstead
Comment 7
2017-05-31 18:47:52 PDT
Comment on
attachment 311666
[details]
Patch Think this is ready to go. Only question I'm not sure of is if scheduleAnimation should just be removed from HostWindow/Chrome.
Alex Christensen
Comment 8
2017-06-01 09:34:15 PDT
Comment on
attachment 311666
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=311666&action=review
> Source/WebCore/page/Chrome.h:88 > - void scheduleAnimation() override; > + void scheduleAnimation() override { }
Yeah, this seems no longer needed, so let's just remove it. Maybe in a followup patch if that requires more surgery. And if it is needed and can be final instead of just override, let's do that.
Konstantin Tokarev
Comment 9
2017-06-01 16:09:05 PDT
Is it possible to !REQUEST_ANIMATION_FRAME_TIMER code, if I'll keep it working?
Konstantin Tokarev
Comment 10
2017-06-01 16:09:51 PDT
I've meant, to keep !REQUEST_ANIMATION_FRAME_TIMER code
Don Olmstead
Comment 11
2017-06-03 19:00:49 PDT
(In reply to Konstantin Tokarev from
comment #10
)
> I've meant, to keep !REQUEST_ANIMATION_FRAME_TIMER code
Currently the !USE(REQUEST_ANIMATION_FRAME_TIMER) path does not compile. I found this out when compiling out the PS4 on trunk which did not have it set. The only case where USE_REQUEST_ANIMATION_FRAME_TIMER was not turned on was if USE(WINGDI) was set. No one is using WINGDI and that should likely be removed as well. That is why I made the patch to remove it. As we've been going through WebCore we've been encountering and fixing any of these issues. If someone wants to fix the !USE(REQUEST_ANIMATION_FRAME_TIMER) path that's fine. This just looks to remove a bunch of unused code and maybe more. I don't know enough about what Qt WebKit requires so I'm not sure why this would be a problem for you.
Alex Christensen
Comment 12
2017-06-05 13:20:04 PDT
Is there any fundamental problem preventing USE_REQUEST_ANIMATION_FRAME_TIMER on Qt? We would like to drop as many of these legacy !USE_COMMONLY_IMPLEMENTED_THING code paths as possible.
WebKit Commit Bot
Comment 13
2017-06-06 15:29:48 PDT
Comment on
attachment 311666
[details]
Patch Clearing flags on attachment: 311666 Committed
r217862
: <
http://trac.webkit.org/changeset/217862
>
WebKit Commit Bot
Comment 14
2017-06-06 15:29:50 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug