WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
167496
[Threaded Compositor] Stop creating the GLContext on demand the first time makeContextCurrent is called
https://bugs.webkit.org/show_bug.cgi?id=167496
Summary
[Threaded Compositor] Stop creating the GLContext on demand the first time ma...
Carlos Garcia Campos
Reported
2017-01-27 03:51:19 PST
This is causing problems with animations when entering AC mode on demand. What happens is that the threaded compositor is created, then the animation is scheduled and during the first animation iteration the GLContext is created, making the first frame of the animation quite slow. In my computer creating the GLContext takes 0.8 seconds. If the animation duration is less than the time it takes to create the GLContext, the animation ends without iterating. This causing timeouts in the bots in tests like animations/animation-iteration-event-destroy-renderer.html that expect webkitAnimationIteration events that never fire.
Attachments
Patch
(5.33 KB, patch)
2017-01-27 03:57 PST
,
Carlos Garcia Campos
zan
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Carlos Garcia Campos
Comment 1
2017-01-27 03:57:19 PST
Created
attachment 299926
[details]
Patch
Zan Dobersek
Comment 2
2017-01-27 04:07:41 PST
Comment on
attachment 299926
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=299926&action=review
> Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp:178 > if (m_context) > return m_context->makeContextCurrent();
return m_context && m_context->makeContextCurrent();
Carlos Garcia Campos
Comment 3
2017-01-27 04:12:25 PST
Committed
r211281
: <
http://trac.webkit.org/changeset/211281
>
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