Matt Woodrow
2946d172f5
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
7f11d1f162
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
da6b1b81df
Bug 854421 - Part 6: Add gfx API for allocating transaction ids. r=roc
2014-05-29 09:42:17 +12:00
Matt Woodrow
5dda13aee0
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
b440e6a8f7
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
598b361ff8
Bug 854421 - Part 1: Add a transaction id number to DidComposite. r=nical
2014-05-29 09:42:14 +12:00
Botond Ballo
5e4ee6b555
Bug 1016682 - Make TabChild's initial zoom calculation consistent with APZ. r=kats
2014-05-29 13:20:02 -04:00
Botond Ballo
fd2b8ad96e
Bug 1016682 - Tolerate floating-point error in Axis::CanScroll(). r=kats
2014-05-28 17:52:40 -04:00
Nicolas Silva
646746d885
Bug 1016321 - Remove unwanted fprintfs. r=edmorley
2014-05-27 05:58:00 -04:00
Kartikaya Gupta
7cc38b958a
Bug 1014997 - Cancel animations when the scroll offset is forcefully changed. r=botond
2014-05-29 09:54:00 -04:00
Botond Ballo
e24dcd4aaa
Bug 1016573 - Put logging of APZ test data behind a pref. r=kats
2014-05-29 12:51:28 -04:00
Sotaro Ikeda
8069494fdd
Bug 1016677 - Add pointer check to ContentClientRemoteBuffer::DestroyBuffers() r=nical
2014-06-04 10:45:00 -07:00
Ed Morley
5bea8c4c0f
Backed out changeset d37aa03d00fb (bug 1016805) for OS X 10.6 reftest failures; CLOSED TREE
2014-06-04 17:52:55 +01:00
Sotaro Ikeda
de2522144c
Bug 1019057 - Add pointer check to ContentClientDoubleBuffered::FinalizeFrame() r=nical
2014-06-04 08:21:50 -07:00
Kartikaya Gupta
a1b8329b63
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
1b60887ef8
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
cb490febed
Bug 1016558 - Log the critical displayport in the layers dump. r=Cwiiis
2014-05-29 12:47:41 -04:00
Andreas Gal
421c38a995
Bug 1016086 - Part 1: Use a single attribute in all shaders (r=Bas)
2014-05-29 10:19:37 -04:00
Tatiana Meshkova
d501e60fe1
Bug 1016795 - Make CompositorParent usable by Embedlite. r=dholbert
2014-05-28 10:44:00 -04:00
Ed Morley
4014c05bd9
Backed out changeset 1d4226ea1c1b (bug 854421) for causing bug 1017478
2014-05-29 10:57:03 +01:00
Ed Morley
96e7242b40
Backed out changeset 0d658e89549b (bug 854421)
2014-05-29 10:56:08 +01:00
Ed Morley
c2038cefe9
Backed out changeset 0ce26a65c8dd (bug 854421)
2014-05-29 10:56:04 +01:00
Ed Morley
ddc1b85e3d
Backed out changeset 056cc43a50b6 (bug 854421)
2014-05-29 10:55:54 +01:00
Ed Morley
69e78422fc
Backed out changeset 3f58a7521a51 (bug 854421)
2014-05-29 10:55:51 +01:00
Ed Morley
2cb6d1c04c
Backed out changeset 123998cc3f92 (bug 854421)
2014-05-29 10:55:47 +01:00
Ed Morley
591dcf127d
Backed out changeset cbe947863ad3 (bug 854421)
2014-05-29 10:55:44 +01:00
Wes Kocher
c667760989
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
cf37e52e33
Bug 854421 - Part 9: Send DidComposite during ClientLayerManager destruction. r=roc
2014-05-29 09:44:30 +12:00
Matt Woodrow
6878e27974
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
573ea1821a
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
cf5b0feb74
Bug 854421 - Part 6: Add gfx API for allocating transaction ids. r=roc
2014-05-29 09:42:17 +12:00
Matt Woodrow
428bfd8717
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
148b2799bf
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
598501438c
Bug 854421 - Part 1: Add a transaction id number to DidComposite. r=nical
2014-05-29 09:42:14 +12:00
Sotaro Ikeda
e1313101fb
Bug 1014360 - memory leak when DEALLOCATE_CLIENT is set r=nical
2014-05-28 13:37:13 -07:00
Andreas Gal
bcc40bbe38
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
3d07f31ea3
Bug 1016086 - Part 1: Use a single attribute in all shaders (r=Bas)
2014-05-28 16:18:36 -04:00
Andreas Gal
325cd3faa1
Fix rebase error for bug 1012407 (r=CLOSED TREE)
2014-05-28 14:24:23 -04:00
Andreas Gal
a9e3ff88ad
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
f5bb3eeaee
Bug 1012407 - Part 8: Remove VBOArena which is now dead code (r=Bas)
2014-05-28 14:04:07 -04:00
Ed Morley
ede9f9bb7d
Backed out changeset f0b1908ce71a (bug 1013392)
2014-05-28 18:19:44 +01:00
Andreas Gal
13b59aa7e3
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
709cb5dac4
Bug 1013392 - Adjust the search algorithm for async scrollbar thumb shifting. r=kats
2014-05-28 16:14:43 +02:00
Sotaro Ikeda
92b1a2feb0
Bug 1016805 - fix AsyncTransactionTracker handling r=nical
2014-06-04 07:49:14 -07:00
Carsten "Tomcat" Book
5b2053a8dd
Backed out changeset 07a74e6e53b2 (bug 1017427) for reftest failures on a CLOSED TREE
2014-06-04 16:05:24 +02:00
Markus Stange
64c16b9f7a
Bug 1013392 - Adjust the search algorithm for async scrollbar thumb shifting. r=kats
2014-06-04 14:44:26 +02:00
Chris Lord
d4bd9e4095
Bug 1017427 - Fix CompositorOGL RenderOffset not offsetting clipping rect. r=nical
2014-06-04 13:26:57 +01:00
Markus Stange
74e283127c
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
7da4ae9000
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
Brian Birtles
4457eea22f
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
510ffce362
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
f9a1779d4d
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
ae4fac1710
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
2fe00ba5c9
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
Matt Woodrow
49f6188ce1
Bug 1013769 - Apply render target offset after the layer transform in BasicCompositor. r=Cwiiis
2014-05-28 13:21:32 +12:00
Matt Woodrow
57cf682f32
Bug 1013767 - Restrict BasicCompositor snapshots to the bounds of the invalid region. r=nical
2014-05-28 13:21:32 +12:00
Matt Woodrow
84bcfe71d2
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
9bb0df30f2
Bug 949859 - When calculating fling velocity, ignore timestamps that are too old. r=botond
2014-05-27 11:45:03 -04:00
Kartikaya Gupta
d05ca55cbf
Bug 949859 - Remove mLastEventTime from APZC and store a timestamp in Axis instead. r=botond
2014-05-27 11:45:03 -04:00
Chris Lord
fa2f161546
Bug 1006797 - Fix application of OGL compositor screen render offset. r=nical
2014-05-27 13:31:01 +01:00
Botond Ballo
b7850d11ba
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
52afa7c8d1
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
2132c09e79
Bug 998025 - Overscroll rendering effect. r=kats
...
--HG--
extra : rebase_source : 8dba78d1e7a471cf739acc59390e1789a6e5873a
2014-05-20 18:30:45 -04:00
Botond Ballo
f035fcf2f8
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
23a1167102
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
72d2491205
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
7ed239eee5
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
5b8b4b1319
Bug 998025 - Support overscrolling during flinging. r=kats
...
--HG--
extra : rebase_source : 2c85f4a8ec9e21c3a7012f769a560d0153805d63
2014-05-12 18:51:07 -04:00
Botond Ballo
e800ee141a
Bug 998025 - Support overscrolling during panning. r=kats
...
--HG--
extra : rebase_source : f26bb9dfc1267e0eba3216e8f4fa29c98021caa5
2014-05-21 18:21:03 -04:00
Botond Ballo
dd9946a30a
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
c0a1f7b506
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
7ddcf4420c
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
e56f055a37
Bug 1006957 - WebRTC crash fix r=nical
2014-05-26 10:09:25 -07:00
Kartikaya Gupta
bcbc0acd1e
Bug 1015981 - Replace using namespace mozilla::css with qualified class name. r=botond
2014-05-26 12:44:43 -04:00
Andreas Gal
3670a08c42
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
9491a54f93
Bug 1001885: Support NPOT texture wrap modes on older PowerVR drivers (r=mattwoodrow).
2014-05-22 15:05:03 -04:00
Sotaro Ikeda
cb17692178
Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical
2014-05-24 09:14:45 -07:00
Steve Fink
ea69951aea
Backed out changeset 171edffe0641 (bug 1006957) for crash at BaseAutoLock<mozilla::Mutex>::BaseAutoLock(mozilla::Mutex&) from layers::AsyncTransactionTrackersHolder::ClearAllAsyncTransactionTrackers on a CLOSED TREE
2014-05-23 21:16:02 -07:00
Nathan Froyd
4b01374b76
Backout d6c58a2a6da4 (bug 1012407) for various bustages on a CLOSED TREE
2014-05-23 23:36:28 -04:00
Nathan Froyd
bdeb376055
Backout 471244c106e9:634be002dbc9 (bug 1012407)
2014-05-23 23:34:43 -04:00
Andreas Gal
c3996058b5
Bug 1012407 - Part 7: Use a single GL draw call to draw up to 4 texture quads (r=Bas)
2014-05-24 04:16:27 +02:00
Andreas Gal
6674e15f22
Bug 1012407 - Follow-up nits for part 6.
2014-05-24 04:15:45 +02:00
Botond Ballo
851ee8aa7c
Bug 1015331 - Do not leak Task object created during fling handoff. r=kats
2014-05-23 14:32:10 -04:00
Kartikaya Gupta
959ff7340c
Bug 1015278 - Replace the std::string with a char[20] in FrameMetrics to make it cross-process shmem friendly. r=botond
2014-05-23 21:08:51 -04:00
Sotaro Ikeda
e66ebd661d
Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical
2014-05-23 17:52:43 -07:00
Andreas Gal
1807413f5e
Bug 1012407 - Part 9: Normalize texture coordinates in DecomposeIntoNoRepeatRects (r=BenWa)
2014-05-24 02:49:41 +02:00
Kartikaya Gupta
af75f892d4
Bug 946879 - Guard compositable dumping with an environment variable. r=BenWa
2014-05-23 17:06:24 -04:00
Nicolas Silva
68b4a5e659
Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro
2014-05-07 11:06:19 +02:00
Carsten "Tomcat" Book
cdc2e91128
Backed out changeset c4a259f05a18 (bug 1012407) for reftest 5 test failures
2014-05-23 10:37:03 +02:00
Andreas Gal
66c26a0d9a
Bug 1012407 - Part 7: Use a single GL draw call to draw up to 4 texture quads (r=Bas)
2014-05-23 06:10:51 +02:00
Bas Schouten
6667f25c28
Bug 1012213: Let the BufferRect be managed and cleared by the callers like before. r=mattwoodrow
2014-05-23 06:01:05 +02:00
Wes Kocher
e594fbd022
Merge m-c to inbound
2014-05-22 17:55:00 -07:00
Nick Lebedev
42471cb297
Bug 1013378. Make GestureEventListener not to pass apzc status up for touchend event since it causes apzc stay in touching state after gestures completed. r=kats
2014-05-22 20:42:15 -04:00
Wes Kocher
4a7629e50a
Merge inbound to m-c
2014-05-22 17:30:30 -07:00
Carsten "Tomcat" Book
5620cf6964
Merge mozilla-central to b2g-inbound
2014-05-22 15:48:40 +02:00
Sotaro Ikeda
4bcaf068d3
Bug 1012740 - Change as not to abort in GrallocTextureHostOGL::GrallocTextureHostOGL() r=nical
2014-05-22 06:23:12 -07:00
Sotaro Ikeda
3fb56d868c
Bug 1012737 - Add erro check to GrallocTextureClientOGL::GetAsDrawTarget() r=nical
2014-05-22 06:17:03 -07:00
Wes Kocher
ae72230fb0
Backed out 4 changesets (bug 1012407) for b2g reftest5 orange on an otherwise CLOSED TREE
...
Backed out changeset 08e17f48aed1 (bug 1012407)
Backed out changeset b17b7b59cf88 (bug 1012407)
Backed out changeset 1c692df3f080 (bug 1012407)
Backed out changeset 560bd45d52de (bug 1012407)
2014-05-21 18:05:15 -07:00
Birunthan Mohanathas
2deaba6d91
Bug 869836 - Part 8: Use Append('c')
instead of Append("c")
. r=ehsan
2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
76ca8ec617
Bug 869836 - Part 7: Use AppendLiteral instead of Append where possible. r=ehsan
2014-05-22 06:48:51 +03:00