Commit Graph

10776 Commits

Author SHA1 Message Date
Botond Ballo
4817f200ad Bug 1016573 - Put logging of APZ test data behind a pref. r=kats 2014-05-29 12:51:28 -04:00
Ryan VanderMeulen
a84b80db96 Merge m-c to inbound on a CLOSED TREE. 2014-05-29 14:46:47 -04:00
Ryan VanderMeulen
059f189910 Backed out changeset 441137505200 (bug 980178) for causing various TBPL crashes. 2014-05-29 14:33:28 -04:00
Ed Morley
a4fa552bf6 Backed out changeset 1d4226ea1c1b (bug 854421) for causing bug 1017478 2014-05-29 10:57:03 +01:00
Ed Morley
09a1d0bca1 Backed out changeset 0d658e89549b (bug 854421) 2014-05-29 10:56:08 +01:00
Ed Morley
d2949c2958 Backed out changeset 0ce26a65c8dd (bug 854421) 2014-05-29 10:56:04 +01:00
Ed Morley
0df1c8186b Backed out changeset 056cc43a50b6 (bug 854421) 2014-05-29 10:55:54 +01:00
Ed Morley
00a77d33b1 Backed out changeset 3f58a7521a51 (bug 854421) 2014-05-29 10:55:51 +01:00
Ed Morley
73cd91225e Backed out changeset 123998cc3f92 (bug 854421) 2014-05-29 10:55:47 +01:00
Ed Morley
c419847ce0 Backed out changeset cbe947863ad3 (bug 854421) 2014-05-29 10:55:44 +01:00
Wes Kocher
c81d90b9e0 Backed out 3 changesets (bug 1016086) for robocop bustage on a CLOSED TREE
Backed out changeset 450878674b08 (bug 1016086)
Backed out changeset e6b0a5086a81 (bug 1016086)
Backed out changeset 9e572e6623e7 (bug 1016086)
2014-05-28 15:10:32 -07:00
Matt Woodrow
693c4461d7 Bug 854421 - Part 9: Send DidComposite during ClientLayerManager destruction. r=roc 2014-05-29 09:44:30 +12:00
Matt Woodrow
52ef72d03d Bug 854421 - Part 8: Try find a 'root' refresh driver to see if it's blocked. r=vlad 2014-05-29 09:43:41 +12:00
Matt Woodrow
93fc6e9209 Bug 854421 - Part 7: Allocate and return transaction id's from the refresh driver when using OMTC to prevent over-production. r=roc 2014-05-29 09:43:39 +12:00
Matt Woodrow
f91ba49bae Bug 854421 - Part 6: Add gfx API for allocating transaction ids. r=roc 2014-05-29 09:42:17 +12:00
Matt Woodrow
1c3c37d4b3 Bug 854421 - Part 3: Add a way to detect PLayerTransaction objects that exist only for testing and won't composite. r=nical 2014-05-29 09:42:16 +12:00
Matt Woodrow
057b339b9c Bug 854421 - Part 2: If we cancel a composite when going into test mode, fire the DidComposite event anway in case someone is waiting on it. r=nical 2014-05-29 09:42:16 +12:00
Matt Woodrow
c39500bbbe Bug 854421 - Part 1: Add a transaction id number to DidComposite. r=nical 2014-05-29 09:42:14 +12:00
Sotaro Ikeda
9f5f6ca50f Bug 1014360 - memory leak when DEALLOCATE_CLIENT is set r=nical 2014-05-28 13:37:13 -07:00
Andreas Gal
62fb948444 Bug 1016086 - Part 3: Setup attribute configuration when we start compositing instead of for every draw command (r=Bas) 2014-05-28 16:18:46 -04:00
Andreas Gal
d662931cd0 Bug 1016086 - Part 2: Save/restore attribute state in blit helper (r=Bas) 2014-05-28 16:18:43 -04:00
Andreas Gal
8fd0bfaa17 Bug 1016086 - Part 1: Use a single attribute in all shaders (r=Bas) 2014-05-28 16:18:36 -04:00
Andreas Gal
ad26c34c3a Fix rebase error for bug 1012407 (r=CLOSED TREE) 2014-05-28 14:24:23 -04:00
Andreas Gal
1bd8b3e051 Bug 1012407 - Part 9: Use CLAMP instead of GL_REPEAT to draw quads (r=Bas) 2014-05-28 14:07:15 -04:00
Andreas Gal
37ea7c31b8 Bug 1012407 - Part 8: Remove VBOArena which is now dead code (r=Bas) 2014-05-28 14:04:07 -04:00
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
Jonathan Kew
02f8bb9104 bug 985220: remove the old GDI, Uniscribe and DWrite text-shaping code paths, as we now use HarfBuzz or Graphite for all shaping on Windows. r=jdaggett 2014-03-19 12:27:44 +00:00
Kartikaya Gupta
fd9074dc8d Bug 1016558 - Properly account for simple CSS transforms when computing fields for progressive update. r=Cwiiis r=botond 2014-05-29 12:47:42 -04:00
Kartikaya Gupta
7b9b4b2195 Bug 1016558 - Rename some variables to be more meaningful, and update some comments. r=botond r=Cwiiis
Renames:
  displayPortParent -> displayPortAncestor
  scrollParent -> scrollAncestor
  parent -> ancestor
  displayPortParentParent -> displayPortAncestorGrandParent
  layoutDeviceToScrollParentLayer -> layoutDeviceToDisplayPort
  mTransformParentLayerToLayoutDevice -> mTransformDisplayPortToLayoutDevice
  aTransformParentLayerToLayoutDevice -> aTransformDisplayPortToLayoutDevice
2014-05-29 12:47:41 -04:00
Kartikaya Gupta
5134f6cd7f Bug 1016558 - Log the critical displayport in the layers dump. r=Cwiiis 2014-05-29 12:47:41 -04:00
Andreas Gal
02d7f6f1f9 Bug 1016086 - Part 2: Save/restore attribute state in blit helper (r=Bas) 2014-05-29 10:19:48 -04:00
Andreas Gal
08e124e6a7 Bug 1016086 - Part 1: Use a single attribute in all shaders (r=Bas) 2014-05-29 10:19:37 -04:00
Tatiana Meshkova
83af0faf69 Bug 1016795 - Make CompositorParent usable by Embedlite. r=dholbert 2014-05-28 10:44:00 -04:00
Jonathan Kew
a8bff5f342 bug 998844 - part 5 - support bundled fonts on Windows/DWrite. r=bas 2014-05-29 13:01:07 +01:00
Jonathan Kew
715446ecd5 bug 998844 - part 4 - support bundled fonts on desktop Linux. r=jdaggett 2014-05-29 13:01:03 +01:00
Jonathan Kew
995d8e9e8c bug 998844 - part 3 - support bundled fonts on Windows/GDI. r=jdaggett 2014-05-29 13:00:59 +01:00
Jonathan Kew
93dd31baac bug 998844 - part 2 - support bundled fonts on OS X. r=jdaggett 2014-05-29 13:00:55 +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