Commit Graph

282 Commits

Author SHA1 Message Date
Sotaro Ikeda
e3ea215fb9 Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical 2014-05-23 17:52:43 -07:00
Wes Kocher
0a3093fbfa Merge inbound to m-c 2014-05-15 15:59:45 -07:00
Sotaro Ikeda
d5f237884c Bug 950079 - Add release Fence handling to SurfaceStream on gonk 2014-05-14 15:40:15 -07:00
Matt Woodrow
129afe0635 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
3abdd6e6a6 Bug 961289 - API to request compositor-side test data from client. r=BenWa,kats 2014-05-07 19:56:48 -04:00
Botond Ballo
7f00b26cfe Bug 961289 - Assign sequence numbers to paints on the client side and forward them to the compositor. r=BenWa,kats 2014-05-06 17:26:13 -04:00
Sotaro Ikeda
b226cd7960 Bug 1000525 - Defer Fence release until IPC delivery complete r=nical 2014-05-05 18:56:40 -07:00
Josh Aas
0bfbc258e7 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
6d989dc8a2 Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-30 21:52:00 -04:00
Ed Morley
d7140486ee Backed out changeset d58403b60c77 (bug 959089) 2014-04-25 17:51:11 +01:00
chiajung hung
219670ffd0 Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-25 02:29:00 -04:00
Nicolas Silva
3bf3125c26 Bug 997699 - Move CompositableParent to the .cpp. r=bjacob 2014-04-25 17:15:58 +02:00
Benoit Jacob
617a62b262 Bug 1000161 - No more crashy asserts in LayerTransactionParent - r=nical 2014-04-23 10:46:50 -04:00
Benoit Jacob
ac30a3b397 Bug 1000104 - Fix error handling in RecvSetAsyncScrollOffset - r=kats 2014-04-23 10:42:40 -04:00
Kartikaya Gupta
b68ad94cc3 Bug 995411 - Move various pieces of APZ code into gfx/layers/apz. r=jrmuizel,botond 2014-04-17 07:54:25 -04:00
Kartikaya Gupta
72c1d2b535 Bug 982888 - Add a mScrollHandoffParent field to ContainerLayers. r= 2014-04-11 19:39:21 -04:00
Brian Birtles
4502c9eb05 Bug 986359 part 1 - Move SetTestSampleTime and LeaveTestMode to LayerTransactionParent; r=mattwoodrow 2014-03-22 05:59:57 +08:00
Nicolas Silva
91b537b3be Bug 981794 - Fix incorrect clipping of tiles. r=Bas 2014-03-11 23:19:01 +01:00
Matt Woodrow
a51c8384ea 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
93ce62137d Bug 975931. Part 1: Add nsDOMWindowUtils API to add an extra scroll offset in the AsyncPanZoomController when compositing. r=kats 2014-02-14 21:59:23 +13:00
Brian Birtles
e2f321fec0 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
0290926320 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
bcf9cda593 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
307481e7c6 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
eccc6c3bd1 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
d1db074e54 Bug 968001 - Missing null pointer check in TOpSetRoot - r=jrmuizel 2014-02-26 16:23:51 -05:00
Matt Woodrow
3afcb0e4a9 Bug 975592 - Make sure we find the correct composition manager when updating child process layer trees. r=nical 2014-02-25 11:45:40 +13:00
Carsten "Tomcat" Book
cffdde26a5 Merge mozilla-central to mozilla-inbound 2014-02-25 15:18:06 +01:00
Benoit Jacob
56461d6454 Bug 974356 - 2/4 - add an IsSameProcess method to ISurfaceAllocator - r=nical 2014-02-25 08:12:49 -05:00
Sotaro Ikeda
5c8314f18d Bug 957323 - Handle android's fence on gonk r=nical,doublec,pchang 2014-02-24 20:23:41 -08:00
Chris Lewis
8f0a203a05 Bug 974097 - AppendChild operation in LayersMessages.idplh should be called PrependChild. r=gal 2014-02-24 09:41:55 -05:00
Benoit Jacob
0f145c66da Bug 970747 - 6/6 - Make LayerTransactionParent::RecvUpdate error out if RepositionChild fails - r=mattwoodrow 2014-02-21 16:50:25 -05:00
Benoit Jacob
1a9b358489 Bug 970747 - 4/6 - Make LayerTransactionParent::RecvUpdate error out if RemoveChild fails - r=mattwoodrow 2014-02-21 16:50:25 -05:00
Benoit Jacob
a7992b6cd5 Bug 970747 - 2/6 - Make LayerTransactionParent::RecvUpdate error out if InsertAfter fails - r=mattwoodrow 2014-02-21 16:50:25 -05:00
Benoit Jacob
38ec470d68 Bug 968825 - Null pointer checks in LayerTransactionParent - r=jrmuizel 2014-02-21 16:50:25 -05:00
Benoit Jacob
9442a7999e Bug 968001 - In OpSetRoot, check that the new root is a root - r=nical 2014-02-20 15:05:08 -05:00
Benoit Jacob
f00f3b34f3 Bug 968833 - 1/2 - Make PLayerTransaction check actual layer types before casting - r=jrmuizel 2014-02-20 11:40:55 -05:00
Benoit Jacob
1ef38e439e Bug 967824 - Make SetCompositableHost gracefully handle errors instead of just aborting - r=nical 2014-02-20 08:05:30 -05:00
Matt Woodrow
85ed01610a Bug 966679 - Resolve RefLayers during IPDL transactions. r=nical 2014-02-11 17:01:20 +13:00
David Zbarsky
43cb9f37fb Bug 952977: Convert shadow transforms to gfx::Matrix4x4 r=nical 2014-01-27 10:29:27 -05:00
Nicolas Silva
069b800972 Bug 959615 - Initialize the TextureChild/Parent at creation time. r= bjacob 2014-01-21 23:06:18 +01:00
Robert O'Callahan
622039a19a Bug 945203. Part 1: Add Layers API to annotate layers with hit-test regions. r=kats 2013-12-16 23:47:06 +13:00
Tor Arvid Lund
825b4e0761 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
c5629ae923 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
09f426db94 Bug 949310. r=BenWa 2013-12-12 13:34:50 -05:00
Nicolas Silva
7b1119166c Bug 897452 - Part 1 - Implement the PTexture protocol - r=mattwoodrow 2013-12-11 20:44:44 -05:00
Ryan VanderMeulen
cfb8c81a5f 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
bca10982d6 Bug 897452 - Part 1 - Implement the PTexture protocol - r=mattwoodrow 2013-12-11 13:05:09 -05:00
Kartikaya Gupta
43ace81d1e Bug 814435 - Annotate layers for scrollbars as such. r=tn, BenWa 2013-12-09 22:14:53 -05:00
Benoit Jacob
62707f3443 Bug 933082 - Part 1: make LayerTransactionChild reference-counted - r=nical 2013-11-27 10:18:38 -05:00