A flag to always force software animation, even when accelerated compositing is enabled would be useful in testing.
Created attachment 28107 [details] Patch
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.
Sending WebCore/ChangeLog Sending WebCore/platform/graphics/mac/GraphicsLayerCA.mm Transmitting file data .. Committed revision 41397.