WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
173945
Async image decoding should be disabled for iBooks on tvOS
https://bugs.webkit.org/show_bug.cgi?id=173945
Summary
Async image decoding should be disabled for iBooks on tvOS
Said Abou-Hallawa
Reported
2017-06-28 16:28:02 PDT
The iBooks on tvOS is not a system application but it is an AppStore application. We need to disable async image decoding for iBooks on tvOS presently through WebKit.
Attachments
Patch
(2.54 KB, patch)
2017-06-28 18:02 PDT
,
Said Abou-Hallawa
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Said Abou-Hallawa
Comment 1
2017-06-28 18:02:55 PDT
Created
attachment 314077
[details]
Patch
Said Abou-Hallawa
Comment 2
2017-06-28 18:05:00 PDT
<
rdar://problem/32516256
>
Simon Fraser (smfr)
Comment 3
2017-06-28 18:23:46 PDT
Comment on
attachment 314077
[details]
Patch Let's wait until we've decided our general direction with async image decoding.
WebKit Commit Bot
Comment 4
2017-06-29 13:55:02 PDT
Comment on
attachment 314077
[details]
Patch Clearing flags on attachment: 314077 Committed
r218961
: <
http://trac.webkit.org/changeset/218961
>
WebKit Commit Bot
Comment 5
2017-06-29 13:55:03 PDT
All reviewed patches have been landed. Closing bug.
Darin Adler
Comment 6
2017-06-30 16:47:57 PDT
Comment on
attachment 314077
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=314077&action=review
> Source/WebCore/platform/graphics/BitmapImage.cpp:75 > +#if PLATFORM(IOS) > + if (!IOSApplication::isIBooks()) > +#endif > + m_allowLargeImageAsyncDecoding = settings.largeImageAsyncDecodingEnabled();
Wouldn’t it be slightly cleaner to set it to false when it is iOS iBooks instead of leaving it unset?
Said Abou-Hallawa
Comment 7
2017-07-03 12:07:20 PDT
Comment on
attachment 314077
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=314077&action=review
>> Source/WebCore/platform/graphics/BitmapImage.cpp:75 >> + m_allowLargeImageAsyncDecoding = settings.largeImageAsyncDecodingEnabled(); > > Wouldn’t it be slightly cleaner to set it to false when it is iOS iBooks instead of leaving it unset?
Do you mean for readability because m_allowLargeImageAsyncDecoding is initialized to false in the header file? So you recommend the following? #if PLATFORM(IOS) if (IOSApplication::isIBooks()) m_allowLargeImageAsyncDecoding = false; else #endif m_allowLargeImageAsyncDecoding = settings.largeImageAsyncDecodingEnabled(); I will do this clean up.
Said Abou-Hallawa
Comment 8
2017-07-04 21:45:25 PDT
Committed
r219125
: <
http://trac.webkit.org/changeset/219125
>
Simon Fraser (smfr)
Comment 9
2017-07-05 13:32:01 PDT
Comment on
attachment 314077
[details]
Patch This should also do a linked-on-or-after check so that this workaround is not permanent.
Tim Horton
Comment 10
2017-07-05 13:51:55 PDT
(In reply to Simon Fraser (smfr) from
comment #9
)
> Comment on
attachment 314077
[details]
> Patch > > This should also do a linked-on-or-after check so that this workaround is > not permanent.
And should JUST be about Storytime, not all iBooks.
Said Abou-Hallawa
Comment 11
2017-07-05 14:07:36 PDT
(In reply to Tim Horton from
comment #10
)
> (In reply to Simon Fraser (smfr) from
comment #9
) > > Comment on
attachment 314077
[details]
> > Patch > > > > This should also do a linked-on-or-after check so that this workaround is > > not permanent. > > And should JUST be about Storytime, not all iBooks.
Can you explain what linked-on-or-after check is? It also very helpful if you give an example for how check is implemented.
Tim Horton
Comment 12
2017-07-05 14:08:28 PDT
(In reply to Said Abou-Hallawa from
comment #11
)
> (In reply to Tim Horton from
comment #10
) > > (In reply to Simon Fraser (smfr) from
comment #9
) > > > Comment on
attachment 314077
[details]
> > > Patch > > > > > > This should also do a linked-on-or-after check so that this workaround is > > > not permanent. > > > > And should JUST be about Storytime, not all iBooks. > > Can you explain what linked-on-or-after check is? It also very helpful if > you give an example for how check is implemented.
See all uses of dyld_get_program_sdk_version in the project.
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