Commit Graph

1842 Commits

Author SHA1 Message Date
David Anderson
10d2eaa0f9 Fix APZ target confirmations arriving before dependent layer transactions. (bug 1154130, r=kats) 2015-04-14 12:24:32 -04:00
Ying-Ruei Liang (KK)
2c219b4aaf Bug 1143522 - Convert Layer::mClipRect to ParentLayerIntRect. r=botond
Change interface of getter/setter for mClipRect,
also necessary modification for codes that use these resources.

* * *
Bundle mUseClipRect and mClipRect as Maybe<ParentLayerIntRect> mClipRect
2015-04-11 22:03:00 -04:00
David Anderson
5ae9e8b290 Scrollbar thumbs can overlap scrollbar arrows during APZ scrolling. (bug 1152469, r=botond,mstange) 2015-04-12 23:03:02 -04:00
Nicolas Silva
166bce0b62 Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas 2015-04-07 16:08:57 +02:00
Botond Ballo
e7e070f1e8 Bug 1145730 - Restrict the async transforms applied to mask layers to those caused by fixed-position adjustment. r=kats 2015-04-01 16:47:05 -04:00
Bob Owen
ab88ebd3af Bug 1149971 Part 2: Cet rid of kCurrentProcessId as it makes lots of static initializers. r=dvander 2015-04-01 13:59:20 +01:00
Nicolas Silva
6b526ef5d4 Bug 1125848 - Consolidate PCompositor's creation-destruction logic. r=sotaro 2015-03-09 18:43:39 +01:00
Bob Owen
7517f0b07d Bug 1119878 Part 2: Change IPC code to hold ProcessID instead of ProcessHandle. r=billm, r=dvander, r=aklotz, r=cpearce 2015-04-01 09:40:35 +01:00
Kartikaya Gupta
8762f9f5b2 Bug 1145295 - Add some debug logging to try and trace an intermittent assertion. r=nical 2015-03-31 08:50:14 -04:00
Mason Chang
f9cae8f463 Bug 1148583 - Dispatch touch events before composites. r=kats 2015-03-30 08:12:47 -07:00
Nicolas Silva
a1b30cee6c Bug 1132854 - Remove useless ThebesIntSize conversion helper. r=Bas 2015-03-29 16:59:15 +02:00
Nicolas Silva
13344864c0 Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc 2015-03-29 16:59:08 +02:00
Andrea Marchesini
ad97ae68b8 Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
JerryShih
47e71e2947 Bug 1147793 - Remove unnecessary intr semantic in ipdl file. r=bent 2015-03-26 03:04:00 -04:00
Bill McCloskey
6412f793f2 Bug 1121072 - Always notify when layers cleared (r=dvander) 2015-03-27 08:38:47 -07:00
Nicolas Silva
8d2e67b41a Bug 1147894 - Remove the redundant OpUpdateTexture IPDL message. r=sotaro 2015-03-27 11:16:22 +01:00
JerryShih
95ec368b34 Bug 1145015 - Part 2: Add more checking rules for GrallocBuffer allocation. r=sotaro, r=nical
fix the assert checking.
2015-03-24 18:40:00 -04:00
JerryShih
0c2c8f61e1 Bug 1145015 - Part 1: Remove IsValidKey() check in MagicGrallocBufferHandle serializer. r=sotaro, r=nical
There is a data racing problem in IsValidKey() and we don't need to check the
index in serializer. The index is always invalid when we alloc new buffer.
2015-03-24 03:19:00 -04:00
Sotaro Ikeda
e587a732cd Bug 1145389 - Add gralloc allocation requet size check r=nical 2015-03-25 18:05:11 -07:00
Trevor Saunders
2cab0ab3a9 bug 1146027 - more final r=froydnj 2015-03-24 17:51:43 -04:00
Matt Woodrow
18be434992 Bug 1145513 - Upload YCbCr image data on the client side when using d3d9 layers. r=nical 2015-03-23 15:13:56 +13:00
Ehsan Akhgari
ea41d8de48 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
Wes Kocher
68dc7b553c Backed out changeset fca0ab2e718d (bug 1121072) for frequent bc3 failures 2015-03-20 17:17:48 -07:00
Bill McCloskey
bf84904c66 Bug 1121072 - Always notify when layers cleared 2015-03-20 11:52:43 -07:00
Matt Woodrow
dda2ab8de0 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
288802e075 Bug 1138967 - Part 1: Remove ISharedImage. r=nical 2015-03-19 10:15:38 +13:00
Brian Birtles
a6a6f3ca41 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
Phil Ringnalda
fe3604ae62 Merge f-t to m-c, a=merge 2015-03-15 19:35:11 -07:00
Botond Ballo
5272cb578e Bug 1036967 - Use ScaleFactors2D instead of ScaleFactor where appropriate in APZ and surrounding code. r=kats 2015-03-06 13:54:10 -05:00
Nicolas Silva
8c5320ba93 Bug 1125848 - Backout because of crashes. r=me 2015-03-13 15:13:12 +01:00
Nicolas Silva
be43a07dde Bug 1125848 - Consolidate PCompositor's creation-destruction logic. r=sotaro 2015-03-09 18:43:39 +01:00
Sotaro Ikeda
a6782ac1fa Bug 1139935 - Re-enable RemoveTextureFromCompositableTracker r=nical 2015-03-11 06:53:43 -07:00
Mason Chang
54652d6291 Bug 1143249 Assertion failure due to profiler shutting off race. r=shu 2015-03-13 21:14:11 -04:00
Thomas Zimmermann
0efb5f7fd3 Bug 1137151: Marked destructor of |GrallocReporter| as protected, r=jmuizelaar 2015-03-10 13:44:02 +01:00
Jim Mathies
e56f344ee7 Bug 1138181 - Be more aggressive in updating plugin geometry in the compositor, avoids filtering out important offset updates that don't involve remote layer tree updates. r=roc 2015-03-07 17:29:05 -06:00
Phil Ringnalda
8fee999f9b Backed out 2 changesets (bug 1138181, bug 1132874) for e10s crashes in browser_windowopen_reflows.js
CLOSED TREE

Backed out changeset fdf4671db324 (bug 1132874)
Backed out changeset ddd5517ce7d2 (bug 1138181)
2015-03-07 14:37:31 -08:00
Jim Mathies
4986dfd39d Bug 1138181 - Be more aggressive in updating plugin geometry in the compositor, avoids filtering out important offset updates that don't involve remote layer tree updates. r=roc 2015-03-07 12:42:56 -06:00
Mason Chang
ec0d103816 Bug 1138502. Reset vsync unobserve count if a force composite occurs. r=mstange 2015-03-06 13:58:22 -08:00
Kartikaya Gupta
c5a9ef855e Bug 1137875 - Clear shared frame metrics objects associated with a PLayerTransaction when it is destroyed. r=nical 2015-03-06 06:26:34 -05:00
Kartikaya Gupta
52b46ffdf8 Bug 1137875 - Have the SharedFrameMetricsData hold a copy of the layers id. r=nical 2015-03-06 06:25:40 -05:00
Kartikaya Gupta
12900c9f77 Bug 1137875 - Have the LayerTransactionChild hold a copy of the layers id. r=nical 2015-03-06 06:25:33 -05:00
Bill McCloskey
159303a63d Bug 1129223 - Introduce new, more efficient mozLayerTreeReady event (r=BenWa) 2015-03-05 22:03:23 -08:00
Nicolas Silva
4c75b217f2 Bug 1125848 - Prevent PCompositorChild messages to be sent after the actor started shutting down. r=sotaro 2015-03-05 19:03:16 +01:00
Jim Mathies
13e3d36d2b Bug 1133237 - When transitioning from a shadow layer tree that has plugins to a tree that does not, make sure the old plugins get hidden properly. r=roc 2015-03-04 07:46:15 -06:00
Mason Chang
349f566e4c Bug 1128690 - Ensure Talos Performance Tests still work with silk enabled. r=mstange 2015-03-03 08:14:22 -08:00
Sotaro Ikeda
86fe509048 Bug 1132528 - Handle non existent key r=nical 2015-03-03 06:36:48 -08:00
Sotaro Ikeda
049a7c60ad Bug 1136352 - Fix RemoveTextureAsync handling r=nical 2015-03-02 13:38:45 -08:00
Mason Chang
888221dac8 Bug 1129133 - Clean up GeckoTouchDispatcher so that it's a real singleton. r=kats,mwu 2015-02-24 12:52:16 -08:00
Carsten "Tomcat" Book
ca82e5b96f merge mozilla-inbound to mozilla-central a=merge 2015-02-24 12:54:34 +01:00
Benoit Girard
caff1329d4 Bug 1135857 - Remove ContentClientIncremental. r=mattwoodrow 2015-02-23 18:22:06 -05:00