Nicolas Silva
54dd2bf57f
Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard
2012-08-19 15:33:25 -04:00
Chris Jones
ec68513835
Bug 782411: Work around having multiple compositors when -jsconsole is used. r=ajuma
2012-08-16 13:23:24 -07:00
Kan-Ru Chen
0fdb67a324
Bug 757341 - Camera direct texturing with async video. r=cjones
2012-08-17 18:56:55 +08:00
Doug Sherk
2a269f2751
Bug 781734: Implement pinch threshold; fingers need to move a bit before page zooms r=gal
2012-08-13 21:08:38 -07:00
Doug Sherk
6bd0a12fd6
Bug 781734: Decrease axis lock angle r=gal
2012-08-13 21:08:38 -07:00
Doug Sherk
f603c37adf
Bug 781734: When flinging many times successively in one direction, accelerate them more and more r=gal
2012-08-13 21:08:38 -07:00
Doug Sherk
8fa40e15bc
Bug 781734: Greatly increase friction on flings, remove pseudo-kinetic vs. static friction distinction r=gal
2012-08-13 21:08:38 -07:00
Doug Sherk
79fb0e58f2
Bug 781734: Detect very light touches and pan the page r=gal
2012-08-13 21:08:38 -07:00
Doug Sherk
b7026b8fba
Bug 775463: Implement tolerance in double tap detection r=cjones
2012-08-08 21:39:11 -07:00
Doug Sherk
75b44181d1
Bug 775463: Implement double-tap-to-zoom content r=cjones
2012-08-08 21:39:02 -07:00
Doug Sherk
0386b95cee
Bug 775451: Reduce diagonal checkerboarding r=cjones
2012-08-08 13:38:23 -07:00
Doug Sherk
8ce9e4027f
Bug 779572: Properly protect state in AsyncPanZoomController with a monitor r=cjones
2012-08-08 13:38:20 -07:00
Doug Sherk
e665e10783
Bug 779572: Factor zoom into min pan distance before moving the viewport r=cjones
2012-08-08 13:38:16 -07:00
Doug Sherk
0c112c54b6
Bug 780210: Fix B2G focus point calculation for pinching r=kats
2012-08-08 13:38:14 -07:00
Doug Sherk
5604a85f1a
Bug 775448: Add gesture cancelling support during sync subframe scrolling r=cjones
2012-08-08 13:38:10 -07:00
Doug Sherk
279c610fe0
Bug 775448: Disable async scrolling when we detect a scrollable subframe r=cjones
2012-08-08 13:38:06 -07:00
Doug Sherk
b0e4e056ea
Bug 775447: Properly count number of touch listeners in AsyncPanZoomController r=cjones
2012-08-08 13:37:57 -07:00
Chris Jones
07772f04ab
Bug 781024: Use the current decoded image as the reference for allocation. r=roc
2012-08-08 10:51:40 -07:00
Phil Ringnalda
97b3be524b
Backout 8b3b879bc63f (Bug 777463), 32cc8084d1b7 (Bug 775451), ce9014442e13:4d52cfac7c37 (Bug 779572), b33f2b2dbbc5:963aed158547 (Bug 775463), 36832ad5ea65 (Bug 780210), 10695750e4e9:a2afc5b5e538 (Bug 775448), c9f42eebd694 (Bug 775447) for Linux bustage
2012-08-07 20:40:48 -07:00
Doug Sherk
e181f6be38
Bug 775451: Reduce diagonal checkerboarding r=cjones
2012-08-07 18:51:15 -07:00
Doug Sherk
daa347f70b
Bug 779572: Properly protect state in AsyncPanZoomController with a monitor r=cjones
2012-08-07 18:51:13 -07:00
Doug Sherk
01a75d4dec
Bug 779572: Factor zoom into min pan distance before moving the viewport r=cjones
2012-08-07 18:51:11 -07:00
Doug Sherk
510ae34328
Bug 775463: Implement tolerance in double tap detection r=cjones
2012-08-07 18:51:10 -07:00
Doug Sherk
2723d5bbda
Bug 775463: Implement double-tap-to-zoom content r=cjones
2012-08-07 18:51:08 -07:00
Doug Sherk
54f9994afe
Bug 780210: Fix B2G focus point calculation for pinching r=kats
2012-08-07 18:51:05 -07:00
Doug Sherk
bc1275627a
Bug 775448: Add gesture cancelling support during sync subframe scrolling r=cjones
2012-08-07 18:51:03 -07:00
Doug Sherk
10f1ad1f2a
Bug 775448: Disable async scrolling when we detect a scrollable subframe r=cjones
2012-08-07 18:51:02 -07:00
Doug Sherk
b46b71535a
Bug 775447: Properly count number of touch listeners in AsyncPanZoomController r=cjones
2012-08-07 18:51:00 -07:00
Matt Brubeck
fa48b9637b
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
83ebc9dfe6
Bug 779940 - Add a ShadowLayer transaction fps counter. r=cjones
2012-08-07 15:00:42 +12:00
Sergey Glushchenko
cc3eef8d15
Bug 776429: Unify scattered M_PI definitions into mfbt/Constants.h r=dRdR
2012-08-06 13:32:11 -07:00
David Zbarsky
02175ccbab
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
b29898c056
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
fc70da781f
Bug 779344: Properly transform B2G panning/zooming after layers changes r=dzbarsky
2012-07-31 16:19:25 -07:00
Karl Tomlinson
c7aa240d11
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
cc6c8a0c54
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
312c029975
Bug 706179 Part 2: Add a BaseTransform and scaling to layers, r=roc, cjones
2012-07-30 19:20:00 -07:00
David Zbarsky
fa3cb43e08
Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones
2012-07-30 17:42:26 -07:00
Mark Finkle
a4d33f44cf
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
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
David Zbarsky
f537e09f60
Bug 778496 - Layer should store ComputedTimingFunction directly rather than as a pointer r=roc
2012-07-29 18:59:26 -07:00
Doug Sherk
ed769b8156
Bug 775463: Recognize double tap gestures while still supporting single taps r=cjones
2012-07-27 19:24:24 -07:00
Ryan VanderMeulen
fb5edae174
Backout e0e33c1c7c17 and 3d0fb7ac961a (bug 775463) due to bustage.
2012-07-27 20:46:49 -04:00
Doug Sherk
6dc594429e
Bug 775463: Fix a mistake in a comment r=none DONTBUILD
2012-07-27 17:26:14 -07:00
Doug Sherk
a20e7aa9dd
Bug 775463: Recognize double tap gestures while still supporting single taps
2012-07-27 17:23:51 -07:00
David Zbarsky
8bda81abf5
Bug 706179 Part 2: Add a BaseTransform to layers r=roc
2012-07-27 13:23:45 -07:00
David Zbarsky
4be9dc9473
Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-27 13:23:44 -07:00
Doug Sherk
9b6b531bfd
Bug 777264: Remove timer-based repaint throttling r=cjones
2012-07-27 00:33:57 -07:00
Doug Sherk
cbd864eea6
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
6f88360682
Bug 777264: Throttle repaint requests in Gecko panning/zooming r=cjones
2012-07-27 00:33:48 -07:00
Oleg Romashin
9ca624ac9b
Bug 776550 - Provide API to start Compositor Parent with external thread/messageloop. r=cjones
2012-07-25 12:47:01 -07:00
Ed Morley
0981437de6
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
30025de69a
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
7d00314751
Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-25 01:48:09 -07:00
David Zbarsky
73b73f1164
Remove trailing semicolons in GeckoContentController, no bug, r=dRdR
2012-07-24 12:12:11 -07:00
Chris Jones
bbab5e6e40
Bug 776217: Support gecko-implemented screen rotation with omtc. r=roc
2012-07-24 12:01:09 -07:00
Matt Brubeck
091f852d76
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
06e34cc5ee
Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-23 17:34:22 -07:00
Chris Jones
f66164ac60
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
4a5b32fae2
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
f97d0fb4b7
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
2012-07-20 15:20:51 -04:00
Ed Morley
865b492e14
Backout 4987ffd173a4 (bug 687267) for bustage
2012-07-23 14:47:54 +01:00
James Willcox
a2f250042f
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
f319f23a27
Bug 776226: Implement axis locking when panning along one axis r=roc
2012-07-22 23:49:07 -04:00
Doug Sherk
740a3a074f
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
f7ead80c23
Bug 776226: Improve displayport sizing, account for velocity, and properly clip edges r=cjones
2012-07-22 21:51:23 -04:00
Doug Sherk
0630ae254b
Bug 776310: Tune flinging friction and logic in AsyncPanZoomController r=cjones
2012-07-22 21:50:41 -04:00
Doug Sherk
8d9e18e43a
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
a2b19776ff
Bug 776203: Add virtual dtor to GeckoContentController r=gal
2012-07-22 13:37:13 -07:00
Ms2ger
8c936ae394
Bug 776142 - Back out bug 687267 / changeset 8571114112b2 on a CLOSED TREE.
2012-07-22 14:02:18 +02:00
David Zbarsky
dcb864530f
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
ff21a06364
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert
2012-07-20 15:20:51 -04:00
Chris Jones
2cf7adf64a
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
73bba2160b
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
6dcbf4aa2b
Backed out changeset afd9e75374e8 from a CLOSED TREE for breaking Windows builds
2012-07-19 14:55:48 -07:00
James Willcox
d6aa2eee6c
Bug 687267 - Initial support for Flash on Honeycomb r=benwa,vlad
2012-07-19 16:15:40 -04:00
David Zbarsky
7f0f075928
[Bug 774505] Don't include Layers.h everywhere r=cjones
2012-07-18 12:31:40 -04:00
Rafael Ávila de Espíndola
59619ba083
Bug 775134 - Remove extra ; r=ehsan.
...
--HG--
extra : rebase_source : 1d44663679e8f1944649d54608e5e6e6694e88c5
2012-07-18 12:15:47 -04:00
Chris Jones
62d23842f9
Bug 745148, part 9: Hook up the pieces and enable direct compositor. r=roc
2012-07-17 16:59:45 -07:00
Chris Jones
ab483974f7
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
59456326dd
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
ec578f2342
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
fe1f8e08af
Bug 745148, part 5: Pass the layer tree to ShadowLayersUpdate(). r=ajuma
2012-07-17 16:59:44 -07:00
Oleg Romashin
d62ee655c9
Bug 728524 - Public shared texture API + Canvas impl. r=bgirard,vlad,jgilbert
2012-05-31 21:30:08 -04:00
Nicolas Silva
aac179cd09
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
60e5603d68
Bug 763234 - Use only one compositor thread with OMTC. r=cjones
2012-07-13 11:25:29 -04:00
Chris Jones
665908a65f
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
c31a9ea5db
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
3cb6ca97ea
Bug 765734, part 3: Remove unused code. r=mattwoodrow
...
--HG--
extra : rebase_source : 9c7f8b54b501ebcc9d3f8e757044b8d3f52d1cd9
2012-07-12 05:51:57 -07:00
Chris Jones
c9d056db8a
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
63d97b07ce
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
019b28da5b
Backout 6087689a0745, 153e82923805, 255445a0a851 (bug 728524) on suspicion of causing bug 772405
2012-07-10 16:06:42 +01:00
Oleg Romashin
5d71a15746
Bug 728524 - Public shared texture API + Canvas impl. r=bgirard,vlad,jgilbert
2012-05-31 21:30:08 -04:00
Chris Lord
0b684f98c7
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
42df6b85a3
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
f52875b4e5
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
cd98097038
Backout de70e79ced32, ddd519d0767e, 9b952d924953 & 03efce585669 (bug 758620) for reftest failures
2012-06-26 16:13:33 +01:00
Chris Lord
0bf73ca08d
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
7edca27f23
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
7178944e03
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
763a41042d
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
ca60d38ab2
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
eb79efd447
Bug 748088 - Part 1: Add a DrawToSurface message to PLayers. r=BenWa
2012-06-01 08:42:34 -04:00
Marco Castelluccio
715c60f1c1
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
b802df3029
Bug 759162 - Part 2: Make CompositorParent::ScheduleResumeOnCompositorThread block until the compositor resumes. r=bgirard
2012-05-29 13:49:03 -04:00
Kartikaya Gupta
7e40449c93
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
04c78756d4
Bug 759181 - Disable COMPOSITOR_PERFORMANCE_WARNING. r=ajuma
2012-05-28 17:28:31 -04:00
Mats Palmgren
08ba65e8eb
Fix build bustage from rev 24f3dd5529bb (Bug 607417). r=bustage
2012-05-26 13:32:57 +02:00
Chris Lord
063f625ae2
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
4509acf05c
Bug 743182 - Use gfxPlatform::OptimalFormatForContent everywhere. r=joedrew
2012-05-26 12:38:17 +08:00
Benoit Girard
8723541a2c
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
01f085c097
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
0a9040618b
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
04a457fab1
Bug 748384 - Back out 330e9c52f9ac, 9ba1078559fe, 2ed39c12d792, f53f05ecacd5 for build bustage. r=bustage
2012-05-23 11:08:19 -04:00
Kartikaya Gupta
9db13b7a79
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
ef58dee1cb
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
a938e2e825
Bug 753784; allow access to the max texture size from FrameLayerBuilder. r=roc
2012-05-22 19:15:16 -04:00
Nicholas Cameron
9be563af61
Bug 753784; add the ability to force a single tile. r=roc
2012-05-22 19:14:03 -04:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Ms2ger
cc5eb59a6b
No bug - Reorder initialization in mozilla::layers::Transaction constructor to fix a build warning.
2012-05-18 10:29:38 +02:00
Vladimir Vukicevic
9d6a42d017
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
0ab789d7a3
Back out bug 703484 on this CLOSED TREE.
2012-05-15 20:19:37 -07:00
Marco Castelluccio
09e2e875f5
Bug 703484 - Allow OMTC to be used with basic layers. r=bgirard
2012-05-15 15:56:56 -04:00
Phil Ringnalda
ba25bff73d
Back out 3502d9840d98 (bug 752368) for robo* failure
2012-05-09 22:26:52 -07:00
Vladimir Vukicevic
c78e67e17b
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
d43e63fbbd
Bug 752643 - Make CompositorParent eglSurface setup available for non-android environment. r=ajuma
2012-05-08 12:40:41 -07:00
Oleg Romashin
79c7b221c2
Bug 752640 - Allow PCompositor to work with Basic Layers backend. r=ajuma
2012-05-07 16:05:13 -07:00
Benoit Girard
973521416c
Bug 748649 - Allow layer transactions that don't require a buffer swap to be perform asynchronously. r=cjones
...
--HG--
extra : rebase_source : b0d11710119eb87cef8f461ece44baaba88f7477
2012-05-01 15:23:39 -04:00
Ed Morley
01d2ddd5d5
Backout 5c35cd6f3ea4 & ba39b0822992 (bug 607417) for native Android R1 failures
2012-05-04 14:26:09 +01:00
Chris Lord
d8f77ad734
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.
--HG--
extra : rebase_source : 709a9b14b5301bb675e118859090e6fb1c0f26f9
2012-05-04 17:04:15 +12:00
Robert O'Callahan
65e34332be
backing out patches for bug 607417 due to build bustage
2012-05-04 17:29:05 +12:00
Chris Lord
675c02dfe0
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-04 17:04:15 +12:00
Nicholas Cameron
0413e14a8f
Bug 716439; shadow layer support. r=BenWa
2012-03-19 12:02:38 +13:00
Oleg Romashin
1810600f2e
Bug 750276 - Make CompositorParent transforms not android-only. r=ajuma
2012-04-30 17:03:26 -07:00
Kartikaya Gupta
4acaf02b8d
Bug 746120 - Transform the root layer even if not scrollable so it doesn't cause separation of layers. r=ajuma
2012-04-26 15:24:06 -04:00
Chris Lord
ab68da5d27
Bug 745177 - Retain and re-use uploaded GL tiles. r=ajuma
...
Rather than discarding uploaded tiles once they fall outside of the valid
region, shuffle them off into a separate tile-store with all the metadata they
need to render them, and render them in the areas that our current valid
region doesn't cover in TiledThebesLayerOGL::RenderLayer.
2012-04-24 22:48:33 -04:00
Matt Brubeck
cd95a32e35
Back out 4114c654f5d0 (bug 745177) because of Mac build errors
2012-04-24 20:18:50 -07:00
Chris Lord
6ecd30a481
Bug 745177 - Retain and re-use uploaded GL tiles. r=ajuma
...
Rather than discarding uploaded tiles once they fall outside of the valid
region, shuffle them off into a separate tile-store with all the metadata they
need to render them, and render them in the areas that our current valid
region doesn't cover in TiledThebesLayerOGL::RenderLayer.
2012-04-24 22:48:33 -04:00
Oleg Romashin
50b915a89b
Bug 748209 - Allow to create useful CompositorParent subclass. r=ajuma
2012-04-24 09:22:36 -04:00
Oleg Romashin
9a0b02a97f
Bug 748209 - Allow compositorParent be created in custom Thread. r=ajuma
2012-04-24 09:22:34 -04:00
Benoit Girard
518be52db2
Bug 739679 - Part 2.5: Add TiledBuffer IPC code. r=cjones
2012-04-13 11:17:39 -04:00
Joe Drew
7f29dc336a
Bug 744916 - Make the Java viewport keep track of its size in both CSS pixels and device pixels. r=kats
...
--HG--
extra : rebase_source : f733c2a4eadaeaa9c845b83886af8ab335250f85
2012-04-12 16:00:56 -04:00
Jeff Muizelaar
75f19e9b5e
Bug 744901 - Store the page size in FrameMetrics in CSS pixels in addition to device pixels. r=cjones
...
--HG--
extra : rebase_source : ac38e2ff9dda55bd5dc44d757b67cb1550da1eaa
2012-04-12 15:55:26 -04:00
Ali Juma
c40c713688
Bug 733596 - Tell the compositor about the new surface size on surface change. r=bgirard a=blocking-fennec
2012-04-20 11:46:30 -04:00
Jeff Muizelaar
5207d3c5f9
Bug 745864 - Add profiling labels relevant for Fennec graphics performance. r=bgirard a=blassey
...
--HG--
extra : rebase_source : 9ec2966476988924331d021977e2713e044701df
2012-04-16 14:36:33 -04:00
George Wright
492775b748
Bug 728724 - Backout c210ff20f371, as the correct fix has now landed. r=joe a=blocking-fennec
2012-04-17 13:56:25 -04:00
Ali Juma
24fd33ba42
Bug 737437 - Post a task to handle compositor destruction. r=bgirard
2012-03-30 15:43:11 -04:00
George Wright
562e45f8f0
Bug 728284 - Main container layer has siblings that are drawn in the background. r=bgirard
2012-03-29 14:07:45 -04:00
Phil Ringnalda
fc2d95cb25
Back out 7bffc102114e (bug 737437) for Android native talos bustage
2012-03-29 08:26:58 -07:00
Ali Juma
1734bbd72b
Bug 737437 - Destroy the compositor's layer manager before the CompositorChild gets destroyed. r=cjones
2012-03-29 09:59:22 -04:00
Ali Juma
eac3276684
Bug 735230 - Part 1: Add Pause and Resume messages to PCompositor. r=bgirard
2012-03-28 18:00:10 -04:00
Kartikaya Gupta
3bdc8512b4
Bug 731603 - Propagate a layersUpdated flag to Java for robocop use. r=ajuma
2012-03-20 00:06:56 -04:00
Kartikaya Gupta
aa77819a92
Bug 731603 - Propagate the resolution of the painted content into syncViewportInfo as well. r=Cwiiis
2012-03-20 00:05:45 -04:00
Oleg Romashin
099abf17ab
Bug 736875 - Compositor perf warning need to be filtered up to 15ms. r=bgirard
2012-03-19 12:55:37 +01:00
Andreas Gal
ac82c60a6f
Remove unused and broken tiling code (bug 736716, r=cjones).
2012-03-17 15:22:22 -07:00
Andreas Gal
7f4ec61fd0
Backout bug 736716.
2012-03-17 15:20:01 -07:00
Andreas Gal
089ef250fc
Remove unused and broken tiling code (bug 736716, r=cjones).
2012-03-17 15:02:02 -07:00
Chris Lord
1c2dd7f8ef
Bug 732756 - Fix overdrawing of checkerboard. r=kats
...
Fix overdrawing of the checkerboard layer by letting layers have a concept of
a display-port, and keeping the root layer's display port in track with
Gecko's.
2012-03-17 15:08:22 +00:00
Chris Lord
0f78f77b63
Bug 732917 - Remove ShadowLayers::ShouldDoubleBuffer. r=cjones
...
This function has been unused since bug #690469 .
2012-03-17 12:06:29 +00:00
Ryan VanderMeulen
3edabe2c6f
Backout d5b66e64cf44 (bug 732756) to see if it fixes Android crashtests.
2012-03-16 17:17:22 -04:00
Chris Lord
ff0265ea28
Bug 732756 - Fix overdrawing of checkerboard. r=kats
...
Fix overdrawing of the checkerboard layer by letting layers have a concept of
a display-port, and keeping the root layer's display port in track with
Gecko's.
2012-03-16 16:30:23 +00:00
Ali Juma
3d5d0929d4
Bug 735600 - Don't composite when the layer tree is empty. r=bgirard
2012-03-14 10:54:34 -04:00
Ali Juma
7013e73a7b
Bug 725095 - Address GFX review comments. r=joe
2012-03-12 16:32:02 -04:00
Ali Juma
ad33d5e44d
Bug 732091 - Part 5: Make the compositor notify Java when the page size changes or when a first paint occurs. r=bgirard
2012-03-12 11:50:27 -04:00
Ali Juma
f8d6403787
Bug 732091 - Part 3: Pass on the isFirstPaint flag from the PresShell to the compositor via the layer manager. r=tnikkel,bgirard
2012-03-12 11:50:15 -04:00
Ali Juma
def0c0bab3
Bug 732091 - Part 1: Add an isFirstPaint bool to PLayers update. r=bgirard
2012-03-12 11:50:07 -04:00
Benoit Girard
0f0612ce47
Merge mc->Maple
2012-03-07 11:10:45 -05:00
Benoit Girard
8461970bfc
Bug 733184 - Remove more logging from widget. r=pcwalton
2012-03-05 19:58:18 -05:00
Benoit Girard
7de784afd9
Bug 733113 - Maple: Remove debug logging. r=ajuma
2012-03-05 16:10:43 -05:00
Benoit Girard
5582ac1cee
More render trace. r=debug_only
...
--HG--
extra : rebase_source : b20e2e6e7469433ee6148c8fa0a7dd0c0ca21009
2012-02-28 11:24:24 -05:00
Benoit Girard
9d0e9c74ef
Rendertrace improvements. r=runtime_config_only
2012-02-24 11:35:04 -05:00
Benoit Girard
0eac7fe3b7
Bug 728352 - Implement a render trace utility for GFX perf & debugging. r=mattwoodroow
2012-03-05 15:17:13 -05:00
Jeff Muizelaar
ea3be680bd
Remove ifdefs from RenderTrace and enable it on composite
...
--HG--
extra : rebase_source : 6d6af824d02b90ac0e43855ce179aa0233b40c5b
2012-02-21 20:20:14 -05:00
Ali Juma
03d84bc9ee
Only try to scroll scrollable layers, and force Gecko to generate a scrollable layer even for smaller pages.
2012-02-20 11:30:05 -05:00
Ali Juma
24c78a83e6
Fix non-Android bustage.
2012-02-17 19:41:16 -05:00
Ali Juma
5c0f454c22
Clean up the compositor's transformation calculations.
2012-02-17 17:58:03 -05:00
Benoit Girard
afec18a35e
Preliminary render trace
2012-02-17 17:05:03 -05:00
Benoit Girard
567f149d32
Fix one shutdown crash
...
--HG--
extra : rebase_source : dd71617cbabf7848565ab609362964037fbac01a
2012-02-15 11:29:14 -05:00
Ali Juma
70b876af83
Improve zooming behaviour.
2012-02-15 10:15:52 -05:00
Benoit Girard
612ce84d1f
remove dead code
2012-02-14 18:36:33 -05:00
Patrick Walton
1b46184a8f
Fix scissor rect and use the Java compositor's cached viewport metrics when drawing decorations
2012-02-13 20:20:38 -08:00
Ali Juma
68ad1b725b
Enable zooming.
2012-02-12 15:06:34 -05:00
Patrick Walton
9fb4d6959b
Uncomment TransformLayerUserData and move it into Layers to fix build bustage
2012-02-10 18:55:48 -08:00
Benoit Girard
7379048952
Compositor performance warnings
...
--HG--
extra : rebase_source : e8b2a0f4c4cb69fb88a478750cecc9f21327e018
2012-02-10 18:06:17 -05:00
Ali Juma
aab19c4bd2
Fix non-Android bustage.
2012-02-10 17:32:12 -05:00
Ali Juma
77cc2a2579
Fix race conditions when updating view transform, by switching to an absolute transform.
2012-02-10 16:08:24 -05:00
Benoit Girard
ece165b571
Bug 721489 - Backout changeset 0cb6641ab21a for a more desirable fix.
...
--HG--
extra : rebase_source : b8100a07f626c3cc51e019911a3b023b482d23b9
2012-02-10 15:12:35 -05:00
Ali Juma
7f7fa10d9e
Fix busted build.
2012-02-10 10:40:57 -05:00
Ali Juma
302758e203
Merge heads.
2012-02-10 10:31:31 -05:00
Patrick Walton
9ff00d7ac5
Implement the rendering hooks for Java compositor integration. Currently segfaulting, so ifdef'd out.
2012-02-09 23:55:13 -08:00
Patrick Walton
492b9f6acc
Add a DrawWindowUnderlay() to match DrawWindowOverlay()
2012-02-09 19:47:50 -08:00
Benoit Girard
f778b545b3
Bug 721489 - Allocate a PoT Shmem for the Adreno. This replaces segfaults by visual artifacts
...
--HG--
extra : rebase_source : 400e392843cf2d15b941e7e94b736106e6b447e2
2012-02-09 17:52:03 -05:00
Ali Juma
c1890c2bfc
Code cleanup.
2012-02-09 17:39:04 -05:00
Kartikaya Gupta
27f941d442
Guard against crash in debug mode caused by using a null TimeStamp in a subtraction
2012-02-08 22:22:30 -05:00
Ali Juma
18ee832f36
Build fix.
2012-02-08 19:57:21 -05:00
Benoit Girard
63798fc9eb
Build fixes and clean up
2012-02-08 12:08:03 -05:00
Patrick Walton
49feaaa837
Have the compositor thread manipulate the layer with a display port if there is one
2012-02-07 22:17:54 -08:00
Ali Juma
44f518f33e
Fix delayed rendering after orientation change.
2012-02-07 11:26:52 -05:00
Ali Juma
c30eba6e2e
Move surface ownership to GLContextProviderEGL.
...
--HG--
extra : rebase_source : a3f83d279de5087a521a938d66c4e7b5dee79d74
2012-02-06 16:53:09 -05:00
Ali Juma
c7be76443f
Pause/resume composition on surface destruction/creation.
2012-02-06 13:57:06 -05:00
Benoit Girard
b71f50b471
Limit composition to every 15 ms, may want to try increasing this value
2012-02-06 13:51:33 -05:00
Benoit Girard
efae17a3f3
Limit composite events to one at a time
2012-02-06 12:38:23 -05:00
Ali Juma
eb26c9ae11
Fix null pointer dereference causing startup crash.
2012-02-06 09:42:53 -05:00
Ali Juma
035ebbe87f
Add support for pausing/resuming composition from Java.
2012-02-05 13:33:38 -05:00
Patrick Walton
8f577231bf
Stand up async panning and zooming
2012-02-03 23:31:05 -08:00
Ali Juma
c9d1e74c7a
Add ifdefs to fix desktop build.
...
--HG--
extra : rebase_source : fe51e388ff7dbd95e968cf60af800917801ab911
2012-02-03 21:48:05 -05:00
Patrick Walton
acf57d7d37
Poke the compositor to composite on a pan or zoom; stub AndroidBridge::GetViewTransform()
2012-02-03 18:35:58 -08:00
Patrick Walton
22ab6ae590
Stub ViewTransform code; unbork the viewport size a bit
2012-02-03 16:39:15 -08:00
Patrick Walton
f15ef916a3
Partial removal of tiling, stub callouts
2012-02-02 19:28:22 -08:00
Benoit Girard
df0fb7f4be
Add debug code, unapply me later
2012-02-02 16:34:23 -05:00
Benoit Girard
d4c038b718
Fix GetLayerManager logic
2012-02-02 14:16:59 -05:00
Benoit Girard
4580dbb21d
Progress on omtc integration
2012-02-01 16:18:35 -05:00
Ali Juma
03df2cf07f
Implement logic needed for simple async scrolling.
2012-02-01 14:31:34 -05:00
Benoit Girard
f1d2fba1df
Merge fixes
2012-01-30 15:57:30 -05:00
Benoit Girard
506188e13c
Mergi mc to kiwifox, lots of conflicts so may not build
2012-01-30 13:38:20 -05:00
Benoit Girard
7f35e49cdf
Partial work for android OGLSurfaceView
...
--HG--
extra : rebase_source : 2c6ce362dd859e9f81a5b4490e2451826259a651
2012-01-26 14:23:13 -05:00
Ali Juma
eb69d1849d
Work around Bug 719036.
2012-01-18 11:38:45 -05:00
Ali Juma
b868e77d3a
Address next set of review comments.
2012-01-16 10:31:16 -05:00
Benoit Girard
08ecac4e02
Merge m-c into kiwifox
...
--HG--
rename : widget/src/cocoa/nsChildView.h => widget/cocoa/nsChildView.h
rename : widget/src/cocoa/nsChildView.mm => widget/cocoa/nsChildView.mm
rename : widget/public/nsIWidget.h => widget/nsIWidget.h
rename : widget/src/xpwidgets/nsBaseWidget.cpp => widget/xpwidgets/nsBaseWidget.cpp
rename : widget/src/xpwidgets/nsBaseWidget.h => widget/xpwidgets/nsBaseWidget.h
2012-01-11 17:30:40 -05:00
Ali Juma
76de514ab5
More handling review comments for Bug 711168.
2012-01-10 18:04:21 -05:00
Ali Juma
540e7055c9
Address review comments from Bug 711168.
...
--HG--
rename : gfx/layers/ipc/ShadowLayersHost.h => gfx/layers/ipc/ShadowLayersManager.h
2012-01-06 17:52:32 -05:00
Ali Juma
1e5d6f62dd
Clean up Compositor destruction.
2011-12-22 10:59:53 -05:00
Ali Juma
f7d1e27182
Clean up pointer usage
2011-12-21 11:10:33 -05:00
Ali Juma
5f42b67539
Clean up
2011-12-20 15:12:54 -05:00
Ali Juma
8f65b99584
Fix crash when deleting Compositor parent, and change RPC calls to sync calls..
2011-12-20 10:37:27 -05:00
Ali Juma
def2c76a3b
Composite only when needed.
2011-12-19 13:17:29 -05:00
Ali Juma
7ae3e2eb5a
Merged.
2011-12-19 10:44:18 -05:00
Benoit Girard
a487b8f156
More clean up. Shutdown down a window no longer crashes
2011-12-16 19:21:51 -05:00
Ali Juma
413ab5c1e8
Add a 10ms delay when scheduling next composition.
2011-12-16 17:54:06 -05:00
Benoit Girard
99a20ea320
Clean up some hacks and useless code
2011-12-15 16:31:16 -05:00
Ali Juma
28c4f1c682
Ensure added code only runs when using a Compositor, not in e10s.
2011-12-15 16:16:38 -05:00
Ali Juma
1dffbae4ce
Make shadow layer transformations work.
2011-12-15 15:20:06 -05:00
Ali Juma
4fe32b6aeb
imported patch hacking
2011-12-15 15:07:25 -05:00
Ali Juma
059eb910c9
imported patch PCompositorProgress
2011-12-15 15:07:19 -05:00
Benoit Girard
e10f317d41
Part A: Setup PCompositor (in progress)
2011-12-12 10:15:57 -05:00
Karl Tomlinson
108f9291b8
b=682625 pass VisualID when PictFormat is not available r=cjones
...
--HG--
extra : transplant_source : A%2ALD%92%93%A3%D8%AB%03i%17Y%F4%CA%D3%AAE%3D%99
2012-01-10 23:54:38 +13:00
Benoit Girard ext:(%2C%20Ali%20Juma%20%3Cajuma%40mozilla.com%3E)
fdd5472876
Bug 711168 - Implement the compositor protocol for OMTC. r=cjones
2012-01-19 09:45:37 -05:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Oleg Romashin
a969b2f6e7
Bug 693282 - BasicShadowableThebesLayer leaking backBuffers. r=cjones
2011-10-10 16:43:56 -07:00
Matt Brubeck
eb9465f1a3
Back out f7bf7ac18a79 (bug 684826), 3a910924c50c (bug 687367), and 524a6bb8744b (bug 693086) because of Android bustage on a CLOSED TREE
2011-10-10 09:47:27 -07:00
Brad Lassey
a80dbfc6f5
Backed out changeset 703df62e855b due to crashes reported in bug 693086
2011-10-10 11:00:16 -04:00
Oleg Romashin
a86f160f81
Bug 690469 - ShadowThebesLayer Init/Swap API rework. r=cjones
...
--HG--
extra : rebase_source : 92daf535bc48e1fa2a80d3ef1a6ed20855135eb4
2011-10-02 17:19:32 -04:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Oleg Romashin
c4c535022d
Bug 689045 - Canvas Shadow swap/Init API rework r=cjones
...
--HG--
extra : rebase_source : 7b2acb0ffededb54815d7222d79999d32506bee5
2011-09-27 15:19:28 -07:00
Oleg Romashin
ae53d5a0c3
Bug 687372 - ImageLayerOGL should not destroy surface given as argument. r=cjones
...
--HG--
extra : rebase_source : 00d0c49f320c0969570917a321b8a95a3357a943
2011-09-27 15:19:26 -07:00
Ali Juma
e85791a064
Bug 681033 - Prevent ShadowLayers::RecvUpdate from triggering an immediate repaint. r=cjones
2011-09-26 09:20:42 -04:00
Oleg Romashin
2043d49e51
Bug 687373 - Provide mozilla::layers::SurfaceDescriptorX11 non xlib surface ctor. r=cjones
2011-09-20 17:20:51 +01:00
Joshua Cranmer
de2c647b2f
Bug 681634 - Get m-c to build with static checking; NS_OVERRIDE failure in gfx. r=cjones
2011-08-29 12:29:51 -07:00
Chris Jones
c55298d9ae
Bug 648484, part 6: Add code to share D3D10 textures across processes. r=Bas
2011-08-09 12:38:26 -07:00
Chris Jones
a3317162ef
Bug 648484, parts 3, 3.1, and 3.2: Allow passing a "backend hint" to GetLayerManager() to request a non-default layer manager backend. Deal with failure to hook up shadow layers. sr=roc
2011-08-09 12:38:26 -07:00