Commit Graph

4464 Commits

Author SHA1 Message Date
Kartikaya Gupta
45ef935bdf Bug 1018387 - Add some logging for the tile drawing code. r=Cwiiis 2014-06-09 14:02:39 -04:00
Kartikaya Gupta
7e285bdc23 Bug 1018387 - Log the composition bounds in layer dumps. r=Cwiiis 2014-06-09 14:02:38 -04:00
Chris Lord
36fd5d4bda Bug 1017427 - Fix CompositorOGL RenderOffset not offsetting clipping rect. r=nical 2014-06-09 16:53:35 +01:00
Kartikaya Gupta
f847d55091 Bug 1021384 - Ensure animations are cancelled before destroying the APZC instance. r=botond 2014-06-08 16:37:34 -04:00
Botond Ballo
b19e985e0e Bug 1014280 - Fill blank areas created by overscroll transform with background color. r=mattwoodrow,BenWa,nical
--HG--
extra : source : 4323c71f0e921b50a1774e46ec700b354b479c7a
2014-06-05 14:48:53 -04:00
Botond Ballo
64ebf81674 Bug 1014280 - Add a background color attribute to scrollable ContainerLayers. r=tn,BenWa
--HG--
extra : source : dff750e410e5f4e1ed019527ea17f37e53dd8fe6
2014-06-06 16:50:20 -04:00
Botond Ballo
fc6ec3cd46 Bug 1019999 - Clear overscroll if snap-back animation is cancelled. r=kats
--HG--
extra : source : 20ace5785615d1cc7d0edbe7e09f8691166c6166
2014-06-06 13:58:48 -04:00
Sotaro Ikeda
eb678948e0 Bug 1001417 - Forward fence objects in SharedSurfaceGralloc to Compositor r=jgilbert,nical 2014-06-08 06:18:53 -07:00
Markus Stange
a986c2df8c Bug 944938 - Add event structs and APZ event handling for pan gesture events that can be used for Mac touchpad scrolling. r=kats 2014-06-07 00:49:49 +02:00
Botond Ballo
2dcd7e4865 Bug 1018255 - Use spring physics for snap-back animation. r=kats
--HG--
extra : source : f7f4c40fc818c2342fe6c49c0351c1573f6e9f3d
2014-06-03 13:59:35 -04:00
Botond Ballo
d94aeee60a Bug 1018255 - Make the translation (in the direction of overscroll) more pronounced than the zoom. r=kats
--HG--
extra : source : da6418a2a57e4665b2f03e84ff50052902658f45
2014-06-03 18:03:55 -04:00
Botond Ballo
d08dc47ea7 Bug 1018255 - Fix a short-circuit evaluation bug in OverscrollSnapBackAnimation::Sample. r=kats
--HG--
extra : source : c01a9ce7adb6693dbf5819fe853d4c7076bbd75a
2014-06-03 17:31:25 -04:00
Botond Ballo
df415c9a1c Bug 1018255 - Don't bother doing the computations in ApplyOverscrollEffect if we are not overscrolled. r=kats
--HG--
extra : source : 028af891515ee1093e889d20142f989cb19621b2
2014-06-03 16:20:50 -04:00
Botond Ballo
5c0e3bed25 Bug 1018255 - Stop fling more quickly when overscrolled. r=kats
--HG--
extra : source : 79355b184bc52616567cc16d8f8c61ab31789d67
2014-06-05 15:16:14 -04:00
Benoit Girard
38d340c6a0 Bug 1016678 - Add textured compositor benchmark. r=jrmuizel
--HG--
extra : rebase_source : 11465ad7c287db421fc68022269823b7da992835
2014-06-04 18:37:18 -04:00
Ed Morley
72cc27b160 Backed out changeset 6f2e001c5f39 (bug 774388) 2014-06-06 15:58:58 +01:00
Ed Morley
81e6659113 Backed out changeset 0f81ceab808a (bug 774388) 2014-06-06 15:58:54 +01:00
Benoit Jacob
a47d198749 Bug 774388 - Patch 6: fix a silly double negation - r=nical 2014-06-06 09:51:27 -04:00
Benoit Jacob
b5c7b5da96 Bug 774388 - Patch 5: Wrap the global raw compositor thread pointer, and global raw refcount integer, into a proper refcounted singleton class - r=nical,mattwoodrow 2014-06-06 09:51:26 -04:00
Brian Birtles
dba77091dc Bug 77992 part 1.0 - Add timeStamp to WidgetEvent; r=smaug
This patch adds a timeStamp member to WidgetEvent alongside the existing 'time'
member. In the future we would like to remove 'time' and just keep timeStamp but
that depends on it being web-compatible. For now we introduce both members
side-by-side. Later we will add a pref to determine which one to return. If no
compatibility issues arise we will remove 'time' altogether.
2014-06-06 14:29:49 +09:00
Benoit Jacob
c25997af09 Bug 774388 - Patch 3: remove sCompositorLoop, it's redundant - r=nical,mattwoodrow 2014-06-05 16:42:13 -04:00
Benoit Jacob
90fb44fc74 Bug 774388 - Patch 2: remove sCompositorThreadID, it's redundant - r=nical,mattwoodrow 2014-06-05 16:42:13 -04:00
Benoit Jacob
037248b0ef Bug 774388 - Patch 1: remove StartUpWithExistingThread, it's unused - r=nical 2014-06-05 16:42:13 -04:00
Sotaro Ikeda
2e0263e975 Bug 1020003 - Always use AsyncTransactionTracker on ImageBridge on gonk r=nical 2014-06-05 08:39:45 -07:00
Sotaro Ikeda
1be5b053a7 Bug 1019877 - fix deadlock at AsyncTransactionTrackersHolder r=nical 2014-06-05 07:24:05 -07:00
Tatiana Meshkova
91e9ffd8dd Bug 1019405 - Fix offscreen rendering for top level Layer manager. r=jgilbert 2014-06-03 20:41:00 +02:00
Wes Kocher
f6bae13ecb Merge m-c to inbound on a CLOSED TREE 2014-06-04 18:48:20 -07:00
Wes Kocher
270fe0b086 Backed out changeset f644eda342c2 (bug 1000640) for various gl-based failures on a CLOSED TREE 2014-06-04 18:29:21 -07:00
Wes Kocher
4faef70ed0 Backed out changeset 9d1dd5a9be4f (bug 1000640) 2014-06-04 18:27:41 -07:00
Wes Kocher
b4252e39a6 Backed out changeset cb1ea8162165 (bug 1000640) 2014-06-04 18:27:31 -07:00
Wes Kocher
4fe99a4e72 Backed out changeset 3a764e34c366 (bug 1000640) 2014-06-04 18:27:22 -07:00
Sayan Paul
7723940301 Bug 1016404 - Rename APZC_LOG in APZCTreeManager to avoid unified build conflicts. r=kats 2014-06-04 17:22:35 -04:00
Jeff Gilbert
1379df57d8 Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow 2014-06-04 15:20:26 -07:00
Jeff Gilbert
80de765f16 Bug 1000640 - Update Gralloc and ANGLE ShSurf backends. - r=mattwoodrow 2014-06-04 15:20:25 -07:00
Jeff Gilbert
e7167ed030 Bug 1000640 - Death to whitespace. - r=mattwoodrow 2014-06-04 15:20:25 -07:00
Jeff Gilbert
ca0c1805a0 Bug 1000640 - Handle non-premult alpha in Layers. - r=mattwoodrow 2014-06-04 15:20:24 -07:00
Sotaro Ikeda
e49e0c0613 Bug 1016805 - fix AsyncTransactionTracker handling r=nical 2014-06-04 15:11:00 -07:00
Kartikaya Gupta
06be97952d Bug 1019004 - Guard against a null pointer deref when dumping painting. r=BenWa 2014-06-03 12:59:15 -04:00
Jeff Muizelaar
ba774150e7 Bug 1018416. Inline TransformRegion.
--HG--
rename : dom/datastore/tests/test_bug957086.html => dom/datastore/tests/test_basic.html
extra : rebase_source : ab175afb006c0f6ebb02863f510b6fdc6e578f3c
2014-06-02 11:05:01 -04:00
Phoebe Chang
943fc38329 Bug 924692 - Part 4: Hooks up event handling to TouchCaret; r=roc, bugs 2014-06-03 15:08:54 +08:00
Bas Schouten
b12350835e Bug 1015820: Update the back buffer rect when ensuring a back buffer client exists. r=mattwoodrow 2014-05-31 02:16:35 +02:00
Kartikaya Gupta
d31969d325 Bug 1017680 - Allow progressing painting for any 2D layer. r=Cwiiis 2014-06-02 17:27:36 -04:00
Phil Ringnalda
6b150d744d Back out 710b11cd8e47 (bug 1016086) for Android robocop bustage 2014-06-01 13:16:44 -07:00
Andreas Gal
c5b375c0d6 Bug 1016086 - Part 4: Setup attribute configuration when we start compositing instead of for every draw command (r=Bas) 2014-06-01 10:44:42 -07:00
Phil Ringnalda
c60c621e2b Merge m-c to m-i 2014-05-31 20:38:25 -07:00
Phil Ringnalda
61966eed95 Merge f-t to m-c 2014-05-31 20:31:07 -07:00
Jeff Muizelaar
b4ef297e6f Bug 1018416. Add Transform method to nsRegion. r=BenWa
Replace the open coded version with one that avoids
allocation and is O(n*log(n)) instead of O(n*2)

--HG--
extra : rebase_source : 9d8de6089bc9fa74ba4b60c3eb3ccf3b3235ad54
2014-05-31 00:39:18 -04:00
Andreas Gal
f3f5be61c2 Bug 1017571 - Use TRIANGLES instead of TRIANGLE_STRIP to fix rendering glitchs on MacOSX with uniform array access (r=Bas) 2014-05-30 22:34:14 -04:00
Nick Lebedev
448ecdf48d Bug 1014838 - Add testing of the apzc state correctness after tap gestures. r=kats, r=botond 2014-05-29 23:00:31 -07:00
Victor Porof
5643294005 Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
Andreas Gal
ea138f8c8e Bug 1017571 - Use TRIANGLES instead of TRIANGLE_STRIP to fix rendering glitchs on MacOSX with uniform array access (r=Bas) 2014-05-30 22:34:14 -04:00
Matt Woodrow
de4d7232ef Bug 854421 - Part 9: Send DidComposite during ClientLayerManager destruction. r=roc 2014-05-29 09:44:30 +12:00
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
Birunthan Mohanathas
c4568a7085 Bug 869836 - Part 6: Use EqualsLiteral instead of Equals where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Matt Woodrow
37b1f0f705 Bug 1013784 - Implement ClearRect for BasicCompositor. r=Cwiiis 2014-05-22 14:36:26 +12:00
Benoit Girard
9945822fd2 Bug 1014042 - Add compositor benchmark. r=jrmuizel 2014-05-21 17:29:49 +00:00
Andreas Gal
e68467ac54 Bug 1012407 - Part 8: Remove VBOArena which is now dead code (r=Bas) 2014-05-22 00:47:02 +02:00
Andreas Gal
72438d4f4b Bug 1012407 - Part 7: Use a single GL draw call to draw up to 4 texture quads (r=Bas) 2014-05-22 00:44:40 +02:00
Andreas Gal
a0ea043946 Bug 1012407 - Part 6: Eliminate VBO use and DrawQuads and manually draw no-repeat quads (r=Bas) 2014-05-22 00:23:21 +02:00
Andreas Gal
c18a94ef0b Bug 1012407 - Part 5: Allow passing a texture rectangle to BindAndDrawQuad (r=Bas) 2014-05-22 00:23:18 +02:00
Matt Woodrow
902dd8f926 Bug 1013759 - Simplify invalid region for Direct2D when using OMTC to avoid hitting expensive drawing paths for complex regions. r=jrmuizel 2014-05-23 09:08:21 +12:00
Jeff Gilbert
ad8f5d5410 Bug 1014961 - IOSurfs are always RGB not BGR. - r=mattwoodrow 2014-05-22 16:44:15 -07:00
Andreas Gal
d7dac146b2 Bug 1012407 - Part 6: Eliminate VBO use and DrawQuads and manually draw no-repeat quads (r=Bas) 2014-05-22 12:29:56 +02:00
Andreas Gal
64df6c108f Bug 1012407 - Part 5: Allow passing a texture rectangle to BindAndDrawQuad (r=Bas) 2014-05-22 12:29:54 +02:00
Nicolas Silva
2f4369ee5e Bug 1013292 - Fix some using namespace + unified build issues in gfx code. r=kats 2014-05-22 12:11:45 +02:00
Andreas Gal
ac89dda07d Bug 1012407 - Part 4: Always pass the layer rect to BindAndDrawQuad (r=Bas) 2014-05-21 23:36:56 +02:00
Andreas Gal
7eaf561a66 Bug 1012407 - Part 3: Eliminate DrawQuadInternal since we no longer need it (r=Bas) 2014-05-21 23:26:38 +02:00
Andreas Gal
299af06a65 Bug 1012407 - Part 2: Use Moz2D to draw velocity graph and elminiate use of GL_LINE_STRIP (r=Bas) 2014-05-21 23:24:16 +02:00
Andreas Gal
59bccf7c82 Bug 1012407 - Part 1: Reduce amount of data uploaded to GPU (layer quad rect instead of transform) r=Bas 2014-05-21 23:03:49 +02:00
Kartikaya Gupta
36b70927ca Bug 1001438 - Change layers.low-precision-resolution to be a float pref instead of a divide-by-1000 int pref. r=Cwiiis 2014-05-21 12:06:02 -04:00
Sotaro Ikeda
2d84e3da26 Bug 1011327 - Add checks around SharedBufferManagerParent 2014-05-20 13:50:25 -07:00
Carsten "Tomcat" Book
82294cdc89 Backed out changeset a6f85ff386c1 (bug 1011569) for m5 test failures on OS X 2014-05-19 13:46:02 +02:00
Chris Lord
e6e08ba548 Bug 1011569 - Remove PreferMemoryOverShmem in favour of IsSameProcess. r=nical 2014-05-19 10:45:12 +01:00
Nicolas Silva
7de3712fc0 Bug 1010969 - Call RemoveTextureFromCompositable at the end of updates. r=sotaro 2014-05-16 17:25:23 +02:00
Debbe Heisler
52640a26cf Bug 1001582 -- Transitioned FrameMetrics::mPresShellId to use a getter/setter. r=botond 2014-05-16 19:00:50 -04:00
Botond Ballo
fa7ce0a3ae Bug 1011659 - Remove spammy warnings from APZTestData.h until fixing bug 1007728 makes them non-spammy and meaningful. r=kats 2014-05-16 16:13:06 -04:00
Bas Schouten
40b0b3aa28 Bug 1003293: Remove the GDI compatible flag from D3D11 Compositor. r=vlad 2014-05-16 18:16:22 +02:00
Bas Schouten
958e9d9838 Bug 1011367: Add Direct3D 11 Gfx feature. r=bjacob 2014-05-16 18:16:21 +02:00
Kartikaya Gupta
f902ce98ac Bug 1011389 - Don't fire a long-tap-up if the user moves after long-tap. r=dmitry.rojkov 2014-05-16 14:40:01 -04:00
Kartikaya Gupta
9070eed447 Bug 1011260 - Make the zoom animation length preffable. r=botond 2014-05-16 14:40:00 -04:00
Ryan VanderMeulen
96ed00e142 Revert to revision 63dfac3c9c87 due to mass bustage pile-ups that landed after it on a CLOSED TREE. 2014-05-16 12:29:37 -04:00
Nicolas Silva
e25319e5bd Bug 1010969 - Fix WError bustage on a CLOSED TREE 2014-05-16 17:50:42 +02:00
Kartikaya Gupta
718ea608fd Bug 1011389 - Don't fire a long-tap-up if the user moves after long-tap. r=dmitry.rojkov 2014-05-16 11:26:00 -04:00
Nicolas Silva
536f633e1d Bug 1010969 - Call RemoveTextureFromCompositable at the end of updates. r=sotaro 2014-05-16 17:25:23 +02:00
Nicolas Silva
42a451f0bb 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
Nicolas Silva
c140d86de1 Bug 1008211 - Backed out changeset 4e1e052624c2 because of a regression on B2G 2014-05-16 14:22:46 +02:00
Kartikaya Gupta
0e1e9827ac Bug 1010979 - Remove the non-margins codepaths from APZCCallbackHelper. r=botond 2014-05-16 08:08:21 -04:00
Kartikaya Gupta
b8a20579ab Bug 1010119 - Roll back part of bug 978248 as it causes a regression and is not needed any more. r=botond 2014-05-16 08:08:21 -04:00
Chris Lord
bc051da249 Bug 994088 - Only redraw everything on every frame with e10s in BasicCompositor. r=mattwoodrow
This was a work-around for an X compositor bug.
2014-05-16 12:44:04 +01:00
Chris Peterson
143832c938 Bug 1010706 - Fix uninitialized variable warnings in gfx/layers/opengl/CompositorOGL.cpp. r=mwoodrow 2014-05-16 00:35:13 -07:00
Chris Peterson
398a6f5a8d Backed out changeset 9c586b1649d7 for wrong bug number: s/1007708/1010706/ 2014-05-16 00:33:16 -07:00
Chris Peterson
1c759c64ad Bug 1007708 - Fix uninitialized variable warnings in gfx/layers/opengl/CompositorOGL.cpp. r=mwoodrow 2014-05-14 20:15:36 -07:00
Wes Kocher
202d548b78 Merge inbound to m-c 2014-05-15 15:59:45 -07:00
Sotaro Ikeda
12f85ecb9a Bug 950079 - Add release Fence handling to SurfaceStream on gonk 2014-05-14 15:40:15 -07:00
Sotaro Ikeda
8a83f98375 Bug 1005908 - Avoid unnecessary fEGLImageTargetTexture2D'ing r=nical 2014-05-14 09:59:25 -07:00
Sotaro Ikeda
cb8417b839 Bug 971946 - Remove TextureClientData r=nical 2014-05-14 06:29:52 -07:00
Rafael Vieira
fd736a92cc Bug 1009228 - Replace use of RefPtr with nsRefPtr. r=kats 2014-05-14 15:45:00 -04:00
Vincent Chen
489d95e542 Bug 983489 - Delay destroying mCompositor to prevent crash. r=nical 2014-05-04 19:52:00 -04:00
Wes Kocher
7b1d2c5343 Merge m-c to inbound 2014-05-14 16:32:53 -07:00
Bas Schouten
9c8b5ef1e8 Bug 1008729: Use Cairo DrawTargets when reading back from GL. r=nical 2014-05-15 00:31:23 +02:00
Bas Schouten
3e247921b5 Bug 1009600: Use a content DT for reference in BasicCompositor. r=nical 2014-05-15 00:31:23 +02:00