Commit Graph

5405 Commits

Author SHA1 Message Date
Wes Kocher
09febf6c77 Merge m-c to inbound a=merge 2015-01-09 21:00:13 -08:00
Chris Peterson
9e23388ca8 Bug 1118076 - Remove MOZ_THIS_IN_INITIALIZER_LIST. r=Waldo 2015-01-06 21:39:46 -08:00
Bas Schouten
4983028737 Bug 1119854: Crash when AcquireSync takes more than 10 seconds. r=jrmuizel 2015-01-10 04:50:02 +01:00
David Anderson
88d80771a7 Make sure tile textures are synchronized for D3D11. (bug 1119066, r=mattwoodrow)
--HG--
extra : rebase_source : 89d5654e43eb2a111a56c1432b90cd3a283f4a50
2015-01-09 13:50:20 -08:00
Botond Ballo
b5088abdbc Bug 1088984 - Account for the async scale correctly when transforming the scroll thumb in the compositor. r=kats
--HG--
extra : rebase_source : 28e6c6c3a510549c939daea615fc0329d785a352
2014-10-24 20:14:56 -04:00
Botond Ballo
c6c1bcd7d8 Bug 1113457 - Improve the approximation used to model spring physics during an overscroll animation, to avoid the approximation from diverging. r=kats
--HG--
extra : rebase_source : 4e26357cd76c7125f5c02529f1ac3b038eec36c2
2015-01-07 16:45:29 -05:00
Kartikaya Gupta
e10f70887c Bug 1119811 - Fold the gonk ParentProcessController into the reusable ChromeProcessController. r=dvander 2015-01-09 13:41:23 -05:00
Kartikaya Gupta
6ad061c59b Bug 973619 - Pick up the zoom from layout when the viewport dimensions change. r=botond 2015-01-09 10:21:50 -05:00
Ehsan Akhgari
4354953b4f Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -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_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Nicolas Silva
f9d3f8f001 Bug 1114948 - Use NS_lroundf instead of NS_roundf in tioling code to avoid inconsistent behavior around zero. r=jrmuizel 2015-01-08 18:58:22 +01:00
Benoit Girard
c8aa1b5d13 Bug 1110229 - bustage fix on a CLOSED TREE 2015-01-08 11:53:03 -05:00
Kartikaya Gupta
266f840884 Bug 1109873 - Follow-up to fix debug logging bustage. r=me and DONTBUILD 2015-01-08 11:29:20 -05:00
Benoit Girard
ed5fb37df8 Bug 1110229 - Always paint the full low-res tile for performance and correctness. r=nical 2015-01-08 11:24:15 -05:00
Kartikaya Gupta
1eb610400a Bug 1109873 - Implement the expanded HitTestingTree. r=botond 2015-01-08 09:40:01 -05:00
Kartikaya Gupta
ceba82c3a0 Bug 1109873 - Allow the APZC stored in the HitTestingTreeNode to be null. r=botond 2015-01-08 09:40:01 -05:00
Kartikaya Gupta
1bf8a513d0 Bug 1109873 - Rename UpdatePanZoomControllerTree to UpdateHitTestingTree. r=botond 2015-01-08 09:40:01 -05:00
Kartikaya Gupta
ea16e8f553 Bug 1109873 - Rearrange some loops to duplicate less code. r=botond 2015-01-08 09:40:01 -05:00
Kartikaya Gupta
e0077ec0d4 Bug 1109873 - Move hit-testing data into HitTestingTreeNode. r=botond 2015-01-08 09:40:01 -05:00
Kartikaya Gupta
6f37e44194 Bug 1109873 - Extract HitTestResult into a helper header. r=botond 2015-01-08 09:40:01 -05:00
Kartikaya Gupta
66746c1cfb Bug 1109873 - Introduce the HitTestingTreeNode class. r=botond
This patch extracts a HitTestingTreeNode from AsyncPanZoomController. The tree
formed by these nodes is very similar in structure to the APZC tree that we had
previously. The main difference is that we can have multiple HitTestingTreeNode
instances per APZC; each HitTestingTreeNode corresponds to a different layer
with the same metrics.

This is a first step in extracting the hit-test data entirely from the
AsyncPanZoomController class and having a 1:1 mapping with the layer tree.
2015-01-08 09:40:01 -05:00
Botond Ballo
17b504d90c Bug 1109873 - Add some explanatory comments to the APZC tree building code. r=kats 2015-01-08 09:40:01 -05:00
Carsten "Tomcat" Book
58c53ce72e merge b2g-inbound to mozilla-central a=merge 2015-01-08 15:07:12 +01:00
Jeff Muizelaar
3a3d9ab7f7 Bug 1119089. Switch from the ineffecient x = x.sub(x, y) to x.subout(y);
The recently added move assignment operators make the existing pattern more
efficient, but using SubOut() is cleaner and even more efficient.

--HG--
extra : rebase_source : 14ba52bfde0a4a591ca39b92d86632206bbe13eb
2015-01-07 21:18:57 -05:00
Kai-Zhen Li
8087799291 Bug 1113655 - Fix bustage when camera is enabled and webtrc is not enabled. r=sotaro 2014-12-24 14:04:07 +08:00
Kartikaya Gupta
0e5c141375 Bug 1118784 - Fix typo causing wheel inputs to not get transformed to Gecko coordinate space properly. r=dvander 2015-01-07 13:34:23 -05:00
Botond Ballo
e66b60d907 Bug 1073003 - Fix -Wunused-variable / -Wunused-but-set-variable warnings. r=ehsan
--HG--
extra : rebase_source : a9b9166164ee79e2e460bb20fde7f76e1672f481
2014-12-31 16:49:13 -05:00
Bas Schouten
a5ebe274e9 Bug 1107718 - Addendum: Properly address review comments. r=nical 2015-01-08 00:12:29 +00:00
Bas Schouten
9ab9d86962 Bug 1107718: Properly deal with a D3D11 device reset. r=nical 2015-01-08 00:10:49 +00:00
James Willcox
a19ed3831f Bug 1117777 - Fix inverted MP4 videos on Android r=jgilbert 2015-01-07 11:54:33 -06:00
Botond Ballo
755b86ca3a Bug 1076241 - Get rid of the nontransient async transform. r=kats 2014-12-19 18:53:05 -05:00
Botond Ballo
9f93609fd6 Bug 1076241 - Add an API for setting a resolution on a document and scaling it by that amount. r=kats,tn 2015-01-02 20:06:14 -05:00
Ryan VanderMeulen
20d7991ef8 Bug 1114577 - GFX cleanups now that Windows SDK 8.1 is the minimum supported version. r=jmuizelaar, r=glandium 2015-01-07 11:32:07 -05:00
Ehsan Akhgari
860da94550 Bug 1114999 - Part 2: Apply MOZ_NO_ADDREF_RELEASE_ON_RETURN to all smart pointer arrow operators that can return refcounted objects; r=jrmuizel 2015-01-06 16:30:03 -05:00
Kearwood (Kip) Gilbert
2a00e2b4cb Bug 1067286 - Part 1: Correct application of device offset for mask layers. r=mattwoodrow
- Fixed GetMaskData() function in BasicLayersImpl.cpp to use
  Matrix::PostTranslate rather than Matrix::PreTranslate when applying
  the device offset.
2014-12-03 18:02:00 -05:00
Nicholas Nethercote
b4adaf93a3 Bug 1117639 - Remove AbortFrame() because it is dead. r=bas.
--HG--
extra : rebase_source : 7df4840fb99dc025ee102d9697097caa4034fa6d
2015-01-05 15:54:51 -08:00
Nicholas Nethercote
54769bc618 Bug 1117594 - Crash on unexpected image format in ImageLayerD3D10::RenderLayer(). r=bas.
--HG--
extra : rebase_source : f99f778126dcad615b754a84dc4ca6e1c9d2578d
2015-01-05 15:53:22 -08:00
Benoit Girard
accd31c28a Bug 1112332 - Disable all paint heuristics for layers not actively scrolled by APZ. r=kats
--HG--
extra : rebase_source : 785e13857a3bdb3107cb0836a37bcffbea7f02ec
2015-01-02 11:17:59 -05:00
Ethan Lin
cf3359d68d Bug 1103258 - Prevent an empty container from creating a render target. r=BenWa, r=jmuizelaar 2014-12-23 05:48:00 -05:00
Mason Chang
686385caee Bug 1117870. Compositor unobserve vsync after configurable number of notifications. r=benwa 2015-01-05 13:52:49 -08:00
Ehsan Akhgari
a41280816e Bug 1116622 - Give TemporaryRef a take() method semantically equivalent to already_AddRefed::take(); r=froydnj
This is in preparation of removing TemporaryRef.  It should help make
already_AddRefed a drop-in replacement for it.
2015-01-05 11:32:37 -05:00
Cameron McCormack
0c1e8e64a3 Bug 1116427 - Remove unneeded nsCSSPropList.h include from AsyncCompositionManager.h. r=nrc 2015-01-05 22:03:28 +11:00
Ehsan Akhgari
4a6847f742 Bug 1117263 follow-up: Fix a build bustage in opt builds 2015-01-03 12:38:20 -05:00
Ehsan Akhgari
b447c92ece Bug 1117263 - Mark virtual overridden functions as MOZ_OVERRIDE in graphics layers code; r=roc 2015-01-03 12:21:23 -05:00
Phil Ringnalda
3d2cba0574 Back out 47683fccda29 (bug 1112332) for b2g reftest-6 failures
CLOSED TREE
2015-01-02 21:31:35 -08:00
Andrew McCreight
b69d978b28 Bug 1065536, part 3 - Explicitly shut down the CompositorChild in the child process. r=nical 2015-01-02 13:09:06 -08:00
Andrew McCreight
cab7cc77c1 Bug 1065536, part 2 - Remove extra Release of sCompositor. r=nical 2015-01-02 13:09:06 -08:00
Andrew McCreight
ac61b66824 Bug 1065536, part 1 - Remove superfluous MOZ_COUNT_CTOR/DTOR for CompositorChild. r=nical
This class is reference counted so they are not needed.
2015-01-02 13:09:06 -08:00
Benoit Girard
b237e1af13 Bug 1112332 - Disable all paint heuristics for layers not actively scrolled by APZ. r=kats
* * *
Bug NUMBER - #include CompositorChild.h to fix non-unified build bustage. r?
2015-01-02 11:17:59 -05:00
Wes Kocher
cd77a14ff1 Backout 827fa9b5f9b4 (bug 1112332) for build bustage 2015-01-02 10:18:57 -08:00
Benoit Girard
dd15421503 Bug 1112332 - Disable all paint heuristics for layers not actively scrolled by APZ. r=kats
--HG--
extra : rebase_source : fd66e2028d7d8dd0ce0a35f79bb73169795a0c24
2015-01-02 11:17:59 -05:00