Граф коммитов

7602 Коммитов

Автор SHA1 Сообщение Дата
Nicolas Silva 9294c61389 Bug 1245813 - Make TextureHost bullet-proof against changing its compositor. r=dvander 2016-03-22 15:28:27 +01:00
Lee Salzman ca8c96a592 Bug 1252324 - add DrawTarget API for 3D transforms for use in layers. r=jrmuizel 2016-03-23 01:03:10 -04:00
Masayuki Nakano 8c8cbe0e4c Bug 1256589 part.5 Add DefaultPrevented() and DefaultPreventedByContent() to WidgetEvent r=smaug
MozReview-Commit-ID: 5q3QUPTf12Z

--HG--
extra : rebase_source : 83ed946b44910713a61c80bd21202aba9430dd2a
extra : source : 4eb2193814ab1958a65add0c8c307d07c646d61c
2016-03-22 16:47:52 +09:00
Jim Mathies 3089b942e0 Bug 1258440 - Don't attempt to hide plugin windows when switching trees if the previous remote layer tree didn't contain plugin windows. Fixes a tpaint regression. r=mconley
MozReview-Commit-ID: 7UDO4RxBRVF

--HG--
extra : rebase_source : ce3835c935a10a0b265e6f4b3930aaf1adb9aed5
2016-03-22 17:30:14 -05:00
Jim Mathies 8782966286 Bug 1241060 - Skip non-2d sibling layers when calculating plugin window clipping under e10s. r=mstange
MozReview-Commit-ID: 4R5h3DeIU0S

--HG--
extra : rebase_source : 9c3fe839afb77e200aaa8736646109675bdb7f3b
2016-03-21 09:52:21 -05:00
Jeff Muizelaar aacbe16708 Bug 1242668 - Hold more references. r=sotaro
--HG--
extra : rebase_source : bc808856afacc93eb472f6a18ca2b791c8bfe7f0
2016-02-25 17:26:10 -05:00
David Anderson f3dc22db8d Rename PCompositor to PCompositorBridge. (bug 1258479 part 2, r=mattwoodrow)
--HG--
rename : gfx/layers/ipc/CompositorChild.cpp => gfx/layers/ipc/CompositorBridgeChild.cpp
rename : gfx/layers/ipc/CompositorChild.h => gfx/layers/ipc/CompositorBridgeChild.h
rename : gfx/layers/ipc/CompositorParent.cpp => gfx/layers/ipc/CompositorBridgeParent.cpp
rename : gfx/layers/ipc/CompositorParent.h => gfx/layers/ipc/CompositorBridgeParent.h
2016-03-22 14:08:38 -04:00
David Anderson d6945e4086 Rename PCompositor to PCompositorBridge. (bug 1258479 part 1, r=mattwoodrow)
--HG--
rename : gfx/layers/ipc/PCompositor.ipdl => gfx/layers/ipc/PCompositorBridge.ipdl
2016-03-22 14:07:08 -04:00
Markus Stange 04177e1aa2 Bug 1209100 - Back out bug 1165185 on inbound.
MozReview-Commit-ID: JqohyXNvjiU

--HG--
extra : rebase_source : c2165d279a6ca57a3439ebbfc081961369a42124
2016-03-21 16:16:52 -04:00
Carsten "Tomcat" Book a946199796 Backed out changeset 38aa13f30b92 (bug 1245813) for bc7 crashes on a CLOSED TREE 2016-03-22 17:11:21 +01:00
Nicolas Silva 2b867d9c85 Bug 1245813 - Make TextureHost bullet-proof against changing its compositor. r=dvander 2016-03-22 15:28:27 +01:00
Matt Woodrow b95fd6e721 Bug 1223736 - Part 3: Remove the distinction between 2d and 3d masks since it only adds complexity. r=Bas 2016-03-22 09:10:37 +13:00
Matt Woodrow 1f94409ed4 Bug 1223736 - Part 2: Draw masks in the correct coordinate space when doing 3d transforms in BasicCompositor. r=lsalzman 2016-03-22 09:09:07 +13:00
Matt Woodrow 4bbe4fd01d Bug 1223736 - Part 1: Set correct effective transform on mask layers. r=thinker 2016-03-22 09:06:58 +13:00
Nicolas Silva 644321f6b6 Bug 1256693 - Refer to ClientIPCAllocator instead of ISurfaceAllocator where it makes sense. r=sotaro 2016-03-21 15:18:20 +01:00
Nicolas Silva bd7973ab2d Bug 1256693 - ISurfaceAllocator cleanup. r=sotaro 2016-03-17 14:58:58 +01:00
David Anderson 5827fd8527 Make access to gfxWindowsPlatform D3D11 devices thread-safe. (bug 1258174, r=bas) 2016-03-21 00:14:05 -07:00
Matt Woodrow 41cff5119c Bug 1257013 - Part 2: Use readback to synchronize d3d11 video. r=cpearce,Bas
--HG--
extra : rebase_source : 252d183ea0c15f4326c25b4f84ae1c9b43237759
2016-03-21 18:49:59 +13:00
Matt Woodrow 49c3c58a6c Bug 1257013 - Part 1: Use readback to synchronize d3d9 video. r=cpearce,Bas
--HG--
extra : rebase_source : 104b692bb1f732ec86113506ebac8961ac8fb5b8
2016-03-21 18:49:43 +13:00
Seth Fowler 56dbbf45cc Bug 1257315 (Part 2) - Release old visible regions info when new info is available or a layers ID is no longer used. r=botond 2016-03-18 18:38:57 -07:00
Seth Fowler d8b3579dd9 Bug 1257315 (Part 1) - Add a visualization of visibility tracking to the APZ minimap. r=botond,mattwoodrow 2016-03-18 18:38:57 -07:00
Wes Kocher d19c0a23f3 Backed out 2 changesets (bug 1223736) for reftest failures in mask-layer-transform.html CLOSED TREE
Backed out changeset 1982db677df6 (bug 1223736)
Backed out changeset 5813dbb50356 (bug 1223736)

MozReview-Commit-ID: HrnSIGPovea
2016-03-18 16:44:09 -07:00
Lee Salzman 7f2b998fc6 Bug 1257939 - initialize BGRX alpha channel to opaque when clearing and ignore uninitialized alpha in texture clients. r=mchang 2016-03-18 16:58:55 -04:00
Matt Woodrow 5dde20a3f8 Bug 1223736 - Part 2: Apply mask in correct coordinate space when drawing with 3d transforms with BasicCompositor. r=lsalzman 2016-03-18 18:45:50 +13:00
Matt Woodrow 793fb1224d Bug 1223736 - Part 1: Set correct effective transform on mask layers. r=thinker 2016-03-18 18:45:13 +13:00
Ryan VanderMeulen e093d8dae2 Revert bug 1252630 because it proved to be way more hassle than it's worth. 2016-03-18 14:21:12 -04:00
Nicolas Silva b6487df277 Bug 1256045 - Add a null-check in BufferTextureHost::EnsureWrappingTextureSource. r=jnicol 2016-03-18 16:16:06 +01:00
Carsten "Tomcat" Book df1c1cc556 Backed out changeset ceb8532131fb (bug 1223736) for reftest failures
--HG--
extra : rebase_source : 9c5aaf093345f7bfff7f305ceabcd5f04a237da4
2016-03-18 09:58:39 +01:00
Carsten "Tomcat" Book b8b88ab9fb Backed out changeset 2b7b7ea014d8 (bug 1223736)
--HG--
extra : rebase_source : 39d8455a2a72359cedd605839233f9619aac241e
2016-03-18 09:58:21 +01:00
Matt Woodrow 0ae5f6fcf2 Bug 1223736 - Part 2: Apply mask in correct coordinate space when drawing with 3d transforms with BasicCompositor. r=lsalzman 2016-03-18 18:45:50 +13:00
Matt Woodrow 66a2278a0a Bug 1223736 - Part 1: Set correct effective transform on mask layers. r=thinker 2016-03-18 18:45:13 +13:00
Wes Kocher 733e78634f Backed out changeset 93f4eafb8beb (bug 1256693) for media mochitest leaks CLOSED TREE
MozReview-Commit-ID: 1K6kSNA28N9
2016-03-17 15:42:54 -07:00
Wes Kocher 85732789fb Backed out changeset 7a74257343be (bug 1256693) for media mochitest leaks CLOSED TREE
MozReview-Commit-ID: Em8nObLSj9r
2016-03-17 15:42:51 -07:00
Wes Kocher 4555ef21a3 Backed out changeset 1e6a9b36ed35 (bug 1256045) for media mochitest leaks CLOSED TREE
MozReview-Commit-ID: FrILd3iK5U0
2016-03-17 15:42:46 -07:00
Matt Woodrow dbe7f4888a Bug 1250718 - Don't flatten opacity to an intermediate surface when used in the middle of preserve-3d. r=thinker
--HG--
extra : rebase_source : 867bab1b5369c88db3a845478f73d3a58845938c
2016-03-18 09:23:51 +13:00
Matt Woodrow 8d2b64d662 Bug 1250718 - Improve layer logging for preserve-3d layers. r=thinker
--HG--
extra : rebase_source : 7405e30e0081bfa1b249ff6bd4f7bfd713110815
2016-03-18 09:18:10 +13:00
Geoff Brown 29977660c0 Bug 1251013 - Update android_version annotations in test manifests - mochitest; r=jmaher 2016-03-17 10:00:48 -06:00
Randall Barker f54f690d1c Bug 1257264 - When apz.allow_immediate_handoff=false, APZ handoff should not occur when panning changes direction r=botond 2016-03-17 07:11:14 -07:00
Nicolas Silva 57668786d8 Bug 1256045 - Add a null-check in BufferTextureHost::EnsureWrappingTextureSource. r=jnicol 2016-03-17 14:59:12 +01:00
Nicolas Silva 68485a1f8e Bug 1256693 - Refer to ClientIPCAllocator instead of ISurfaceAllocator where it makes sense. r=sotaro 2016-03-17 14:59:06 +01:00
Nicolas Silva 3d48952156 Bug 1256693 - ISurfaceAllocator cleanup. r=sotaro 2016-03-17 14:58:58 +01:00
Edwin Flores 1489b58a2c Bug 1253386 - Double buffer in CanvasClient2D - r=nical 2016-03-17 11:11:18 +00:00
Sotaro Ikeda 0a065a8dfa Bug 1245552 - Align MaskLayer surface to 4 r=mattwoodrow 2016-03-16 18:54:38 -07:00
Sotaro Ikeda 47242038f0 Bug 1255303 - Use SurfaceFormat::B8G8R8X8 as back buffer if possible r=jrmuizel 2016-03-16 18:30:41 -07:00
Kartikaya Gupta f5fed1a234 Bug 1256341 - Guard against scenarios where GenerateSingleTap is called without an active touch block. r=botond
MozReview-Commit-ID: 8nnj9IlwIuL
2016-03-16 17:58:37 -04:00
Kartikaya Gupta e500e5d2b9 Bug 1256341 - Add a gtest to catch scenarios where a tap timeout is interrupted by a non-touch block. r=botond
MozReview-Commit-ID: 5kyb6VOxWU1
2016-03-16 17:58:37 -04:00
Kartikaya Gupta 4317d4d96b Bug 1256344 - If a long-press is interrupted by a non-touch block, don't dispatch the long-press event. r=botond
MozReview-Commit-ID: 7SqA1nIlJYz
2016-03-16 17:58:37 -04:00
Kartikaya Gupta 085bd0c97f Bug 1256344 - Add a gtest to catch scenarios where the long-press block is interrupted by a non-touch block. r=botond
MozReview-Commit-ID: C7K7W9r15qu
2016-03-16 17:58:37 -04:00
Botond Ballo 7d02dd23e3 Bug 1247964 - Allow InputBlockState::SetScrolledApzc to accept new APZC when it is an ancestor of the current APZC r=kats 2016-03-16 09:22:43 -07:00
Jeff Muizelaar c03e235186 Bug 1256498. Explicitly convert to float. r=bas 2016-03-15 12:16:19 -07:00
Matt Woodrow 60b2f060b1 Bug 1236112 - Block on d3d9 video frames to complete before returning them from the decoder. r=cpearce 2016-03-09 10:34:49 +13:00
Sotaro Ikeda 7daa3d77fc Bug 1251523 - Remove TextureFlags::DEALLOCATE_CLIENT from AndroidSurfaceTextureData r=nical 2016-03-14 18:51:21 -07:00
David Anderson f18e55de2f Regenerate SyncObjects on device resets. (bug 1255711, r=bas) 2016-03-14 12:55:47 -07:00
Kartikaya Gupta 4b7ef956c7 Bug 1255997 - Account for scrollbar dimensions when testing the size of the displayport. r=botond
MozReview-Commit-ID: 8SrIfA8xuqq
2016-03-14 14:07:16 -04:00
Benoit Girard a08807e27f Bug 1242609 - Use PeekMessages to get the most recent DisplayPort request. r=kats
MozReview-Commit-ID: K5PTxUqU9E6

--HG--
extra : rebase_source : 6d9e35b27e2fd37c1df513dd856b48c181f3150f
2016-03-14 11:50:55 -04:00
Jamie Nicol b53bc9fd1c Bug 1255448 - Call ClientMultiTiledLayerBuffer::PaintThebes even when region to paint is empty. r=mattwoodrow
Remove early return for empty invalid regions from
ClientTiledPaintedLayer::RenderHighPrecision so that
ClientMultiTiledLayerBuffer::PaintThebes is called even when the region
to paint is empty. This ensures that the tile buffer will free unused
tiles in cases where no new painting is required but the valid region
has shrunk.

Add replacement early returns into ClientMultiTiledLayerBuffer to avoid
as much needless work as possible while still recalculating which tiles
are valid.

MozReview-Commit-ID: C86Pi7lRjjs

--HG--
extra : transplant_source : %F0%96H%DAn4%FE%A6%3EPf%B7%AF3%95%D6%F9o%D9/
2016-03-10 15:01:15 +00:00
Benoit Girard 4af2ba2a93 Bug 1255907 - Fix unification build issues in APZ & Layers. r=kats
MozReview-Commit-ID: 4tUYEJRgpUF

--HG--
extra : rebase_source : 8c0f99bca01886f0cee802f8490b2a9ff9572eaa
2016-03-14 11:39:12 -04:00
Benoit Girard 52f227c58b Bug 1253678 - Rename mozilla::Function to mozilla::function. r=froydnj
MozReview-Commit-ID: 60RPmEsYDN2

--HG--
extra : rebase_source : 9d0bebc7362af2778d123425c56ac20553d9303b
2016-03-11 16:49:13 -05:00
Kartikaya Gupta 491551f10e Bug 1255705 - Generalize the NotifyLayersUpdated short-circuit codepath to trigger on empty transactions as well. r=botond
MozReview-Commit-ID: KfNjyAIdtE1
2016-03-11 17:42:50 -05:00
Kartikaya Gupta 6c01d2a7c5 Bug 1242690 - Don't apply the main-thread callback transform for events in a drag block. r=rbarker
MozReview-Commit-ID: 9C471AJaKjt
2016-03-10 18:25:49 -05:00
Kartikaya Gupta 3852f2d195 Bug 1242690 - Further refine the mouse event untransformation code to only apply to events directed at a scrollbar. r=rbarker
MozReview-Commit-ID: X0ShAKCUPN
2016-03-10 18:25:49 -05:00
Kartikaya Gupta 61f96e502c Bug 1242690 - Add untransforming of mouse events not in a drag block. r=rbarker
MozReview-Commit-ID: 9eELcg7qrq1
2016-03-10 18:25:49 -05:00
Kartikaya Gupta 87e0de1f0a Bug 1242690 - If a drag block is interrupted by something else, have it create a new drag block when it resumes. r=rbarker
MozReview-Commit-ID: K06S3X5XEej
2016-03-10 18:25:49 -05:00
Kartikaya Gupta 8792f6fbea Bug 1242690 - Ensure that mouse events have the callback transform applied. r=botond
MozReview-Commit-ID: 9V7xXPT8WHk
2016-03-10 18:25:48 -05:00
Markus Stange af194f29fe Bug 1251894 - In CompositorD3D11::CreateTexture, copy as much as the render target allows. r=bas
MozReview-Commit-ID: KK5wu3T4tLE

--HG--
extra : rebase_source : 2d0b144510b286b8c2010954ea5f8738744108ad
2016-03-10 16:03:24 -05:00
Daisuke Akatsuka cb51780a6e Bug 1237173 - Part2: Change type of duration to Maybe<StickyTimeDuration>. r=birtles 2016-03-09 14:14:20 +09:00
Kartikaya Gupta 0415065a38 Bug 1253860 - Add a flag on scroll frames indicating if they have an APZ counterpart. r=mstange
MozReview-Commit-ID: EEmdmjrbG3O
2016-03-09 22:57:14 -05:00
Kartikaya Gupta 73a7b93fd0 Bug 1253860 - Add machinery to update APZ's scroll offset without a main-thread paint. r=botond
MozReview-Commit-ID: Chy40f6VNIQ
2016-03-09 22:57:14 -05:00
Kartikaya Gupta 419b25a231 Bug 1253860 - Stop APZC from reprocessing stale metrics on unrelated layer tree updates. r=botond
MozReview-Commit-ID: 5JM83cngdVy
2016-03-09 22:57:14 -05:00
Bas Schouten 41adef94fb Bug 1251778 - Followup: Remove unreferenced local variable. r=bustage 2016-03-10 03:26:15 +00:00
Bas Schouten 8a205e06fb Bug 1251778: Attempt to avoid presenting when the window is still resizing. r=jrmuizel 2016-03-10 03:12:55 +00:00
Kartikaya Gupta 6b0ece7075 Bug 1255054 - Try to do a repaint of the unsuppressed displayport after displayport suppression has ended. r=BenWa
MozReview-Commit-ID: 7JN4PHEEjUT
2016-03-09 16:56:54 -05:00
Wes Kocher 9a43697d65 Backed out changeset 6358a64e4f15 (bug 1236112) for windows video wpt failures
MozReview-Commit-ID: 6tovOHlvyak
2016-03-08 16:23:04 -08:00
Randall Barker 24f338ba5d Bug 1254252 - Have Axis::ClampOriginToScrollableRect just return the original value if it falls with in the page bounds. r=kats 2016-03-08 14:10:35 -08:00
Randall Barker 565a35d4d5 Bug 1250213 - Ensure the scroll offset does not go outside the page bounds when going full screen r=kats 2016-03-08 14:10:35 -08:00
Matt Woodrow bfae8352c6 Bug 1236112 - Block on d3d9 video frames to complete before returning them from the decoder. r=cpearce 2016-03-09 10:34:49 +13:00
Kartikaya Gupta 5fb7494ea2 Bug 1252875 - Flush paints before running the test body in test_scroll_subframe_scrollbar.html. r=me
r=me because we've fixed this issue in multiple tests in exactly the same way.

MozReview-Commit-ID: 5NxTNaq6SYa
2016-03-08 14:33:52 -05:00
Kartikaya Gupta 6a6f65b0d3 Bug 1192910 - Ensure we flush paints on the main thread during an APZ flush. r=mstange
MozReview-Commit-ID: 61dyeqxxtVP
2016-03-07 16:27:44 -05:00
Botond Ballo 7b9830013a Bug 1210117 - Flush paints before running the test body in test_scroll_inactive_flattened_frame.html. r=kats
MozReview-Commit-ID: DQKdb20o4XM

--HG--
extra : rebase_source : c9dad54a151e2a67809d719be74924fa23e15e2e
2016-03-07 20:40:37 -05:00
Sebastian Hengst 12aacd8ccf Backed out changeset 9c232821ae5c (bug 1192910) 2016-03-08 14:41:48 +01:00
Kartikaya Gupta 7a65557850 Bug 1192910 - Ensure we flush paints on the main thread during an APZ flush. r=mstange. reland because backout didn't fix the issue
MozReview-Commit-ID: 61dyeqxxtVP
2016-03-07 16:27:44 -05:00
Sebastian Hengst 9fc7bbba2a Backed out changeset 9066ef314419 (bug 1192910) 2016-03-08 11:06:18 +01:00
Nicolas Silva 9c9d7e08e4 Bug 1251427 - Require a full update when a TextureHost switches from a TextureSource to another. r=sotaro 2016-03-08 10:08:56 +01:00
Sotaro Ikeda 50122dc17d Bug 1253489 - Update SendFenceHandleIfPresent() r=nical 2016-03-07 19:16:40 -08:00
Sotaro Ikeda dd85c7354b Bug 1253478 - Use Atomic<uint64_t> in AsyncTransactionTracker r=nical 2016-03-07 18:59:00 -08:00
peter chang 0a428b1a41 Bug 1250418 - Remove the assertion check of mCanSend in CompositorChild::ActorDestroy, r=nical
MozReview-Commit-ID: L0VSy4cYglh

--HG--
extra : rebase_source : 28a1e3501b74a6883c5ed5855231757fee4d1415
2016-03-02 09:31:44 +08:00
Botond Ballo 40e28dfd6d Bug 1248822 - In LayerManagerComposite::UpdateAndRender(), call PostProcessLayers() before LayerTreeInvalidation. r=mattwoodrow
The reason is that PostProcessLayers() can change the effective visible region,
and LayerTreeInvalidation needs the final effective visible region.

MozReview-Commit-ID: 1wLROyOTcIB
2016-02-08 19:01:45 -05:00
Sotaro Ikeda 81561bca72 Bug 1251726 - Check if Compositor is set r=nical 2016-03-07 17:35:38 -08:00
Kartikaya Gupta b107477fd5 Bug 1254263 - Add a flag to allow disabling paint-skipping. r=mstange
MozReview-Commit-ID: 4bgvqEZcSWy

--HG--
extra : rebase_source : 3aafaffa34b9e7afba81bbec52793eedb8f425ac
2016-03-07 16:25:00 -05:00
Kartikaya Gupta 4920da860d Bug 1192910 - Ensure we flush paints on the main thread during an APZ flush. r=mstange
MozReview-Commit-ID: 61dyeqxxtVP
2016-03-07 16:27:44 -05:00
Jonathan Watt 2357eb85f9 Bug 1253094, part 2 - Stop using DebugOnly for class/struct members in gfx/. r=Bas
MozReview-Commit-ID: 7rDHRqNgQqL
2016-02-26 15:52:07 +00:00
Edwin Flores 54fb15d59f Bug 1224199 - Remove some unused code in TiledLayerBufferComposite - r=nical 2016-03-07 11:51:12 +00:00
Edwin Flores b00c15cb8c Bug 1224199 - Don't make the TextureClient wait for compositor recycle if the GLContext is shutting down - r=nical 2016-03-07 11:51:12 +00:00
Kartikaya Gupta 96b5c73a20 Bug 1253739 - Fix incorrect namespace on forward declaration. r=botond
MozReview-Commit-ID: IPfx1Mb9w8A
2016-03-05 19:23:06 -05:00
Kartikaya Gupta 704367af89 Bug 1251608 - Fix and enable test_bug1151663 for all platforms. r=botond
MozReview-Commit-ID: 4fr5XIor6mJ
2016-03-05 19:22:28 -05:00
Kartikaya Gupta 0a8de7fb05 Bug 1251608 - Fix and enable test_bug982141 for all platforms. r=botond
MozReview-Commit-ID: JQ569KBz1wf
2016-03-05 19:22:25 -05:00
Kartikaya Gupta 170a29bc4a Bug 1251608 - Add a root-content annotation to the APZ test data structure. r=botond
This patch adds the annotation in APZCTreeManager. It also changes the
tree-building code in apz_test_utils to link together the actual paint
structures rather than create new wrapper nodes. This is more foolproof
(fixes a latent bug where a grandchild node whose parent has not yet
been processed ends up with the parent forcibly made a child of the root),
and allows extra properties to seamlessly ride along into the "tree".

MozReview-Commit-ID: B4T4cYyglQ7
2016-03-05 19:22:23 -05:00
Kartikaya Gupta 25a10a2d61 Bug 1219980 - Ensure that long-press gestures don't get detected during test_basic_pan.html r=botond
Chaos mode can cause the the long-press timer to fire too early, so we have to
disable that. Also the pref to extend the timer is an int pref, not a char pref,
so drop the quotes (otherwise specialpowersAPI.js guesses the wrong type).

MozReview-Commit-ID: 4NefSNwwcht

--HG--
extra : rebase_source : b0d1328a7d2c363447360b207cef7754ebc9c9ba
2016-03-01 16:45:08 -05:00
Phil Ringnalda cabee82044 Back out 9 changesets (bug 801176) for frequent crashes in test_offscreencanvas_dynamic_fallback.html
Backed out changeset 82320c900699 (bug 801176)
Backed out changeset 624fb8512ba5 (bug 801176)
Backed out changeset a2a7b1c4dc5b (bug 801176)
Backed out changeset e210473d793c (bug 801176)
Backed out changeset 0fb279e041e1 (bug 801176)
Backed out changeset c090dc98c670 (bug 801176)
Backed out changeset fc509e59a0cd (bug 801176)
Backed out changeset 134a8c56335a (bug 801176)
Backed out changeset 2022afa9aef2 (bug 801176)
2016-03-05 07:20:47 -08:00
Jim Mathies e8e7fc3268 Bug 1253688 - Backout bug 1229429 which caused a painting problem with Loops remote browser chat window with e10s enabled. r=billm
MozReview-Commit-ID: 3tAgOAmnJli
2016-03-04 17:56:03 -06:00
Kartikaya Gupta 74675921b3 Bug 1253617 - Fix non-unified build bustage in OverscrollHandoffState.cpp r=BenWa
MozReview-Commit-ID: 9QkpsxPZsQS
2016-03-04 12:59:06 -05:00
Matt Woodrow 4dcfda62de Bug 1220082 - Assign frame ids to animated images so that they get invalidated correctly. r=seth 2016-01-12 17:14:09 +13:00
Randall Barker 3debd6e962 Bug 1241332 - part 1, Request content repaint at end of APZ animation r=kats 2016-03-04 14:43:38 -08:00
kearwood 55594c5b97 Bug 1251886 - Correct inputFrameID selection when using e10s r=daoshengmu
- ContainerLayerComposite::ContainerRenderVR failed to find
  a CanvasLayerComposite and get an inputFrameId as it was
  only looking at immediate children layers.
- Initialize Oculus SDK structures with 0 to ensure code is less
  brittle when Oculus SDK is updated in the future.
- Added assert and sanity check to ensure that valid inputFrameID's
  are used when indexing the Oculus pose buffers.

MozReview-Commit-ID: 136lf8aMWms

--HG--
extra : rebase_source : 14ae32704e6ccd9c6823467a7cb073290cbd5a09
2016-03-01 18:00:07 -08:00
vincentliu 34112c9d96 Bug 801176 - part7-v1: Don't remove TextureClient until the frame update is done. r=roc
---
 gfx/layers/client/CanvasClient.cpp | 10 ++++++++--
 gfx/layers/client/CanvasClient.h   |  2 ++
 2 files changed, 10 insertions(+), 2 deletions(-)
2016-03-04 15:24:19 +08:00
vincentliu 8f02812e74 Bug 801176 - part6-v1: Modify BufferProvider operations to fix assertions. r=roc
---
 dom/canvas/CanvasRenderingContext2D.cpp | 12 +++--
 dom/canvas/OffscreenCanvas.cpp          |  2 -
 gfx/layers/AsyncCanvasRenderer.cpp      | 85 +++++++++++++++++++++++++--------
 gfx/layers/AsyncCanvasRenderer.h        |  1 +
 4 files changed, 73 insertions(+), 27 deletions(-)
2016-03-04 15:24:00 +08:00
vincentliu 906120d775 Bug 801176 - part2-v5: Let Canvas 2d context works on Workers. r=roc
---
 dom/canvas/CanvasRenderingContext2D.cpp | 53 ++++++++++++-----------
 dom/canvas/OffscreenCanvas.cpp          | 46 +++++++++++---------
 dom/html/HTMLCanvasElement.cpp          |  1 +
 gfx/layers/AsyncCanvasRenderer.cpp      | 17 ++++++++
 gfx/layers/AsyncCanvasRenderer.h        | 16 +++++++
 gfx/layers/Effects.cpp                  |  6 +++
 gfx/layers/GLImages.cpp                 |  5 +--
 gfx/layers/client/CanvasClient.cpp      | 74 +++++++++++++++++++++++++--------
 gfx/layers/client/CanvasClient.h        | 10 ++++-
 9 files changed, 162 insertions(+), 66 deletions(-)
2016-03-04 15:22:39 +08:00
Sebastian Hengst 1e69d4c08b Backed out changeset a5d2e586777c (bug 1220082) for bustage. r=bustage on CLOSED TREE 2016-03-03 17:19:22 +01:00
Matt Woodrow 6350413d1b Bug 1220082 - Assign frame ids to animated images so that they get invalidated correctly. r=seth 2016-01-12 17:14:09 +13:00
Ryan VanderMeulen e5d256eaa8 Bug 1252630 - Move the asyncPan skip-if for APZ reftests to the manifest level instead of per-test. r=kats 2016-03-01 16:56:41 -05:00
Daisuke Akatsuka 0b1a2c1ae5 Bug 1248338 - Implement iterationStart; r=birtles 2016-03-02 16:23:34 +09:00
Jean-Yves Avenard 0e49049c9a Bug 1251910: Fix YUV422 IOSurface. r=mattwoodrow.
Bug 1249273 reverted the changes of bug 1248323.

MozReview-Commit-ID: 4ri1gTOf2Dg
2016-03-02 14:35:47 +11:00
David Anderson 76e3b91746 Invalidate layers when starting a transaction on a stale device. (bug 1245765 part 9, r=mattwoodrow)
--HG--
extra : rebase_source : 987513504b8470a501db313ab0905d20219949c0
2016-02-29 16:41:35 -05:00
Joel Maher 957caebc8c Bug 1252121 - disable test_basic_pan.html and test_tap.html on android 2.3. r=gbrown
MozReview-Commit-ID: fBVJ1ABzhK

--HG--
extra : rebase_source : 9311e909f4a2d0766a72258f031e54fb9751d03e
2016-02-29 08:38:38 -08:00
David Anderson c00e9a5d93 Handle device resets by recreating the compositor, rather than the compositor IPDL stack. (bug 1245765 part 7, r=mattwoodrow) 2016-02-29 01:53:15 -05:00
David Anderson d4db86d05e Factor compositor initialization out of LayerManagerComposite. (bug 1245765 part 6, r=mattwoodrow) 2016-02-29 01:53:14 -05:00
David Anderson dd2df9d99a Remove some static_casting in CompositorParent. (bug 1245765 part 5, r=mattwoodrow) 2016-02-29 01:53:14 -05:00
David Anderson 04848e06dd Fix async drawing when we lose the D3D11 device. (bug 1245765 part 4, r=mattwoodrow) 2016-02-29 01:53:13 -05:00
David Anderson 569787dba9 Propagate D3D9 device resets to remote layers. (bug 1245765 part 2, r=mattwoodrow) 2016-02-29 01:53:12 -05:00
David Anderson 216a4e0ba0 Add a helper function for iterating indirect layer trees. (bug 1245765 part 1, r=mattwoodrow) 2016-02-29 01:53:12 -05:00
David Anderson b7dba4cb77 Require mix-blend mode support in all compositors and layer managers. (bug 1209278 part 1, r=mstange) 2016-02-23 10:11:21 -08:00
Andrew Moser 79c176df5e Bug 1249937 - Rename LayerComposite::SetShadowTransform to SetShadowBaseTransform. r=botond
--HG--
extra : amend_source : c7ff0b07c4caf885a10ef08b6a5051d6a2dc5485
2016-02-26 21:36:52 -05:00
Seth Fowler d66e629ca5 Bug 1251808 (Followup) - Mark the new SourceSurfaceImage constructor explicit. r=me 2016-02-26 21:25:08 -08:00
Seth Fowler 0b454da72c Bug 1251808 - Construct the SourceSurfaceImage with the correct size in RasterImage::GetCurrentImage(). r=seth 2016-02-26 21:01:50 -08:00
peter chang bb4e7deeb8 Bug 1251163 - Clear android surface texture before widget shutdown, r=nical
MozReview-Commit-ID: B68vVjR41OF

--HG--
extra : rebase_source : 8d57f3bd941e813e02cd38b6fcfa73753e6c94c1
2016-02-25 16:48:55 +08:00
Lee Salzman 059ca6d6f5 Bug 1249813 - part 3 - tell the compositor if the root layer has opaque content so it can skip clears. r=mattwoodrow 2016-02-25 14:38:05 -05:00
Lee Salzman bf234f25b7 Bug 1249813 - part 1 - revise nsShmImage to allow draw targets anywhere inside its bounds. r=jrmuizel 2016-02-25 14:38:05 -05:00
Kartikaya Gupta eb1055aff7 Bug 1249943 - Make test_basic_pan work on Fennec and Linux as well. r=botond
This patch convers the APZ:TransformEnd notification from a MessageManager message
to an observer notification so that it is more general and works on other platforms.

MozReview-Commit-ID: 8SSir828Ch7
2016-02-25 11:15:14 -05:00
Nicolas Silva 60f1ac8846 Bug 1250873 - Rename HasInternalBuffer into HasIntermediateBuffer in layers. r=sotaro 2016-02-25 14:15:58 +01:00
Nicolas Silva 9e20942d69 Bug 1250500 - Avoid copying BufferTextureHost when possible. r=sotaro 2016-02-25 14:15:52 +01:00
Nicolas Silva 2b9dadff72 Bug 1249273 - Lazily prepare TextureSources and recycle them when possible in ImageHost. r=sotaro 2016-02-25 14:15:40 +01:00
Nicolas Silva e8b70b860b Bug 1249273 - Enable BufferTextureHost to recycle a TextureSource that is not marked as owned. r=sotaro 2016-02-25 14:15:34 +01:00
Nicolas Silva 6f996f44e4 Bug 1250117 - Trivial b2g build fix. r=me 2016-02-25 13:50:27 +01:00
Nicolas Silva 18b7c7e2dc Bug 1250117 - Fix b2g timeouts when gralloc is disabled. r=sotaro 2016-02-25 09:23:23 +01:00
Jean-Yves Avenard 5d1c0dea05 Bug 1248323: P2. Add readback code for converting YUV422 MacIOSurfaces into RGB. r=nical
MozReview-Commit-ID: 4jhP5fgXZhq

--HG--
extra : rebase_source : 3746097a71746723de541b1a7fb1b8971e914075
2016-02-23 23:47:29 +11:00
Jean-Yves Avenard 0f2fbc9d88 Bug 1248323: P1. Add support for YUV422 IOSurface. r=nical
Those are really UYVY 16bpp surface.

MozReview-Commit-ID: DWkqrF6Norj

--HG--
extra : rebase_source : 479500af560f61a3f6b6c4c3b0f64aeb92438a9a
2016-02-23 13:26:27 +11:00
Randall Barker d94bdf0d3f Bug 1251001 - Input fields at the bottom of a page do not pan into view when gaining focus. r=botond 2016-02-24 16:19:00 -08:00
Randall Barker 9a285c6d99 Bug 1250614 - Repeated zooming in bug on mobile Wikipedia site r=botond 2016-02-24 16:19:00 -08:00
L. David Baron e73ad62be0 Back out changeset 027c6cc12078 (bug 1249943) for making test_basic_pan.html permafail (timeout) on Linux, on a CLOSED TREE. 2016-02-24 15:57:29 -08:00
Bas Schouten c5fe62d1d9 Bug 1232042 - Addendum: Add comment for mLayerManager check. r=jrmuizel 2016-02-24 21:24:26 +00:00
Bas Schouten 36d729fab3 Bug 1232042: Execute an additional present for D3D11 on the compositor thread when a WM_PAINT event has returned. r=jrmuizel 2016-02-24 03:50:09 +00:00
Kartikaya Gupta 2e5e8ea0d9 Bug 1249943 - Make test_basic_pan work on Fennec and Linux as well. r=botond
This patch convers the APZ:TransformEnd notification from a MessageManager message
to an observer notification so that it is more general and works on other platforms.

MozReview-Commit-ID: 8SSir828Ch7
2016-02-24 13:19:45 -05:00
Kartikaya Gupta b894c806dd Bug 1249748 - Ensure the mHandledByAPZ flag is set on WidgetTouchEvents that are handled by APZ. r=botond
MozReview-Commit-ID: 4ABY2jgHkGl
2016-02-24 13:19:43 -05:00
Jamie Nicol bdba733905 Bug 1250517 - Differentiate between no critical display port and empty critical display port in ClientTiledPaintedLayer; r=kats
Currently the logic in ClientTiledPaintedLayer treats an empty critical
display port to mean that there is no critical display port, i.e. that
the entire visible region should be painted. However, the critical
displayport should be, and is, empty if either the display port or
composition bounds are entirely outwith the layer's bounds. We want to
render none of the layer in this case, not all of it.

Change BasicTiledLayerPaintData::mCriticalDisplayPort's type to a
Maybe<LayerIntRect>, and differentiate between it being not set and it
being an empty rect.

MozReview-Commit-ID: Gi1iZOQcOVL

--HG--
extra : transplant_source : %D5M%3A%D2lN%08%3Dnhy%F3%92%A6%03%FB%85%E2%D4%AB
2016-02-23 15:38:29 +00:00
Cameron McCormack 7c95c39734 Bug 1244068 - Part 4: Use StyleSetHandle instead of concrete style set class in most places. r=dholbert 2016-02-24 18:01:11 +11:00
Phil Ringnalda a5861fc16a Back out 6a24b31747be (bug 1232042) for crashes @RecvForcePresent
CLOSED TREE
2016-02-23 21:27:46 -08:00
Bas Schouten fd04611c7c Bug 1232042: Execute an additional present for D3D11 on the compositor thread when a WM_PAINT event has returned. r=jrmuizel 2016-02-24 03:50:09 +00:00
Eugen Sawin 9f4a3136f9 Bug 1116473 - [3.2] Use RefPtr for AndroidSurfaceTexture references. r=snorp 2016-02-23 21:04:25 +01:00
Wes Kocher a9ea5f6a56 Backed out 2 changesets (bug 1193557, bug 1209278) for build bustage
Backed out changeset 755b9088813c (bug 1193557)
Backed out changeset 21356fa4e353 (bug 1209278)

--HG--
extra : commitid : 5hf8aSA5FhN
2016-02-23 10:39:08 -08:00
David Anderson a08042eef1 Require mix-blend mode support in all compositors and layer managers. (bug 1209278 part 1, r=mstange)
--HG--
extra : rebase_source : c63182aa6b4465e22d8d4147bfd40bc1e8183b08
2016-02-23 10:11:21 -08:00
Nicolas Silva b4d60e7777 Bug 1245241 - Force the main thread to sync with the compositor when it tries to allocate insane amounts of shmems. r=lsalzman 2016-02-23 19:15:24 +01:00
Kartikaya Gupta f61cf00d34 Bug 1249915 - Write a test to ensure touch-driven tapping works. r=botond
MozReview-Commit-ID: HDwjus26fww
2016-02-23 10:17:46 -05:00
Andi-Bogdan Postelnicu f91d783b13 Bug 1230911 - modified asseert in order to prevent null pointer dereference. r=roc 2015-12-14 00:00:00 +01:00
Jeremy Chen 47aa0a5855 Bug 1239564 - Post translate maskSurface to renderTarget. r=roc 2016-02-22 04:19:00 +01:00
Sotaro Ikeda 0f29054d1b Bug 1248923 - Store result in Update ParamTraits<GonkNativeHandle>::Read() r=nical 2016-02-21 16:44:50 -08:00
Botond Ballo ceceabf821 Bug 1237905 - Remove logging added temporarily to test_wheel_transactions to diagnose an intermittent failure. r=kats
MozReview-Commit-ID: JkuMXoTDXbL
2016-02-21 14:43:52 -05:00
Matthew S f91b1ade98 Bug 1247450 - Rename LayerComposite::GetShadowTransform to GetShadowBaseTransform. r=botond
MozReview-Commit-ID: 4HkKFCDQW4l
2016-02-20 19:05:59 -05:00
Kartikaya Gupta cfeae7187c Bug 1246480 - Update test to not wait for a scroll event that might never arrive. r=botond
MozReview-Commit-ID: JZmRmqFCJAG

--HG--
extra : rebase_source : bc321b991f27dafaa694c610f33bac5a68b01c4e
2016-02-17 15:53:45 -05:00
Alexandre Lissy dcf3f71348 Bug 1249280 - Fix coordinates of APZ-detected gestures when crossing process boundaries. r=kats
MozReview-Commit-ID: 9xPcG9uERB0
2016-02-19 21:46:31 -05:00
Milan Sreckovic c0c9e1c9f0 Bug 1249312: UseAcceleratedCanvas on Mac should really be UseAcceleratedSkiaCanvas. r=mchang 2016-02-18 14:00:53 -05:00
Hiroyuki Ikezoe bff8c71b2a Bug 1216842 - Part 10: Remove the limit of the computed timing progress. r=birtles
Now we produce computed timing progress outside [0,1] range.
We use the last segment to calculate animation values if the value is greater than 1.
We use the first segment to calculate animation values if the value is lesser than 0.
2016-02-18 14:20:00 +01:00
Lee Salzman 2d3967c30f Bug 1019856 - avoid double-buffering in BasicCompositor when window allows it. r=mattwoodrow 2016-02-18 20:57:29 -05:00
Thinker K.F. Li 4c328ff551 Bug 1244943 - Make PostProcessLayers aware of preserve-3d. r=mattwoodrow
--HG--
extra : commitid : S1u1kZ0sGV
2016-02-18 17:12:40 -08:00
kearwood d2f423667c Bug 1237689 - Enable Oculus hardware latency tester r=daoshengmu
- Generate and pass sequential frame indexes into the ovr_GetTrackingState call and the corresponding call to ovr_SubmitFrame

MozReview-Commit-ID: 5tJl5YJt7Eo

--HG--
extra : rebase_source : 5dbb35ea1451a9f378e28d81a8704b63b1b72b4d
2016-01-08 18:50:10 -08:00
Lee Salzman 41d307c324 Bug 1245241 - part 1 - Close Shmem file handles after mapping them when possible to reduce exhaustion issues. r=billm 2016-02-18 10:56:15 -05:00
Kan-Ru Chen 39658a1669 Bug 1249245 - Add missing header gfxPrefs.h to GrallocTextureClient.cpp. r=cyu
MozReview-Commit-ID: ILck1Eh6XGU

--HG--
extra : rebase_source : 48aeac8b7b8ee1b9abfd2a36de681cfc12994867
2016-02-18 18:59:38 +08:00
Wes Kocher 14a39eb4fe Merge m-c to inbound, a=merge
--HG--
extra : commitid : EcXZgqBBN3f
2016-02-17 11:14:33 -08:00
Wes Kocher 4c4e5f57b5 Backed out changeset 3dce92c9562d (bug 1232042) for causing Win7 slaves to apparently crash and lock up a=backout
--HG--
extra : commitid : LR9A2AvlKN6
2016-02-17 11:11:10 -08:00
Bobby Holley d7835725e4 Bug 1248784 - Extract the AddRef/Release calls into a non-inner helper trait. r=froydnj 2016-02-17 10:15:19 -08:00
Mason Chang 4ab8d2c595 Bug 1239152 Memset RGBX surfaces to opaque white. r=nical 2016-02-17 07:34:37 -08:00
Kartikaya Gupta a77c6753e6 Bug 1246056 - Ensure that the MockContentController's timestamp is always >= GetStartupTime(). r=botond
MozReview-Commit-ID: KfkX1ixpKaI

--HG--
extra : rebase_source : 8161b02c704c7e225a8ab0e87935e1dbba0dd236
2016-02-16 17:25:54 -05:00
Botond Ballo c5fb5cdd95 Bug 1247452 - Use the effective visible region rather than the visible region where appropriate in the compositor. r=mattwoodrow
MozReview-Commit-ID: 6wbe0kUWh9h

--HG--
extra : rebase_source : 1263fcf02beb41bd8f7c6d6556b629f772fd955a
2016-02-12 20:24:38 -05:00
Jim Mathies f7c7fcb101 Bug 1229429 - Refresh plugin window state during composition if we detect a change of layer trees. Fixes issues with plugin window visibility during rapid tab switching. r=roc
MozReview-Commit-ID: pVnTksTt2d

--HG--
extra : rebase_source : 1e50f5386ce3236cf3081f75e4d6f10940a7de88
2016-02-16 09:30:55 -06:00
Botond Ballo 175bd0065f Bug 1238137 - Telemetry pings for APZ-driven scroll input methods. r=kats
--HG--
extra : commitid : 95kQvLI8EpQ
extra : rebase_source : 4fc618e9bcb3373ab09b145a7be0055ed9fd6acd
extra : histedit_source : c35955da462a1134ceee05c0dbcdd21e4ab0d405
2016-02-03 20:34:43 -05:00
Botond Ballo 2b0b5361e2 Bug 1238137 - Define a telemetry histogram for tracking the input methods used to trigger scrolling. r=kats
--HG--
extra : commitid : LEya95Nrulp
extra : rebase_source : da21eb4edc7e8221642a95d15d9b1a217c66866b
extra : amend_source : fc6a994f5feae7f7b023ba6d79a27f8523f49864
extra : histedit_source : c22f451cdb416f8c9a6e13a4c982a9fbd3199b76%2Cd3c11a44b707d410b78360b29bae294332506b4f
2016-02-16 14:17:35 -05:00
Sotaro Ikeda 01f2e9b0c0 Bug 1248325 - Update BufferTextureHost::GetAsSurface() r=nical 2016-02-16 01:47:36 -08:00
David Anderson 0b9ff5b722 Lazily initialize D3D11 mix-blend shaders. (bug 1246388, r=mattwoodrow) 2016-02-12 17:15:33 -08:00
Michelangelo De Simone ebffe910b0 Bug 1247445 - Rename Layer::GetEffectiveVisibleRegion GetLocalVisibleRegion. r=botond
--HG--
extra : amend_source : 375eedb2c6f3e7aec206071a0be0e5fbc0367e76
2016-02-13 16:50:51 -08:00
Bas Schouten 273c601802 Bug 1247775 - Part 1: Remove D3D10/D2D 1.0 texture integration from layers. r=dvander
MozReview-Commit-ID: CPBTl0cEG3p
2016-02-13 14:33:27 +01:00
Peter Van der Beken 1900a0608e Bug 1020199 - Make sure APZ works with nested oop iframe. r=kats, r=dvander.
--HG--
extra : rebase_source : be158c15f328b19be4e4189c1b755841caabcb10
2016-01-08 20:17:39 +01:00
Milan Sreckovic 40a9c94aaa Bug 1187464 - Part 3. Check if GetSurface returned null. r=mstange 2016-02-08 11:58:00 +01:00
Milan Sreckovic e5d1fffa48 Bug 1187464 - Part 2. RTTI for TextureSource debug purposes. Carry r=botond 2016-02-08 11:57:00 +01:00
Milan Sreckovic 59d6d38319 Bug 1187464 - Part 1. We can get the wrong texture source type, so deal with it. Carry r=mstange 2016-02-08 11:56:00 +01:00
Kartikaya Gupta b295e34959 Bug 1229624 - Disable chaos mode on APZ scrollbar tests, because it makes the reftest timeout fire chaotically. rs=Tomcat 2016-02-12 08:42:59 -05:00
Kartikaya Gupta d805fe7934 Bug 1247677 - Add support for the general.smoothScroll.{pages,pixels} prefs in APZ. r=dvander
MozReview-Commit-ID: HCOqbRZV5ui
2016-02-12 08:30:16 -05:00
Kartikaya Gupta 6de82d82fb Bug 1243589 - Use SingleTiledContentClient even for scrollable layers if the layer is smaller than a single tile. r=mattwoodrow
MozReview-Commit-ID: 6eYFmoOVL6b
2016-02-12 08:29:25 -05:00
Lee Salzman c631aefd3b Bug 1246775 - use already_AddRefed in PersistentBufferProvider interface. r=bas 2016-02-10 13:16:13 -05:00
Carsten "Tomcat" Book 01b9f62513 Backed out changeset 9320c843aa7e (bug 1247775) for breaking win 8 reftests 2016-02-12 08:49:50 +01:00
Bas Schouten 86009f3faf Bug 1247775 - Part 1: Remove D3D10/D2D 1.0 texture integration from layers. r=dvander
MozReview-Commit-ID: CPBTl0cEG3p

--HG--
extra : rebase_source : 88e86efda5e943ffe8d374ab6462b4b0fed20487
2016-02-12 00:52:59 +01:00
Kevin Wern 9a846abe86 Bug 1227224 - Further improvements to generic tree traversal algorithms. r=botond
- Introduce a more general version of ForEachNode that takes two actions
  (pre-action and post-action).
- Express the one-action version of ForEachNode in terms of the two-action
  version.
- Add TraversalFlag::Abort, which stops traversal immediately.
- Express DepthFirstSearch in terms of ForEachNode.
- Add ForEachNodePostOrder and DepthFirstSearchPostOrder.
- The new functions are all recursive, and traverse children in the order
  provided by the node accessors. Adjust tests to reflect this.
- Refactor two APZCTreeManager functions, FindTargetNode and GetAPZCAtPoint,
  to use the algorithms.

MozReview-Commit-ID: 83Y7psjkUWG

--HG--
extra : commitid : JSMoSuDetUL
extra : rebase_source : 6ef99b1d6dac841eb94d99feb605ca235d9086c9
extra : amend_source : 518a636ee5a5162bca83dde6b90cb1a3b5304a3b
2016-01-25 04:04:13 -08:00
Wes Kocher 5d6f82ee76 Backed out changeset 19c631cc41c8 (bug 1243589) for test_transformed_scrolling_repaints.html failures on OS X
--HG--
extra : commitid : 8PbwCNrV2to
2016-02-11 16:34:28 -08:00
Matt Woodrow c37f9c5c28 Bug 1224433 - Part 3: Compute the invalidation area for preserve-3d layers by accumulating the leaves. r=roc
--HG--
extra : rebase_source : 8c144c06bee84bd9bdcf99878eebe6e9c3fddfb9
2016-02-12 11:35:35 +13:00
Kartikaya Gupta 9b986bd61e Bug 1243589 - Use SingleTiledContentClient even for scrollable layers if the layer is smaller than a single tile. r=mattwoodrow
MozReview-Commit-ID: LHIrrtFfRgm
2016-02-11 16:49:04 -05:00
Bas Schouten fe90bf3a21 Bug 1232042: Workaround Windows presentation bug by executing a present call on the main thread during a WM_PAINT event. r=jrmuizel
MozReview-Commit-ID: JbPdhIi9zCd
2016-02-06 03:14:44 +00:00
Botond Ballo 4b9059bd5a Bug 1237905 - Ensure the page is painted before synthesizing native events. r=kats
MozReview-Commit-ID: LRt7l3S9Jz6
2016-02-10 20:16:14 -05:00
Kartikaya Gupta 17f323d482 Bug 1235899 - Add a test for frame reconstruction during an APZ scroll animation. r=botond
MozReview-Commit-ID: 3MDHWEfTD8e
2016-02-10 16:31:33 -05:00
Kartikaya Gupta 7c935ef5ba Bug 1235899 - Don't allow frame reconstruction to clobber the APZ scroll offset. r=botond
MozReview-Commit-ID: HZMavMJNtmq
2016-02-10 16:31:20 -05:00
Tom Tromey d1272d2ee4 Bug 1239504 - Avoid ASan leak report by holding PseudoStack in ImageBridgeChild. r=sotaro
--HG--
extra : rebase_source : d1642fd0b1a85fe34cc4221ef8748c93c818a58b
2016-02-10 07:33:00 -05:00
Botond Ballo 9a2d7d1f30 Bug 1237827 - Be sure to clear LayerComposite::mLayerComposited between each composite. r=mattwoodrow 2016-02-08 20:26:54 -05:00
Mason Chang 089ecec90a Bug 1246952. Cleanup references to vsync prefs. r=kats 2016-02-10 08:31:48 -08:00
Bas Schouten 9e0dc8074b Bug 1240800: When we've reallocated our buffer client side and fail to track the proper invalid region always upload the bounds of the visible region. r=mattwoodrow
--HG--
extra : commitid : 7gPm9cOSQT3
2016-02-09 06:07:30 +01:00
Sotaro Ikeda 1fadea02c2 Bug 1161978 - Use GetEffectiveVisibleRegion() for Layer invalidation r=matt.woodrow 2016-02-07 16:43:16 -08:00
Jacek Caban ac5793d34d Bug 1213429 - GCC compilation fixup. 2016-02-07 13:15:21 +01:00
Matt Woodrow 7cd754d8cf Bug 1229317 - Allow preserve-3d and opacity to be combined on the root element of a preserve-3d chain. r=roc 2016-02-07 23:51:11 +13:00
Phil Ringnalda ac03b87535 Back out aeceae3e0e96 (bug 1232042) for Win8 crashes @nvwgf2umx.dll + 0x2d416a in addon manager tests 2016-02-06 09:52:35 -08:00
Phil Ringnalda ec6b8aac53 Back out e751d638ab4b (bug 1229317) for reftest "Assertion failure: oldState < kReadMax" and crashes
CLOSED TREE
2016-02-05 22:42:55 -08:00
Matt Woodrow 8857b37db9 Bug 1229317 - Allow preserve-3d and opacity to be combined on the root element of a preserve-3d chain. r=roc 2016-02-06 17:57:34 +13:00
Bas Schouten 06a81d915b Bug 1232042: Workaround Windows presentation bug by executing a present call on the main thread during a WM_PAINT event. r=jrmuizel
--HG--
extra : commitid : K5S8gKJzzhj
2016-02-06 03:14:44 +00:00
Benoit Girard 63eb0bffc0 Bug 1213429 - Check the result of LockRect. r=Bas
--HG--
extra : commitid : CDNYBJhujLX
2016-02-05 13:02:01 -05:00
Kartikaya Gupta af75f92c75 Bug 1245830 - Remove an unnecessary assertion that can fail due to timing. r=botond
--HG--
extra : commitid : EvIy7LcjUdX
2016-02-05 16:31:15 -05:00
Mason Chang 2a788162c4 Bug 1239861. Skip composite if vsync time is before force composite time. r=kats 2016-02-05 10:11:48 -08:00
Mason Chang 0e244c6f7b Bug 1239861. Part 2 Properly resize DXGI swap chain buffer size. r=bas 2016-02-05 10:11:46 -08:00
Bas Schouten dae57ec4b3 Bug 1245870: When concluding there is nothing to draw inside the clip be sure to balance the Save() since it won't be balanced in PopGroupForlayer. r=jrmuizel
--HG--
extra : commitid : Ra5uaA0wki
2016-02-05 13:53:45 +01:00
Jim Mathies 1839261e94 Bug 1243413 - If a plugin window is hidden in an adjacent scroll frame due to APZ scroll state changes, make sure to show the plugin window after the scroll operation complete. r=kats 2016-02-04 09:10:55 -06:00
Randall Barker f7c435db3c Bug 1245285 - part 3, Remove unused repaint_interval prefs r=botond 2016-02-04 07:18:20 -08:00
Randall Barker a9a2103f92 Bug 1245285 - part 2, Prevent Zoom and Overscroll animations from repainting durring animation r=botond 2016-02-04 07:18:07 -08:00
Randall Barker 54fa69b98b Bug 1245285 - part 1, Remove unused mRepaintInterval from AsyncPanZoomAnimation r=botond 2016-02-04 07:17:56 -08:00
Phil Ringnalda e8bf2f165a Back out 3 changesets (bug 1245285) for e10s failures in test_layerization.html
Backed out changeset e0c8fb70a095 (bug 1245285)
Backed out changeset a211643de3b6 (bug 1245285)
Backed out changeset 41ea5de656a9 (bug 1245285)
2016-02-03 21:46:11 -08:00
Benoit Girard 27bc1a5a64 Bug 1213429 - Recycle e10s D3D9 textures and add partial upload support. r=Bas
--HG--
extra : commitid : Eog9Widi6IK
extra : rebase_source : 1092bfcd51b78c8472be89f28998cb87b79ac0d1
2016-01-25 14:58:46 -08:00
Sotaro Ikeda 2e7f1b09d6 Bug 1224833 - Check explicitly if image has TextureClient r=nical 2016-02-03 18:11:38 -08:00
Randall Barker d08ecfaa7a Bug 1245285 - part 3, Remove unused repaint_interval prefs r=botond 2016-02-03 17:16:14 -08:00
Randall Barker 0ab3435006 Bug 1245285 - part 2, Prevent Zoom and Overscroll animations from repainting durring animation r=botond 2016-02-03 17:16:14 -08:00
Randall Barker d63c83b829 Bug 1245285 - part 1, Remove unused mRepaintInterval from AsyncPanZoomAnimation r=botond 2016-02-03 17:16:14 -08:00
Kartikaya Gupta 830a6d5631 Bug 990916 - Update test_layerization to also test displayport expiry and de-layerization. r=tnikkel,botond
--HG--
extra : commitid : LMV1n0z5x3X
2016-02-03 19:13:35 -05:00
Kartikaya Gupta e7dd4d9941 Bug 990916 - When setting a displayport, schedule a timer to remove it as well. r=tnikkel
--HG--
extra : commitid : 4u7JlPJLoFT
2016-02-03 19:13:35 -05:00
Kartikaya Gupta b41e197e54 Bug 1236046 - Don't use a stupidly small time delta to compute a velocity. r=botond
--HG--
extra : commitid : L79kov6tYbg
2016-02-03 14:07:45 -05:00
Kartikaya Gupta a18b744836 Bug 1242173 - Typing in input fields does not visually update r= 2016-02-03 10:04:26 -08:00
Sourabh 7b7bab8e91 Bug 1241991 - Switch mTreeLock from a Monitor to a Mutex. r=kats
--HG--
extra : commitid : JOnB7YtNo19
2016-02-03 09:31:35 -05:00
Carsten "Tomcat" Book c92db23864 Backed out changeset 63e2a056311a (bug 1187464) for reftest failures
--HG--
extra : rebase_source : 8102427c109ff38e42b26b7f48dcaba67bdd7c4c
2016-02-03 15:04:37 +01:00
Carsten "Tomcat" Book 2d8c4c26f5 Backed out changeset 0cee3cdcce99 (bug 1187464)
--HG--
extra : rebase_source : 977a8167488bc1dbf71c6205a2eb4b77c1c3a0ca
2016-02-03 15:04:21 +01:00
Carsten "Tomcat" Book d17059df02 Backed out changeset b64710d45b28 (bug 1187464)
--HG--
extra : rebase_source : 9128b958e65ba5fb289aedee4f8771180478a733
2016-02-03 15:04:19 +01:00
Milan Sreckovic a4077255db Bug 1187464 - Part 3. Check if GetSurface returned null. r=mstange 2016-02-02 11:07:00 +01:00
Milan Sreckovic 91bbfbdf90 Bug 1187464 - Part 2. RTTI for TextureSource debug purposes. r=botond 2016-02-02 11:06:00 +01:00
Milan Sreckovic e8a5e06fdb Bug 1187464 - Part 1. We can get the wrong texture source type, so deal with it. r=mstange 2016-02-02 11:05:00 +01:00
David Anderson 3af026a7f5 Add full mix-blend mode support to the D3D11 compositor. (bug 1238496, r=bas) 2016-02-02 16:33:13 -08:00
Birunthan Mohanathas e00f212825 Bug 1235261 - Part 6: Rename AutoInfallibleTArray to AutoTArray. r=froydnj 2016-02-02 17:36:31 +02:00
Birunthan Mohanathas d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Thomas Zimmermann 51f8425723 Bug 1245057: Refer to |gfx::IntPoint| in |GrallocTextureHostOGL::SetCropRect|, r=sotaro
This change is required to build for B2G.
2016-02-02 14:23:21 +01:00
Fabrice Desré 81a683418d Bug 1245016 - b2g build failure in gfx/layers/ipc/LayerAnimationUtils.h r=hiro 2016-02-02 01:53:05 -08:00
Milan Sreckovic f20acb8ca1 Bug 1244735 - Preference to override the default behaviour for partial present. r=jrmuizel 2016-02-01 13:34:00 +01:00
Kartikaya Gupta 3d73d0eed2 Bug 1244901 - When recording transform duration for potential checkerboarding time, do so on the compositor thread. r=botond
--HG--
extra : commitid : 55FF2DFP4YI
2016-02-01 19:59:23 -05:00
David Anderson 7b6e752abc Add software mix-blend mode support to the D3D9 compositor. (bug 1243071 part 3, r=bas,mattwoodrow) 2016-02-01 16:28:00 -08:00
David Anderson 3183956eeb Use double precision when computing the backdrop copy rect. (bug 1243071 part 2, r=mattwoodrow) 2016-02-01 16:27:49 -08:00
David Anderson d11fbc361b Remove Compositor::mRenderBounds. (bug 1243071 part 1, r=mattwoodrow) 2016-02-01 16:27:38 -08:00
David Anderson 2dcd6e8f02 Fix stale intermediate surfaces in the D3D9 compositor. (bug 1244821, r=mattwoodrow)
--HG--
extra : rebase_source : 83a3dd01dc1caffde1348a5e4dca9c1a46204897
2016-02-01 16:22:51 -08:00
Nicolas Silva cd021cdc29 Bug 1208226 - Don't crash when failing to map a segment of shared memory. r=sotaro, billm 2016-02-01 16:11:00 +01:00
Hiroyuki Ikezoe 4b31027fae Bug 1216842 - Part 7: Add easing function to laryer::Animation. r=cam 2016-01-26 21:19:00 +01:00
Hiroyuki Ikezoe 409715935c Bug 1216842 - Part 2: Add LayerAnimationUtils. r=cam
This is also for compositor side.
we need a new class to share the function which converts TimingFunction
to ComputedTimingFunction for either keyframe's timing function or keyframe
effect's timing function.
2016-01-29 14:44:00 +01:00
Hiroyuki Ikezoe 8c08c46bf6 Bug 1216842 - Part 1: Add null_t into TimingFunction to skip calculation of linear timing function. r=cam
This is a patch for compositor side to represent linear function as null_t/Nothing().

Also the first argument of ToTimingFunction changes to a Maybe<ComputedTimingFunction>.
As a result of this change we can also use ToTimingFunction for animation
effect's timing function.
2016-01-26 21:14:00 +01:00
Kartikaya Gupta 6f5c11bbbf Back out 3 csets from bug 1242690 for causing bug 1244549. r=backout
--HG--
extra : commitid : G7hFhHC4YDt
2016-01-31 14:44:58 -05:00