JerryShih
f67f482c15
Bug 1147793 - Remove unnecessary intr semantic in ipdl file. r=bent
2015-03-26 03:04:00 -04:00
Bill McCloskey
3f08e0f807
Bug 1121072 - Always notify when layers cleared (r=dvander)
2015-03-27 08:38:47 -07:00
Nicolas Silva
aff1fa6b6c
Bug 1147894 - Remove the redundant OpUpdateTexture IPDL message. r=sotaro
2015-03-27 11:16:22 +01:00
JerryShih
d726d9fba8
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
fc1e027e12
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
dfcae94801
Bug 1145389 - Add gralloc allocation requet size check r=nical
2015-03-25 18:05:11 -07:00
Trevor Saunders
d5851ef31c
bug 1146027 - more final r=froydnj
2015-03-24 17:51:43 -04:00
Matt Woodrow
28fe00ec0c
Bug 1145513 - Upload YCbCr image data on the client side when using d3d9 layers. r=nical
...
--HG--
extra : rebase_source : be290c542566bc5650b45bfc2f892c8edf5fd14a
2015-03-23 15:13:56 +13:00
Ehsan Akhgari
883849ee32
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
6273ddc7a4
Backed out changeset fca0ab2e718d (bug 1121072) for frequent bc3 failures
2015-03-20 17:17:48 -07:00
Bill McCloskey
c50d182b8f
Bug 1121072 - Always notify when layers cleared
2015-03-20 11:52:43 -07:00
Matt Woodrow
67c8f780b6
Bug 1138967 - Part 3: Add D3D11 YCbCr texture clients and upload on the client side. r=nical
...
--HG--
extra : rebase_source : 90d0afdc61332b36032c8ccbf28294f77dd48a8b
2015-03-19 10:17:13 +13:00
Matt Woodrow
a426242c6b
Bug 1138967 - Part 1: Remove ISharedImage. r=nical
...
--HG--
extra : rebase_source : e8ddd7c6cd6d3bb76befb65fe32210ed65d22eeb
2015-03-19 10:15:38 +13:00
Brian Birtles
90986d4597
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
3bfd694773
Merge f-t to m-c, a=merge
2015-03-15 19:35:11 -07:00
Botond Ballo
cda50e28d3
Bug 1036967 - Use ScaleFactors2D instead of ScaleFactor where appropriate in APZ and surrounding code. r=kats
...
--HG--
extra : rebase_source : bbdd433260c2e5244602275aa8516723f87d5740
extra : source : a2dbf7ec87c50f35a089470e39d6b4b448992e3d
2015-03-06 13:54:10 -05:00
Nicolas Silva
a8b719ecbb
Bug 1125848 - Backout because of crashes. r=me
2015-03-13 15:13:12 +01:00
Nicolas Silva
41031003e6
Bug 1125848 - Consolidate PCompositor's creation-destruction logic. r=sotaro
2015-03-09 18:43:39 +01:00
Sotaro Ikeda
3dd206c7b8
Bug 1139935
- Re-enable RemoveTextureFromCompositableTracker r=nical
2015-03-11 06:53:43 -07:00
Mason Chang
088905d5b9
Bug 1143249 Assertion failure due to profiler shutting off race. r=shu
2015-03-13 21:14:11 -04:00
Thomas Zimmermann
7da19ec752
Bug 1137151: Marked destructor of |GrallocReporter| as protected, r=jmuizelaar
2015-03-10 13:44:02 +01:00
Jim Mathies
15e050bbb2
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
1129ae3cbd
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
f6aaca0465
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
e45770707b
Bug 1138502. Reset vsync unobserve count if a force composite occurs. r=mstange
2015-03-06 13:58:22 -08:00
Kartikaya Gupta
80edddb5f0
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
223d0204b5
Bug 1137875 - Have the SharedFrameMetricsData hold a copy of the layers id. r=nical
2015-03-06 06:25:40 -05:00
Kartikaya Gupta
282fe7260a
Bug 1137875 - Have the LayerTransactionChild hold a copy of the layers id. r=nical
2015-03-06 06:25:33 -05:00
Bill McCloskey
c10aee7d5e
Bug 1129223 - Introduce new, more efficient mozLayerTreeReady event (r=BenWa)
2015-03-05 22:03:23 -08:00
Nicolas Silva
215a48573c
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
3a6f7137ac
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
a9182f7264
Bug 1128690 - Ensure Talos Performance Tests still work with silk enabled. r=mstange
2015-03-03 08:14:22 -08:00
Sotaro Ikeda
30b9c7ce5f
Bug 1132528 - Handle non existent key r=nical
2015-03-03 06:36:48 -08:00
Sotaro Ikeda
8bf7183124
Bug 1136352 - Fix RemoveTextureAsync handling r=nical
2015-03-02 13:38:45 -08:00
Mason Chang
d81b5a205d
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
6eece0b459
merge mozilla-inbound to mozilla-central a=merge
2015-02-24 12:54:34 +01:00
Benoit Girard
aa69b47387
Bug 1135857 - Remove ContentClientIncremental. r=mattwoodrow
2015-02-23 18:22:06 -05:00
Mason Chang
fbd9897745
Bug 1133526. Only enable vsync compositor or refresh driver if hardware vsync is enabled. r=kats
2015-02-23 12:04:11 -08:00
Milan Sreckovic
71f6737b57
Bug 1118595 - More aggressive shrinking of shmem section heap. r=bschouten
2015-02-20 14:58:00 -05:00
Botond Ballo
847508c681
Bug 1132153 - Replace 'using namespace base' with specific using-declarations. r=dholbert
2015-02-11 15:01:26 -05:00
Kartikaya Gupta
328ee5bf63
Bug 1131840 - Propagate the EventRegionsOverride flag on RefLayers also. r=roc
2015-02-16 21:30:02 -05:00
Kartikaya Gupta
7fd26daa4a
Bug 1131840 - Replace the shouldForceDispatchToContent flag with a bitset enum. r=roc,botond
2015-02-16 21:30:02 -05:00
Jim Mathies
2cf73763f7
Bug 1132592 - Avoid showing PluginWidgetParent widgets before they are positioned and clipped. r=aklotz
2015-02-13 12:27:56 -06:00
Kartikaya Gupta
f5d90daf87
Bug 1125422 - Add a flag on ContainerLayer to indicate when the entire subtree of layers needs to be in the dispatch-to-content region. r=roc
2015-02-10 16:28:07 -05:00
Milan Sreckovic
110886d205
Bug 1130971 - Null pointer checks before dispatching. r=mattwoodrow
...
--HG--
extra : rebase_source : f38f8831801730d4e9faf5701ad6210717a2fbc4
2015-02-09 17:23:09 +08:00
Nicholas Nethercote
242708cf72
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
d3826daa16
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Peter Chang
8c9ff9b5dc
Bug 1129763 - Add pref for the threshold of frame visual warning, r=benwa
2015-02-06 14:38:16 +08:00
Nicholas Nethercote
d34f0301b8
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Matt Woodrow
36dcff0baf
Bug 1114976 - Don't try to free TextureClients if allocation failed. r=nical
2015-02-05 14:11:46 +13:00