Commit Graph

14380 Commits

Author SHA1 Message Date
Mason Chang
24d842bcb7 Bug 1181028. Delete assertion to create equivalent draw targets during box shadow creation. r=mstange 2015-07-08 10:00:32 -07:00
Nicolas Silva
d473777049 Bug 1178753 - Always enable async-video when OMTC is enabled. r=sotaro 2015-07-08 09:28:48 +02:00
John Daggett
d3e0c0074c Bug 1180415 - initialize downloadable font pattern from FTFace. r=karlt 2015-07-08 14:44:32 +09:00
Mason Chang
31a53cd5e1 Bug 1181028. Log assert error. r=me 2015-07-07 15:41:29 -07:00
Robert O'Callahan
19268ca1c4 Bug 1181303. Set composition time earlier so that computing invalid regions works properly. r=mattwoodrow 2015-07-08 08:50:29 +12:00
Seth Fowler
f3b6180c34 Bug 1177587 - Detect use of <img> elements for animation and use sync decoding to reduce flicker. r=tn 2015-07-07 14:00:08 -07:00
Wes Kocher
153e033882 Backed out changeset 1afe81135def (bug 1181028) for android build bustage CLOSED TREE 2015-07-07 12:23:33 -07:00
Mason Chang
e3800d66ef Bug 1181028. Log assert error. r=me 2015-07-07 12:00:48 -07:00
Ryan VanderMeulen
204b539a88 Merge m-c to inbound. a=merge
CLOSED TREE
2015-07-07 13:38:10 -04:00
Ryan VanderMeulen
49c768f868 Merge b2g-inbound to m-c. a=merge 2015-07-07 13:25:39 -04:00
Hiroyuki Ikezoe
94f827bc49 Bug 1175751 - Apply playback rate to compositor animations. r=bbirtles 2015-07-06 19:05:00 +02:00
Mason Chang
2ad9b546ea Bug 1179049. Properly null check for draw target in box shadow code. r=mstange 2015-07-06 08:58:22 -07:00
Nicolas Silva
423571717d Bug 1178816 - Fix a crash when DrawTargetD2D1 fails to initialize. r=milan 2015-07-06 17:57:03 +02:00
Kartikaya Gupta
91302b3859 Bug 1176798 - Increase the content response timeout to prevent intermittently failing. r=botond 2015-07-06 09:53:11 -04:00
Cervantes Yu
18709a5455 Bug 1180644: Fix crashes after enabling OOP on B2GDroid. r=snorp 2015-07-06 19:18:20 +08:00
Robert O'Callahan
bf7fe0aa3c Bug 1181085 - Don't accumulate ImageCompositeNotifications when we're compositing to a DrawTarget. r=nical
CLOSED TREE
2015-07-08 00:12:24 +12:00
Dylan Roeh
ae8b9a16f3 Bug 1153848 - Add pref to disable SurfaceTexture attach/detach. r=snorp 2015-07-06 16:43:45 -05:00
Dragana Damjanovic
e3003eee82 Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00
Lee Salzman
344e37fd8b Bug 1180246 - Part 4 - reduce Cairo dependencies where safe in TextureClientD3D9. r=bas 2015-07-03 11:54:35 -04:00
Lee Salzman
fabc41ce9c Bug 1180246 - Part 3 - remove usage of cairo_d2d_device. r=bas 2015-07-02 17:44:53 -04:00
Lee Salzman
fe870f7751 Bug 1180246 - Part 2 - kill gfxD2DSurface with fire. r=bas 2015-07-02 08:02:59 -04:00
Lee Salzman
78ef6ce7e3 Bug 1180246 - Part 1 - remove dependencies on gfxD2DSurface. r=bas 2015-07-02 08:02:51 -04:00
Robert O'Callahan
eab7c36737 Bug 1143575. Add assertion for diagnostic purposes. r=nical 2015-07-06 17:20:23 +12:00
Robert O'Callahan
fcfd97c8cc Bug 1143575. Fix build by ensuring ColorLayerComposite uses namespace gfx. r=nical 2015-07-04 10:50:30 +12:00
Robert O'Callahan
188b34a8d4 Bug 1143575. Add a bias value to ImageHost to avoid unpredictable results when image times and compositor times are closely aligned. r=nical 2015-06-15 15:27:02 +12:00
Karl Tomlinson
e191dc2267 bug 1180012 remove unused GetPrefFonts() r=jdaggett 2015-05-19 19:39:51 +12:00
Robert O'Callahan
3ec9731893 Bug 1143575. Let ImageContainer::SetCurrentImages accept multiple images. r=nical 2015-05-25 14:33:35 +12:00
Robert O'Callahan
1cdd000dd3 Bug 1143575. Let callers of ImageContainer::SetCurrentImages specify frame IDs. r=nical 2015-07-03 22:13:48 +12:00
Robert O'Callahan
327d7b9a2e Bug 1143575. Reimplement ImageContainer::GetPaintCount to be composition-aware. r=nical 2015-06-15 14:45:59 +12:00
Robert O'Callahan
f4406d7e93 Bug 1143575. Implement ImageContainer::GetDroppedCount. r=nical 2015-05-11 14:07:07 +12:00
Robert O'Callahan
3e8b418ccc Bug 1143575. Clarify code by renaming method to ClearCurrentImageFromImageBridge. r=nical
We need to make it clear that ClearCurrentImage is really an internal method
of the ImageContainer implementation, not a method that ImageContainer users
should call.
2015-03-26 14:17:13 +13:00
Robert O'Callahan
8bd00cacfd Bug 1143575. Remove ClearAllImagesExceptFront because it doesn't do anything. r=nical
ImageBridgeChild::FlushAllImages with aExceptFront==true does absolutely
nothing, so remove the parameter and remove all callers which pass true.
2015-03-26 14:08:30 +13:00
Robert O'Callahan
5997f01c36 Bug 1143575. Implement ImageContainer::GetPaintDelay. r=nical 2015-07-03 19:39:09 +12:00
Robert O'Callahan
e01b36d03d Bug 1143575. Pass a list of timestamped images to ImageContainer::SetCurrentImages. r=nical 2015-07-07 09:58:18 +12:00
Robert O'Callahan
b194e0fcd5 Bug 1143575. Async image invalidation does not necessarily need to invalidate the layer; LayerTreeInvalidation will do that for us. r=mattwoodrow
We need to remove this so that adding images to the end of the list of images
for an ImageLayer doesn't force composition to happen even if nothing else
has changed.
2015-05-15 18:16:41 +12:00
Robert O'Callahan
cd098cc544 Bug 1143575. Exit composition early if nothing is invalid. r=mattwoodrow
We need this change so that when ImageHost has a next image to display
more than one composition-interval in the future, we skip the actual
compositing work in those intermediate composition(s) if nothing else
has changed.

This change is a little bit scary since it breaks any code that was
previously assuming ScheduleComposition would actually update the screen.
However, that code was already broken for BasicCompositor.
2015-05-15 18:27:04 +12:00
Robert O'Callahan
fb1fee2c2b Bug 1143575. Make LayerTreeInvalidation invalidate when an ImageLayerComposite's current frame has changed. r=mattwoodrow 2015-06-07 12:27:06 +03:00
Robert O'Callahan
ff33579606 Bug 1143575. Route ImageCompositeNotifications to ImageContainers. r=nical
For frame statistics to work properly, we have to notify an ImageContainer
when it has been composited. This requires a few changes, which have
been lumped together in this patch:
-- Create PImageContainer and ImageContainerParent/ImageContainerChild.
-- Add mFrameID and mProducerID everywhere we're passing around images.
-- Route composition notifications from the compositor back to
ImageContainerChild.
2015-07-06 15:02:26 +12:00
Robert O'Callahan
d916cce926 Bug 1143575. Make ImageClientSingle handle multiple textures. r=nical 2015-07-03 22:37:03 +12:00
Robert O'Callahan
6a4261c774 Bug 1143575. Factor out AsyncTransactionWaiter from AsyncTransactionTracker so we'll be able to wait for multiple AsyncTransactionTrackers. r=nical,sotaro 2015-05-12 15:36:49 +12:00
Robert O'Callahan
345d359115 Bug 1143575. Fix some code formatting. r=nical 2015-03-20 16:46:29 +13:00
Robert O'Callahan
968acc38d6 Bug 1143575. ImageClient::UpdateImage should not return false when there's no image, because recreating the ImageClient won't help. r=nical 2015-03-19 21:06:27 +13:00
Robert O'Callahan
4e11861dab Bug 1143575. Remove ImageClientBridge::Updated. r=nical 2015-03-19 21:00:52 +13:00
Robert O'Callahan
084b553964 Bug 1143575. Replace ImageClientSingle::UpdateImage's use of Image serial numbers with ImageContainer state generation counters, and switch it to use ImageContainer::GetCurrentImages. r=nical
When ImageContainer and ImageClient are managing a list of images, the
individual Image serial numbers are no longer enough to detect whether the
state has changed.
2015-05-12 12:56:09 +12:00
Robert O'Callahan
859acc60a2 Bug 1143575. Ensure we schedule another composite if ImageHost has pending images. r=nical 2015-03-19 19:58:16 +13:00
Robert O'Callahan
2ea391f117 Bug 1143575. Implement ImageHost support for multiple timed images. r=nical 2015-05-25 22:48:09 +12:00
Robert O'Callahan
9117630ce9 Bug 1143575. Store composition time in Compositor. r=nical
We'll need this later so ImageHost can select the correct image to use.

Adding a TimeStamp parameter to BeginFrame is a bit annoying since BeginFrame
is overridden by every subclass. It's a bit more convenient to just call a
separate non-virtual method just before we call BeginFrame.
2015-07-07 15:38:38 +12:00
Robert O'Callahan
3bdcc32fc3 Bug 1143575. Extend IPDL OpUseTexture to support multiple timestamped images. r=nical 2015-05-04 22:59:02 +12:00
Robert O'Callahan
3c924e5d41 Bug 1143575. Replace ImageContainer Lock methods with simplified AutoLockImage. r=nical 2015-03-27 12:07:53 +13:00
Robert O'Callahan
bc224cc494 Bug 1143575. Fix typo in ImageContainer comment. r=nical 2015-03-16 23:23:50 +13:00