Commit Graph

10740 Commits

Author SHA1 Message Date
Ed Morley
deb3f4131b Backed out changeset f0b1908ce71a (bug 1013392) 2014-05-28 18:19:44 +01:00
Andreas Gal
ce748707c0 Bug 1012407 - Part 7: Use a single GL draw call to draw up to 4 texture quads (r=Bas) 2014-05-28 10:15:31 -04:00
Markus Stange
713c103128 Bug 1013392 - Adjust the search algorithm for async scrollbar thumb shifting. r=kats 2014-05-28 16:14:43 +02:00
Jonathan Watt
1bf339ea5d Bug 1015780 - Make Moz2D's GetAlignedStride() faster. r=Bas 2014-05-28 14:30:56 +01:00
Carsten "Tomcat" Book
8ff83b5aef Merge mozilla-central to mozilla-inbound 2014-05-28 14:48:41 +02:00
Carsten "Tomcat" Book
b01cb5d079 merge b2g-inbound to mozilla-central 2014-05-28 14:33:48 +02:00
Brian Birtles
29b49734b6 Bug 1015803 - Align Layers' Animation.numIterations with AnimationTiming.mIterationCount; r=dholbert
In the IPC Animation struct used in layers code we have a member called
'numIterations' where 'iterate forever' is represented by -1.

In layout/style however we have an AnimationTiming struct with an
mIterationCount member where 'iterate forever' is represented by
NS_IEEEPositiveInfinity().

This patch renames 'numIterations' to 'iterationCount' and uses infinity to
represent 'iterate forever'.
2014-05-28 16:51:50 +09:00
Brian Birtles
ce31823aa2 Bug 1004871 part 9 - Move ElementAnimations::GetPositionInIteration to ElementAnimation::GetComputedTimingAt; r=dholbert
This patch simply moves the code from ElementAnimations to ElementAnimation so
that it can later be used in transitions code and so we can later move
EnsureStyleRuleFor to ElementAnimation.
2014-05-28 16:51:50 +09:00
Brian Birtles
155c5f0edb Bug 1004871 part 6 - Make GetPositionInIteration return a ComputedTiming object; r=dholbert
This patch makes ElementAnimations::GetPositionInIteration return
a ComputedTiming object instead of just a time portion (time fraction).

Since the ComputedTiming object includes phase information, we can fix those
parts of EnsureStyleRule and GetEventsAt that were temporarily using the time
portion to guess if the animation might have finished or not.
2014-05-28 16:51:49 +09:00
Brian Birtles
9f3b8d91b0 Bug 1004871 part 3 - Replace parameters to GetPositionInIteration with an AnimationTiming object; r=dholbert
This patch makes use of the AnimationTiming struct introduced in the previous
patch to simplify calls to ElementAnimations::GetPositionInIteration.
2014-05-28 16:51:49 +09:00
Brian Birtles
f06a971a86 Bug 1004871 part 1 - Factor event queuing out of EnsureStyleRuleFor; r=dholbert
This patch moves event queuing out of EnsureStyleRuleFor into a separate method.
This is a preparatory step towards making GetPositionInIteration into a more
generic method for calculating the current time fraction.

In order to achieve this, GetPositionInIteration needs to be able to calculate
the correct time portion for times outside the range [0, 1] even when it is not
passed a ElementAnimation object. Specifically, it needs the fill mode of the
animation to be passed in.

(Rather than using FillForwards/FillBackwards this patch just compares the
NS_STYLE_ANIMATION_FILL_MODE_* values directly but FillForwards/FillBackwards
are restored in a subsequent patch when they are added to the struct used to
lump the timing parameters together.)

There are a number of places where positionInIteration is used to determine if
the current sample occurs in the active phase or after. This is sub-optimal but
is fixed in a subsequent patch in this series.

The actual work of removing event queuing from GetPositionInIteration is
deferred to a subsequent patch in order to keep the changes as small as
possible. This patch simply makes separate calls to GetPositionInIteration for
interpolating and for event queuing.
2014-05-28 16:51:48 +09:00
Michael Wu
5203dd0d37 Bug 999694 - Followup - Don't assert on 4.2, r=jgilbert 2014-05-27 17:36:52 -04:00
Markus Stange
57e99bcde7 Bug 1016437 - Make TextureImageTextureSourceOGL::Update refuse uploading textures that exceed the maximum texture size if bigimage is disallowed. r=bjacob 2014-05-28 12:52:13 +02:00
Markus Stange
922651b231 Bug 1016437 - Document why we don't use TiledTextureImage for YCbCr frames and add an assert to that effect. r=nical 2014-05-28 12:52:12 +02:00
Jonathan Kew
da78438881 bug 458634 part 2 - use 'smcp' feature in Graphite fonts if available. r=jdaggett 2014-05-28 11:35:14 +01:00
Jonathan Kew
aa7a4adac7 bug 458634 part 1 - use OpenType 'smcp' feature to implement small-caps if available in the font. r=jdaggett 2014-05-28 11:35:12 +01:00
Jeff Gilbert
42d5c29474 Bug 980178 - Clean up context loss handling code. - r=kamidphish 2014-05-27 20:01:33 -07:00
Matt Woodrow
d41315c823 Bug 1013769 - Apply render target offset after the layer transform in BasicCompositor. r=Cwiiis 2014-05-28 13:21:32 +12:00
Matt Woodrow
f6d3bf9e86 Bug 1013767 - Restrict BasicCompositor snapshots to the bounds of the invalid region. r=nical 2014-05-28 13:21:32 +12:00
Matt Woodrow
a566c9094a Bug 1013767 - Add Matrix::PostTranslate. r=Bas 2014-05-28 13:21:32 +12:00
Matt Woodrow
3d5c38c88c Bug 1003707 - Implement GetSize for recording surface created by windows printing. r=Bas 2014-05-28 12:59:10 +12:00
Matt Woodrow
b5efb819dc Bug 1001845 - Simplify invalid regions to avoid spending excessive amounts of time in region code. r=roc 2014-04-28 16:17:31 +12:00
Kartikaya Gupta
a34febcbdd Bug 949859 - When calculating fling velocity, ignore timestamps that are too old. r=botond 2014-05-27 11:45:03 -04:00
Kartikaya Gupta
f3e5d4a468 Bug 949859 - Remove mLastEventTime from APZC and store a timestamp in Axis instead. r=botond 2014-05-27 11:45:03 -04:00
Bas Schouten
4a7ad82e4a Bug 999943 - Followup: Add requested comment. r=jwatt 2014-05-27 17:35:35 +02:00
Bas Schouten
25a1429883 Bug 999943: Correctly use the absolute value to determine min and max of the inflection range. r=jwatt 2014-05-27 17:03:34 +02:00
Geoff Brown
faf93f7632 Bug 979921 - Enable some crashtests on Android 2.3; r=dminor 2014-05-27 06:46:15 -06:00
Chris Lord
55888fb187 Bug 1006797 - Fix application of OGL compositor screen render offset. r=nical 2014-05-27 13:31:01 +01:00
Neil Rashbrook
0b70d2a086 Bug 869836 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
Relading with correct bug number so DONTBUILD.

--HG--
extra : amend_source : 6e05de7729c27761564124212b7d4cbe3318e482
2014-05-26 21:54:10 +03:00
Birunthan Mohanathas
740e2ee668 Backout 8b8bbe7aa1cc due to wrong bug number 2014-05-27 14:42:13 +03:00
Birunthan Mohanathas
65f503e85a Bug 869836 - Part 11: Use Append('c') instead of AppendLiteral("c"). r=ehsan
--HG--
extra : rebase_source : 08bcbfd804f1adcab40c7d59fa56deda1f6e0829
2014-05-26 21:54:58 +03:00
Neil Rashbrook
4a282365d2 Bug 995730 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
--HG--
extra : rebase_source : d2d3d611c06a2a7ec930fb11576d7c8335c0a6e2
2014-05-26 21:54:10 +03:00
Milan Sreckovic
077ddaafe2 Bug 1016079: Remove unused gfxQtPlatform::UseXRender method. r=bjacob 2014-05-26 16:17:23 -04:00
Botond Ballo
110d373477 Bug 998025 - Have APZ gtests clear the overscroll handoff chain when appropriate. r=kats
--HG--
extra : rebase_source : 8253d35c2e0c610398c6b0d3f812552d0a09c246
2014-05-22 17:17:39 -04:00
Botond Ballo
9437464cf5 Bug 998025 - Put overscrolling behind a developer pref. r=kats
--HG--
extra : rebase_source : 2f5a46cacd97120fcbb8e6608446074089d5bf50
2014-05-21 17:20:12 -04:00
Botond Ballo
ec9bb6aef0 Bug 998025 - Overscroll rendering effect. r=kats
--HG--
extra : rebase_source : 8dba78d1e7a471cf739acc59390e1789a6e5873a
2014-05-20 18:30:45 -04:00
Botond Ballo
8a5dcec5ff Bug 998025 - Ignore touch events when in an overscrolled state. r=kats
--HG--
extra : rebase_source : c7b6928915d589773aa536cf002c70c9e26fd371
2014-05-22 14:49:43 -04:00
Botond Ballo
b8f1b3ab28 Bug 998025 - Apply resistance to pans and flings in overscroll. r=kats
--HG--
extra : rebase_source : df1cf70e0843c5806616ecce6003d2f5cd35fb8d
2014-05-13 18:41:32 -04:00
Botond Ballo
78d4893578 Bug 998025 - Snap-back animation to relieve overscroll. r=kats
--HG--
extra : rebase_source : 86ac2135be457f515e37c3adcac6787cc8edc36c
2014-05-21 19:47:58 -04:00
Botond Ballo
0a2ff39059 Bug 998025 - Allow AsyncPanZoomAnimation::Sample() to queue deferred tasks even if the animation is ending. r=kats
--HG--
extra : rebase_source : 6b8236545d95b3432084cc78b9f0505b62cb6c9c
2014-05-22 17:17:05 -04:00
Botond Ballo
0a3004bba7 Bug 998025 - Support overscrolling during flinging. r=kats
--HG--
extra : rebase_source : 2c85f4a8ec9e21c3a7012f769a560d0153805d63
2014-05-12 18:51:07 -04:00
Botond Ballo
baacc2c070 Bug 998025 - Support overscrolling during panning. r=kats
--HG--
extra : rebase_source : f26bb9dfc1267e0eba3216e8f4fa29c98021caa5
2014-05-21 18:21:03 -04:00
Botond Ballo
f054c895f3 Bug 998025 - Refactor Axis::HasRoomToPan() and Axis::Scrollable(). r=kats
--HG--
extra : rebase_source : d0d56f0e1a4f8f9735a8a2755727ee17f33f371f
2014-05-05 19:29:31 -04:00
Botond Ballo
0d5d2e1d7e Bug 998025 - Factor out an Axis::GetFrameMetrics() helper. r=kats
--HG--
extra : rebase_source : d19c09863bb5f6e83198460747f9f4727d822456
2014-05-21 17:26:06 -04:00
Botond Ballo
659149422b Bug 998025 - Remove some unused AsyncPanZoomController and Axis methods. r=kats
--HG--
extra : rebase_source : 9c56db6f7cc0ddb9e3059f502de72741b21de460
2014-05-05 17:46:57 -04:00
Sotaro Ikeda
3563e7df31 Bug 1006957 - WebRTC crash fix r=nical 2014-05-26 10:09:25 -07:00
Jonathan Watt
a3bcd480ea backout ac5e2c6f4ec0 (Bug 1015780) for bustage 2014-05-26 17:59:43 +01:00
Kartikaya Gupta
012fd9ee86 Bug 1015981 - Replace using namespace mozilla::css with qualified class name. r=botond 2014-05-26 12:44:43 -04:00
Andreas Gal
f8c94a55de Bug 1012407 - Part 9: Ensure texture coordinates are within (0,0)(1,1) and nits for Part 6 (r=Bas) 2014-05-24 02:49:41 +02:00
Andreas Gal
7ba338ed32 Bug 1001885: Support NPOT texture wrap modes on older PowerVR drivers (r=mattwoodrow). 2014-05-22 15:05:03 -04:00