Bug 98315

Summary: Turn Compositing on by default in WebKit build
Product: WebKit Reporter: Rik Cabanier <cabanier>
Component: CSSAssignee: Rik Cabanier <cabanier>
Status: RESOLVED FIXED    
Severity: Normal CC: cmarcelo, dbates, dglazkov, dino, donggwan.kim, macpherson, menard, roger_fong, simon.fraser, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 98681    
Bug Blocks: 91908    
Attachments:
Description Flags
first try
buildbot: commit-queue-
touched .in files
none
updated all featuresDefines files
none
forgot to update patch
webkit.review.bot: commit-queue-
tried changing expectations for chromium
none
fixed patch
simon.fraser: review+, simon.fraser: commit-queue-
updated comments and removed whitespace
buildbot: commit-queue-
dummy change to .in file
none
patched changelog
none
bots couldn't merge changelogs
none
Patch for landing none

Rik Cabanier
Reported 2012-10-03 16:04:11 PDT
Compositing is behind a define that is currently turned off in WebKit builds. Simon Fraser recommended that it should be turned on.
Attachments
first try (28.76 KB, patch)
2012-10-03 16:15 PDT, Rik Cabanier
buildbot: commit-queue-
touched .in files (32.17 KB, text/plain)
2012-10-03 16:40 PDT, Rik Cabanier
no flags
updated all featuresDefines files (32.17 KB, text/plain)
2012-10-03 16:50 PDT, Rik Cabanier
no flags
forgot to update patch (33.77 KB, patch)
2012-10-03 16:58 PDT, Rik Cabanier
webkit.review.bot: commit-queue-
tried changing expectations for chromium (34.68 KB, text/plain)
2012-10-03 19:16 PDT, Rik Cabanier
no flags
fixed patch (34.69 KB, patch)
2012-10-03 19:22 PDT, Rik Cabanier
simon.fraser: review+
simon.fraser: commit-queue-
updated comments and removed whitespace (32.77 KB, text/plain)
2012-10-04 10:23 PDT, Rik Cabanier
buildbot: commit-queue-
dummy change to .in file (33.45 KB, patch)
2012-10-04 10:40 PDT, Rik Cabanier
no flags
patched changelog (33.34 KB, patch)
2012-10-04 11:26 PDT, Rik Cabanier
no flags
bots couldn't merge changelogs (33.50 KB, patch)
2012-10-04 19:03 PDT, Rik Cabanier
no flags
Patch for landing (33.48 KB, patch)
2012-10-04 19:21 PDT, Rik Cabanier
no flags
Rik Cabanier
Comment 1 2012-10-03 16:15:15 PDT
Created attachment 166985 [details] first try
Simon Fraser (smfr)
Comment 2 2012-10-03 16:20:50 PDT
Comment on attachment 166985 [details] first try View in context: https://bugs.webkit.org/attachment.cgi?id=166985&action=review > Source/WebCore/Configurations/FeatureDefines.xcconfig:51 > ENABLE_CSS_IMAGE_ORIENTATION = ; > ENABLE_CSS_IMAGE_RESOLUTION = ; > ENABLE_CSS_REGIONS = ENABLE_CSS_REGIONS; > ENABLE_CSS_SHADERS = ENABLE_CSS_SHADERS; > -ENABLE_CSS_COMPOSITING = ; > +ENABLE_CSS_COMPOSITING = ENABLE_CSS_COMPOSITING; > ENABLE_CSS_STICKY_POSITION = ENABLE_CSS_STICKY_POSITION; > ENABLE_CSS_VARIABLES = ; > ENABLE_CSS3_TEXT_DECORATION = ; You need to do this in all the FeatureDefines.xcconfig files, and make sure ENABLE_CSS_COMPOSITING is included in the FEATURE_DEFINES lines.
Build Bot
Comment 3 2012-10-03 16:20:51 PDT
Rik Cabanier
Comment 4 2012-10-03 16:40:43 PDT
Created attachment 166991 [details] touched .in files
WebKit Review Bot
Comment 5 2012-10-03 16:44:30 PDT
Attachment 166991 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/css3..." exit_code: 1 Source/WebCore/ChangeLog:23: ChangeLog entry has no bug number [changelog/bugnumber] [5] Total errors found: 1 in 11 files If any of these errors are false positives, please file a bug against check-webkit-style.
Rik Cabanier
Comment 6 2012-10-03 16:50:02 PDT
Created attachment 166994 [details] updated all featuresDefines files
Simon Fraser (smfr)
Comment 7 2012-10-03 16:52:09 PDT
Comment on attachment 166994 [details] updated all featuresDefines files Bad patch
WebKit Review Bot
Comment 8 2012-10-03 16:53:54 PDT
Attachment 166994 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/css3..." exit_code: 1 Source/WebCore/ChangeLog:23: ChangeLog entry has no bug number [changelog/bugnumber] [5] Total errors found: 1 in 11 files If any of these errors are false positives, please file a bug against check-webkit-style.
Rik Cabanier
Comment 9 2012-10-03 16:58:01 PDT
Created attachment 167000 [details] forgot to update patch
Rik Cabanier
Comment 10 2012-10-03 19:16:35 PDT
Created attachment 167021 [details] tried changing expectations for chromium
WebKit Review Bot
Comment 11 2012-10-03 19:18:29 PDT
Attachment 167021 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/css3..." exit_code: 1 LayoutTests/ChangeLog:16: Need whitespace between colon and description [changelog/filechangedescriptionwhitespace] [5] Total errors found: 1 in 18 files If any of these errors are false positives, please file a bug against check-webkit-style.
Rik Cabanier
Comment 12 2012-10-03 19:22:00 PDT
Created attachment 167023 [details] fixed patch
WebKit Review Bot
Comment 13 2012-10-03 19:32:00 PDT
Comment on attachment 167000 [details] forgot to update patch Attachment 167000 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/14171011
WebKit Review Bot
Comment 14 2012-10-03 20:26:28 PDT
Comment on attachment 167000 [details] forgot to update patch Attachment 167000 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/14152347 New failing tests: css3/compositing/blend-mode-property.html css3/compositing/should-have-compositing-layer.html
Simon Fraser (smfr)
Comment 15 2012-10-04 10:08:04 PDT
Comment on attachment 167023 [details] fixed patch View in context: https://bugs.webkit.org/attachment.cgi?id=167023&action=review > Source/JavaScriptCore/ChangeLog:9 > + smfr said that this feature should be turned on and that browser can elect to > + pick it up A better comment would be "enable this feature on trunk." I don't think any further justification is required, but you might want to reference a bug or bugs about enabling it on other platforms. > Source/WebCore/css/CSSPropertyNames.in:8 > // > + > // Microsoft extensions are documented here: Whitespace > Source/WebCore/css/CSSValueKeywords.in:45 > all > + > // Whitespace
Rik Cabanier
Comment 16 2012-10-04 10:23:20 PDT
Created attachment 167121 [details] updated comments and removed whitespace
Build Bot
Comment 17 2012-10-04 10:31:49 PDT
Comment on attachment 167121 [details] updated comments and removed whitespace Attachment 167121 [details] did not pass mac-ews (mac): Output: http://queues.webkit.org/results/14181052
Rik Cabanier
Comment 18 2012-10-04 10:40:46 PDT
Created attachment 167126 [details] dummy change to .in file
Simon Fraser (smfr)
Comment 19 2012-10-04 11:23:38 PDT
Comment on attachment 167126 [details] dummy change to .in file View in context: https://bugs.webkit.org/attachment.cgi?id=167126&action=review > LayoutTests/ChangeLog:9 > + smfr said that this feature should be turned on and that browser can elect to > + pick it up. Existing test are now passing. New baselines submitted. Has old comment.
Rik Cabanier
Comment 20 2012-10-04 11:26:02 PDT
Created attachment 167143 [details] patched changelog
WebKit Review Bot
Comment 21 2012-10-04 15:13:25 PDT
Comment on attachment 167143 [details] patched changelog Rejecting attachment 167143 [details] from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2 Last 500 characters of output: ted in Chromium rebaselines after r130411. Auto-merging Source/JavaScriptCore/ChangeLog Failed to merge in the changes. Patch failed at 0001 Chromium rebaselines after r130411. When you have resolved this problem run "git rebase --continue". If you would prefer to skip this patch, instead run "git rebase --skip". To restore the original branch and stop rebasing run "git rebase --abort". rebase refs/remotes/origin/master: command returned error: 1 Died at Tools/Scripts/update-webkit line 164. Full output: http://queues.webkit.org/results/14176247
WebKit Review Bot
Comment 22 2012-10-04 17:21:26 PDT
Comment on attachment 167143 [details] patched changelog Rejecting attachment 167143 [details] from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2 Last 500 characters of output: LICT (content): Merge conflict in Source/WebCore/ChangeLog Failed to merge in the changes. Patch failed at 0001 IndexedDB: promote objectstore/index backend ids to the frontend When you have resolved this problem run "git rebase --continue". If you would prefer to skip this patch, instead run "git rebase --skip". To restore the original branch and stop rebasing run "git rebase --abort". rebase refs/remotes/origin/master: command returned error: 1 Died at Tools/Scripts/update-webkit line 164. Full output: http://queues.webkit.org/results/14168509
Rik Cabanier
Comment 23 2012-10-04 19:03:49 PDT
Created attachment 167224 [details] bots couldn't merge changelogs
Rik Cabanier
Comment 24 2012-10-04 19:21:11 PDT
Created attachment 167229 [details] Patch for landing
WebKit Review Bot
Comment 25 2012-10-04 21:56:34 PDT
Comment on attachment 167229 [details] Patch for landing Clearing flags on attachment: 167229 Committed r130460: <http://trac.webkit.org/changeset/130460>
WebKit Review Bot
Comment 26 2012-10-04 21:56:40 PDT
All reviewed patches have been landed. Closing bug.
Roger Fong
Comment 27 2012-10-12 13:41:39 PDT
Hello, can I go ahead and enable this on Windows too? Shouldn't cause any issues right?
Rik Cabanier
Comment 28 2012-10-12 13:45:00 PDT
(In reply to comment #27) > Hello, can I go ahead and enable this on Windows too? Shouldn't cause any issues right? No, feel free to do so. Will all the CALayer and CG code work there too?
Roger Fong
Comment 29 2012-10-12 13:46:40 PDT
(In reply to comment #28) > (In reply to comment #27) > > Hello, can I go ahead and enable this on Windows too? Shouldn't cause any issues right? > > No, feel free to do so. > Will all the CALayer and CG code work there too? Should be fine yeah Thanks
Roger Fong
Comment 30 2012-10-12 14:32:42 PDT
Just kidding. Simon says that the blend stuff uses CIFilters and on Windows there are no CIFilters. So that won't work at all. I think I'll just keep blending disabled and skip the tests on Windows.
Dean Jackson
Comment 31 2012-10-12 14:43:11 PDT
We'll be able to do some of the operations on Windows using a back door. It will require code though.
Note You need to log in before you can comment on or make changes to this bug.