Commit Graph

5728 Commits

Author SHA1 Message Date
Matt Woodrow
9a4501e6bc Bug 1146313 - Null check pData in UpdateConstantBuffers. r=jrmuizel 2015-03-26 13:06:21 +13:00
Matt Woodrow
cea86e0162 Bug 1146315 - Part 2: Release D3D11 YUV textures on the main thread. r=nical 2015-03-26 13:05:25 +13:00
Matt Woodrow
02457f633a Bug 1145585 - Hold a ref to the right texture. r=jmuizelaar 2015-03-26 12:57:03 +13:00
Maksim Lebedev
2947df3cef Bug 1143655 - Add sending NS_TOUCH_CANCEL event. r=kats 2015-03-25 12:20:20 -04:00
Kartikaya Gupta
11f7426044 Bug 1143665 - Remove the ambiguous scroll position being passed around in scroll started/stop notifications. r=roc,ehsan 2015-03-25 07:52:37 -04:00
David Anderson
37a72c0133 Clamp APZ wheel event deltas to the size of a page scroll. (bug 1146676, r=kats) 2015-03-24 14:59:41 -07:00
David Anderson
75594981fd Don't route wheel events through APZ if they require custom deltas. (bug 1146674, r=kats) 2015-03-24 14:58:49 -07:00
Trevor Saunders
98873cda27 bug 1146027 - more final r=froydnj 2015-03-24 17:51:43 -04:00
Kushan Joshi
a3c4b7a023 Bug 1101627 - Add touch action regions. r=kats 2015-03-24 09:13:24 -04:00
Sotaro Ikeda
158ab3a077 Bug 1124907 - Call SetCompositor() only when it is valid r=nical 2015-03-24 07:21:15 -07:00
Nicolas Silva
069c04aa26 Bug 1143653 - Backout part of the initial patch because of crashes. 2015-03-24 14:17:27 +01:00
Botond Ballo
8e066036ed Bug 1145787 - Put a misplaced assertion into its proper place. r=kats 2015-03-20 19:21:04 -04:00
Botond Ballo
0e8ca56b6d 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
8b0a04901c Bug 1145764 - Add logging for tile retention inside a TiledLayerBuffer. r=nical 2015-03-23 13:01:02 -04:00
Kartikaya Gupta
ad1472508e Bug 1145764 - Add some default-disabled logging to TextureClientPool. r=nical 2015-03-23 13:01:02 -04:00
Kartikaya Gupta
b1fc721715 Bug 1145764 - Remove unused functions. r=nical 2015-03-23 13:01:02 -04:00
Kartikaya Gupta
02af1d3b3b Bug 1036967 - Follow-up to fix debug logging. r=me 2015-03-23 08:21:10 -04:00
Matt Woodrow
b66c3ec27e 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
049e818efb Add APZ support for test.mousescroll callbacks. (bug 1142866 part 3, r=kats) 2015-03-22 00:42:26 -07:00
David Anderson
e82a9bed2b 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
2788fe89b0 Add wheel transaction support to APZ. (bug 1142866 part 1, r=kats) 2015-03-22 00:36:13 -07:00
Jeff Muizelaar
df01cc2463 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
33bb32f549 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
33f47d577c Bug 1145702 - Make the assertion in Axis::GetOverscroll() more informative. r=Cwiiis 2015-03-20 13:02:23 -04:00
Wes Kocher
a694cc39ce Merge m-c to inbound a=merge CLOSED TREE 2015-03-20 18:01:17 -07:00
Wes Kocher
92e3b93e2d Backed out changeset fca0ab2e718d (bug 1121072) for frequent bc3 failures 2015-03-20 17:17:48 -07:00
Kartikaya Gupta
a89786d06f Bug 1139469 - Guard against a null compositor loop during startup on B2G. r=botond 2015-03-20 15:28:04 -04:00
Trevor Saunders
5fb347354a bug 1183967 - fixup correct case of mfidl.h 2015-03-20 15:18:26 -04:00
Bill McCloskey
defabd03f1 Bug 1121072 - Always notify when layers cleared 2015-03-20 11:52:43 -07:00
Kartikaya Gupta
c318671429 Bug 1144831 - Remove the HandleLongTapUp callback and just use HandleSingleTap instead. r=botond 2015-03-20 14:26:52 -04:00
Kartikaya Gupta
3ca0a3ab75 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
e69f767407 Merge m-c to b2ginbound a=merge CLOSED TREE 2015-03-19 19:31:35 -07:00
Michael Wu
fac6e05fc7 Bug 1120780 - Fallback on lock_ycbcr when ColorConvertor fails, r=sotaro 2015-03-20 10:25:12 +08:00
Nicolas Silva
7092c70628 Bug 1143653 - Typo fix in a variable name. r=me 2015-03-19 12:07:28 +01:00
Kartikaya Gupta
32686fc8ac Bug 1142437 - Better deal with delayed state change notifications from APZ. r=botond 2015-03-19 06:54:34 -04:00
Kartikaya Gupta
bda9d932e3 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
d090728571 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
f1a29b8775 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
1fd763f827 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
b7da7cb76d 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
0cf3a7cea7 Bug 1138967 - Part 1: Remove ISharedImage. r=nical 2015-03-19 10:15:38 +13:00
Botond Ballo
616f56fecd Bug 1043013 - Use strongly-typed regions in HitTestingTreeNode. r=kats 2015-03-13 20:42:15 -04:00
Botond Ballo
824de31a1b Bug 1043013 - Introduce IntRegionTyped. r=jrmuizel 2015-03-16 13:42:15 -04:00
Nicolas Silva
3c645c2707 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
afb38bda70 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
54343a8bc7 Backed out changeset e86c7b372d7a (bug 1120780) for causing bug 1144224.
CLOSED TREE
2015-03-17 15:46:50 -04:00
Ryan VanderMeulen
e30c62bb4f Backed out changeset bb4b51d4af93 (bug 1143653) for WinXP assertions. 2015-03-17 12:40:47 -04:00
Nicolas Silva
8beb386c1e 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
21682b3a69 merge mozilla-inbound to mozilla-central a=merge 2015-03-17 11:36:52 +01:00
Michael Wu
1587275ec5 Bug 1120780 - Remove special handling for venus, r=sotaro 2015-03-17 09:38:34 +08:00