Commit Graph

5717 Commits

Author SHA1 Message Date
Botond Ballo
2a723827ca Bug 1145787 - Put a misplaced assertion into its proper place. r=kats 2015-03-20 19:21:04 -04:00
Botond Ballo
768b0a908e Bug 1145345 - Account for a greater variety of rounding errors when comparing coordinates. r=kats 2015-03-20 14:02:07 -04:00
Kartikaya Gupta
feb9e191d8 Bug 1145764 - Add logging for tile retention inside a TiledLayerBuffer. r=nical 2015-03-23 13:01:02 -04:00
Kartikaya Gupta
3357340ee8 Bug 1145764 - Add some default-disabled logging to TextureClientPool. r=nical 2015-03-23 13:01:02 -04:00
Kartikaya Gupta
ea87960696 Bug 1145764 - Remove unused functions. r=nical 2015-03-23 13:01:02 -04:00
Kartikaya Gupta
eba9e453f7 Bug 1036967 - Follow-up to fix debug logging. r=me 2015-03-23 08:21:10 -04:00
Matt Woodrow
a0df2b83e3 Bug 1145513 - Upload YCbCr image data on the client side when using d3d9 layers. r=nical 2015-03-23 15:13:56 +13:00
David Anderson
c12a4de554 Add APZ support for test.mousescroll callbacks. (bug 1142866 part 3, r=kats) 2015-03-22 00:42:26 -07:00
David Anderson
6a85b0754a End APZ wheel transactions when the mouse moves out of frame. (bug 1142866 part 2, r=kats,botond) 2015-03-22 00:42:25 -07:00
David Anderson
6cdcb889b1 Add wheel transaction support to APZ. (bug 1142866 part 1, r=kats) 2015-03-22 00:36:13 -07:00
Jeff Muizelaar
c6d7e3feaf Bug 1144136. Remove unneeded Flush() from D3D11 compositor. r=bas
I don't think we need this because the Present() call has an implicit flush.
2015-03-21 15:07:06 -04:00
Ehsan Akhgari
5cccea6f0f Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Botond Ballo
a1c5fe7117 Bug 1145702 - Make the assertion in Axis::GetOverscroll() more informative. r=Cwiiis 2015-03-20 13:02:23 -04:00
Wes Kocher
594f9bf623 Merge m-c to inbound a=merge CLOSED TREE 2015-03-20 18:01:17 -07:00
Wes Kocher
ad31f7c21a Backed out changeset fca0ab2e718d (bug 1121072) for frequent bc3 failures 2015-03-20 17:17:48 -07:00
Kartikaya Gupta
d1b7ab157f Bug 1139469 - Guard against a null compositor loop during startup on B2G. r=botond 2015-03-20 15:28:04 -04:00
Trevor Saunders
66a02c9a3a bug 1183967 - fixup correct case of mfidl.h 2015-03-20 15:18:26 -04:00
Bill McCloskey
9f8401ccae Bug 1121072 - Always notify when layers cleared 2015-03-20 11:52:43 -07:00
Kartikaya Gupta
8eac48cc93 Bug 1144831 - Remove the HandleLongTapUp callback and just use HandleSingleTap instead. r=botond 2015-03-20 14:26:52 -04:00
Kartikaya Gupta
ff7cb60a33 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
Wes Kocher
45bb17da3b Merge m-c to b2ginbound a=merge CLOSED TREE 2015-03-19 19:31:35 -07:00
Michael Wu
6923a7f75b Bug 1120780 - Fallback on lock_ycbcr when ColorConvertor fails, r=sotaro 2015-03-20 10:25:12 +08:00
Nicolas Silva
39e7d620f6 Bug 1143653 - Typo fix in a variable name. r=me 2015-03-19 12:07:28 +01:00
Kartikaya Gupta
cd31c2707c Bug 1142437 - Better deal with delayed state change notifications from APZ. r=botond 2015-03-19 06:54:34 -04:00
Kartikaya Gupta
f709915b5c Bug 1122090 - Send the allowed behaviour notification to APZ for touch blocks when touch-action is enabled. r=botond 2015-03-19 06:33:33 -04:00
Kartikaya Gupta
62f37cc76c Bug 1144112 - When tagging a block as fast-motion with touch-action enabled, make sure to set the allowed behaviors on it as well. r=botond 2015-03-19 06:33:32 -04:00
Kartikaya Gupta
00416b5b66 Bug 1144112 - Rearrange code a little to simplify it. No functional changes intended. r=botond 2015-03-19 06:33:32 -04:00
Matt Woodrow
0df9efc7e8 Bug 1138967 - Part 3: Add D3D11 YCbCr texture clients and upload on the client side. r=nical 2015-03-19 10:17:13 +13:00
Matt Woodrow
2e00607fd5 Bug 1138967 - Part 2: Create IMFYCbCrImage so that image data copying happens off the decoder thread. r=nical,cpearce 2015-03-19 10:16:23 +13:00
Matt Woodrow
e3d30c7898 Bug 1138967 - Part 1: Remove ISharedImage. r=nical 2015-03-19 10:15:38 +13:00
Botond Ballo
c419941a64 Bug 1043013 - Use strongly-typed regions in HitTestingTreeNode. r=kats 2015-03-13 20:42:15 -04:00
Botond Ballo
4fff36badc Bug 1043013 - Introduce IntRegionTyped. r=jrmuizel 2015-03-16 13:42:15 -04:00
Nicolas Silva
0357c19122 Bug 1143653 - Crash in CompositorD3D9 rather than TextureD3D9 if device reset fails, after a few attemps. r=jrmuizel 2015-03-17 15:05:41 +01:00
Brian Birtles
3e68574c31 Bug 1113425 part 2 - Apply async properties when querying the animated transform; r=mattwoodrow
In order to test off-main thread animations, we have a method that will return
the animated transform value set on a shadow layer. This method will return null
if the transform was not set by animation.

However, in some situations we temporarily clear the animation transform. For
example, when we synchronize a composite layer with its content layer, we reset
the animation transform. Then, on the next composite, we will recalculate the
animated value.

If we try to query the animated transform value in between resetting it and the
next composite we will get back null. To avoid a race condition, in
ShadowLayersUpdated after potentially clearing the animated transform, we
synchronously update the async properties on the layer transform in order
to reinstate the animated transform (so it is there when we go to query it).
However we *only* do this when the mIsTesting flag is set which is true
whenever we have the refresh driver under test control.  Furthermore, we only
do it when we already have a pending composite task to better match conditions
under regular operation.

In test_deferred_start.html, however, we specifically need to test without
putting the refresh driver under test control. As a result mIsTesting will be
false and we can encounter a race condition when querying the animated
transform.

To work around this, this patch makes us *also* update async properties
when fetching the animated transform value. The method for getting the
animated transform value is only used for testing so it should have no effect
on the regular compositing behavior.

It would seem that we could then remove the call from ShadowLayersUpdated but
doing this caused a small number of test cases to fail. In particular one test
for *opacity* in test_animations_omta.html was failing at the end of the
animation because we ended up with a stale opacity animation value on the
compositor which the synchronous update was previously removing. The test,
in this case, should be ignoring the value on the compositor but, unlike
transform, there is no flag for indicating whether or not the opacity on shadow
layers has been set by animations. As a result, this patch leaves the call that
triggers a synchronous update in test mode when updating shadow layers.
2015-03-17 18:38:12 +09:00
Ryan VanderMeulen
14f2958a2f Backed out changeset e86c7b372d7a (bug 1120780) for causing bug 1144224.
CLOSED TREE
2015-03-17 15:46:50 -04:00
Ryan VanderMeulen
b26a21dc80 Backed out changeset bb4b51d4af93 (bug 1143653) for WinXP assertions. 2015-03-17 12:40:47 -04:00
Nicolas Silva
3bcdc8564c Bug 1143653 - Crash in CompositorD3D9 rather than TextureD3D9 if device reset fails, after a few attemps. r=jrmuizel 2015-03-17 15:05:41 +01:00
Carsten "Tomcat" Book
1339beda33 merge mozilla-inbound to mozilla-central a=merge 2015-03-17 11:36:52 +01:00
Michael Wu
a4c11fd312 Bug 1120780 - Remove special handling for venus, r=sotaro 2015-03-17 09:38:34 +08:00
Phil Ringnalda
149293333d Merge f-t to m-c, a=merge 2015-03-15 19:35:11 -07:00
Daniel Holbert
736862c224 Bug 1143239: Add MOZ_OVERRIDE annotations in ClientReadbackLayer. r=ehsan 2015-03-13 22:59:38 -07:00
Botond Ballo
f6caac98dc Bug 1036967 - Use ScaleFactors2D instead of ScaleFactor where appropriate in APZ and surrounding code. r=kats 2015-03-06 13:54:10 -05:00
Botond Ballo
4daa1c31b9 Bug 1141488 - On non-APZ platforms, combine any async transform with the OMTA transform rather than clobbering it the OMTA transform. r=kats 2015-03-11 13:18:52 -04:00
Nicolas Silva
f5fb91c2c1 Bug 1125848 - Backout because of crashes. r=me 2015-03-13 15:13:12 +01:00
dvander@alliedmods.net
df6ad43e2c Bug 1139845 - Fix ChromeProcessController crash when there is no document element. r=botond 2015-03-10 13:44:00 -04:00
Mike Hommey
97d5238558 Bug 1136958 - Reintroduce pixman code path removed in bug 1097776 for --disable-skia builds. r=jmuizelaar 2015-03-17 10:04:19 +09:00
Botond Ballo
2011a05c35 Bug 1139675 - Simplify the APIs for getting and setting the pres shell resolution. r=mstange,mattwoodrow 2015-03-06 18:07:59 -05:00
Kartikaya Gupta
cb86b605be Bug 1142926 - Only notify the docshell of state changes when moving in and out of a transforming state across all APZCs. r=botond 2015-03-16 14:52:52 -04:00
Jeff Muizelaar
330d59e077 Bug 1132432. Implement AsShadowableLayer() for ClientReadbackLayers. r=roc
Without this we early exit from the loop in ShadowLayerForwarder::InsertAfter
which causes us to insert layers after the ReadbackLayers in the wrong order.
2015-03-12 17:51:07 -04:00
Kartikaya Gupta
74500c29ee Bug 1143518 - Remove the TryCapture path which is now obsolete. r=smaug 2015-03-16 12:32:17 -04:00