Botond Ballo
824de31a1b
Bug 1043013 - Introduce IntRegionTyped. r=jrmuizel
2015-03-16 13:42:15 -04:00
Botond Ballo
ef2b1b278a
Bug 1043013 - Generalize nsIntRegion into a BaseIntRegion template. r=jrmuizel
2015-03-13 20:40:47 -04:00
Nicolas Silva
3c645c2707
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
afb38bda70
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
a2f3a8faa0
Bug 1124084 - Flip on downscale-during-decode everywhere. r=tn
2015-03-17 13:56:50 -07:00
Ryan VanderMeulen
54343a8bc7
Backed out changeset e86c7b372d7a (bug 1120780) for causing bug 1144224.
...
CLOSED TREE
2015-03-17 15:46:50 -04:00
Ryan VanderMeulen
e30c62bb4f
Backed out changeset bb4b51d4af93 (bug 1143653) for WinXP assertions.
2015-03-17 12:40:47 -04:00
Daniel Holbert
2c24121797
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
191b5c2762
Bug 1144147 - Warning fix in DrawTargetCairo.cpp. r=jrmuizel
2015-03-17 16:53:46 +01:00
Nicolas Silva
8cd01afea2
Bug 1142659 - Fix coverity warning in Layers::UserData test. r=jrmuizel
2015-03-17 15:50:06 +01:00
Nicolas Silva
8beb386c1e
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
21682b3a69
merge mozilla-inbound to mozilla-central a=merge
2015-03-17 11:36:52 +01:00
Michael Wu
1587275ec5
Bug 1120780 - Remove special handling for venus, r=sotaro
2015-03-17 09:38:34 +08:00
Phil Ringnalda
96372c9131
Merge f-t to m-c, a=merge
2015-03-15 19:35:11 -07:00
Daniel Holbert
e0edbae82c
Bug 1143239: Add MOZ_OVERRIDE annotations in ClientReadbackLayer. r=ehsan
2015-03-13 22:59:38 -07:00
Botond Ballo
7cf09165bb
Bug 1036967 - Remove ScaleFactor::ScaleFactor(float, float). r=kats
2015-03-02 18:56:45 -05:00
Botond Ballo
8d53c88caa
Bug 1036967 - Use ScaleFactors2D instead of ScaleFactor where appropriate in APZ and surrounding code. r=kats
2015-03-06 13:54:10 -05:00
Botond Ballo
46d1e4aa8c
Bug 1036967 - Introduce ScaleFactors2D. r=kats,Bas
2015-03-06 13:53:47 -05:00
Botond Ballo
d4ca243169
Bug 1141488 - On non-APZ platforms, combine any async transform with the OMTA transform rather than clobbering it the OMTA transform. r=kats
2015-03-11 13:18:52 -04:00
Nicolas Silva
deb935b392
Bug 1125848 - Backout because of crashes. r=me
2015-03-13 15:13:12 +01:00
dvander@alliedmods.net
ed9c82fda5
Bug 1139845 - Fix ChromeProcessController crash when there is no document element. r=botond
2015-03-10 13:44:00 -04:00
Dan Glastonbury
20eae6b05b
Bug 1124996 - Block S3TC on OSX 10.10 & HD3000. r=jgilbert
2015-02-18 14:34:28 +10:00
Mike Hommey
d2ddaa4425
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
b7b1daa972
Bug 1139675 - Simplify the APIs for getting and setting the pres shell resolution. r=mstange,mattwoodrow
2015-03-06 18:07:59 -05:00
Botond Ballo
8d9cb90803
Bug 1139675 - Add a couple of operator overloads to BaseSize. r=kats
2015-03-06 18:07:30 -05:00
Jeff Gilbert
6330dbcbf0
Bug 927995 - Handle antialias+preserveDrawingBuffer properly. - r=kamidphish
2015-03-16 12:16:50 -07:00
Kartikaya Gupta
36d22b63e9
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
8b630a69c0
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.
2015-03-12 17:51:07 -04:00
Ryan VanderMeulen
fa1aa88d22
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
86f6836f29
Bug 1123080 - Use cairo's image backend as canvas fallback on windows. r=Bas
2015-03-12 19:40:06 +01:00
Kartikaya Gupta
1e28ba299b
Bug 1143518 - Remove the TryCapture path which is now obsolete. r=smaug
2015-03-16 12:32:17 -04:00
Carsten "Tomcat" Book
4a80408131
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
bfb5d90fb6
Backed out changeset c7d73cfc59cb (bug 927995)
2015-03-16 11:28:46 +01:00
Jeff Gilbert
3800191a9d
Bug 927995 - Handle antialias+preserveDrawingBuffer properly. - r=kamidphish
2015-03-16 00:31:33 -07:00
Dan Glastonbury
f1f6c755f3
Bug 1124996 - Block S3TC on OSX 10.10 & HD3000. r=jgilbert
2015-02-18 14:34:28 +10:00
Phil Ringnalda
42b0744054
Merge m-c to m-i
2015-03-15 19:42:35 -07:00
Mason Chang
ad03a5108c
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
94a2cd887a
Backout 8545a7f27c8c (bug 1142708) for 10.6 Debug jit test failures. r=me
2015-03-14 20:37:41 -07:00
Mason Chang
8eb7f02cc2
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
1045018149
Bug 994541 - Enable OMTC on Linux via BasicCompositor. r=Bas
2015-03-12 14:01:23 +01:00
Jonathan Kew
b82746ff0c
Bug 1136557 - pt 2 - Round maxDescent similarly to maxAscent in nsFontMetrics. r=smontagu
2015-03-12 10:47:50 +00:00
Jonathan Kew
6c8a0ff41b
Bug 1136557 - pt 1 - Ignore bogus ascent/descent values in 'vhea' table. r=smontagu
2015-03-12 10:47:32 +00:00
Jonathan Kew
e0e389027e
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
bfed929c24
Bug 1131638 - Disable hardware decoding if too many frames are invalid. r=cpearce
2015-03-12 22:14:51 +13:00
Matt Woodrow
67f43c6536
Bug 1131638 - Discard video frames that fail to sync. r=cpearce
2015-03-12 22:13:23 +13:00
Mason Chang
e8a505d7fb
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
8d28b701c8
Bug 1142071 - Re-add WaitForBufferOwnership() r=jgilbert
2015-03-11 14:10:24 -07:00
David Anderson
e128ed3153
Fix APZ using incorrect scroll wheel deltas. (bug 1141728, r=kats)
2015-03-11 13:56:56 -07:00
Jeff Muizelaar
b66b5a2f28
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
115adcaae3
Backed out changeset 512454694cc4 (bug 1123080) for Windows crashtest failures.
2015-03-11 15:22:04 -04:00
Kartikaya Gupta
cc17095c12
Bug 1130982 - Ensure the clip rect on a multi-metrics layer belongs to the bottommost layer. r=botond
2015-03-11 13:36:12 -04:00
Kartikaya Gupta
dd1ffeacc2
Bug 1130982 - Ensure the clip rect is appropriately adjusted for multi-framemetrics layers. r=botond
2015-02-20 16:01:41 -05:00
Nicolas Silva
1ed8cc95f6
Bug 1142143
don't early return in TextureClientD3D11::Unlock if readback fails. r=jrmuizel
2015-03-11 18:35:35 +01:00
Nicolas Silva
56691116f1
Bug 1123080 - Use Cairo's image backend with canvas fallback on Windows. r=Bas
2015-03-11 17:16:13 +01:00
Nicolas Silva
7b0e746bb3
Bug 1125848 - Consolidate PCompositor's creation-destruction logic. r=sotaro
2015-03-09 18:43:39 +01:00
Sotaro Ikeda
5f31961699
Bug 1139935 - Re-enable RemoveTextureFromCompositableTracker r=nical
2015-03-11 06:53:43 -07:00
Jonathan Kew
4e2cda6f5a
Bug 1141676 - Fix the sizing of synthetic sub-/superscript glyphs. r=jdaggett
2015-03-11 08:49:24 +00:00
Mason Chang
bc77aca98e
Bug 1143249 Assertion failure due to profiler shutting off race. r=shu
2015-03-13 21:14:11 -04:00
Kartikaya Gupta
3011097b51
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
9b98525180
Bug 1145089 - Update documentation for nsEventStatus_eConsumeNoDefault. r=botond
2015-03-20 06:58:04 -04:00
Kartikaya Gupta
0e4282299d
Bug 1036967 - Followup to fix debug logging. r=me
2015-03-20 06:58:04 -04:00
Jeff Muizelaar
1d1e01ca83
Bug 1141864. Replace a bunch nsAutoPtr.h includes with nsRefPtr.h
2015-03-10 20:48:09 -04:00
Wes Kocher
f303b4d81c
Merge b2g-inbound to m-c a=merge CLOSED TREE
2015-03-10 15:44:53 -07:00
Thomas Zimmermann
6aec3a4c26
Bug 1137151: Marked destructor of |GrallocReporter| as protected, r=jmuizelaar
2015-03-10 13:44:02 +01:00
Jeff Muizelaar
5c4981bdde
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
2015-03-10 10:59:17 -04:00
Jeff Muizelaar
c7745a2dec
Bug 1136242. Make sure we acquire the mutexes when copying the surfaces. r=jgilbert
...
This was causing badness when using preserveDrawingBuffers = true
2015-02-27 14:17:55 -05:00
Kartikaya Gupta
050bd07ad1
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
dcb00c1088
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
cf1b7f571d
Backed out changeset 622f0877bc3f (bug 1125848) for e10s bustage
2015-03-10 12:38:55 +01:00
Nicolas Silva
efc17f7372
Bug 1125848 - Consolidate PCompositor's creation-destruction logic. r=sotaro
2015-03-09 18:43:39 +01:00
Milan Sreckovic
50350de860
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
d3012baa15
Bug 1139845 - Avoid crashing in ChromeProcessController if the view is null. r=mats
2015-03-06 13:06:25 -05:00
Wes Kocher
76b116dfbf
Merge b2g-inbound to m-c a=merge CLOSED TREE
2015-03-09 18:56:42 -07:00
Mason Chang
5ce011a2c3
Bug 1139253. Reuse the same thread for the software vsync thread. r=kats
2015-03-09 08:19:07 -07:00
Matt Woodrow
8b8eea83ee
Back out bug 1131638 (changesets 78b34d0e414a and 1b55b99dc432) for causing various video regressions
2015-03-09 16:18:32 +13:00
James Willcox
ab87d1e76b
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
3f92d8c4be
Bug 1139888 - Check for missing glyph metrics tables. r=jdaggett
2015-03-09 12:16:22 +00:00
Jonathan Kew
b0f0a419bc
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
604c74b2a7
Bug 1135066 - Deal with failed CreateDrawTarget. r=mstange
2015-03-05 16:38:23 -05:00
Jim Mathies
119a045bd3
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
35e249e402
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
fceed92455
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
3564b8945d
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
0620293f8c
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
229752182a
Bug 1138502. Reset vsync unobserve count if a force composite occurs. r=mstange
2015-03-06 13:58:22 -08:00
Kartikaya Gupta
3a803b3ac1
Bug 1139575 - Don't set the fast motion flag on multitouch blocks. r=botond
2015-03-06 16:52:35 -05:00
Kartikaya Gupta
fe14f0752a
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
22102f166b
Bug 1123019 - Actually use the clipped rect variable. r=jrmuizel
2015-03-06 13:04:05 -05:00
Martin Stransky
9748ea506e
Bug 635134 - Adds X11 run-time check for Gtk3 backend. r=karlt
2015-03-05 03:56:00 +01:00
Kartikaya Gupta
6efd73ac8f
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
f914693c64
Bug 1137875 - Have the SharedFrameMetricsData hold a copy of the layers id. r=nical
2015-03-06 06:25:40 -05:00
Kartikaya Gupta
b749c3ff55
Bug 1137875 - Have the LayerTransactionChild hold a copy of the layers id. r=nical
2015-03-06 06:25:33 -05:00
John Daggett
aab6abc217
Bug 935862 p2 - add various userfont lookup methods. r=heycam
2015-03-06 17:44:18 +09:00
Bill McCloskey
c5baec6e18
Bug 1129223 - Introduce new, more efficient mozLayerTreeReady event (r=BenWa)
2015-03-05 22:03:23 -08:00
Bas Schouten
991c98d30b
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
4273c9a4a3
Bug 1128934
- Call XFlush after compositing to prevent jank. r=karlt
2015-03-09 10:39:02 +01:00
Nicolas Silva
d83a379f44
Bug 1128934
- Avoid calling GetClientBounds from BasicComposior. r=roc, karlt
2015-02-14 12:37:32 +01:00
Kearwood (Kip) Gilbert
957ced20f0
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/ )
2015-02-19 15:53:30 -08:00
Kearwood (Kip) Gilbert
2879261784
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.
2015-02-19 15:51:08 -08:00
Kearwood (Kip) Gilbert
a1aac15c2a
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
2015-02-19 15:43:14 -08:00