WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
101827
Allow ports to decide whether an image should be directly composited
https://bugs.webkit.org/show_bug.cgi?id=101827
Summary
Allow ports to decide whether an image should be directly composited
Noam Rosenthal
Reported
2012-11-09 19:55:59 PST
For coordinated-graphics (Qt/EFL), it doesn't make sense to directly composite huge images or animated GIFs. Since directly composited is an optional optimization, it would make sense to let the GraphicsLayer implementation make the decision about the image direct compositing strategy, the same way it decides whether an animation is accelerated.
Attachments
Patch
(5.77 KB, patch)
2012-11-09 20:03 PST
,
Noam Rosenthal
no flags
Details
Formatted Diff
Diff
Patch for landing
(5.66 KB, patch)
2012-11-09 20:15 PST
,
Noam Rosenthal
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Noam Rosenthal
Comment 1
2012-11-09 20:03:32 PST
Created
attachment 173426
[details]
Patch
Simon Fraser (smfr)
Comment 2
2012-11-09 20:09:39 PST
Comment on
attachment 173426
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=173426&action=review
> Source/WebCore/platform/graphics/GraphicsLayer.h:342 > + virtual bool canDirectlyCompositeImage(Image*) const { return true; }
I think shouldDirectlyCompositeImage() would be slightly better.
Noam Rosenthal
Comment 3
2012-11-09 20:15:50 PST
Created
attachment 173427
[details]
Patch for landing
WebKit Review Bot
Comment 4
2012-11-09 20:49:39 PST
Comment on
attachment 173427
[details]
Patch for landing Clearing flags on attachment: 173427 Committed
r134147
: <
http://trac.webkit.org/changeset/134147
>
WebKit Review Bot
Comment 5
2012-11-09 20:49:42 PST
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