Commit Graph

13528 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
Jonathan Kew
2c9645518a Bug 1145934 - Update obsolete glyph-run assertion. r=jdaggett 2015-03-23 11:43:38 +00: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
Phil Ringnalda
a12ccf5a58 Merge m-c to m-i 2015-03-21 12:50:09 -07:00
Phil Ringnalda
04fc348bab Merge f-t to m-c, a=merge 2015-03-21 12:47:01 -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
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
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
Jannis Pinter
4339e9b67c Bug 1142260 - Re-sorted the prefs in gfxPrefs.h and added a big scary warning at the bottom of the list. r=kats 2015-03-21 10:33:25 -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
Ryan VanderMeulen
d296d3f9ca Backed out changeset c5af69669855 (bug 1124084) for various regressions.
CLOSED TREE
2015-03-20 13:01:35 -04:00
Mason Chang
9a88b696cc Bug 1133527. Fallback to software vsync on android. r=kats 2015-03-20 08:12:53 -07:00
Dave Townsend
6147fea31c Bug 1144900: Fix windows gfx out of memory assertion. r=Bas 2015-03-19 10:42:27 -07:00
Alexandre Lissy
ae41759754 Bug 1144080 - Disable reftests on Mulet for TaskCluster. r=ahal 2015-03-20 00:45:00 +01: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
Jonathan Kew
486f059871 Bug 1142952 - Update OTS to latest upstream revision; now at e779d45e7a96d3b97ed3d2b76db7478cb86fdd8b. r=jdaggett 2015-03-19 11:11:30 +00: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
Kartikaya Gupta
202979f0b3 Bug 1144112 - Update the FlingStop tests to check if events are flowing properly after the fast-motion blocks are done. r=botond 2015-03-19 06:33:32 -04:00
Kartikaya Gupta
6b1c41259a Bug 1144112 - Only set the default allowed touch behaviour if the event is not consumed, to have the tests better reflect reality. 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
Mason Chang
65b585e91e Bug 1144638. Retry getting an active display link. r=mstange 2015-03-18 16:17:26 -07: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
Botond Ballo
fbb6e708e0 Bug 1043013 - Generalize nsIntRegion into a BaseIntRegion template. r=jrmuizel 2015-03-13 20:40:47 -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
Seth Fowler
0b505f011b Bug 1124084 - Flip on downscale-during-decode everywhere. r=tn 2015-03-17 13:56:50 -07: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