Kartikaya Gupta
f0e0097cfb
Bug 1119497 - Don't continue searching if we hit a layer that has no containing APZC. r=botond
2015-01-10 10:55:47 -05:00
Seth Fowler
df5ca497cd
Bug 1079627 (Part 3) - Support multiple decoders for a single RasterImage. r=tn
2015-01-12 01:20:23 -08:00
Botond Ballo
5226fc5e7f
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
334d13367d
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
Ryan VanderMeulen
8828a2d4dc
Merge m-c to b2g-inbound. a=merge
2015-01-09 14:47:53 -05:00
Ryan VanderMeulen
85d5bf698c
Merge inbound to m-c. a=merge
2015-01-09 14:45:50 -05:00
Kartikaya Gupta
93f87b5463
Bug 1119811 - Fold the gonk ParentProcessController into the reusable ChromeProcessController. r=dvander
2015-01-09 13:41:23 -05:00
Kartikaya Gupta
5979f988c9
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
b6e35bb4b4
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
Mason Chang
9687efc38e
Bug 1102631 - Create a software vsync timer. r=kats
2015-01-08 15:12:47 -08:00
Nicolas Silva
fdc552f2eb
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
54d4b3735d
Bug 1110229 - bustage fix on a CLOSED TREE
2015-01-08 11:53:03 -05:00
Kartikaya Gupta
eb960639f8
Bug 1109873 - Follow-up to fix debug logging bustage. r=me and DONTBUILD
2015-01-08 11:29:20 -05:00
Benoit Girard
4384ee9695
Bug 1110229 - Always paint the full low-res tile for performance and correctness. r=nical
2015-01-08 11:24:15 -05:00
Botond Ballo
b994a7b083
Bug 1109873 - Gtest that demonstrates the problem with obscured regions and transforms. r=kats
2015-01-08 09:40:01 -05:00
Kartikaya Gupta
01e045fa21
Bug 1109873 - Implement the expanded HitTestingTree. r=botond
2015-01-08 09:40:01 -05:00
Kartikaya Gupta
dc35d9ea17
Bug 1109873 - Allow the APZC stored in the HitTestingTreeNode to be null. r=botond
2015-01-08 09:40:01 -05:00
Kartikaya Gupta
e758b39127
Bug 1109873 - Rename UpdatePanZoomControllerTree to UpdateHitTestingTree. r=botond
2015-01-08 09:40:01 -05:00
Kartikaya Gupta
d2cc915010
Bug 1109873 - Rearrange some loops to duplicate less code. r=botond
2015-01-08 09:40:01 -05:00
Kartikaya Gupta
febc92fd83
Bug 1109873 - Move hit-testing data into HitTestingTreeNode. r=botond
2015-01-08 09:40:01 -05:00
Kartikaya Gupta
7e2e809c0e
Bug 1109873 - Extract HitTestResult into a helper header. r=botond
2015-01-08 09:40:01 -05:00
Kartikaya Gupta
4e8835d9e7
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
6f6de98bb8
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
27f65aba6f
Merge mozilla-central to mozilla-inbound
2015-01-08 15:32:44 +01:00
Carsten "Tomcat" Book
7f0eceed6f
merge b2g-inbound to mozilla-central a=merge
2015-01-08 15:07:12 +01:00
Michael Pruett
b9d2bd339e
Bug 1118024 - Use new PL_DHashTable{Add,Lookup,Remove} functions. r=nfroyd
2015-01-05 20:27:28 -06:00
Bas Schouten
73fbcb4848
Bug 1118328 - Part 2 - Followup: Workaround a bug in GCC 4.4. r=bustage on a CLOSED TREE
2015-01-08 03:34:07 +01:00
Jeff Muizelaar
782e149f98
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
JerryShih
22c4674258
Bug 1118841 - Implement the RefreshTimerVsyncDispatcher. r=kats
2015-01-07 18:17:36 -08:00
Bas Schouten
8e02a38443
Bug 1118328 - Part 2: Test whether the content backend supports creating data draw targets before attempting to create one. r=jrmuizel
2015-01-07 22:58:25 +01:00
Bas Schouten
a04eac5441
Bug 1118328 - Part 1: Expose DoesBackendSupportDataDrawTarget function to test backend capabilities. r=jrmuizel
2015-01-07 22:58:20 +01:00
Wes Kocher
e0a70c89f3
Backout 0d091f3311b4 (bug 1118328) for build bustage on a CLOSED TREE
2015-01-07 16:54:14 -08:00
Wes Kocher
00b5aa1577
Backout 467595d39929 (bug 1118328) for build bustage on a CLOSED TREE
2015-01-07 16:53:13 -08:00
Kai-Zhen Li
5fdfcf55db
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
cce9ca8011
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
bb16c1b6f4
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
c528537e42
Bug 1107718 - Addendum: Properly address review comments. r=nical
2015-01-08 00:12:29 +00:00
Bas Schouten
cd5fcfeb14
Bug 1107718: Properly deal with a D3D11 device reset. r=nical
2015-01-08 00:10:49 +00:00
Bas Schouten
5396c56489
Bug 1114398 - Part 1: Make Direct2D paths specifically typed to a backend type. r=jrmuizel
2015-01-08 00:10:48 +00:00
Bas Schouten
7622c3a766
Bug 1115819: Deal with failure to create a realized bitmap in SourceSurfaceD2D1::DrawTargetWillChange. r=jrmuizel
2015-01-08 00:10:48 +00:00
Bas Schouten
b3cfc3f80a
Bug 1118328 - Part 2: Test whether the content backend supports creating data draw targets before attempting to create one. r=jrmuizel
2015-01-07 22:58:25 +01:00
Bas Schouten
145f27376b
Bug 1118328 - Part 1: Expose DoesBackendSupportDataDrawTarget function to test backend capabilities. r=jrmuizel
2015-01-07 22:58:20 +01:00
Jonathan Kew
d3b227a612
Bug 1062108 - Don't increase glyph advances when applying fake-bold to a fixed-pitch font. r=jdaggett
2015-01-08 12:51:00 +00:00
Seth Fowler
070fbd1114
Bug 1116747 - Always use multithreaded image decoding. r=tn
2015-01-08 00:29:41 -08:00
Nicholas Nethercote
8582ff9187
Bug 1014341 (part 1) - Remove trace-malloc. r=dbaron,glandium.
...
--HG--
extra : rebase_source : 771710c5427141d738eef112fab00951eb8e20e3
2015-01-07 16:13:03 -08:00
James Willcox
6dc403672c
Bug 1117777 - Fix inverted MP4 videos on Android r=jgilbert
2015-01-07 11:54:33 -06:00
Botond Ballo
2b83564d48
Bug 1076241 - Get rid of the nontransient async transform. r=kats
2014-12-19 18:53:05 -05:00
Botond Ballo
2e46796a0f
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
47a9f5c2f5
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
69814cc06d
Bug 1118419 - Mark virtual overridden functions as MOZ_OVERRIDE in graphics; r=jrmuizel
2015-01-07 10:09:17 -05:00
John Daggett
3ef421707c
Bug 1118603 - clear out font/word caches when initializing platform fontlists. r=m_kato
2015-01-07 14:30:10 +09:00
John Daggett
be24b149cb
Bug 1118601 - trim out unused pref fonts list from platform objects. r=m_kato
2015-01-07 14:29:21 +09:00
Milan Sreckovic
359e340f3e
Bug 1113695 - Make gfxCriticalError thread safe. r=Bas
2014-12-19 12:03:58 -05:00
Ehsan Akhgari
26a8215eb5
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
Jonathan Kew
0e4fbcf5fd
Bug 1111944 - part 1 - Make nsLayoutUtils::DrawString (and the nsFontMetrics methods it calls) handle vertical text. r=smontagu
2015-01-06 20:56:03 +00:00
Jonathan Kew
0ed708ecdd
Bug 1095334 - Adjust ascent/descent to provide centered vertical baseline when reading 'vhea' table. r=smontagu
2015-01-06 20:56:02 +00:00
Jonathan Kew
0b1a3023b6
Bug 1115916 - Improve synthetic vertical metrics for fonts that don't have actual vhea/vmtx tables. r=smontagu
2015-01-06 20:56:02 +00:00
Jonathan Kew
1b836295dc
Bug 1090329 - gfxHarfBuzzShaper::GetGlyphVAdvance should never use the backend-specific GetGlyphWidth method, which is for horizontal width only. r=smontagu
2015-01-06 20:56:01 +00:00
Kearwood (Kip) Gilbert
4c2af7541e
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
Jonathan Kew
65c4ca0e3f
Bug 619521 - Part 1: Send a notification of any scripts for which font coverage is lacking. r=jdaggett
2014-12-22 16:35:54 +00:00
Nicholas Nethercote
7c3d872761
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
23ad5f82ac
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
Jeff Muizelaar
da82606343
Bug 1118100. Remove unused SharedSurfaceIO code. r=jgilbert
...
--HG--
extra : rebase_source : 9bdd90db5755903fcffdce1f7b95687844c6dfad
2015-01-05 21:57:30 -05:00
Jeff Muizelaar
891a9ba0bb
Bug 1117869. Add move constructors and assignment operators for nsRegion. r=botond
...
This adds some efficiency around the usage of nsRegion.
--HG--
extra : rebase_source : d97569b4ba36cfb9ac25959f0634e18f60209809
2015-01-05 21:13:35 -05:00
Benoit Girard
2e6be15119
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
Jeff Muizelaar
86813bfecc
Bug 1116190. Make sure we grab the keyed mutex when we read from the surface. r=jgilbert
...
If we don't do this D3D won't let us get at the contents of the surface.
2015-01-05 17:40:23 -05:00
Ethan Lin
4766738c5a
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
6c14384be2
Bug 1117870. Compositor unobserve vsync after configurable number of notifications. r=benwa
2015-01-05 13:52:49 -08:00
Jonathan Kew
87841083c3
Bug 1119423 - Fix reversed test of aMatchData->mStyle in gfxFontFamily::FindFontForChar. r=jdaggett
2015-01-09 11:57:56 +00:00
Ehsan Akhgari
ef6963bd58
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
c4a2f37f57
Bug 1116427 - Remove unneeded nsCSSPropList.h include from AsyncCompositionManager.h. r=nrc
2015-01-05 22:03:28 +11:00
Ehsan Akhgari
b7a647884b
Bug 1117263 follow-up: Fix a build bustage in opt builds
2015-01-03 12:38:20 -05:00
Ehsan Akhgari
fcf3f5e262
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
e60d3a013a
Back out 47683fccda29 (bug 1112332) for b2g reftest-6 failures
...
CLOSED TREE
2015-01-02 21:31:35 -08:00
Daniel Holbert
5da4b98e9d
Bug 1068603: Extend FlattenBezier to handle case where full path can be approximated by a linear segment. r=Bas
2015-01-02 14:46:53 -08:00
Andrew McCreight
d29bf1703b
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
3c484ac9d8
Bug 1065536, part 2 - Remove extra Release of sCompositor. r=nical
2015-01-02 13:09:06 -08:00
Andrew McCreight
f47b0e2940
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
dea2e73aed
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
12e95441ce
Backout 827fa9b5f9b4 (bug 1112332) for build bustage
2015-01-02 10:18:57 -08:00
Benoit Girard
a45ef9ef1e
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
Ehsan Akhgari
d380afe538
Bug 1117026 - Cherry-pick commit a10742c of upstream skia code; r=upstream
2015-01-02 00:11:43 -05:00
Jonathan Kew
0dd36ab38e
Bug 1116480 - gfxTextRun::Measure needs to account for fake-italic transform when returning the bounding box. r=roc
2014-12-31 22:35:40 +00:00
Benoit Girard
9e4578658c
Bug 1113781 - Only track layer decision with MOZ_DUMP_PAINTING and add a preference. r=mstange
2014-12-31 15:21:58 -05:00
Benoit Girard
8d46226796
Bug 1113837 - Build display-list dumping without MOZ_DUMP_PAINTING. r=mstange
2014-12-31 15:17:39 -05:00
Jeff Gilbert
e2cd335ec4
Bug 1100699 - Use OriginPos instead of isInverted. - r=mattwoodrow,snorp
2014-11-17 17:02:19 -08:00
Kushan Joshi
2124f457f1
Bug 1116008 - Make FrameMetrics::mCriticalDisplayPort private. r=kats
2014-12-30 14:07:57 -05:00
Jeff Muizelaar
99f342546e
Bug 1112780. Recreate the RenderTargetView on demand. r=jgilbert
...
This avoids reusing the RenderTargetView across AcquireSync/ReleaseSync pairs
and fixes bug 1109718. It adds a ReleaseSync call to ANGLE
that causes it to invalidate the RenderTargetView.
--HG--
extra : rebase_source : 993a437f5d1e1bfda32ef995b09f216930f174e1
2014-12-28 00:01:02 -05:00
Leonid V. Fedorenchik
f7a220a203
Bug 1115327 - Changed FrameMetrics.mScrollableRect to be accessible by getter/setter methods. r=kats
2014-12-27 12:48:27 -05:00
Ethan Lin
8b1ccb3cec
Bug 1042696 - Set allocator to TextureClient from constructor. r=nical
2014-12-22 03:49:00 -05:00
Wes Kocher
aca592252a
Merge inbound to mozilla-central a=merge CLOSED TREE
2014-12-23 16:47:42 -08:00
Ryan VanderMeulen
bba9447754
Merge m-c to b2g-inbound. a=merge
2014-12-23 13:18:49 -05:00
Kartikaya Gupta
61114fa106
Bug 1113386 - Don't send long-press events if they begin on a fast-motion block. r=botond
2014-12-23 11:05:46 -05:00
Carsten "Tomcat" Book
2aabf236cc
Backed out changeset ad0bb596da2c (bug 1073003)
2014-12-23 13:35:02 +01:00
John Daggett
f448b65305
Bug 1109201 - null-check font within GetFontAt. r=roc
2014-12-23 05:01:11 -05:00
Nicolas Silva
e78e2d77e4
Bug 1071769 - Can't rerasterize valid region with tiling. r=Bas
2014-12-23 10:52:17 +01:00
Nicolas Silva
2fa4d2e50b
Bug 1071769 - Fix the integration of DrawTargetTiled. r=Bas
2014-12-17 17:59:46 +01:00
Xidorn Quan
1885ee82d4
Bug 1098272 part 1 - Suppress line breaks inside ruby boxes. r=dbaron,roc
...
--HG--
extra : rebase_source : 2e884fd15244a265011e3241be084c5a1c6fd66e
extra : source : 0ea7212c131401abff6a097773ae93cdfa05dcde
2014-12-22 15:17:55 +11:00
Botond Ballo
86409607b7
Bug 1073003 - More Werror bustage fixes on a CLOSED TREE. r=bustage
...
--HG--
extra : rebase_source : 86466eea48ddfc7b5698d97ca574ed6cdf79326e
extra : amend_source : 9eb590b24276a068bbb078152509b3c743bb40f8
2014-12-23 00:03:15 -05:00
Jeff Muizelaar
ab58d4b845
Bug 1113291. Reenable DisplayLink blocking on Windows. r=bas
...
Bug 1107299 broke this blocking because it assumed that DoesD3D11DeviceWork()
only described whether texture sharing works. However we were also checking for
broken DisplayLink drivers in that function. This splits out that part and uses
it appropriately.
--HG--
extra : rebase_source : 895d2da6297a48d0a2cbef2d149c27471c788484
2014-12-22 00:41:57 -05:00