Doug Sherk
54d7cdc02b
Bug 775447: Properly count number of touch listeners in AsyncPanZoomController r=cjones
2012-08-07 18:51:00 -07:00
Matt Brubeck
6ead01e8d2
Back out 9fb78d71f361, 28f8ce199bed, 78ffaa79a3de, 9f6f9b74d685 (bug 779940 and bug 778036) because of Android failures
2012-08-06 21:59:01 -07:00
Matt Woodrow
0eb0792320
Bug 779940 - Add a ShadowLayer transaction fps counter. r=cjones
2012-08-07 15:00:42 +12:00
Sergey Glushchenko
970c894833
Bug 776429: Unify scattered M_PI definitions into mfbt/Constants.h r=dRdR
2012-08-06 13:32:11 -07:00
David Zbarsky
a2c20d2493
Bug 706179 Part 3: Turn on the use of scaling for layers in FrameLayerBuilder r=mattwoodrow
2012-08-03 14:29:22 -07:00
Jeff Muizelaar
6bdca0472f
Bug 779636. Add SAMPLE_LABELS to gralloc implementation. r=cjones
...
--HG--
extra : rebase_source : ea66610435b3974607bcb8705912004ad3090b4c
2012-08-01 15:49:59 -07:00
Doug Sherk
2b84631ef6
Bug 779344: Properly transform B2G panning/zooming after layers changes r=dzbarsky
2012-07-31 16:19:25 -07:00
Karl Tomlinson
efce7d7c15
b=778031 add FinishX to XSync less frequently and use it r=cjones
...
--HG--
extra : transplant_source : %BC%2C%80%F65%1DV%B7YVI%80%B2%FD%FE%F1%18G%06%26
2012-07-31 14:54:21 +12:00
David Zbarsky
1ab8257975
Bug 706179 Part 1: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-31 10:28:20 -07:00
David Zbarsky
1e9fefd64e
Bug 706179 Part 2: Add a BaseTransform and scaling to layers, r=roc, cjones
2012-07-30 19:20:00 -07:00
David Zbarsky
06ea1f66f2
Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones
2012-07-30 17:42:26 -07:00
Mark Finkle
70a01196ec
Backout 169ff207ed19, a34baed70c1b, f9ccdd490bd7, 39550ed860e6, 2194a2dd66b2, 908eb2e26843, a76e0a267f26 due to mobile viewport bustage (bug 778580)
2012-07-30 14:36:12 -04:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
David Zbarsky
a656d3adfe
Bug 778496 - Layer should store ComputedTimingFunction directly rather than as a pointer r=roc
2012-07-29 18:59:26 -07:00
Doug Sherk
4b06950c82
Bug 775463: Recognize double tap gestures while still supporting single taps r=cjones
2012-07-27 19:24:24 -07:00
Ryan VanderMeulen
0a6e3c1d9a
Backout e0e33c1c7c17 and 3d0fb7ac961a (bug 775463) due to bustage.
2012-07-27 20:46:49 -04:00
Doug Sherk
4e801b42e1
Bug 775463: Fix a mistake in a comment r=none DONTBUILD
2012-07-27 17:26:14 -07:00
Doug Sherk
42ecca33c0
Bug 775463: Recognize double tap gestures while still supporting single taps
2012-07-27 17:23:51 -07:00
David Zbarsky
9bf8a70491
Bug 706179 Part 2: Add a BaseTransform to layers r=roc
2012-07-27 13:23:45 -07:00
David Zbarsky
12752872fe
Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-27 13:23:44 -07:00
Doug Sherk
a178e53bd6
Bug 777264: Remove timer-based repaint throttling r=cjones
2012-07-27 00:33:57 -07:00
Doug Sherk
c1d2060973
Bug 777264: Fix AsyncPanZoomController and Axis to use CSS pixels for dimension checking r=cjones
2012-07-27 00:33:53 -07:00
Doug Sherk
b6a7422619
Bug 777264: Throttle repaint requests in Gecko panning/zooming r=cjones
2012-07-27 00:33:48 -07:00
Oleg Romashin
d4547e7d36
Bug 776550 - Provide API to start Compositor Parent with external thread/messageloop. r=cjones
2012-07-25 12:47:01 -07:00
Ed Morley
be8bf4beae
Backout 1244b8a8e57a (bug 755084), 32d16d0f87c9 (bug 706179), 8548e016d4a9 (bug 768440), 697f5b87eae9 (bug 768440), 808fc2bd4e8c (bug 755084), 54b1484cd125 (bug 755084), 876726b632c0 (bug 706179) for xul android R3 failures
2012-07-25 16:37:04 +01:00
David Zbarsky
d29cc0cf63
Bug 706179 Part 2: Add a BaseTransform to layers to return the layer's transform without scaling applied r=roc
2012-07-25 01:48:10 -07:00
David Zbarsky
2008ff368b
Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-25 01:48:09 -07:00
David Zbarsky
669aea118d
Remove trailing semicolons in GeckoContentController, no bug, r=dRdR
2012-07-24 12:12:11 -07:00
Chris Jones
cbd13d8e9d
Bug 776217: Support gecko-implemented screen rotation with omtc. r=roc
2012-07-24 12:01:09 -07:00
Matt Brubeck
2e41f92cb5
Back out f4f5189b1d0c, 3b4f0606c547, b8a5a1ab8a5f, 5078933d6954, 7e0260c45de9 (bug 768440, bug 755084, bug 706179) because of reftest failures
2012-07-23 20:25:51 -07:00
David Zbarsky
dfd3e3d5ba
Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-23 17:34:22 -07:00
Chris Jones
73a85b798a
Bug 771350, part 1: Add GLContext::CreateDirectTextureImage and OpenDescriptorForTexturing to more easily support direct texturing without updates. r=vlad
2012-07-23 16:58:37 -07:00
Joshua Cranmer
4ad48824ad
Bug 702877 - Replace NS_OVERRIDE with MOZ_OVERRIDE. r=ehsan
...
--HG--
extra : rebase_source : 1843575683c3897f96f3966cbce26140ff1a7d90
2012-07-06 13:15:45 -05:00
James Willcox
80029db926
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
2012-07-20 15:20:51 -04:00
Ed Morley
69ac41ee19
Backout 4987ffd173a4 (bug 687267) for bustage
2012-07-23 14:47:54 +01:00
James Willcox
9c75650095
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
...
--HG--
extra : rebase_source : 450055ae3e71ea84f74252d3bf100fe970d29d14
2012-07-20 15:20:51 -04:00
Doug Sherk
6b093e6dd1
Bug 776226: Implement axis locking when panning along one axis r=roc
2012-07-22 23:49:07 -04:00
Doug Sherk
8fbb6b6928
Bug 776413: Temporary workaround, fix initial displayport on page load. r=gal
...
This needs to be fixed properly by setting the displayport to a larger area than
just the viewport but before the page has already been loaded. This patch will
mask it to look decent once the page has finished loading and before panning.
2012-07-22 21:51:38 -04:00
Doug Sherk
ffe8a7b8f4
Bug 776226: Improve displayport sizing, account for velocity, and properly clip edges r=cjones
2012-07-22 21:51:23 -04:00
Doug Sherk
1d205454ca
Bug 776310: Tune flinging friction and logic in AsyncPanZoomController r=cjones
2012-07-22 21:50:41 -04:00
Doug Sherk
c856c6237b
Bug 776149: Fix Gecko panning code to account for time deltas for displacements r=cjones
2012-07-22 21:43:37 -04:00
Doug Sherk
dbc1d2e5d5
Bug 776203: Add virtual dtor to GeckoContentController r=gal
2012-07-22 13:37:13 -07:00
Ms2ger
0a56bc3482
Bug 776142 - Back out bug 687267 / changeset 8571114112b2 on a CLOSED TREE.
2012-07-22 14:02:18 +02:00
David Zbarsky
4e2cd5f742
no bug, avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor in APZ, blanket r=bz
2012-07-20 16:49:12 -04:00
James Willcox
f0d7883166
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert
2012-07-20 15:20:51 -04:00
Chris Jones
ef35aa58e9
Bug 750977: Implement glue code for asynchronous panning/zooming. r=jlebar,roc,vingtetun
...
This is a rollup of three separate patches
- Add nsIDocShell.asyncPanZoomEnabled. r=jlebar
- Have BrowserElementChild service repaint requests and handle fallback synchronous scrolling (for now). r=jlebar,vingtetun
- Glue async pan/zoom logic up between compositing, event dispatch, and repaint requests. r=roc
--HG--
rename : b2g/chrome/content/webapi.js => dom/browser-element/BrowserElementScrolling.js
2012-07-19 23:48:27 -07:00
Doug Sherk
df87148215
Bug 750974: Move basic pan/zoom logic into Gecko C++ r=cjones,roc sr=smaug[widget/]
2012-07-19 23:48:25 -07:00
Steve Fink
f20c2ef916
Backed out changeset afd9e75374e8 from a CLOSED TREE for breaking Windows builds
2012-07-19 14:55:48 -07:00
James Willcox
67949244f1
Bug 687267 - Initial support for Flash on Honeycomb r=benwa,vlad
2012-07-19 16:15:40 -04:00
David Zbarsky
88371b030a
[Bug 774505] Don't include Layers.h everywhere r=cjones
2012-07-18 12:31:40 -04:00
Rafael Ávila de Espíndola
6fa6b984a6
Bug 775134 - Remove extra ; r=ehsan.
...
--HG--
extra : rebase_source : 1d44663679e8f1944649d54608e5e6e6694e88c5
2012-07-18 12:15:47 -04:00
Chris Jones
9af2a80734
Bug 745148, part 9: Hook up the pieces and enable direct compositor. r=roc
2012-07-17 16:59:45 -07:00
Chris Jones
df4d81a2c8
Bug 745148, part 8: Implement the little boilerplate-y bits and pieces needed for cross-process compositor. r=ajuma,BenWa
2012-07-17 16:59:45 -07:00
Chris Jones
ba57040674
Bug 745148, part 7: Create a RefLayer type to temporarily contain a foreign layer subtree during composition. r=BenWa sr=roc
2012-07-17 16:59:45 -07:00
Chris Jones
52df2c5fbb
Bug 745148, part 6: Allow layer trees to be given IDs so that the referent can be used in another context. r=ajuma sr=roc
2012-07-17 16:59:45 -07:00
Chris Jones
30ad2db6df
Bug 745148, part 5: Pass the layer tree to ShadowLayersUpdate(). r=ajuma
2012-07-17 16:59:44 -07:00
Oleg Romashin
e8ff7a5510
Bug 728524 - Public shared texture API + Canvas impl. r=bgirard,vlad,jgilbert
2012-05-31 21:30:08 -04:00
Nicolas Silva
1ada2b604f
Bug 598868: Add support for pushing video frames directly to the compositor thread, bypassing the content thread. r=cjones
2012-07-13 15:38:09 -04:00
Nicolas Silva
049d5a6366
Bug 763234 - Use only one compositor thread with OMTC. r=cjones
2012-07-13 11:25:29 -04:00
Chris Jones
a461883264
Bug 765734, part 6: Integrate gralloc buffers into the shadow-layers pipelines. r=gal
...
--HG--
extra : rebase_source : f7d46aeab3c44d237c8f2ab690caf00f6cd3270d
2012-07-12 05:51:58 -07:00
Chris Jones
f2d2a7bb3b
Bug 765734, part 4: Add an RAII helper to open/close SurfaceDescriptors and mark usage of SurfaceDescriptor as ReadOnly or ReadWrite. r=BenWa,nrc sr=roc
...
--HG--
extra : rebase_source : 34d9f4f021bac540e96b82eceb855c9c2ce59ce6
2012-07-12 05:51:58 -07:00
Chris Jones
e0f72354fe
Bug 765734, part 3: Remove unused code. r=mattwoodrow
...
--HG--
extra : rebase_source : 9c7f8b54b501ebcc9d3f8e757044b8d3f52d1cd9
2012-07-12 05:51:57 -07:00
Chris Jones
fae577c2a7
Bug 765734, part 2: Migrate ImageLayers to SurfaceDescriptor. r=mattwoodrow,roc
...
--HG--
extra : rebase_source : 19fc8b0ae4cfffdf9a098911deac3b48c2f5d768
2012-07-12 05:51:57 -07:00
Chris Jones
4b8927b5f1
Bug 765734, part 1: Let clients specify capabilities required of cross-process surfaces. Only MAP_AS_IMAGE_SURFACE needed for now. r=roc
...
--HG--
extra : rebase_source : a2e4411772b4504ce86900826d2dc812dcaa68be
2012-07-12 05:51:57 -07:00
Ed Morley
e7e93c1b7e
Backout 6087689a0745, 153e82923805, 255445a0a851 (bug 728524) on suspicion of causing bug 772405
2012-07-10 16:06:42 +01:00
Oleg Romashin
ee5b6a2485
Bug 728524 - Public shared texture API + Canvas impl. r=bgirard,vlad,jgilbert
2012-05-31 21:30:08 -04:00
Chris Lord
403bcb406a
Bug 758620 - Fix abort caused by unchecked clamping. r=ajuma
...
The initial values set for the offset for fixed position layers could clamp
with a max < min. This was due to a slightly incorrect min, but also because
it should have set these values in the else block of a later if that did a
range check on these values.
2012-07-04 15:56:49 +01:00
Chris Lord
6a63c42f88
Bug 758620 - Respect the Layers' anchor points in CompositorParent. r=ajuma
...
When asynchronously zooming, respect a Layer's anchor point so that it stays in
the correct position.
2012-06-27 16:44:22 +01:00
Chris Lord
9fd49ed93f
Bug 758620 - Force fixed-position frames to have their own layers. r=roc
...
Introduce a new display-list item 'nsDisplayFixedPosition' that represents
fixed-position elements. This item cannot be merged, which forces fixed
position elements to have their own layer, and has a BuildLayer implementation
that sets the necessary metadata on a Layer to be able to maintain its
position correctly during composition when asynchronously panning and zooming.
2012-06-27 16:43:57 +01:00
Ed Morley
ef4179d2d4
Backout de70e79ced32, ddd519d0767e, 9b952d924953 & 03efce585669 (bug 758620) for reftest failures
2012-06-26 16:13:33 +01:00
Chris Lord
b05770560f
Bug 758620 - Respect the Layers' anchor points in CompositorParent. r=ajuma
...
When asynchronously zooming, respect a Layer's anchor point so that it stays in
the correct position.
2012-06-26 14:43:18 +01:00
Chris Lord
1448e862c1
Bug 758620 - Force fixed-position frames to have their own layers. r=roc
...
Introduce a new display-list item 'nsDisplayFixedPosition' that represents
fixed-position elements. This item cannot be merged, which forces fixed
position elements to have their own layer, and has a BuildLayer implementation
that sets the necessary metadata on a Layer to be able to maintain its
position correctly during composition when asynchronously panning and zooming.
2012-06-26 14:43:11 +01:00
Kartikaya Gupta
6435bb7e6d
Bug 753444 - Remove device-space page rect from setPageRect as it is not needed. r=jrmuizel
2012-06-13 13:49:40 -04:00
Ali Juma
57bc05ad45
Bug 763175 - Only create a new EGL surface when a new Android surface is created. r=BenWa
2012-06-12 10:24:31 -04:00
Ali Juma
476ae36564
Bug 748088 - Part 2: Drawing to a non-default target should happen on the shadow side, not the shadowable side. r=BenWa
2012-06-01 08:42:36 -04:00
Ali Juma
f5a079ba1b
Bug 748088 - Part 1: Add a DrawToSurface message to PLayers. r=BenWa
2012-06-01 08:42:34 -04:00
Marco Castelluccio
74a121900c
Bug 703484 - Part 1: Allow OMTC to be used with basic layers. r=bgirard
...
--HG--
extra : rebase_source : a96747d6ea09d7112649fa46d2d6a84ababaeaab
2012-05-15 15:56:56 -04:00
Ali Juma
49da2fba06
Bug 759162 - Part 2: Make CompositorParent::ScheduleResumeOnCompositorThread block until the compositor resumes. r=bgirard
2012-05-29 13:49:03 -04:00
Kartikaya Gupta
ff7dbddcd6
Bug 607417 - Clamp the transform of fixed-position layers to work with RTL pages (interaction with bug 748384). r=ajuma
2012-05-29 10:22:49 -04:00
Benoit Girard
3a5ea8ad58
Bug 759181 - Disable COMPOSITOR_PERFORMANCE_WARNING. r=ajuma
2012-05-28 17:28:31 -04:00
Mats Palmgren
c2094d8c7f
Fix build bustage from rev 24f3dd5529bb (Bug 607417). r=bustage
2012-05-26 13:32:57 +02:00
Chris Lord
14de2d1f47
Bug 607417 - Reconcile async scrolling for fixed position layers (part 2). r=ajuma
...
Part of this patch got lost in a rebase, this completes it.
Untranslate fixed position layers when doing async scrolling so that they don't
jump about as content re-renders them in the correct place.
2012-05-26 11:43:41 +01:00
Kan-Ru Chen
5e2750b720
Bug 743182 - Use gfxPlatform::OptimalFormatForContent everywhere. r=joedrew
2012-05-26 12:38:17 +08:00
Benoit Girard
b5722875da
Bug 748209 - Fix logic error in CompositorParent::ScheduleTask. r=ajuma
...
--HG--
extra : rebase_source : 216967a9a94eca09935d5b196ac04b95a6ed418c
2012-05-24 13:34:20 -04:00
Kartikaya Gupta
6aa006d2b1
Bug 757847 - Use a reference rather than a pointer that is never null. r=ajuma
2012-05-23 21:52:29 -04:00
Kartikaya Gupta
8a9a864a95
Bug 748384 - Propagate page bounds and CSS page bounds in via compositor. r=Cwiiis,ajuma,mats
2012-05-23 10:51:39 -04:00
Kartikaya Gupta
0f2c633486
Bug 748384 - Back out 330e9c52f9ac, 9ba1078559fe, 2ed39c12d792, f53f05ecacd5 for build bustage. r=bustage
2012-05-23 11:08:19 -04:00
Kartikaya Gupta
6ab5f951cd
Bug 748384 - Propagate page bounds and CSS page bounds in via compositor. r=Cwiiis,ajuma,mats
2012-05-23 10:51:39 -04:00
Chris Lord
9c0244da52
Bug 607417 - Reconcile async scrolling for fixed position layers. r=ajuma
...
Untranslate fixed position layers when doing async scrolling so that they don't
jump about as content re-renders them in the correct place.
2012-05-23 09:36:39 +01:00
Nicholas Cameron
1ee2935580
Bug 753784; allow access to the max texture size from FrameLayerBuilder. r=roc
2012-05-22 19:15:16 -04:00
Nicholas Cameron
ff3f144642
Bug 753784; add the ability to force a single tile. r=roc
2012-05-22 19:14:03 -04:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Ms2ger
27b14430ad
No bug - Reorder initialization in mozilla::layers::Transaction constructor to fix a build warning.
2012-05-18 10:29:38 +02:00
Vladimir Vukicevic
0bbadb8659
b=752368; [android] random black screen when opening links from other apps; r=bgirard,ajuma,kats
2012-05-09 22:32:54 -04:00
Kyle Huey
d1f5ba30a6
Back out bug 703484 on this CLOSED TREE.
2012-05-15 20:19:37 -07:00
Marco Castelluccio
92d44d2322
Bug 703484 - Allow OMTC to be used with basic layers. r=bgirard
2012-05-15 15:56:56 -04:00
Phil Ringnalda
528e055ee2
Back out 3502d9840d98 (bug 752368) for robo* failure
2012-05-09 22:26:52 -07:00
Vladimir Vukicevic
7eaf529b88
b=752368; [android] random black screen when opening links from other apps; r=bgirard,ajuma
2012-05-09 22:32:54 -04:00
Oleg Romashin
dc77036350
Bug 752643 - Make CompositorParent eglSurface setup available for non-android environment. r=ajuma
2012-05-08 12:40:41 -07:00
Oleg Romashin
7c5bb838e8
Bug 752640 - Allow PCompositor to work with Basic Layers backend. r=ajuma
2012-05-07 16:05:13 -07:00