Nicolas Silva
0061e505e2
Bug 1221056 - Make the destroy messages for PTexture and PCompositable part of the current transaction when applicable. r=sotaro
2016-01-07 11:17:40 +01:00
Johan Lorenzo
d74e322301
Backout Bug 1221056 - make the destroy messages for PTexture and PCompositable part of the current transaction when applicable. r=sotaro
...
For breaking Firefox OS boot startup (see bug 1237197)
2016-01-06 14:59:35 +01:00
Nicolas Silva
6d9176802f
Bug 1221056 - make the destroy messages for PTexture and PCompositable part of the current transaction when applicable. r=sotaro
2016-01-05 14:03:26 +01:00
Kartikaya Gupta
5f35a63965
Bug 1228602 - Ensure that we pick up the presShell resolution from the layer if there isn't a metrics. r=botond
2015-12-09 17:29:03 -05:00
Botond Ballo
6d77a56654
Bug 1069417 - Remove the explicit template argument of TransformTo() and related functions. r=kats
...
In this process, TransformTo() and UntransformTo() are renamed TransformedBy()
and UntransformBy() so calls to them continue to read sensibly.
2015-11-30 20:06:45 -05:00
Botond Ballo
85af71a0e4
Bug 1069417 - Modify TransformTo() and related functions to use typed matrices. r=kats
...
Call sites (all in APZ and related code) were modified accordingly. Some of
these modifications involved changing some matrices stored in APZ to be typed.
2015-11-30 20:14:31 -05:00
Markus Stange
7747939a01
Bug 1198021 - When the ContentClient of a ClientTiledPaintedLayer changes, don't destroy the old content client until after the layer transaction has been sent. r=nical
2015-11-27 16:09:18 +01:00
Sunny Sidhu
2ba69faae0
Bug 1220873 - Make Layer::mVisibleRegion a LayerIntRegion. r=botond
2015-11-29 02:07:55 -05:00
Botond Ballo
db5d15db66
Bug 1222661 - Replace ToUntyped(obj) calls with obj.ToUnknown*(). r=nical
2015-11-06 22:13:40 -05:00
James Willcox
00911b2e72
Bug 1201541 - Add a pref for disabling single tile layers r=mattwoodrow
2015-09-28 09:37:01 -05:00
James Willcox
71d0f888cf
Bug 1201541 - Use SingleTiledContentClient for non-scrollable layers on Android r=mattwoodrow
2015-09-28 09:36:58 -05:00
Markus Stange
5a3df07a8d
Bug 1207590 - Don't use SingleTiledContentClient for layers that are larger than the maximum texture size. r=mattwoodrow
2015-09-23 12:26:56 +02:00
Markus Stange
eb9735d351
Back out changeset 17a4283a8b6f (bug 1195400) because of build bustage.
2015-09-22 12:51:48 +02:00
Markus Stange
9f1365fd12
Bug 1195400 - Don't use SingleTiledContentClient for layers that are larger than the maximum texture size. r=mattwoodrow
2015-09-20 18:34:04 +02:00
Kevin Wern
811c195d21
Bug 1173521 - Properly handle unapplying 3D projective transforms to rectangles in APZ code. r=botond
...
The untransformation is done using the newly added UntransformTo() functions
which call Matrix4x4::ProjectRectBounds(), which returns an empty rectangle
if the result is not at least partially on the positive side of the w = 0 plane.
UntransformTo() returnis the transformed rectangle if it's not empty, and
Nothing() otherwise, making callers check for this case.
The patch also adds some assertions to places where we apply transforms we
know should be 2D (and thus didn't switch to use UntransformTo()), checking
that the transforms are in fact 2D.
2015-08-28 12:00:29 -04:00
Matt Woodrow
a20bd93cc8
Bug 1180326 - Part 6: Use SingleTiledContentClient for non-scrollable layers on b2g and OSX. r=jrmuizel
2015-07-29 12:03:01 -04:00
Matt Woodrow
70980d7383
Bug 1180326 - Part 4: Add new content client. r=jrmuizel
2015-07-29 12:02:40 -04:00
Matt Woodrow
f2624668c2
Bug 1180326 - Part 1: Abstract parts of the client side tiling that we need. r=jrmuizel
2015-07-29 12:01:11 -04:00
Jamie Nicol
a1feb12475
Bug 1176077 - Only recompute PaintedLayer item visibility when display list has changed. r=mattwoodrow
...
FrameLayerManager::RecomputeItemsVisibility() was being called on every
call to FrameLayerBuilder::DrawPaintedLayer(), each time for the region
to be painted by that paint call. This is inefficient when progressive
paint is enabled. Change it so that we compute the visibility of all the
layer's items within the total region to be painted, but only on the
first paint after the display list has been modified.
2015-07-21 09:19:25 +01:00
Birunthan Mohanathas
a29151dc87
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Timothy Nikkel
c1571c5177
Bug 1179298. ClientTiledPaintedLayer should allow empty transactions to succeed if it doesn't need to draw anything. r=mattwoodrow
...
ClientTiledPaintedLayer::RenderLayer was returning false immediately if there was no callback. It should check if it actually has to draw anything first, and then if it needs to paint it can return false if there is no callback.
2015-07-02 12:50:15 -05:00
David Anderson
2511c6ca59
Bug 1148582 - Add mask layers to FrameMetrics for ancestor scroll frame clips. r=mattwoodrow
2015-06-21 12:27:31 -04:00
Markus Stange
3000f6c8eb
Back out bug 1148582 for static analysis bustage.
2015-07-01 01:20:59 -04:00
David Anderson
38a60e1411
Bug 1148582 - Add mask layers to FrameMetrics for ancestor scroll frame clips. r=mattwoodrow
2015-06-21 12:27:31 -04:00
Paul Rouget
9fd33c6cf4
Bug 1172537 - Make the warning: "Tiled PaintedLayer with no scrollable container ancestor" occur only on actual b2g phones. r=nical
2015-06-09 20:33:00 -04:00
David Anderson
e4bdc9d5b3
Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange)
2015-06-04 16:51:10 -04:00
Kartikaya Gupta
cb5c22758d
Bug 1160566 - Make FrameMetrics.mCompositionBounds private and add a getter/setter for it. r=botond
2015-05-07 14:44:03 -04:00
Nicolas Silva
d73f54cb00
Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas
2015-04-21 17:04:57 +02:00
Markus Stange
86418cc32a
Bug 1152838 - Correctly inflate valid regions to tile boundaries. r=mattwoodrow
2015-04-09 12:07:16 -04:00
Kartikaya Gupta
3c4bcf155a
Bug 1149461 - Disable progressive drawing unless the compositor is actively scrolling a tiled layer. r=nical
2015-04-07 10:43:28 -04:00
Kartikaya Gupta
7ce66107c4
Bug 1128042 - Don't round critical displayport out as it should already be tile aligned and rounding error can increase tile usage. r=botond
2015-03-20 14:26:51 -04:00
Kartikaya Gupta
1ad1fe3cd3
Bug 1036967 - Followup to fix debug logging. r=me
2015-03-20 06:58:04 -04:00
Kartikaya Gupta
d659a3274f
Bug 1139033 - Don't schedule an unnecessary repeat transaction when doing a non-progressive paint. r=nical
2015-03-05 06:04:03 -05:00
Kartikaya Gupta
b81f5b5e96
Bug 1137203 - Cleanup to ditch the fast-path code entirely and just prevent progressive drawing in the equivalent scenarios. r=BenWa
2015-02-26 17:45:37 -05:00
Kartikaya Gupta
6510ab7fc0
Bug 1137203 - Ignore the critical displayport when a layer is subject to OMTA relative to the scrolling ancestor. r=BenWa
2015-02-26 17:45:37 -05:00
Ryan VanderMeulen
e08fc71c94
Backed out changesets ddf965a90c07 and 305e676779f8 (bug 1137203) for being the likely cause of bug 1137952.
...
CLOSED TREE
2015-03-02 12:34:39 -05:00
Kartikaya Gupta
20e04399c1
Bug 1137203 - Cleanup to ditch the fast-path code entirely and just prevent progressive drawing in the equivalent scenarios. r=BenWa
2015-02-26 17:45:37 -05:00
Kartikaya Gupta
d518e1207c
Bug 1137203 - Ignore the critical displayport when a layer is subject to OMTA relative to the scrolling ancestor. r=BenWa
2015-02-26 17:45:37 -05:00
Benoit Girard
faf79de107
Bug 1134762 - Clean-up UseFastPath logic to avoid OOM error. r=kats
2015-02-18 15:27:40 -05:00
Ryan VanderMeulen
55fe222b9e
Backed out changeset ca73b950e612 (bug 1134762) for B2G crashtest failures.
2015-02-20 13:22:52 -05:00
Benoit Girard
4706881d21
Bug 1134762 - Clean-up UseFastPath logic to avoid OOM error. r=kats
2015-02-18 15:27:40 -05:00
Carsten "Tomcat" Book
1e062d0ce5
Backed out changeset 333cd39619fe (bug 1121871) for causing C2 Regressions
2015-02-18 09:08:54 +01:00
Kartikaya Gupta
cb87dec22d
Back out bug 1121871 as it is an improper fix and creates regressions like bug 1132741. r=BenWa (on IRC)
2015-02-17 16:30:53 -05:00
Benoit Girard
d37043aac4
Bug 1121871 - Properly compute the invalid region when painting using the tiling fast path. r=nical
2015-01-27 16:24:11 -05:00
Surabhi Anand
b5b1e8520c
Bug 1120203 - Transitioning mPresShellResolution field of FrameMetrics to use getters/setters. r=kats
2015-01-16 16:15:52 -05:00
David Anderson
9d1d0dafe9
Fix tiling computing the wrong displayport size when using containerless scrolling. (bug 1121108, r=botond)
2015-01-14 14:19:59 -08:00
Kartikaya Gupta
94951d5044
Bug 1120214 - Fix logging-only build failure. r=botond
2015-01-11 18:26:26 -05:00
Chris Peterson
ad426f785b
Bug 1118076 - Remove MOZ_THIS_IN_INITIALIZER_LIST. r=Waldo
2015-01-06 21:39:46 -08:00
Benoit Girard
28d47dc442
Bug 1112332 - Disable all paint heuristics for layers not actively scrolled by APZ. r=kats
2015-01-02 11:17:59 -05:00
Botond Ballo
6c9439a5e0
Bug 1076241 - Get rid of the nontransient async transform. r=kats
2014-12-19 18:53:05 -05:00