22627 Commits

Author SHA1 Message Date
Gregory Szorc
34f1170712 Merge mozilla-central to autoland 2016-07-07 11:28:40 -07:00
Sebastian Hengst
f43c9e0ffa Backed out changeset c8700e65f41b (bug 1284440) for causing graphic issues (bug 1285243). r=backout
MozReview-Commit-ID: 3tWcNPLSV9f
2016-07-07 17:30:10 +02:00
Carsten "Tomcat" Book
1e5237c994 merge mozilla-inbound to mozilla-central a=merge 2016-07-07 11:41:27 +02:00
Morris Tseng
587bf3d8eb Bug 1284440 - Prevent CreateRenderTargetForWindow from clearing unwanted area. r=mattwoodrow
MozReview-Commit-ID: BhUlnThiI2
2016-07-07 14:12:52 +08:00
kearwood
694ce1cf8d Bug 1284324 - Implement Canvas Layer mirrors r=bas
- When a canvas layer is set to mirror, it copies the
  texture from the canvas rather than changing the
  texture factory with Morph().
- This is useful when a canvas content will be sent to
  multiple devices simultaneously, such as a VR HMD
  and a 2d monitor mirror.
- This is used by the WebVR 1.0 API, in Bug 1250244

MozReview-Commit-ID: JfMSockO2uz

--HG--
extra : rebase_source : ba9633f7cb9a622efb8389d834b4232205c72755
2016-07-04 13:11:07 -07:00
Matt Woodrow ext:(%2C%20Botond%20Ballo%20%3Cbotond%40mozilla.com%3E)
8fdf6e51d8 Bug 1275694 - Use the local visible region to decide when to cull a layer in CalculateScissorRect(). r=kats
We still take care not to cull a layer if we need to draw a checkerboarding
background for it.

MozReview-Commit-ID: 3EuXEFB2wF9

--HG--
extra : rebase_source : 88e20d9c56be0e09056b7fc3d3e72addee1b1af4
extra : source : 1b8e6e22a983754ef967fe81c1d184a4a966d828
2016-06-09 16:36:12 +12:00
Kevin Wern
5e842a84f8 Bug 1258460: create microbenchmarks for TreeTraversal.h algorithms r=botond
MozReview-Commit-ID: 1idDaLOqSd1

--HG--
extra : rebase_source : 61a702e4a5fad0a0357ed72407f1443cdcad68e6
2016-06-07 19:43:35 -07:00
eyim
731d8bd1c6 Bug 1002846 - Add telemetry to OpenGL compositor r=BenWa
MozReview-Commit-ID: 1HA0dmX0SmN

--HG--
extra : rebase_source : 545c5e48c25428c5fb4736e3a3d9f25280805472
2016-07-05 15:41:21 -04:00
JerryShih
abd529257e Bug 1276062 - update DrawTargetD2D1::Init() log. r=hshih 2016-07-07 11:43:03 +08:00
David Anderson
e6a98dc91b Clean up Transport memory management in IPDL. (bug 1283744, r=billm) 2016-07-06 18:51:20 -07:00
Gregory Szorc
021d3fdfc7 Merge mozilla-central to mozilla-inbound 2016-07-06 18:26:17 -07:00
Xidorn Quan
f01d901ec8 Bug 1283106 - Put empty skip chars in gfxPlatform singleton rather than static local variable. r=jfkthame
MozReview-Commit-ID: 5SU6ewm5wbd

--HG--
extra : rebase_source : f522172d3ca191ba33c222c497e91bb718fda23e
2016-07-05 11:02:24 +10:00
Kartikaya Gupta
eb0b1afe65 Bug 1256339 - Add a eLongTapUp tap type, which fires an observer notification rather than doing a click. r=botond
For B2G we had this "special" behaviour where a long-press that didn't trigger
a contextmenu or whose contextmenu event was cancelled would still trigger a
click event. No other browser does this, and so I think it doesn't make sense
for us to keep doing it either. It also makes it much harder to implement the
Windows-style contextmenu, where the contextmenu pops up when you *lift* your
finger after doing a long-press.

MozReview-Commit-ID: K7NmkNbjfqY
2016-07-05 13:24:54 -04:00
Kartikaya Gupta
4152d69a8e Bug 1256339 - Collapse the different Handle*Tap functions in GeckoContentController into a single API. r=botond
This is just a refactoring, no functional changes intended.

MozReview-Commit-ID: GRJxVpNAlHC
2016-07-05 13:24:54 -04:00
Carsten "Tomcat" Book
b8fa6c4b53 Merge mozilla-central to mozilla-inbound 2016-07-05 16:07:19 +02:00
Carsten "Tomcat" Book
8ff729f2c7 merge mozilla-inbound to mozilla-central a=merge 2016-07-05 16:03:24 +02:00
Carsten "Tomcat" Book
c5537a7c68 merge autoland to mozilla-central a=merge 2016-07-05 16:00:37 +02:00
Phil Ringnalda
3c074ffc55 Merge m-i to m-c, a=merge 2016-07-04 15:02:22 -07:00
JerryShih
5135b01ace Bug 1276062 - obtain the group creation result from PushGroupForLayer(). r=bas 2016-07-04 20:14:00 +02:00
JerryShih
5f9e6f5771 Bug 1276062 - show a log if there is no device for DrawTargetD2D1::Init(). r=bas 2016-07-01 02:25:00 +02:00
kearwood
d8776eeec9 Bug 1284292 - Allow GLScreenBuffer::CreateFactory to work without a CompositableForwarder r=gw280
- GLScreenBuffer::CreateFactory has been overloaded to accept either
  a CompositableForwarder or a ClientIPCAllocator.
- WebVR 1.0 API implementation in Bug 1250244 uses GLScreenBuffer
  without a CompositableForwarder.

MozReview-Commit-ID: GWR1XuIgPBT

--HG--
extra : rebase_source : 5a8d058b6f08345eb431b1a6d39bdce3882487ee
2016-07-04 11:13:15 -07:00
Kartikaya Gupta
fa4d5f2834 Bug 1284553 - Use a fuzzy-compare for the presShell resolution so that negligible differences don't block all repaint requests. r=botond
MozReview-Commit-ID: LtxP7HGGRXn
2016-07-06 15:19:23 -04:00
Lee Salzman
ddb39c8024 Bug 1284356 - check for zero scale in SkDraw::ComputeResScaleForStroking. r=ethlin 2016-07-06 15:01:32 -04:00
Nicolas Silva
867e2c403e Bug 1284051 - Handle ShadowLayers::GetCompositorBridgeChild returning null. r=sotaro 2016-07-04 15:10:22 +02:00
Nicolas Silva
a7a3dcf9d4 Bug 1280110 - Cleanup ContainerLayerComposite's intermediate render targets during shutdown. r=sotaro 2016-07-04 15:10:16 +02:00
Carsten "Tomcat" Book
eec8b2656e Merge mozilla-central to autoland 2016-07-02 11:16:11 +02:00
Jeff Gilbert
720e4fde9b bug 1268638 - Cleanup better in failure cases. - r=jrmuizel
MozReview-Commit-ID: 661wHH47xr6
2016-07-01 13:15:55 -07:00
Jeff Gilbert
a16d416c5a bug 1268638 - Call ProducerRelease in ~GLScreenBuffer. - r=jrmuizel
MozReview-Commit-ID: HmczIAmRqTH
2016-07-01 13:15:49 -07:00
Jeff Gilbert
3934a9613e bug 1268638 - Empty functions defs can be in header. - r=jrmuizel
MozReview-Commit-ID: AOeZizapySH
2016-07-01 13:15:43 -07:00
Jeff Gilbert
2dee86caa5 Bug 1268638 - Add webgl.disable-wgl. - r=jrmuizel
MozReview-Commit-ID: BjtMv8RKKMH
2016-07-01 13:15:02 -07:00
Jeff Gilbert
6376fce86a Bug 1268638 - Avoid using gfxPrefs in a widfely-included header. - r=jrmuizel
MozReview-Commit-ID: KUERI1IC4HK
2016-07-01 13:14:57 -07:00
Jeff Gilbert
aa18e3d272 Bug 1267879 - Fix logic.
MozReview-Commit-ID: JiZUQZYhrj1
2016-07-01 12:01:42 -07:00
Jeff Gilbert
cef5e3c9cc Bug 1267879 - Only check robustness if it's supported. - r=jrmuizel
MozReview-Commit-ID: 4RNjnWFccID
2016-07-01 12:01:39 -07:00
Jeff Gilbert
4973d611f7 Bug 1267879 - Fix WGL robustness. - r=jrmuizel
MozReview-Commit-ID: IpstmnnGM0N
2016-07-01 12:01:36 -07:00
Sotaro Ikeda
6fca51b4aa Bug 1283818 - Clean up BufferTextureData YCbCr format handling r=nical 2016-07-01 09:06:57 -07:00
Nicolas Silva
d489dad128 Bug 1167235 - Part 6 - Destroy textures while TextureForwarder is still usable. r=gw280 2016-07-01 10:58:23 +02:00
Nicolas Silva
6837c5c2f2 Bug 1167235 - Part 4 - Forward the shutdown notification to CanvasRenderingContext2D. r=Bas 2016-07-01 10:58:18 +02:00
Nicolas Silva
d7bdab458f Bug 1167235 - Part 3 - Use TextureReadLock to optimize canvas copy-on-writes. r=Bas 2016-07-01 10:58:16 +02:00
Nicolas Silva
10809f5f78 Bug 1167235 - Part 2 - Detach DrawTarget snapshots before unlocking TextureClient. r=Bas 2016-07-01 10:58:13 +02:00
Nicolas Silva
55982c743c Bug 1167235 - Part 1 - Render canvas2D into TextureClient directly. r=Bas 2016-07-01 10:58:06 +02:00
Nicolas Silva
2150c23725 Bug 1279973 - Better handle video frames with varrying/inconsistent plane sizes and formats in the compositor. r=sotaro 2016-07-01 10:49:40 +02:00
Jonathan Kew
76ce756d93 Bug 1283573 - Don't attempt to look up a single-face-family name if the corresponding main family isn't available. r=mstange 2016-06-30 20:03:15 +01:00
David Anderson
98133d3c0a Implement remote CompositorWidgets on Windows. (bug 1281998 part 7, r=billm) 2016-07-01 01:15:16 -07:00
David Anderson
97a92d5d5e Extract a delegate interface out of WinCompositorWidget. (bug 1281998 part 6, r=jimm) 2016-07-01 01:15:16 -07:00
David Anderson
6562af780a Move CompositorWidget construction out of nsIWidget. (bug 1281998 part 5, r=jimm) 2016-07-01 01:15:16 -07:00
David Anderson
f0edea202e Move CompositorWidget ownership from nsWindow to CompositorSession. (bug 1281998 part 4, r=jimm) 2016-07-01 01:15:16 -07:00
David Anderson
56c221c4a6 Move InProcessCompositorWidget to its own file. (bug 1281998 part 3, r=jimm)
--HG--
rename : widget/CompositorWidget.cpp => widget/InProcessCompositorWidget.cpp
2016-07-01 01:15:16 -07:00
David Anderson
3f0ea0572d Rename CompositorWidgetProxy files to CompositorWidget. (bug 1281998 part 2, r=jimm)
--HG--
rename : widget/CompositorWidgetProxy.cpp => widget/CompositorWidget.cpp
rename : widget/CompositorWidgetProxy.h => widget/CompositorWidget.h
rename : widget/windows/WinCompositorWidgetProxy.cpp => widget/windows/WinCompositorWidget.cpp
rename : widget/windows/WinCompositorWidgetProxy.h => widget/windows/WinCompositorWidget.h
2016-07-01 01:15:16 -07:00
Matt Woodrow
4f7d3bf72f Bug 1269321: Part 3 - Create a wrapper layer for masking when we can't support it on the normal layer. r=thinker
--HG--
extra : rebase_source : 2ad8ec40082c3cea7b811190a91b0324a4b0d8a2
2016-06-30 18:10:25 +02:00
Sebastian Hengst
0642c8d7d3 Backed out changeset 04d79227660a (bug 1267879) for failing talos glterrain on Windows. r=backout 2016-07-01 00:35:32 +02:00