Commit Graph

7284 Commits

Author SHA1 Message Date
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