Commit Graph

84 Commits

Author SHA1 Message Date
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
Sotaro Ikeda
e66ebd661d Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical 2014-05-23 17:52:43 -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
Matt Woodrow
8a053c7bf1 Bug 950312 - Part 1: Copy mix-blend-mode proprties to the compositor layer tree. r=roc 2014-05-09 21:41:56 +12:00
Botond Ballo
8b6eb070aa Bug 961289 - API to request compositor-side test data from client. r=BenWa,kats
--HG--
extra : source : a475bb542682486ffac8dc91a039f75ec41091b6
2014-05-07 19:56:48 -04:00
Botond Ballo
d2b6591c54 Bug 961289 - Assign sequence numbers to paints on the client side and forward them to the compositor. r=BenWa,kats
--HG--
extra : source : d5331eaed1c789ac0248e8710a7b4a167ae349b6
2014-05-06 17:26:13 -04:00
Sotaro Ikeda
56320456e0 Bug 1000525 - Defer Fence release until IPC delivery complete r=nical 2014-05-05 18:56:40 -07:00
Josh Aas
f00583cc36 Bug 960774: Add ActorDestroy impl for all parent-side actors that don't have one. It will be required soon. r=bent 2014-05-02 13:44:13 -05:00
chiajung hung
e92efaa365 Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-30 21:52:00 -04:00
Ed Morley
43f0aad8bb Backed out changeset d58403b60c77 (bug 959089) 2014-04-25 17:51:11 +01:00
chiajung hung
ddbdc88968 Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-25 02:29:00 -04:00
Nicolas Silva
8bb527f234 Bug 997699 - Move CompositableParent to the .cpp. r=bjacob 2014-04-25 17:15:58 +02:00
Benoit Jacob
e24e077e6a Bug 1000161 - No more crashy asserts in LayerTransactionParent - r=nical 2014-04-23 10:46:50 -04:00
Benoit Jacob
cf6f7bcbfe Bug 1000104 - Fix error handling in RecvSetAsyncScrollOffset - r=kats 2014-04-23 10:42:40 -04:00
Kartikaya Gupta
e7e7d59c58 Bug 995411 - Move various pieces of APZ code into gfx/layers/apz. r=jrmuizel,botond
--HG--
rename : gfx/layers/ipc/GeckoContentController.h => gfx/layers/apz/public/GeckoContentController.h
rename : gfx/layers/composite/APZCTreeManager.cpp => gfx/layers/apz/src/APZCTreeManager.cpp
rename : gfx/layers/composite/APZCTreeManager.h => gfx/layers/apz/src/APZCTreeManager.h
rename : gfx/layers/ipc/AsyncPanZoomController.cpp => gfx/layers/apz/src/AsyncPanZoomController.cpp
rename : gfx/layers/ipc/AsyncPanZoomController.h => gfx/layers/apz/src/AsyncPanZoomController.h
rename : gfx/layers/ipc/Axis.cpp => gfx/layers/apz/src/Axis.cpp
rename : gfx/layers/ipc/Axis.h => gfx/layers/apz/src/Axis.h
rename : gfx/layers/ipc/GestureEventListener.cpp => gfx/layers/apz/src/GestureEventListener.cpp
rename : gfx/layers/ipc/GestureEventListener.h => gfx/layers/apz/src/GestureEventListener.h
rename : gfx/layers/ipc/TaskThrottler.cpp => gfx/layers/apz/src/TaskThrottler.cpp
rename : gfx/layers/ipc/TaskThrottler.h => gfx/layers/apz/src/TaskThrottler.h
rename : widget/xpwidgets/APZCCallbackHelper.cpp => gfx/layers/apz/util/APZCCallbackHelper.cpp
rename : widget/xpwidgets/APZCCallbackHelper.h => gfx/layers/apz/util/APZCCallbackHelper.h
rename : widget/xpwidgets/ActiveElementManager.cpp => gfx/layers/apz/util/ActiveElementManager.cpp
rename : widget/xpwidgets/ActiveElementManager.h => gfx/layers/apz/util/ActiveElementManager.h
2014-04-17 07:54:25 -04:00
Kartikaya Gupta
7e99c6f57e Bug 982888 - Add a mScrollHandoffParent field to ContainerLayers. r= 2014-04-11 19:39:21 -04:00
Brian Birtles
4066243ac4 Bug 986359 part 1 - Move SetTestSampleTime and LeaveTestMode to LayerTransactionParent; r=mattwoodrow 2014-03-22 05:59:57 +08:00
Nicolas Silva
3a04e42f86 Bug 981794 - Fix incorrect clipping of tiles. r=Bas 2014-03-11 23:19:01 +01:00
Matt Woodrow
b14644234b Bug 981393 - Crash the child process if we get invalid Compositable updates. r=nical 2014-03-11 11:12:49 +13:00
Robert O'Callahan
6a2a74cd42 Bug 975931. Part 1: Add nsDOMWindowUtils API to add an extra scroll offset in the AsyncPanZoomController when compositing. r=kats
--HG--
extra : rebase_source : fcadb5137cc906c97b230d1f2cf134fd24db10d6
2014-02-14 21:59:23 +13:00
Brian Birtles
138adeb229 Bug 979658 part 4 - Rename PLayerTransaction.GetTransform to GetAnimationTransform; r=dzbarsky
PLayerTransaction.GetTransform doesn't actually return the same kind of value
when the transform on the layer is not set by animation. This is because it uses
information stored with the animation to undo various transforms. We shouldn't
pretend to return something useful/similar when we don't have that information
available.

This patch renames GetTransform to GetAnimationTransform and makes it return
a union that has type void_t if the layer is not transformed by animation.
2014-03-10 13:47:12 +09:00
Brian Birtles
5de0a15099 Bug 979658 part 3 - Make LayerTransactionParent::RecvGetTransform convert to CSS pixels; r=dzbarsky
LayerTransactionParent::RecvGetTransform takes care to reverse all the
transformations applied by AsyncCompositionManager::SampleValue to the CSS
values calculated so that it can return CSS values for testing. However, it
fails to revert the conversion from CSS pixels to device pixels applied to the
translation components of the transform by
nsStyleTransformMatrix::ProcessTranslatePart as called by
nsDisplayTransform::GetResultingTransformMatrix.

This patch converts the resulting transform's translation components from device
pixels back to CSS pixels. It also adds documentation for the other operations
in LayerTransactionParent::RecvGetTransform.
2014-03-10 13:47:12 +09:00
Bas Schouten
bde06b3dca Bug 963073 - Merge tiling branch. r=Bas,jrmuizel,BenWa
http://hg.mozilla.org/users/bschouten_mozilla.com/tiling/summary

This work is mainly porting tiled layers to new textures, implementing
double-buffered tiles and implementing a texture client pool, to be used by
tiled content clients.

Any questions regarding this patch should go to:
Bas Schouten <bschouten@mozilla.com>
Chris Lord <clord@mozilla.com>
Nicolas Silva <nsilva@mozilla.com>

In their absence questions can be directed to:
Jeff Muizelaar <jmuizelaar@mozilla.com>
Benoit Girard <bgirard@mozilla.com>
2014-03-07 22:34:04 +01:00
Matt Woodrow
f81fe641a7 Bug 977891 - Move the ForceComposite message to PLayerTransaction so that we can identify the right compositor with e10s. r=nical 2014-03-03 13:59:58 +13:00
L. David Baron
4f04bcdc57 Bug 976350 patch 1: Move the contents of nsTraceRefcnt.h into nsISupportsImpl.h. r=bsmedberg
This makes sense since the file no longer contains anything with the
nsTraceRefcnt name in it, and it will allow renaming nsTraceRefcntImpl
back to nsTraceRefcnt.
2014-02-26 13:36:35 -08:00
Benoit Jacob
2b3d048aa5 Bug 968001 - Missing null pointer check in TOpSetRoot - r=jrmuizel 2014-02-26 16:23:51 -05:00
Matt Woodrow
048b93a1e5 Bug 975592 - Make sure we find the correct composition manager when updating child process layer trees. r=nical
--HG--
extra : rebase_source : 5e1457117293c74a362a0570aca2673c90038334
2014-02-25 11:45:40 +13:00
Carsten "Tomcat" Book
8f2d51be14 Merge mozilla-central to mozilla-inbound 2014-02-25 15:18:06 +01:00
Benoit Jacob
322ec81b4d Bug 974356 - 2/4 - add an IsSameProcess method to ISurfaceAllocator - r=nical 2014-02-25 08:12:49 -05:00
Sotaro Ikeda
94c74f3ae6 Bug 957323 - Handle android's fence on gonk r=nical,doublec,pchang 2014-02-24 20:23:41 -08:00
Chris Lewis
23f546b52c Bug 974097 - AppendChild operation in LayersMessages.idplh should be called PrependChild. r=gal 2014-02-24 09:41:55 -05:00
Benoit Jacob
67225eb48b Bug 970747 - 6/6 - Make LayerTransactionParent::RecvUpdate error out if RepositionChild fails - r=mattwoodrow 2014-02-21 16:50:25 -05:00
Benoit Jacob
409c751152 Bug 970747 - 4/6 - Make LayerTransactionParent::RecvUpdate error out if RemoveChild fails - r=mattwoodrow 2014-02-21 16:50:25 -05:00
Benoit Jacob
b802678a60 Bug 970747 - 2/6 - Make LayerTransactionParent::RecvUpdate error out if InsertAfter fails - r=mattwoodrow 2014-02-21 16:50:25 -05:00
Benoit Jacob
2df15d2001 Bug 968825 - Null pointer checks in LayerTransactionParent - r=jrmuizel 2014-02-21 16:50:25 -05:00
Benoit Jacob
83a89d27ad Bug 968001 - In OpSetRoot, check that the new root is a root - r=nical 2014-02-20 15:05:08 -05:00
Benoit Jacob
e0ddb2e185 Bug 968833 - 1/2 - Make PLayerTransaction check actual layer types before casting - r=jrmuizel 2014-02-20 11:40:55 -05:00
Benoit Jacob
be272d4026 Bug 967824 - Make SetCompositableHost gracefully handle errors instead of just aborting - r=nical 2014-02-20 08:05:30 -05:00
Matt Woodrow
a008f620fb Bug 966679 - Resolve RefLayers during IPDL transactions. r=nical 2014-02-11 17:01:20 +13:00
David Zbarsky
287bef7020 Bug 952977: Convert shadow transforms to gfx::Matrix4x4 r=nical 2014-01-27 10:29:27 -05:00
Nicolas Silva
2302a77289 Bug 959615 - Initialize the TextureChild/Parent at creation time. r= bjacob 2014-01-21 23:06:18 +01:00
Robert O'Callahan
0b88239e0f Bug 945203. Part 1: Add Layers API to annotate layers with hit-test regions. r=kats
--HG--
extra : rebase_source : baa695c0d6104f620a5b45a83e5b230ef584abd9
2013-12-16 23:47:06 +13:00
Tor Arvid Lund
ad062d0b9d Bug 950677 - gfxIntSize -> IntSize in ipc/ directory. r=nical
(Detail: Chose to put an #include for Point.h in a header instead of a
forward declaration because a fwd decl caused an "Already defined" error
and having neither fwd decl or #include caused another compile failure
saying IntSize was undefined)
2013-12-20 11:46:29 -05:00
Matt Woodrow
7e4d69c48b Bug 913503 - Update windowed plugin positions before we schedule a composite with OMTC. r=roc 2013-12-16 18:38:42 +13:00
Kartikaya Gupta
f5fa7a6026 Bug 949310. r=BenWa 2013-12-12 13:34:50 -05:00
Nicolas Silva
2c99be0508 Bug 897452 - Part 1 - Implement the PTexture protocol - r=mattwoodrow 2013-12-11 20:44:44 -05:00
Ryan VanderMeulen
f9166936cb Backed out 17 changesets (bug 897452) for OSX crashes on a CLOSED TREE.
Backed out changeset 11ad8608bc27 (bug 897452)
Backed out changeset 6bcc629e76f9 (bug 897452)
Backed out changeset b91c858a43f5 (bug 897452)
Backed out changeset 38ba49ee3e97 (bug 897452)
Backed out changeset ea184ef84762 (bug 897452)
Backed out changeset 686cc5122149 (bug 897452)
Backed out changeset 3685a8018e49 (bug 897452)
Backed out changeset be7ef6240068 (bug 897452)
Backed out changeset f95c20e70947 (bug 897452)
Backed out changeset 4a370d2a1c62 (bug 897452)
Backed out changeset 1222f6ab66d2 (bug 897452)
Backed out changeset 5e9d3c681ee9 (bug 897452)
Backed out changeset 3b9ddce12b7a (bug 897452)
Backed out changeset 7aec6387f3e9 (bug 897452)
Backed out changeset eb1fe464fdaf (bug 897452)
Backed out changeset 07deaa53b6fd (bug 897452)
Backed out changeset ddab7d071d69 (bug 897452)
2013-12-11 14:52:50 -05:00
Nicolas Silva
7924a5e832 Bug 897452 - Part 1 - Implement the PTexture protocol - r=mattwoodrow 2013-12-11 13:05:09 -05:00