Граф коммитов

14662 Коммитов

Автор SHA1 Сообщение Дата
Timothy Nikkel ee21c076c2 Bug 1156238. Skip setting async scroll clips if we aren't painting to the window because they are useless then. r=mstange
Displayports only get acted upon when painting to the window, and the async scroll clips only get computed when we use a displayport.

In addition we change an assert because if we are painting to the window then our root reference frame is either a root frame, or a popup frame. In either case we should not be able to get to out of flows outside of the frame subtree rooted at the root reference frame by following placeholders.
2015-11-03 02:03:47 -06:00
Timothy Nikkel fab15510f7 Bug 1156238. Fix the computation of animated geometry roots for transform items. r=mattwoodrow
Removing the "stop at ancestor" parameter from functions that compute AGR meant that nsLayoutUtils::GetAnimatedGeometryRootFor could no longer pass the display item's reference frame as the "stop at ancestor" which meant that the AGR could cross the reference frame for the item, which we don't want. So we make transformed frames into AGRs.

This makes the computation of display items whose frames are transformed tricky. We need the AGR of the transform item to be the ancestor AGR, not the underlying frame of the transform item (which is now an AGR). So we modify nsLayoutUtils::GetAnimatedGeometryRootFor to handle this. (The patch from bug 1205087 didn't suffer from this problem because it special cased the computation of the AGR of transform items. Leaving anybody who called nsLayoutUtils::GetAnimatedGeometryRootFor to get the wrong result.)

The computation of the AGR for scroll metadata in ContainerState::ProcessDisplayItems specifically bypassed nsLayoutUtils::GetAnimatedGeometryRootFor to avoid it's special processing of fixed background items. However we do want the AGR for scroll metadata to do this special processing of transform items. So we add a flag to bypass the fixed background behaviour and use it for the scroll metadata AGR.
2015-11-03 02:03:47 -06:00
Matt Woodrow cf0b78ff4c Bug 1156238. Always stop at the root reference frame when looking for an animated geometry root. r=roc,mattwoodrow
This removes the "aStopAtAncestor" argument to agr computing functions. In most cases an AGR was passed for the stop at ancestor, so we'd stop at it anyway since it was an AGR. Most of the remaining cases the root reference frame was passed. And in a few cases something else was passed, which we probably don't want (returning something that isn't an AGR and isn't the root reference frame as an AGR).

The ShouldFixToViewport case is a little tricky. We want to get the AGR of the nearest viewport frame, but only if we don't have to cross our root reference frame to get it. This happens in practice for example when a select dropdown has background-attachment: fixed inside it.

Except for the ShouldFixToViewport bit, this patch is a subset of part 3 in bug 1205087 (which has more changes, and has been temporarily backed out, the remaining bits can hopefully land soon).

The ShouldFixToViewport part is by Timothy Nikkel <tnikkel@gmail.com>
2015-11-03 02:03:47 -06:00
Nigel Babu 9892fe78d6 Backed out changeset de50fec5c3a6 (bug 1219020) 2015-11-03 11:59:06 +05:30
Nigel Babu aa60675f7f Backed out changeset 19e021ef5ba1 (bug 1216288) 2015-11-03 11:59:05 +05:30
Matt Woodrow ffd079e640 Bug 1216288 - Disable warning when we don't build an active layer for RenderFrameParent within an opacity:0 subtree. r=roc
--HG--
extra : rebase_source : 9eade6266c0a1f6485e5b82ab0c0c5bc49f9a85c
2015-11-03 16:49:22 +13:00
Matt Woodrow 63db61e6ca Bug 1219020 - Don't do layer tree comparisons for inactive layer trees that have changed layers since we'll invalidate it all anyway. r=roc
--HG--
extra : rebase_source : 659233e99a8c84a7d4a097aed06adb243bd10955
2015-11-03 16:48:42 +13:00
Mason Chang 02d08f46c2 Bug 1220699 - Add telemetry probe to measure vsync latency in the parent refresh driver. r=avih 2015-11-02 13:21:06 -08:00
Markus Stange ec2e30835a Bug 1201327 - Let DLBI detect background-position changes. r=mattwoodrow
--HG--
extra : commitid : CDTUZNG0PYF
extra : rebase_source : 0f5db6e4a5cde5fe8faeb77e15f95d12f6753fac
2015-10-28 22:52:15 +01:00
Markus Stange 0beffda503 Bug 1201327 - Rename mDestRect to mImageLayerDestRect. r=mattwoodrow
--HG--
extra : commitid : 1cQZUlaicax
extra : rebase_source : f0877a904738c9f75a96b2bbe64728ff567f044e
2015-10-20 15:27:29 +02:00
Markus Stange ef4655be32 Bug 1201330 - Keep scroll handler induced layer activity active until the scroll frame becomes inactive. r=roc
--HG--
extra : commitid : K9ntCNQz1Fx
extra : rebase_source : ed8a567f22626d7074bbc58eb5e61baa251fe2c3
2015-10-30 16:28:53 +01:00
Markus Stange d4830adc3d Bug 1201330 - Refactor LayerActivity property management. r=roc
--HG--
extra : commitid : 8TXvWYgtQN
extra : rebase_source : c5ab51b6620bc5f8735c2e6567bb4c0a03b13197
2015-10-21 16:25:09 +02:00
Birunthan Mohanathas 9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Ryan VanderMeulen 7bb977d5ac Bug 695964 - Add crashtest.
--HG--
extra : rebase_source : 2b9fecf2d5db1db414b61c27db05f665a1d449eb
2015-11-01 07:23:24 -05:00
Ryan VanderMeulen fa1d35aecd Bug 690619 - Add crashtest.
--HG--
extra : rebase_source : bab83c75ac963f7437bd3599bf25a52a7034d579
2015-11-01 07:23:24 -05:00
Ryan VanderMeulen e3cdc2558a Bug 690247 - Add crashtest.
--HG--
extra : rebase_source : 108b750fb2d13437df6dc77c1b081148532da4ba
2015-11-01 07:23:24 -05:00
Ryan VanderMeulen 028dec7cc8 No bug - Various crashtest manifest cleanups.
--HG--
rename : dom/base/crashtests/713417.html => dom/base/crashtests/713417-1.html
rename : dom/workers/test/1158031.html => dom/workers/test/crashtests/1158031.html
rename : dom/workers/test/779707.html => dom/workers/test/crashtests/779707.html
rename : dom/workers/test/943516.html => dom/workers/test/crashtests/943516.html
rename : dom/workers/test/crashtests.list => dom/workers/test/crashtests/crashtests.list
rename : layout/generic/crashtests/812879.html => layout/generic/crashtests/812879-1.html
rename : layout/generic/crashtests/first-letter-638937.html => layout/generic/crashtests/first-letter-638937-1.html
extra : rebase_source : b9274dc6870030ed62bcee35350d566160502869
2015-10-31 19:35:27 -04:00
Nicholas Nethercote 3d0821d5fd Bug 1219476 (part 5) - Replace PRLogModuleInfo usage with LazyLogModule in gfx/. r=erahm.
--HG--
extra : rebase_source : c39ecc84dbe9a0f94b42f1c78dabf346ce3a3b9e
2015-10-29 15:58:24 -07:00
Kartikaya Gupta d2dfde6db3 Bug 1220020. When we turn something into an animated geometry root, clear the cache of animated geometry roots so it's not stale. r=tnikkel 2015-10-05 17:13:02 -04:00
Timothy Nikkel f1cb02157d Bug 1215356. When setting a display port, schedule paint on that frame, not the root frame of the document. r=mattwoodrow
If we set a display port on an element in a popup we need to repaint the popup, not the main window.
2015-11-01 11:45:40 -06:00
Ryan VanderMeulen 58e04dabc8 Bug 540078 - Remove assertion annotations that are no longer needed and add crashtest. 2015-10-30 19:41:18 -04:00
Ryan VanderMeulen e7d60aac0f Bug 738803 - Remove assertion annotation from 736924-1.html. 2015-10-30 19:41:18 -04:00
Ryan VanderMeulen cb6fb26fed Bug 844525 - Remove assertion annotation from 421432.html. 2015-10-30 19:41:18 -04:00
Ryan VanderMeulen 397e16525b Bug 429586 - Remove assertion annotations that are no longer needed and add crashtest. 2015-10-30 19:41:18 -04:00
Ryan VanderMeulen aa4771d4ea Bug 531589 - Remove assertion annotation from 378325-1.html. 2015-10-30 19:41:18 -04:00
Ryan VanderMeulen 82bfb5ba42 Bug 439258 - Remove assertion annotations that are no longer needed and add crashtest. 2015-10-30 19:41:17 -04:00
Ryan VanderMeulen cc674dddb2 No bug - Remove annotations from the editor and layout crashtest manifests that are no longer needed. 2015-10-30 19:41:17 -04:00
Ryan VanderMeulen 75443c2f4a Bug 651342 - Add crashtest. 2015-10-30 19:41:17 -04:00
Ryan VanderMeulen 329ac901c1 Bug 636229 - Add crashtest. 2015-10-30 19:41:17 -04:00
Ryan VanderMeulen e94fcac081 Bug 613817 - Add crashtest. 2015-10-30 19:41:16 -04:00
Andrew McCreight 5981b92f78 Bug 1219842 - Enable a bunch of mochitest-plain tests under e10s. r=mrbkap 2015-10-31 06:26:44 -07:00
Kartikaya Gupta 914afa45da Bug 1219898 - Remove unneccessary gPreventMouseEvents flag. r=smaug
--HG--
extra : commitid : AWJfSunbegp
2015-10-30 22:22:32 -04:00
Carsten "Tomcat" Book f6402a3a5e Backed out changeset 72da2ed9b1e7 (bug 1201330) for c3 crashtest failures on Windows on a CLOSED TREE
--HG--
extra : rebase_source : cc01c3cea346c49eb0fc968a3604641564b28ed9
2015-10-30 14:46:34 +01:00
Carsten "Tomcat" Book 2fe6ba353f Backed out changeset d5d68c0258f3 (bug 1201330)
--HG--
extra : rebase_source : 2b98ebd0dd0ccd247b50e4b45210137622ef4441
2015-10-30 14:44:06 +01:00
Markus Stange 09bf18ccd8 Bug 1201330 - Keep scroll handler induced layer activity active until the scroll frame becomes inactive. r=roc
--HG--
extra : commitid : AV1sQewWYHl
extra : rebase_source : ef132043f3af460c1aabc531faa06752d4c9c2df
2015-10-27 17:18:03 +01:00
Markus Stange 4d2fb24448 Bug 1201330 - Refactor LayerActivity property management. r=roc
--HG--
extra : commitid : 3igY5amVLBh
extra : rebase_source : a12ef4c43805b0e9c196e12cee4152949e627934
2015-10-21 16:25:09 +02:00
Markus Stange 3d807f5df0 Bug 947062 - Layerize background images with animated background-position if possible. r=mattwoodrow
--HG--
extra : commitid : 3X0JsdgMq4M
extra : rebase_source : 461428803c17b3634b8a242c8b1cd0bc58d67ca6
2015-10-22 22:38:46 +02:00
Markus Stange 7d8fa64572 Bug 947062 - Refactor nsDisplayBackgroundImage::GetLayerState. r=mattwoodrow
--HG--
extra : commitid : 3smcI8XeXP2
extra : rebase_source : 7fc94ccc5ffc6ce1420dc2250c32b48732665315
extra : amend_source : 9dab8e397f9428cb09ec0ce0c7ba7f97acedc1d9
2015-10-30 11:45:55 +01:00
Markus Stange 9b562aa73b Bug 947062 - Make background-position inline-style changes and CSS animations trigger layer activity. r=roc
--HG--
extra : commitid : 8Qu6NaiH9Ww
extra : rebase_source : 053f9d124287e10077c93c8e82afb60d2fab8d49
2015-10-22 22:45:14 +02:00
Markus Stange 5b914060de Bug 1216580 - Make background-position:fixed clip stealing work with display items that create their own layer. r=mattwoodrow
--HG--
extra : commitid : DDSgacDfi8Q
extra : rebase_source : 2dd3eb60ff21b2cc8f6cc588581859dc9a7fec1b
2015-10-28 18:46:40 +01:00
Milan Sreckovic 33b10a1074 Bug 1214802 - gfxEnv - consolidate environment variables used by the graphics code in one place. r=botond 2015-10-28 14:31:00 +01:00
Kartikaya Gupta 72ef88ba25 Bug 1212136 - Remove noisy warning that we don't have time to investigate properly. r=tnikkel 2015-10-29 11:27:00 +01:00
Matt Woodrow 6e172bbe58 Bug 1216851 - Don't include event regions when deciding if we can flatten opacity. r=roc
--HG--
extra : rebase_source : 65d28110e173bc1b51437a6d39d6406ec00271e9
2015-10-23 11:22:54 +13:00
Cameron McCormack 10e7cb5fae Bug 1219991 - Make RestyleManager::{Begin,End}ProcessingRestyles private. r=dholbert 2015-10-30 10:57:47 +11:00
Cameron McCormack 2328daec26 Comment typo fix; no bug. (DONTBUILD)
--HG--
extra : rebase_source : c17a904cc2d7fcaecaaf658eed87da4511d4de94
2015-10-30 10:38:20 +11:00
Seth Fowler d8821b6da6 Bug 1207355 (Part 1) - Stop requesting decodes in nsDocument. r=tn 2015-10-29 16:37:42 -07:00
Carsten "Tomcat" Book ed04efa6b9 Backed out changeset 9ea2c1e54b0f (bug 1216851) 2015-10-29 13:52:15 +01:00
Matt Woodrow 6a6dbf9113 Bug 1215412 - Apply perspective origin after transform origin. r=jwatt 2015-10-23 12:49:34 +13:00
Carsten "Tomcat" Book 5764850cf1 Backed out changeset c488bab447bd (bug 1215412) for R15 Test failures
--HG--
extra : rebase_source : 3229bc8f42071bda7cfda29d2349cafb6ed0fda1
2015-10-29 10:06:13 +01:00
Matt Woodrow c360842c46 Bug 1215412 - Apply perspective origin after transform origin. r=jwatt
--HG--
extra : rebase_source : f1a4faa93cf48c5bf315cdbe94358fd123aebd0c
2015-10-23 12:49:34 +13:00