Commit Graph

18739 Commits

Author SHA1 Message Date
Kartikaya Gupta
ed6d55e8d9 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
4665c3c871 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
863fc4ce21 Bug 1144112 - Rearrange code a little to simplify it. No functional changes intended. r=botond 2015-03-19 06:33:32 -04:00
Kartikaya Gupta
99454216d3 Bug 1144112 - Update the FlingStop tests to check if events are flowing properly after the fast-motion blocks are done. r=botond 2015-03-19 06:33:32 -04:00
Kartikaya Gupta
30cf8d06df Bug 1144112 - Only set the default allowed touch behaviour if the event is not consumed, to have the tests better reflect reality. r=botond 2015-03-19 06:33:32 -04: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
cfd81254b3 Bug 1138967 - Part 2: Create IMFYCbCrImage so that image data copying happens off the decoder thread. r=nical,cpearce
--HG--
extra : rebase_source : f42bec1f1f15eb9e825643df87f3f9285dcb7189
2015-03-19 10:16:23 +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
Mason Chang
0500dc0b4b Bug 1144638. Retry getting an active display link. r=mstange 2015-03-18 16:17:26 -07:00
Botond Ballo
f86693ae67 Bug 1043013 - Use strongly-typed regions in HitTestingTreeNode. r=kats
--HG--
extra : rebase_source : a4abe1d314f5203d6cbd71ab20ddfbc1aa409160
extra : source : 67cbcc11b7edf15ad022fb3840ca5cb49aa52621
2015-03-13 20:42:15 -04:00
Botond Ballo
d70b1ea0e6 Bug 1043013 - Introduce IntRegionTyped. r=jrmuizel
--HG--
extra : rebase_source : 109fe53588254256b5575e082f709a0cb71fe877
extra : source : d7db1f0cb75b689316da6671bed37d496d17e90c
2015-03-16 13:42:15 -04:00
Botond Ballo
9eb1be5aef Bug 1043013 - Generalize nsIntRegion into a BaseIntRegion template. r=jrmuizel
--HG--
extra : rebase_source : 73f006c3460032c8597a6f4ff673f41664137daa
extra : source : 5744fef5049cf90ee760be16c0febbde34bea8f8
2015-03-13 20:40:47 -04:00
Nicolas Silva
82ed83119c 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
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
Seth Fowler
78ab87250d Bug 1124084 - Flip on downscale-during-decode everywhere. r=tn 2015-03-17 13:56:50 -07:00
Ryan VanderMeulen
088204eba4 Backed out changeset e86c7b372d7a (bug 1120780) for causing bug 1144224.
CLOSED TREE
2015-03-17 15:46:50 -04:00
Ryan VanderMeulen
2391e7301f Backed out changeset bb4b51d4af93 (bug 1143653) for WinXP assertions. 2015-03-17 12:40:47 -04:00
Daniel Holbert
082fd9cd7f Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan
This patch was generated by a script.  Here's the source of the script for
future reference:

find . \( -iname "*.cpp" -o -iname "*.h" \) | \
  xargs -n 1 sed -i "s/nsRefPtr<nsIRunnable>/nsCOMPtr<nsIRunnable>/g"
2015-03-17 09:29:17 -07:00
Nicolas Silva
08a5fef1fc Bug 1144147 - Warning fix in DrawTargetCairo.cpp. r=jrmuizel 2015-03-17 16:53:46 +01:00
Nicolas Silva
0082df31ab Bug 1142659 - Fix coverity warning in Layers::UserData test. r=jrmuizel 2015-03-17 15:50:06 +01:00
Nicolas Silva
10d43b2e93 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
0503c0d6df merge mozilla-inbound to mozilla-central a=merge 2015-03-17 11:36:52 +01:00
Michael Wu
f67a448e4b Bug 1120780 - Remove special handling for venus, r=sotaro 2015-03-17 09:38:34 +08:00
Phil Ringnalda
3bfd694773 Merge f-t to m-c, a=merge 2015-03-15 19:35:11 -07:00
Daniel Holbert
39b1ef61b3 Bug 1143239: Add MOZ_OVERRIDE annotations in ClientReadbackLayer. r=ehsan 2015-03-13 22:59:38 -07:00
Botond Ballo
8bd1b37f87 Bug 1036967 - Remove ScaleFactor::ScaleFactor(float, float). r=kats
--HG--
extra : rebase_source : abc44e25950cae78d0f1954d16f7f0c8f32884f1
extra : source : 33b3897e212ba2e5029ad283639a48dc6d23b4d6
2015-03-02 18:56:45 -05: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
Botond Ballo
4f5da1dd25 Bug 1036967 - Introduce ScaleFactors2D. r=kats,Bas
--HG--
extra : rebase_source : e137820f9992c23f65aab1e40fb7390c9125b04a
extra : source : 1f79257b3df7fb146a1d4f7248905e0ac88f89d0
2015-03-06 13:53:47 -05:00
Botond Ballo
bec8946634 Bug 1141488 - On non-APZ platforms, combine any async transform with the OMTA transform rather than clobbering it the OMTA transform. r=kats
--HG--
extra : source : c0c812c1cfb0f71ebf1ed610678195a3e53c2725
2015-03-11 13:18:52 -04:00
Nicolas Silva
a8b719ecbb Bug 1125848 - Backout because of crashes. r=me 2015-03-13 15:13:12 +01:00
dvander@alliedmods.net
b4113c6bb2 Bug 1139845 - Fix ChromeProcessController crash when there is no document element. r=botond
--HG--
extra : rebase_source : 108a0ed9e25d46ed77b6deefa081e1e7d19cffe9
2015-03-10 13:44:00 -04:00
Dan Glastonbury
95dd0ae4f3 Bug 1124996 - Block S3TC on OSX 10.10 & HD3000. r=jgilbert
--HG--
extra : rebase_source : 2716431af5c3c11d05ac63fa12e904221f0e1ac7
2015-02-18 14:34:28 +10:00
Mike Hommey
7182517af9 Bug 1136958 - Reintroduce pixman code path removed in bug 1097776 for --disable-skia builds. r=jmuizelaar 2015-03-17 10:04:19 +09:00
Botond Ballo
2eb9751320 Bug 1139675 - Simplify the APIs for getting and setting the pres shell resolution. r=mstange,mattwoodrow
--HG--
extra : rebase_source : 18444e5f9304bbf9c2c14903be6aa4ebf8a08af3
extra : source : 60fe56e752d984a8d074af1bec1dfcd40a41e5f6
2015-03-06 18:07:59 -05:00
Botond Ballo
d3aed336d6 Bug 1139675 - Add a couple of operator overloads to BaseSize. r=kats
--HG--
extra : rebase_source : 83dc92abae4c970b93d9d6f6841392a6530d560d
extra : source : 2d49fc7c82c580e115bfcca8709582a7a9abda6b
2015-03-06 18:07:30 -05:00
Jeff Gilbert
d8509a9780 Bug 927995 - Handle antialias+preserveDrawingBuffer properly. - r=kamidphish 2015-03-16 12:16:50 -07:00
Kartikaya Gupta
3898d1b85c Bug 1142926 - Only notify the docshell of state changes when moving in and out of a transforming state across all APZCs. r=botond 2015-03-16 14:52:52 -04:00
Jeff Muizelaar
4bc2e31265 Bug 1132432. Implement AsShadowableLayer() for ClientReadbackLayers. r=roc
Without this we early exit from the loop in ShadowLayerForwarder::InsertAfter
which causes us to insert layers after the ReadbackLayers in the wrong order.

--HG--
extra : rebase_source : be70ea2551ca3468e924f1d3a2c5f320a9f54e18
2015-03-12 17:51:07 -04:00
Ryan VanderMeulen
fd575569d5 Backed out changeset 672cea72c662 (bug 994541) for making various browser-chrome tests more timeout-prone.
CLOSED TREE
2015-03-12 15:54:12 -04:00
Nicolas Silva
0863d3f6fa Bug 1123080 - Use cairo's image backend as canvas fallback on windows. r=Bas 2015-03-12 19:40:06 +01:00
Kartikaya Gupta
617f629233 Bug 1143518 - Remove the TryCapture path which is now obsolete. r=smaug 2015-03-16 12:32:17 -04:00
Carsten "Tomcat" Book
574c589b5a Backed out changeset 71966b47b3f9 (bug 1124996) for perma orange in test_conformance__extensions__webgl-compressed-texture-s3tc.html 2015-03-16 11:58:30 +01:00
Carsten "Tomcat" Book
9724ca2e3a Backed out changeset c7d73cfc59cb (bug 927995) 2015-03-16 11:28:46 +01:00
Jeff Gilbert
6f162d3f77 Bug 927995 - Handle antialias+preserveDrawingBuffer properly. - r=kamidphish 2015-03-16 00:31:33 -07:00
Dan Glastonbury
7929fb116d Bug 1124996 - Block S3TC on OSX 10.10 & HD3000. r=jgilbert
--HG--
extra : rebase_source : 60be1f10ad59b1d4a96d92512480fc346af5787d
2015-02-18 14:34:28 +10:00
Phil Ringnalda
65c70420b9 Merge m-c to m-i 2015-03-15 19:42:35 -07:00
Mason Chang
7df0c3a7b2 Bug 1142957 Fallback to main display CVDisplayLink if active displays aren't available. r=mstange 2015-03-14 21:23:53 -07:00
Mason Chang
bbe4c2b753 Backout 8545a7f27c8c (bug 1142708) for 10.6 Debug jit test failures. r=me 2015-03-14 20:37:41 -07:00
Mason Chang
55026e7cd5 Bug 1142708. Fallback to main display CVDisplayLink if active displays aren't available. r=mstange 2015-03-14 13:55:35 -07:00
Chris Lord
7484b298e0 Bug 994541 - Enable OMTC on Linux via BasicCompositor. r=Bas 2015-03-12 14:01:23 +01:00
Jonathan Kew
af316a7d7d Bug 1136557 - pt 2 - Round maxDescent similarly to maxAscent in nsFontMetrics. r=smontagu 2015-03-12 10:47:50 +00:00
Jonathan Kew
d8d7cd6058 Bug 1136557 - pt 1 - Ignore bogus ascent/descent values in 'vhea' table. r=smontagu 2015-03-12 10:47:32 +00:00
Jonathan Kew
05cc1cb432 Bug 1139646 - Ensure gfxHarfBuzzShaper only loads the vmtx table once, to avoid leaking it. r=smontagu 2015-03-12 10:03:09 +00:00
Matt Woodrow
10ced0676b Bug 1131638 - Disable hardware decoding if too many frames are invalid. r=cpearce 2015-03-12 22:14:51 +13:00
Matt Woodrow
def55ce594 Bug 1131638 - Discard video frames that fail to sync. r=cpearce 2015-03-12 22:13:23 +13:00
Mason Chang
334c6d4056 Bug 1141361 - Reuse the same thread when we start/stop vsync event for the windows vsync thread. r=jrmuizel 2015-03-11 18:35:50 -07:00
Sotaro Ikeda
114f04dcd9 Bug 1142071 - Re-add WaitForBufferOwnership() r=jgilbert 2015-03-11 14:10:24 -07:00
David Anderson
b0d8ea6da4 Fix APZ using incorrect scroll wheel deltas. (bug 1141728, r=kats) 2015-03-11 13:56:56 -07:00
Jeff Muizelaar
69363dcf7f Bug 1130978. Fix VisitEdges. r=kats
The code is broken because in the else case of VisitNextEdgeBetweenRect we
assume that r2->x1 < r1->x1. This is not always the case.

The fix is to have VisitNextEdgeBetweenRect return whether there's an overlap.
The calling code can than adjust x1 appropriately if r1 != r1_end && r2 != r2_end.
2015-03-11 01:18:30 -04:00
Ryan VanderMeulen
3807a08ace Backed out changeset 512454694cc4 (bug 1123080) for Windows crashtest failures. 2015-03-11 15:22:04 -04:00
Kartikaya Gupta
5116d7c5a8 Bug 1130982 - Ensure the clip rect on a multi-metrics layer belongs to the bottommost layer. r=botond
--HG--
extra : rebase_source : e4ccf248d3bd4ef4084e0077dc36a90cde4122a6
2015-03-11 13:36:12 -04:00
Kartikaya Gupta
5ee3e2e6f9 Bug 1130982 - Ensure the clip rect is appropriately adjusted for multi-framemetrics layers. r=botond
--HG--
extra : rebase_source : e5de1a95503377d40644c3b2656f64d7e643ef70
2015-02-20 16:01:41 -05:00
Nicolas Silva
4609707f8e Bug 1142143 don't early return in TextureClientD3D11::Unlock if readback fails. r=jrmuizel 2015-03-11 18:35:35 +01:00
Nicolas Silva
b292aa6f59 Bug 1123080 - Use Cairo's image backend with canvas fallback on Windows. r=Bas 2015-03-11 17:16:13 +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
Jonathan Kew
59e90c7cf1 Bug 1141676 - Fix the sizing of synthetic sub-/superscript glyphs. r=jdaggett 2015-03-11 08:49:24 +00:00
Mason Chang
088905d5b9 Bug 1143249 Assertion failure due to profiler shutting off race. r=shu 2015-03-13 21:14:11 -04:00
Kartikaya Gupta
5952cffb85 Bug 1144374 - Fix APZ code to deal with layers getting moved to another LayerManager. r=botond 2015-03-20 06:58:04 -04:00
Kartikaya Gupta
e4c4c97a3a Bug 1145089 - Update documentation for nsEventStatus_eConsumeNoDefault. r=botond 2015-03-20 06:58:04 -04:00
Kartikaya Gupta
7f502f2f3e Bug 1036967 - Followup to fix debug logging. r=me 2015-03-20 06:58:04 -04:00
Jeff Muizelaar
840a07e091 Bug 1141864. Replace a bunch nsAutoPtr.h includes with nsRefPtr.h
--HG--
extra : rebase_source : e80009032ef08f660551bb6d2b33449e87e7d25e
2015-03-10 20:48:09 -04:00
Wes Kocher
d8ac0068e5 Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-10 15:44:53 -07:00
Thomas Zimmermann
7da19ec752 Bug 1137151: Marked destructor of |GrallocReporter| as protected, r=jmuizelaar 2015-03-10 13:44:02 +01:00
Jeff Muizelaar
94d5a406a9 Bug 1131965. Cherry pick ANGLE fix for conformance crash
This cherrypicks 21c1e4566726c9397a840dc5331e40a8d0ca9511
from upstream ANGLE which fixes a crash when running:
/conformance/glsl/bugs/undefined-index-should-not-crash.html

--HG--
extra : rebase_source : d1801b3ac1ab5e8d364ea7de024187a4d8ff221e
2015-03-10 10:59:17 -04:00
Jeff Muizelaar
9c783e8ed0 Bug 1136242. Make sure we acquire the mutexes when copying the surfaces. r=jgilbert
This was causing badness when using preserveDrawingBuffers = true

--HG--
extra : rebase_source : 96338c4ef8ef3afd9541bde3158b915b8e62551f
2015-02-27 14:17:55 -05:00
Kartikaya Gupta
c6da1df376 Bug 1137267 - Remove unneeded flags to track touch listeners and touch caret. r=smaug,dvander,botond 2015-03-10 09:29:25 -04:00
Kartikaya Gupta
cf25343ea5 Bug 1137267 - Enable event-regions automatically when APZ is enabled, and allow the APZ code to assume event-regions are enabled always. r=botond,tn 2015-03-10 09:29:19 -04:00
Carsten "Tomcat" Book
722fe2fc5b Backed out changeset 622f0877bc3f (bug 1125848) for e10s bustage 2015-03-10 12:38:55 +01:00
Nicolas Silva
fad35892a9 Bug 1125848 - Consolidate PCompositor's creation-destruction logic. r=sotaro 2015-03-09 18:43:39 +01:00
Milan Sreckovic
76dd5cd892 Bug 1140113 - Catch direct (and some indirect) callers of CreateDrawTarget* and deal with failure. r=mstange 2015-03-09 15:48:20 -04:00
David Anderson
56b490ea76 Bug 1139845 - Avoid crashing in ChromeProcessController if the view is null. r=mats 2015-03-06 13:06:25 -05:00
Wes Kocher
5e8e02e501 Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-09 18:56:42 -07:00
Mason Chang
d7bd183d3c Bug 1139253. Reuse the same thread for the software vsync thread. r=kats 2015-03-09 08:19:07 -07:00
Matt Woodrow
3154f0f851 Back out bug 1131638 (changesets 78b34d0e414a and 1b55b99dc432) for causing various video regressions 2015-03-09 16:18:32 +13:00
James Willcox
b0021dc8e1 Bug 1117338 - Blow up if we can't convert a cairo format to a gfx one r=milan 2015-03-09 08:35:11 -05:00
Jonathan Kew
7425b37e9b Bug 1139888 - Check for missing glyph metrics tables. r=jdaggett 2015-03-09 12:16:22 +00:00
Jonathan Kew
d6cae63464 Bug 1139824 - Track construction/destruction of the font table wrappers attached to hb_blob objects, to enable leak detection. r=jdaggett 2015-03-09 12:16:22 +00:00
Milan Sreckovic
d7bdeff12f Bug 1135066 - Deal with failed CreateDrawTarget. r=mstange 2015-03-05 16:38:23 -05: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
dvander@alliedmods.net
f1c8e08cdd Don't async scroll overflowed single-line text boxes in APZ. (bug 1126090 part 6, r=botond) 2015-03-06 14:26:59 -08:00
dvander@alliedmods.net
4691a243e2 If APZ is enabled, do not handle wheel-event scrolling in layout. (bug 1126090 part 1, r=smaug) 2015-03-06 14:26:59 -08: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
1a92c71cfd Bug 1139575 - Don't set the fast motion flag on multitouch blocks. r=botond 2015-03-06 16:52:35 -05:00
Kartikaya Gupta
dd716ae550 Bug 1139575 - Reset velocity on axes when going from a pan to a pinch. r=botond 2015-03-06 16:52:35 -05:00
Markus Stange
0699b9a185 Bug 1123019 - Actually use the clipped rect variable. r=jrmuizel 2015-03-06 13:04:05 -05:00
Martin Stransky
d15abcbc8c Bug 635134 - Adds X11 run-time check for Gtk3 backend. r=karlt
--HG--
extra : rebase_source : 18486b689a7ff1560830e63900af1d60348ccabb
2015-03-05 03:56:00 +01: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
John Daggett
16051fe356 Bug 935862 p2 - add various userfont lookup methods. r=heycam 2015-03-06 17:44:18 +09:00
Bill McCloskey
c10aee7d5e Bug 1129223 - Introduce new, more efficient mozLayerTreeReady event (r=BenWa) 2015-03-05 22:03:23 -08:00
Bas Schouten
1088f0daa0 Bug 1138934: Make sure the white texture of a component alpha pair is fully uploaded when new. r=nical
This is slightly wasteful since this will also always upload the full black texture. The wastage here is so rare and generally so few though that I don't think it's worth adding plumming for the texture host to know if this is the texture on white of on black.
2015-03-06 02:37:12 +01:00
Nicolas Silva
cf56bfc315 Bug 1128934 - Call XFlush after compositing to prevent jank. r=karlt 2015-03-09 10:39:02 +01:00
Nicolas Silva
999b7333fe Bug 1128934 - Avoid calling GetClientBounds from BasicComposior. r=roc, karlt 2015-02-14 12:37:32 +01:00
Kearwood (Kip) Gilbert
8d1fcc4892 Bug 945584: Part 6 - Implementation of scroll snapping (v10 Patch), r=roc, r=kats
- Implemented CSS scroll snapping (http://dev.w3.org/csswg/css-snappoints/)

--HG--
extra : rebase_source : e100b6a2cbc00321d6d1083d12a99213e34d5f9d
2015-02-19 15:53:30 -08:00
Kearwood (Kip) Gilbert
467260920d Bug 945584: Part 5 - Implement ScrollVelocityQueue (v4 Patch), r=roc
- Implemented ScrollVelocityQueue class to calculate the velocity of a scroll
  when given periodic samples of scroll position.
- Added BasePoint::Clamp to simplify code.

--HG--
extra : rebase_source : 1fc779b8075eb7dae97c5b0f6b9bbf9fc073db71
2015-02-19 15:51:08 -08:00
Kearwood (Kip) Gilbert
f799e85423 Bug 945584: Part 4 - Add scroll snapping preferences (v3 Patch), r=roc
- Added preferences to allow trackpad and mousewheel flinging between
snap points to be tuned:
- layout.css.scroll-snap.prediction-max-velocity
- layout.css.scroll-snap.prediction-sensitivity

--HG--
extra : rebase_source : 2b604767130d039c072df29ec9cd032329b58bb6
2015-02-19 15:43:14 -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
Mason Chang
5729940b3c Bug 1139726 - Assert gfxPlatform::Init is called on the main thread. r=kats 2015-03-05 08:43:53 -08: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
Milan Sreckovic
60347c0d1e Bug 1133119 - ::Map should fail if the data is null, and add more null pointer checks. r=mattwoodrow 2015-03-03 11:17:55 -05:00
Kartikaya Gupta
08bb2324c7 Bug 1139033 - Don't schedule an unnecessary repeat transaction when doing a non-progressive paint. r=nical 2015-03-05 06:04:03 -05:00
Kartikaya Gupta
cb572080de Bug 1139397 - Add bug component info for APZ code. r=botond 2015-03-05 06:04:03 -05:00
Kartikaya Gupta
f48ffa41e7 Bug 1122094 - Remove some unnecessary code. r=botond 2015-03-05 06:04:02 -05:00
Mason Chang
a26a5496a6 Bug 1138735 - Fallback to software vsync if CVDisplayLink fails to initialize. r=mstange 2015-03-04 14:37:55 -08:00
Ryan VanderMeulen
fcde1cafd4 Merge inbound to m-c. a=merge 2015-03-04 16:35:35 -05:00
Jan Jongboom
a51560be5b Bug 1134599 - Fix rpi build target. r=jrmuizel, r=shuang 2015-02-25 03:20:00 -05:00
Carsten "Tomcat" Book
9ab0fbd983 Backed out changeset e41d35b40ba9 (bug 1124084) for crashtest-1 b2g test failures
--HG--
extra : rebase_source : d999ef2520debe37d6f761b3b84c5053ce0274ed
2015-03-04 09:06:10 +01:00
Mike Hommey
2e068527f5 Bug 1136958 - Remove duplicate SkDiscardableMemory_none.cpp from gfx/skia/moz.build. r=gps
And to do so, cleanup gfx/skia/generate_mozbuild.py a little.
2015-03-04 14:39:28 +09:00
Seth Fowler
771caaafab Bug 1124084 - Flip on downscale-during-decode everywhere. r=tn 2015-03-03 18:19:21 -08:00
Sotaro Ikeda
c2f7c240bb Bug 1137251 - Disable RemoveTextureFromCompositableTracker except gonk r=nical 2015-03-03 08:51:05 -08: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
Bas Schouten
4e7d60703f Bug 1131370: Try to ignore transient errors and increase D3D11 timeout as well. r=milan 2015-03-03 14:28:50 +01:00
Kyle Thomas
0bfd8a37e4 Bug 1137004 - Changed the location of the counter so when it is used in a maximized window it is no longer cut off, and added a little left padding. r=mattwoodrow
--HG--
extra : rebase_source : f24e2cd8d9110c9a45efced8622111ae60447744
2015-03-03 18:47:00 -05:00
Kartikaya Gupta
f3637b988c Bug 1137203 - Cleanup to ditch the fast-path code entirely and just prevent progressive drawing in the equivalent scenarios. r=BenWa 2015-02-26 17:45:37 -05:00
Kartikaya Gupta
80cdf96476 Bug 1137203 - Ignore the critical displayport when a layer is subject to OMTA relative to the scrolling ancestor. r=BenWa 2015-02-26 17:45:37 -05:00
Botond Ballo
7d1e98f0c9 Bug 1136971 - Draw layer borders correctly in the presence of multi-FrameMetrics. r=kats 2015-02-25 18:25:19 -05:00
Anthony Jones
b8da0abf2f Bug 1131638 - Discard DXVA frames that don't complete YUV->RGB conversion. r=cpearce 2015-02-20 16:27:42 +13:00
Botond Ballo
23539dce4e Bug 943537 - Handle modifiers on tap events in RemoteContentController and ChromeProcessController. r=kats,mbrubeck
--HG--
extra : rebase_source : 8fc78cab591b0da3622b57d9d351775fca529f6e
2015-03-02 16:41:02 -05:00
Botond Ballo
6f8bf1747c Bug 943537 - In the GeckoContentController interface, take the modifiers for tap events in 'widget modifier' format rather than 'DOM modifier' format. r=kats,mbrubeck
--HG--
extra : rebase_source : f931503087e1a13725c9a3a398d49111e060e76e
2015-03-02 16:38:07 -05:00
Sotaro Ikeda
8bf7183124 Bug 1136352 - Fix RemoveTextureAsync handling r=nical 2015-03-02 13:38:45 -08:00
Wes Kocher
a78a7eb043 Merge b2g-inbound to m-c a=merge 2015-03-02 12:56:08 -08:00
Ryan VanderMeulen
3b9c7e5d7f Backed out changesets ddf965a90c07 and 305e676779f8 (bug 1137203) for being the likely cause of bug 1137952.
CLOSED TREE
2015-03-02 12:34:39 -05:00
Kartikaya Gupta
8e267df190 Bug 1092128 - Ensure that when touch-action is enabled the gtests always provide default touch behaviours where expected. r=botond 2015-03-02 11:51:45 -05:00
Kartikaya Gupta
17dd704db3 Bug 1092128 - Ensure the tests for touch action disabled actually disable touch action. r=botond 2015-03-02 11:50:38 -05:00
Wes Kocher
229490154a Merge m-c to b2ginbound a=merge CLOSED TREE 2015-02-26 18:53:42 -08:00
Wes Kocher
d1dab12dcf Merge fx-team to m-c a=merge 2015-02-26 18:37:18 -08:00
Kartikaya Gupta
180f17007c Bug 1137203 - Cleanup to ditch the fast-path code entirely and just prevent progressive drawing in the equivalent scenarios. r=BenWa 2015-02-26 17:45:37 -05:00
Kartikaya Gupta
33c914a549 Bug 1137203 - Ignore the critical displayport when a layer is subject to OMTA relative to the scrolling ancestor. r=BenWa 2015-02-26 17:45:37 -05:00
Milan Sreckovic
37797d57bf Bug 1130195: Report the failed bitmap creation, but still crash. r=bschouten 2015-02-25 17:44:56 -05:00
George Wright
8a82517f1d Bug 1137044 - Clarify README_SKIA a bit r=me DONTBUILD 2015-02-26 12:25:51 -05:00
Benoit Girard
27b42e9142 Bug 1132468 - Reject invalid sizes. r=jrmuizel 2015-02-24 17:02:10 -05:00
Kartikaya Gupta
2ccb1ce2ad Bug 1130455 - Remove the ScrollingBehavior code to propagate APZ and use gfxPrefs instead. r=roc,fabrice
The ScrollingBehavior passed around extensively in TabParent/TabChild is
entirely redundant now that the layers.async-pan-zoom.enabled pref definitively
controls whether or not APZ is enabled. All the code related to ScrollingBehavior
can be removed.
2015-02-26 08:47:01 -05:00
Carsten "Tomcat" Book
3882977ec5 Merge mozilla-central to fx-team 2015-02-26 12:07:22 +01:00
Milan Sreckovic
e3e474039d Bug 1019209 - Allow GL initialization without Android bridge, delay some GL string initialization, clean up some AndroidBridge code. r=snorp 2015-02-18 16:50:31 -05:00
Kartikaya Gupta
53bf04f021 Bug 990907 - Add a flag on nsIScrollableFrame to indicate if it is actively being scrolled by APZ. r=tn 2015-02-25 09:32:09 -05:00
Jonathan Watt
6c3e865ef2 Bug 1136486 - Simplify the SVG text rendering callbacks by getting rid of NotifyBeforeSVGGlyphPainted and NotifyAfterSVGGlyphPainted. r=heycam 2015-02-17 22:01:54 +00:00
Benoit Girard
b732d605b0 Bug 1134762 - Clean-up UseFastPath logic to avoid OOM error. r=kats
--HG--
extra : rebase_source : 500ab9ab5bd860a434a02c51ced6a0834897eab8
2015-02-18 15:27:40 -05:00
Benoit Girard
64d4c32b50 Bug 1135677 - Deal with overflowing rects. r=bas
--HG--
extra : rebase_source : d5b26d8d1e35f9138ad81af0650f3817c3d43b09
2015-02-23 14:09:56 -05:00
Benoit Girard
1ecfd0d5e2 Bug 1136389 - Fix qcms num in/out channels mismatch. r=jrmuizel
--HG--
extra : rebase_source : a3154a1cb1a517f5a2039382589725c5f99e8c83
2015-02-24 19:03:25 -05:00
Wes Kocher
c072157008 Merge m-c to inbound a=merge CLOSED TREE 2015-02-24 15:42:16 -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
Wes Kocher
2c06de98be Merge m-c to b2ginbound a=merge 2015-02-23 17:02:28 -08: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
William Chen
46214bb09f Bug 1134021 - Use composed document when getting nsDOMWindowUtils from shadow DOM content. r=kats 2015-02-23 10:10:23 -08:00
Ms2ger
2649263bed Bug 1135138 - Remove UNICODE from DEFINES in moz.build rather than Makefile.in; r=mshal
This was made possible by bug 928709.
2015-02-23 18:46:55 +01:00
Jeff Gilbert
75d555e953 Bug 1130616 - Support EXT_color_buffer_half_float on ANGLE. - r=jrmuizel,khuey 2015-02-24 14:09:09 -08:00
David Anderson
ad69b19ecc Fix build bustage on CLOSED TREE. No bug 2015-02-24 14:16:27 -08:00
Bas Schouten
45eb4195cb Bug 1135408: Report device resets and their reasons through telemetry. r=vladan 2015-02-22 22:53:32 +00:00
Bas Schouten
42d9427fd6 Bug 1131370: Give content side more time to finish its copy. r=jrmuizel 2015-02-22 22:52:47 +00:00
Jonathan Kew
986898ce38 Bug 1134216 - Preserve line-break flags properly when applying text-transform conversions. r=smontagu 2015-02-22 19:39:36 +00:00
David Anderson
6d2ea830bf Implement GetMaxTextureSize in the basic compositor. (bug 1135883, r=mattwoodrow)
--HG--
extra : rebase_source : 2185c8fd0b891d5ef296b92b3af7009b2f6fa72e
2015-02-24 13:39:01 -08:00
Jacek Caban
f54206dc5a Bug 1133689 - Make D3DVsyncDisplay destructor private. r=jmuizelaar 2015-02-23 12:14:49 +01:00
John Daggett
31457df5b4 Bug 1135308 - add pref for disabling font cache. r=m_kato 2015-02-23 09:32:04 +09:00
Abhishek Arya
f43756ff87 Bug 944579 - another crashtest. 2015-02-22 04:57:16 +00:00
Jesse Ruderman
332e3b357f Bug 950000 - crashtest. 2015-02-22 02:41:58 +00:00
Abhishek Arya
e6d9ca6bd4 Bug 944579 - crashtest. 2015-02-22 02:41:58 +00:00
Jesse Ruderman
c2bcab6f73 Bug 593526 - crashtests. 2015-02-22 02:41:58 +00:00
Gregory Szorc
3833c920cf Bug 1134028 - Don't assign flags to file that may not be defined
The renderer/d3d/d3d11/SwapChain11.cpp source file is only defined if
building on Windows. The generated moz.build was adjusting the .flags
of this file unconditionally. This worked up until now because the
moz.build was only being evaluated on Windows. However, this assumption
no longer holds true after work in bug 1132771 is complete.

Patch the generation script to put .flags adjustment for the file
in question behind the same conditional as the SOURCES assignment.

--HG--
extra : rebase_source : 77becf0be99b5ade809a90ecf7954345d693d81e
2015-02-21 07:26:30 -05:00
Botond Ballo
8d8f67786e Bug 1131749 - Correct for errors in our approximation of the spring equation for overscroll physics that might otherwise violate an assumption. r=kats 2015-02-18 15:12:50 -05:00
Milan Sreckovic
71f6737b57 Bug 1118595 - More aggressive shrinking of shmem section heap. r=bschouten 2015-02-20 14:58:00 -05:00
Markus Stange
6cacad51ee Bug 1132626 - Indicate component alpha on layer borders of tiled layers + tiles. r=bgirard 2015-02-12 16:02:31 -05:00
Ryan VanderMeulen
a31c9ee17c Backed out changeset ca73b950e612 (bug 1134762) for B2G crashtest failures. 2015-02-20 13:22:52 -05:00
Daniel Holbert
e6a8734aa7 Bug 1134931: Add some missing MOZ_OVERRIDE annotations in ServiceWorkerManager.cpp, nsFrameMessageManager.cpp, and 2D.h. r=ehsan 2015-02-20 09:25:07 -08:00
Benoit Girard
7dd2b07ba6 Bug 1134762 - Clean-up UseFastPath logic to avoid OOM error. r=kats 2015-02-18 15:27:40 -05:00
Milan Sreckovic
2a20389bd8 Bug 1133160 - Matrix filters should have 20 elements. r=mstange 2015-02-18 18:11:54 -05:00
Masayuki Nakano
6de68f8acc Bug 1119609 part.6 TextInputProcessor should manage modifier key state and set it to dispatching key events automatically r=smaug, sr=smaug 2015-02-19 15:50:19 +09:00
Jeff Gilbert
e9a175ca67 Bug 1094457 - Implement ReadBuffer and RenderbufferStorageMultisample. - r=kamidphish 2015-02-18 16:57:05 -08:00
Mike Hommey
19ec96fa61 Bug 1134565 - Remove DISABLE_STL_WRAPPING in gfx/angle. r=gps 2015-02-24 11:28:26 +09:00
Markus Stange
5e45b83a2c Bug 1123019 - Shrink clipped stroked rectangles and stroked lines. r=jrmuizel 2015-02-23 18:15:14 -05:00
Markus Stange
a9c358600a Bug 1123019 - In DrawTargetTiled::StrokeRect and StrokeLine, skip tiles that don't intersect the stroke. r=jrmuizel 2015-02-23 16:20:35 -05:00
Benoit Girard
130ecad54e Bug 1113435 - Only cull the fully rendered region when doing progressive draw. r=jrmuizel
--HG--
extra : rebase_source : 063a04e728be38aaf2dc812ead3957c001e61e64
2015-02-18 14:51:05 -05:00
Benoit Girard
d3c56bfcd0 Bug 1085223 - Restore culling because of regressions from bug 1132144.
--HG--
extra : rebase_source : 6934c2a60480b645c123f6788eb8e3b57e24911b
2015-02-17 10:54:48 -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
Trevor Saunders
99d941db3c bug 1133075 - add more MOZ_OVERRIDE r=froydnj, waldo, jrmuizel 2015-02-18 17:03:30 -05:00
Ryan VanderMeulen
f225167cfe Backed out changeset 25a4a1aecec4 (bug 1131749) for gtest failures.
CLOSED TREE
2015-02-18 16:00:46 -05:00
Botond Ballo
8858594e1f Bug 1131749 - Correct for errors in our approximation of the spring equation for overscroll physics that might otherwise violate an assumption. r=kats 2015-02-18 15:12:50 -05:00
Nathan Froyd
b3d7979acb Bug 967300 - enable cairo's atomic support on gcc-esque compilers; r=mshal
Cairo has a number of nifty features predicated on support for atomic
operations on integer types.  Normally, such support would be determined
by cairo's configure script.  But since we don't run cairo's configure
script, we need to manually define HAVE_INTEL_ATOMIC_PRIMITIVES during
cairo's build.  That macro enables codepaths that depend on certain
SIZEOF_* variables being defined by autoconf, so we also need to add the
necessary code in moz.build to set those.

--HG--
extra : rebase_source : 2f00c4e48145b9f72839c57a619058a7bdec8efd
2015-01-15 15:53:28 -05:00
Wes Kocher
95954d0f68 Backed out changeset cfc60f8124bb (bug 1136971) for mass crashes, CLOSED TREE 2015-02-27 13:57:21 -08:00
Botond Ballo
1f905f489d Bug 1136971 - Draw layer borders correctly in the presence of multi-FrameMetrics. r=kats 2015-02-25 18:25:19 -05:00
Maksim Lebedev
4a533d3199 Bug 1133492 - Extract some of nsPresShell into a separate TouchManager class. r=smaug 2015-02-24 22:20:00 -05:00
Carsten "Tomcat" Book
4ecb3f38df Merge mozilla-central to mozilla-inbound 2015-02-18 09:12:35 +01:00
Carsten "Tomcat" Book
90eaa85c59 Backed out changeset 333cd39619fe (bug 1121871) for causing C2 Regressions 2015-02-18 09:08:54 +01:00
Kartikaya Gupta
3b4fe0ca10 Back out bug 1121871 as it is an improper fix and creates regressions like bug 1132741. r=BenWa (on IRC) 2015-02-17 16:30:53 -05:00
Ryan VanderMeulen
d08f967d7b Merge m-c to inbound. a=merge 2015-02-17 21:24:09 -05:00
Matt Woodrow
5ea802bd9a Bug 1128170 - Use UniquePtr for TextureClient KeepAlive objects to make sure we don't leak them. r=jrmuizel 2015-02-18 13:35:30 +13:00
Ryan VanderMeulen
907ac22584 Backed out changeset 820649ecb0fa (bug 1113435) and changeset 4d049a07f749 (bug 1085223) for Android reftest failures.
CLOSED TREE
2015-02-17 16:14:50 -05:00
Benoit Girard
1d64a10ded Bug 1113435 - Don't cull for layers being drawn progressively. r=jrmuizel
--HG--
extra : rebase_source : 775d70542a94bd5e9bd137aac7507699e6fb581d
2015-02-17 11:53:51 -05:00
Benoit Girard
04d545a0f6 Bug 1085223 - Restore culling because of regressions from bug 1132144.
--HG--
extra : rebase_source : 8ba1967648ee48c8a7791125bbac697e4c11b63c
2015-02-17 10:54:48 -05:00
Carsten "Tomcat" Book
965d640fdf Merge mozilla-central to mozilla-inbound 2015-02-17 14:47:52 +01:00
Carsten "Tomcat" Book
3dec09c7a1 Backed out changeset 6952d9fe4f36 (bug 1129871) for causing R14/R15 Test failures 2015-02-17 14:36:42 +01:00
Carsten "Tomcat" Book
999f6284ec Backed out changeset e1bb91f60697 (bug 1129871) 2015-02-17 14:32:15 +01:00
Carsten "Tomcat" Book
4ae7286acb Backed out changeset d81339c7ac52 (bug 1128934) 2015-02-17 14:32:11 +01: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
David Anderson
5da9d866cf FrameMetrics comparator does not include the scroll generation. (bug 1132715, r=kats) 2015-02-15 13:01:00 -08:00
Kartikaya Gupta
362a369841 Bug 1133083 - Fix build when APZCCallbackHelper logging is enabled. r=botond 2015-02-16 21:34:42 -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
829d36ca44 Bug 1131840 - Add an EventRegionsOverride flag to force an empty hit region. r=roc,botond 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
James Willcox
c5944da516 Bug 1131793 - Disable SurfaceTexture detach on Mali r=jgilbert 2015-02-14 11:23:01 -06:00
Nicolas Silva
b930f4e186 Bug 1128934 - Avoid calling GetClientBounds from BasicComposior. r=roc, karlt 2015-02-14 12:37:32 +01:00
Nicolas Silva
4fea5323ad Bug 1129871 - Favor passing tiles by ref rather than copy part 2. r=BenWa 2015-02-14 12:14:59 +01:00
Nicolas Silva
0e7c4b0468 Bug 1129871 - Favor passing tiles by ref rather than copy part 1. r=BenWa 2015-02-14 12:14:54 +01:00
Jeff Gilbert
d3813c406b Bug 1124394 - Support Core profiles for GLContext. - r=kamidphish 2015-02-12 19:00:41 -08:00
Mason Chang
1ac8beda09 Bug 1127151. Part 3: Create a vsync thread loop with dwmflush. r=jrmuizel 2015-02-13 17:17:26 +08:00
Mason Chang
fd8b6dead7 Bug 1127151. Part 2: Create a vsync source on windows. r=kats 2015-02-13 17:17:24 +08:00
JerryShih
07da2f6d6d Bug 1129686 - fix friend class declaration. r=jrmuizel 2015-02-12 22:26:00 +01:00
Nicolas Silva
ccd17ee47f Bug 1120331 - "crash in mozilla::ipc::MessageChannel::Send(IPC::Message*)". r=sotaro 2015-02-04 07:15:00 +01:00
Mason Chang
8818c958da Bug 1130681. Part 1: Add unlock back to ClientTiledLayerBuffer for causing emulator R14 intermittent but doesn't seem necessary. r=jrmuizel 2015-02-13 16:36:46 +08:00
Mason Chang
8c5168160d Bug 1130681. Part 2: Backout bug 1118876 for android reftest failures. r=jrmuizel 2015-02-13 16:36:45 +08:00
Matt Woodrow
01eb91c854 Bug 1127925 - Lazily open shared handles in DXGITextureHostD3D11 to avoid holding references to textures that might not be used. r=jrmuizel 2015-02-13 14:23:43 +13:00
zhoubcfan
f567706ef1 Bug 1129335 - Add private destructor to D3D9 texture usage reporters. r=bgirard 2015-02-16 12:37:43 +01:00
Botond Ballo
3d67dfb02e Bug 1127066 - Implement ChromeProcessController::HandleLongTapUp(). r=kats
--HG--
extra : source : 5857a51daa23da0090b92467cc7fe5c23354b981
2015-02-09 18:20:15 -05:00
Botond Ballo
65a2a78c03 Bug 1127066 - Use (nsBaseWidget's) APZEventState in ChromeProcessController. r=kats
--HG--
extra : source : 65d5458b6f6af13ebaf424ccef87d4a0654646c4
2015-02-09 19:06:06 -05:00
Botond Ballo
933c29e8b5 Bug 1127066 - Complain loudly if APZEventState is used with a widget that doesn't support weak references. r=kats
--HG--
extra : source : e4337bd21059a0ecbffa5d0d567dd9a8f0a3bcd1
2015-02-09 14:10:08 -05:00
Botond Ballo
c83b7760e1 Bug 1127066 - Use a weak reference to the widget in APZEventState to avoid reference cycles. r=kats
--HG--
extra : source : fa8926018068e8de68b0b9c44ad0bdc87acf2033
2015-02-09 14:09:20 -05:00
Botond Ballo
9fd2a6c742 Bug 1127066 - Extract an APZEventState class from TabChild. r=kats
--HG--
extra : source : fc54993e0c836ca01f3900072227938e8c4b938c
2015-02-09 14:05:18 -05:00
Botond Ballo
c059c52cea Bug 1127066 - Extract SendSetTargetAPZCNotification and its helpers into APZCCallbackHelper. r=kats
--HG--
extra : source : 930454419509346f1002ea7486a128072688a921
2015-02-06 18:11:19 -05:00
Botond Ballo
286bd7e59d Bug 1127066 - Extract a helper to apply the APZ callback transform to a touch event. r=kats
--HG--
extra : source : d938af56c1d8225d794f879a5771c9a17d6a402b
2015-02-05 18:02:27 -05:00
Botond Ballo
a353f75418 Bug 1127066 - Fold APZCCallbackHelper::UpdateCallbackTransform() into ScrollFrame(). r=kats
--HG--
extra : source : 5b78d9e9ba84408c898d9e0ab55ae30f437792c8
2015-01-28 17:40:29 -05:00
Botond Ballo
54b4a664cb Bug 1127066 - Factor out code common to APZCCallbackHelper::UpdateRootFrame and UpdateSubFrame. r=kats
--HG--
extra : source : fe1ea639cdfde510a2bb51d2f113fb14809b6b43
2015-01-23 18:54:19 -05:00
Matt Woodrow
de88d60eeb Bug 1131808 - Avoid trying to allocate a buffer for 0 sized YCbCr images. r=nical 2015-02-12 11:23:56 +13:00
Nicholas Nethercote
3a7b0a9f57 Bug 1131901 (part 1) - Make PL_DHashTableAdd() infallible by default, and add a fallible alternative. r=froydnj.
I kept all the existing PL_DHashTableAdd() calls fallible, in order to be
conservative, except for the ones in nsAtomTable.cpp which already were
followed immediately by an abort on failure.

--HG--
extra : rebase_source : 526d96ab65e4d7d71197b90d086d19fbdd79b7b5
2015-02-02 14:48:58 -08:00
Carsten "Tomcat" Book
1da4eb2ea5 merge mozilla-inbound to mozilla-central a=merge 2015-02-11 14:58:16 +01:00
Kartikaya Gupta
e060658784 Bug 1125422 - Read the force-dispatch-to-content flag from the layer tree and use it in the APZ code. r=botond 2015-02-10 16:28:07 -05: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
Joel Maher
a3b1a49f37 Bug 1125509 - [backout 70aa258394bf] 10% tsvgx linux* regression on inbound (Jan 22) from push c6ece3462afd. r=froydnj 2015-02-10 11:13:34 -05:00
Martin Stransky
d975c07099 Bug 1097897 - Add HiDPI support (scale) for Gtk2 and update and fix calculation of scaled screen borders. r=karlt 2015-02-10 02:14:00 -05:00
Benoit Girard
43073dd455 Bug 1131462 - Remove buggy GetAsSurface override. r=jrmuizel 2015-02-10 23:03:15 +08:00
Kartikaya Gupta
224d1319e8 Bug 930939 - Add a function to encapsulate running things on the APZ controller thread. r=botond 2015-02-10 08:24:23 -05:00
Kartikaya Gupta
b3954b6850 Bug 930939 - Move thread assertion code into APZThreadUtils and add more assertions. r=botond 2015-02-10 08:24:23 -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
JerryShih
70408d1c91 Bug 1129686 - Update cms profile in SRGBOverrideObserver callback. r=jmuizelaar
--HG--
extra : rebase_source : 9fc25be48d86379004ed4fda37c8a9eaf81409ed
2015-02-06 00:18:00 +01:00
Jonathan Kew
5840767b60 Bug 1127935 - Check for null when trying to load 'head' table, to avoid crashing on non-sfnt fonts. r=jdaggett 2015-02-10 09:18:23 +00:00