WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 24256
Add a preference flag to force software animation
https://bugs.webkit.org/show_bug.cgi?id=24256
Summary
Add a preference flag to force software animation
Chris Marrin
Reported
2009-02-27 16:26:55 PST
A flag to always force software animation, even when accelerated compositing is enabled would be useful in testing.
Attachments
Patch
(2.62 KB, patch)
2009-02-27 16:41 PST
,
Chris Marrin
simon.fraser
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Chris Marrin
Comment 1
2009-02-27 16:41:46 PST
Created
attachment 28107
[details]
Patch
Simon Fraser (smfr)
Comment 2
2009-02-27 16:57:03 PST
Comment on
attachment 28107
[details]
Patch
> Index: WebCore/ChangeLog > =================================================================== > --- WebCore/ChangeLog (revision 41308) > +++ WebCore/ChangeLog (working copy) > @@ -1,3 +1,19 @@ > +2009-02-27 Chris Marrin <
cmarrin@apple.com
> > + > + Reviewed by NOBODY (OOPS!). > + > +
https://bugs.webkit.org/show_bug.cgi?id=24256
> + > + Added a WebCoreForceSoftwareAnimation flag. > + > + WARNING: NO TEST CASES ADDED OR CHANGED
Remove this before committing.
> Index: WebCore/platform/graphics/mac/GraphicsLayerCA.mm > ===================================================================
> +static bool forceSoftwareAnimation() > +{ > + static int forceSoftwareAnimation = [[NSUserDefaults standardUserDefaults] boolForKey:@"WebCoreForceSoftwareAnimation"]; > + return forceSoftwareAnimation; > +}
Feel free to change this and the other static ints to static bools. I have no idea why they are ints. r=me with those changes.
Chris Marrin
Comment 3
2009-03-03 10:55:50 PST
Sending WebCore/ChangeLog Sending WebCore/platform/graphics/mac/GraphicsLayerCA.mm Transmitting file data .. Committed revision 41397.
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