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

28853 Коммитов

Автор SHA1 Сообщение Дата
Jean-Yves Avenard c41e0fce24 Bug 1404997 - P5. Fix constness and remove redundant virtual keyword. r=mattwoodrow
Additionally, various C++ code and style cleanup

MozReview-Commit-ID: 7BCtQzFGaOc

--HG--
extra : rebase_source : 77598165c0f6ad9f04c8a09985c79df82f2732e4
2017-11-30 19:03:02 +01:00
Ryan VanderMeulen 3370543cbd Bug 1426450 - Update HarfBuzz to 1.7.4. r=jfkthame 2017-12-20 15:42:30 -05:00
Jeff Gilbert 96cde974a6 Bug 1426329 - Reduce includes of GLContext.h in headers. - r=lenzak
MozReview-Commit-ID: LPrK3ghNI5f
2017-12-20 11:45:32 -08:00
Swapnil fff4bd7c7c Bug 785931 - Removed probes GRADIENT_DURATION, GRADIENT_RETENTION_TIME. r=chutten 2017-12-13 23:08:56 +05:30
Botond Ballo 7fc997f800 Bug 1424591 - Only exclude a perspective transform from an APZC ancestor transform if it's on the path from layers that scroll together to their common ancestor. r=kats
MozReview-Commit-ID: jITf4ovz0X

--HG--
extra : rebase_source : 80af9847899ce607e81af149c48b6d0e6d529032
extra : source : 278cae09d66d198ba9065ded322e4a765051a2f9
2017-12-14 14:55:27 -05:00
cku 5a90745685 Bug 1424922 - Prevent calling PDFiumParent::Close twice. r=dvander
We call PDFiumParent::Close twice under certain conditions. Once in
PDFiumProcessParent::Delete, and once in PDFiumProcessParent's dtor. So we may
hit MOZ_ABORT which tell us that we are trying to close a closed channel.

This patch prevents hitting this abort by:
1. Only close the channel in PDFiumProcessParent::Delete, remove another call
   in PDFiumProcessParent's dtor. (Please see the change in
   PDFiumProcessParent.cpp).
2. Remove PDFiumParent::AbortConversion and relative code. We can just use
   PDFiumParent::EndConversion instead. When calling PDFiumParent::Close, we
   actually close the IPC channel *synchronously*, which means there is no need
   to register a callback by PDFiumParent::AbortConversion to receive
   actor-destroy callback.

MozReview-Commit-ID: 9i5j6t54J3h

--HG--
extra : rebase_source : 5f74ebc1ecc29e9983c30ca2dd63e0b49bd24a50
2017-12-13 12:42:59 +08:00
Jamie Nicol e18bbe2c58 Bug 1417310 - Don't attempt to create buffers of unreasonable sizes. r=bas
Currently ContentClient will attempt to create a buffer of any size
that Layers requires it to. If that fails it will then warn if the
requested buffer was an unreasonable size. This change makes it so
that we check whether the size is reasonable first, and do not attempt
to create the buffer if it is unreasonable.

Previously the operating system would have managed to allocate some
buffers that we deem unreasonable, but at the cost of the system
becoming unresponsive. Now, some large buffers which would previously
have been created won't be, but the chances of the system becoming
unresponsive should decrease.

Ideally Layers wouldn't request buffers of these sizes in the first
place - there are measures in place to try to prevent it, and more work
is certainly required. However, this will act as a last ditch defence.

MozReview-Commit-ID: 7WCqEwkmViy
2017-12-13 15:49:41 -06:00
Morris Tseng 49929d098e Bug 1415034 - Add drop-shadow support. r=kats
The long-chain.html failure is tracking by
https://github.com/servo/webrender/issues/2197

MozReview-Commit-ID: FECidSvTQrY
2017-12-13 12:57:01 -06:00
Sebastian Hengst 64b87f0c48 Backed out changeset fd2a2e17aef3 (bug 1415034) for build bustage at layout/painting/nsDisplayList.cpp:9992. r=backout 2017-12-13 19:48:08 +02:00
Morris Tseng c9fab1d021 Bug 1415034 - Add drop-shadow support. r=kats
The long-chain.html failure is tracking by
https://github.com/servo/webrender/issues/2197

MozReview-Commit-ID: FECidSvTQrY
2017-12-13 10:53:33 -06:00
Cosmin Sabou b0098afaea Merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-12-13 12:14:29 +02:00
David Anderson a830f56d14 Fix race condition when mapping a D2D surface while its DrawTarget mutates. (bug 1418348, r=bas)
--HG--
extra : rebase_source : cf16e7f1cea664327b00f01bd42380de672cd9b4
2017-12-12 14:52:54 -06:00
Jeff Muizelaar b248919e81 Bug 1424532 - Initialize blob image buffer to transparent black instead of opaque white. r=nical
This lets us avoid having to clear the surface before using it. It also
let's us take advantage of rusts fast path for allocating 0 vs.
having to memset it after the allocation.

MozReview-Commit-ID: J05cZAs2dD4

--HG--
extra : rebase_source : e4d1d26fc58650f2b39dfbf80feed3ae46810974
2017-12-09 15:26:01 -05:00
cku 780de75cf4 Bug 1399787 - Part 15. Detect and handle breakage of the IPC channel. r=jwatt
MozReview-Commit-ID: 6VfIbstJ6WN

--HG--
extra : rebase_source : 29c658959dc59234b2d59b89109ce56fb5929ffc
extra : source : 761e68aef93e9f6b2d914c81c638db588dec6fe5
2017-11-06 22:12:31 +08:00
cku 2716e0d75b Bug 1399787 - Part 13. Handle AbortDocument. r=jwatt
While aborting conversion, we need to make sure there is no coversion task
executing in the PDFium process before destroying it.

MozReview-Commit-ID: 3Iqhe8KmYv2

--HG--
extra : rebase_source : 70d9f0b2e2986499e3061823e0c29830aa81d232
extra : source : 753ed705666fd4c55da456fb80604e4552d6bd52
2017-11-05 15:34:54 +08:00
cku 3654a24e84 Bug 1399787 - Part 11.a. Use PrintTargetEMF to print content documents. r=jwatt
Before we introduce PrintTargetEMF, all PrintTargets finish page printing task
before the end of PrintTarget::EndPage(). Unlike others, a page printing
in PrintTargetEMF is done after receiving an async callback from the pdfium
process. So we have both async and sync page printing behavior now. This patch
is trying to make both of them work correctly while priting a content document.

MozReview-Commit-ID: 2PHJToFlvtu

--HG--
extra : rebase_source : 9d2d7cf7330a157a0e5c6a414c75de94ca3fb5a1
extra : source : f61eb00f83acf45511d8448922212dccb12b05aa
2017-11-05 04:36:37 +08:00
cku 6f25ba1878 Bug 1399787 - Part 10. Make PrintTargetEMF use the PDFium process to convert to EMF. r=jwatt
We integrate PrintTargetEMF with the PDFium process to convert PDF into EMF in
this patch.

MozReview-Commit-ID: 5F0setrL94n

--HG--
extra : rebase_source : 1e52adbbe7502ca081c7029a15e4b3f486beb284
extra : source : 28f1671230fa70125e6971c9a287cb0658b89496
2017-11-05 03:06:04 +08:00
cku b203ed0d71 Bug 1399787 - Part 7. Have PrintTargetEMF launch the PDFium process. r=jwatt
MozReview-Commit-ID: CVfB81ifV2p

--HG--
extra : rebase_source : fab6e106934a657f05538891ebf0c1d3043a2b33
2017-11-29 17:15:31 +08:00
cku 2a5886a1b7 Bug 1399787 - Part 6. Implement the bulk of a new PrintTargetEMF. r=jwatt
A new subclass of PrintTarget.
1. It uses PrintTargetSkPDF to generate one PDF FileDescriptor for one page.
2. In a later patch, it then passes that FD to PDFium process for converting
   a PDF page to EMF contents.

Implementation of integration with PDFium actor is added the subsequent patches.

MozReview-Commit-ID: EcuBJHRW8Wk

--HG--
extra : rebase_source : 838d798161e112952b5e148bbece730159cd49ca
2017-11-05 02:05:25 +08:00
cku eefa6c8ea6 Bug 1399787 - Part 1. Fix namespacing and include issues hidden by unified compilation. r=jwatt
We will create several new files in the following patches for IPC and a new
subprocess. Several already existed files will be shifted into new build units,
we will meet several compile errors because of it.

This patch fixes those compile error in advance.

MozReview-Commit-ID: 5hd0sNYfBu0

--HG--
extra : rebase_source : d4cca529623586188ffebffd858f53188d12bb50
2017-10-06 22:01:22 +08:00
Kartikaya Gupta 0e9ffe73d2 Bug 1424280 - Update webrender to commit f9bc4a5c263e707e3498bea47d3ec9096cc3d099. r=jrmuizel
This includes the re-generated FFI header.

MozReview-Commit-ID: 6fvUNwu8ueT
2017-12-10 13:48:41 -05:00
Lee Salzman 6ac81c37ea Bug 1418447 - Limit Skia edge builder allocations. r=milan
MozReview-Commit-ID: 1SnxwtoYJJm
2017-11-21 16:55:20 -05:00
Andreea Pavel 5ba2665757 Merge inbound to mozilla-central r=merge a=merge 2017-12-09 22:21:17 +02:00
Daosheng Mu 7435a52362 Bug 1420940 - Part 2: Skip the VR task when running at other threads instead of canceling the task. r=dvander
MozReview-Commit-ID: 3axm3h7yMij
2017-12-09 14:48:56 +08:00
Gurzau Raul 0fcc1a37e6 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-12-09 00:57:59 +02:00
Gurzau Raul 91d3bc0100 Merge inbound to mozilla-central r=merge a=merge 2017-12-09 00:36:15 +02:00
Ryan Hunt 52aacbca78 Don't append to mDrawTargetsToFlush in Tiled OMTP (bug 1424172, r=bas)
MozReview-Commit-ID: GhlE3DXwKJi

--HG--
extra : rebase_source : 41a178a2cdce32e954841024f1075ee33081f475
extra : source : 0863e916742e8f4986db3b38b75b0b6ee2099d8f
2017-12-08 01:31:16 -06:00
Kartikaya Gupta a12a7cbac8 Bug 1423346 - Follow-up to regenerate FFI header file. r=me
The autogenerated header should have been updated with the change to bindings.rs
but was missed.

DONTBUILD because this is trivial and not worth wasting cycles over.

MozReview-Commit-ID: 1yf65mnftyW
2017-12-08 11:31:18 -05:00
Ryan Hunt 3a2625f069 Disable OMTP only if edge padding is enabled and tiling is also enabled (bug 1424325, r=bas)
MozReview-Commit-ID: K1B7kTCMDDt

--HG--
extra : rebase_source : 57fdd280117bbbe6d47a93b1fc241e5b7e2b48b6
2017-12-08 14:58:56 -06:00
Kearwood "Kip" Gilbert 8e218cb777 Bug 1384279 - Oculus Rift Core 2.0 Adjustments r=daoshengmu
- Add pref to enable the ovrInit_Invisible flag for Oculus sessions, enabled by default.
- Ensure that the Oculus library is unloaded every time it is uninitialized,
  improving reliability of exiting and returning to WebVR.

MozReview-Commit-ID: 6VCugCJ2dUz

--HG--
extra : rebase_source : c6002bbaab650a86a31f62b63029f13ce2c8f614
2017-12-07 15:27:03 -08:00
Gurzau Raul 15f8898e50 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-12-09 00:56:50 +02:00
Cosmin Sabou c191e25cf5 Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-12-08 11:56:44 +02:00
sotaro 05e371c3e3 Bug 1423795 - Set correct YUVColorSpace for video if possible r=nical 2017-12-08 11:58:53 +09:00
sotaro 22a064e2b7 Bug 1423524 - Fix YUVColorSpace of TSurfaceDescriptorDXGIYCbCr at GLBlitHelper::BlitImage() r=jgilbert 2017-12-08 11:50:42 +09:00
Eric Rahm 07c97a5afe Bug 1423773 - Part 1: Remove usage of nsStringGlue.h. r=glandium
This removes an unnecessary level of indirection by replacing all
nsStringGlue.h instances with just nsString.h.

--HG--
extra : rebase_source : 340989240af4018f3ebfd92826ae11b0cb46d019
2017-12-06 16:52:51 -08:00
Kartikaya Gupta c4f437fde7 Bug 1423982 - Only do the WR-based hit-test if WR is enabled. r=botond
MozReview-Commit-ID: DfkiZnrZP0I

--HG--
extra : rebase_source : 21a1d0ba8a6618c72395113e88b2988502eda33f
2017-12-07 15:04:31 -05:00
Kartikaya Gupta 14a9b3751e Bug 1423203 - Update webrender to commit 22f472f0adb02bd71c472e426e47182f2b218f6d. r=jrmuizel
MozReview-Commit-ID: JJK2le2vpeN

--HG--
extra : rebase_source : 677e4433eddb14fea5e0d9a978f28b57912d21f8
2017-12-08 13:43:37 -05:00
Sylvestre Ledru a9961096c0 Bug 1394734 - Simplify various corner cases r=glandium
MozReview-Commit-ID: 4s4JdXZPvmv

--HG--
extra : rebase_source : c8f663c99442d41db5f81ac5fe1aa1f47fd5ed82
2017-12-07 22:10:19 +01:00
Sylvestre Ledru 4591d82b23 Bug 1394734 - Replace CONFIG['CLANG*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: HbF5oT5HW6f

--HG--
extra : rebase_source : eca479b6ae4bff7f600d1cdb39e11ac2057e4e79
2017-12-07 22:09:38 +01:00
Sylvestre Ledru 5de63ef061 Bug 1394734 - Replace CONFIG['MSVC'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 5orfnoude7h

--HG--
extra : rebase_source : 1ed9a6b56e1d27221a07624767a7fb0e6147117f
2017-12-08 13:46:13 +01:00
Sylvestre Ledru 9bfe27d903 Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 7duJk2gSd4m

--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
Cosmin Sabou 79d933ec34 Backed out 22 changesets (bug 1399787) for shutdown leaks on windows 7 debug tc-M without e10s r=backout on a CLOSED TREE
Backed out changeset 463d676df5da (bug 1399787)
Backed out changeset fc9776a2605d (bug 1399787)
Backed out changeset 2e91a90dfbc3 (bug 1399787)
Backed out changeset e82ab72f71ee (bug 1399787)
Backed out changeset d7fef200e8b9 (bug 1399787)
Backed out changeset a7d70f7f3335 (bug 1399787)
Backed out changeset 2800f9d20d96 (bug 1399787)
Backed out changeset 9dfa404abf9d (bug 1399787)
Backed out changeset 09b3c172a01e (bug 1399787)
Backed out changeset f9fd3e750636 (bug 1399787)
Backed out changeset 01284c55bf8a (bug 1399787)
Backed out changeset c2ab1b454283 (bug 1399787)
Backed out changeset e7bfa51404c5 (bug 1399787)
Backed out changeset 3fd2a734f887 (bug 1399787)
Backed out changeset ef21f295db3f (bug 1399787)
Backed out changeset c186893ce0fc (bug 1399787)
Backed out changeset 323da3bddaaa (bug 1399787)
Backed out changeset 3b89f189edff (bug 1399787)
Backed out changeset a47bd86c35ee (bug 1399787)
Backed out changeset 558526301a4c (bug 1399787)
Backed out changeset baa99fb50ba9 (bug 1399787)
Backed out changeset 6d82ed0ba805 (bug 1399787)
2017-12-08 13:09:56 +02:00
Cosmin Sabou 9937354d94 Backed out changeset 497efe3a096b (bug 1406231) for windows build bustages on build\build\src\obj-firefox\dist\include\mozilla/layers/ScrollingLayersHelper.h(48) r=backout on a CLOSED TREE 2017-12-08 13:04:05 +02:00
Alexis Beingessner 90d0f66f33 Bug 1406231 - remove the TextLayer class, and all remaining traces of it. r=mattwoodrow
MozReview-Commit-ID: 5fmKfkO6hnO

--HG--
extra : rebase_source : 4749bff0a8d799f7a81d9f6e32e40e14b9f24191
2017-12-07 17:13:05 -05:00
Brindusan Cristian 5b9ee89503 Merge mozilla-central to autoland a=merge r=merge on a CLOSED TREE 2017-12-08 12:06:24 +02:00
cku 98fa10feb8 Bug 1399787 - Part 15. Detect and handle breakage of the IPC channel. r=jwatt
MozReview-Commit-ID: 6VfIbstJ6WN

--HG--
extra : rebase_source : a9cf90c846f9f7d054317fee7bd16980862ffcfc
extra : source : 761e68aef93e9f6b2d914c81c638db588dec6fe5
2017-11-06 22:12:31 +08:00
cku 73e02d24cc Bug 1399787 - Part 13. Handle AbortDocument. r=jwatt
While aborting conversion, we need to make sure there is no coversion task
executing in the PDFium process before destroying it.

MozReview-Commit-ID: 3Iqhe8KmYv2

--HG--
extra : rebase_source : c4597de6c13d35024090ec1e851ad1db5b790c7a
extra : source : 753ed705666fd4c55da456fb80604e4552d6bd52
2017-11-05 15:34:54 +08:00
cku 8d5d5ad437 Bug 1399787 - Part 11.a. Use PrintTargetEMF to print content documents. r=jwatt
Before we introduce PrintTargetEMF, all PrintTargets finish page printing task
before the end of PrintTarget::EndPage(). Unlike others, a page printing
in PrintTargetEMF is done after receiving an async callback from the pdfium
process. So we have both async and sync page printing behavior now. This patch
is trying to make both of them work correctly while priting a content document.

MozReview-Commit-ID: 2PHJToFlvtu

--HG--
extra : rebase_source : ee691497bd439c6505f1f92898a667a9e972fff3
extra : source : f61eb00f83acf45511d8448922212dccb12b05aa
2017-11-05 04:36:37 +08:00
cku 0ac62e2331 Bug 1399787 - Part 10. Make PrintTargetEMF use the PDFium process to convert to EMF. r=jwatt
We integrate PrintTargetEMF with the PDFium process to convert PDF into EMF in
this patch.

MozReview-Commit-ID: 5F0setrL94n

--HG--
extra : rebase_source : 3dfc6ce64f4cdc7d5d7e95d1f064d956af909a26
extra : source : 28f1671230fa70125e6971c9a287cb0658b89496
2017-11-05 03:06:04 +08:00
cku 6fc6c63d6d Bug 1399787 - Part 7. Have PrintTargetEMF launch the PDFium process. r=jwatt
MozReview-Commit-ID: CVfB81ifV2p

--HG--
extra : rebase_source : 64aae1ffdd9a6dc109192a28e0350b72aa0e54b2
2017-11-29 17:15:31 +08:00
cku 5f60bfad5a Bug 1399787 - Part 6. Implement the bulk of a new PrintTargetEMF. r=jwatt
A new subclass of PrintTarget.
1. It uses PrintTargetSkPDF to generate one PDF FileDescriptor for one page.
2. In a later patch, it then passes that FD to PDFium process for converting
   a PDF page to EMF contents.

Implementation of integration with PDFium actor is added the subsequent patches.

MozReview-Commit-ID: EcuBJHRW8Wk

--HG--
extra : rebase_source : 459089204c023282a699bfd87b4db5b1783db98d
2017-11-05 02:05:25 +08:00
cku be80632ef9 Bug 1399787 - Part 1. Fix namespacing and include issues hidden by unified compilation. r=jwatt
We will create several new files in the following patches for IPC and a new
subprocess. Several already existed files will be shifted into new build units,
we will meet several compile errors because of it.

This patch fixes those compile error in advance.

MozReview-Commit-ID: 5hd0sNYfBu0

--HG--
extra : rebase_source : 0d85c823e4ead4f09175f2cc83df811b2b4081ec
2017-10-06 22:01:22 +08:00
Daosheng Mu 9c7a773916 Bug 1423866 - Shutdown the vibrate thread when VR controllers are removed; r=kip
MozReview-Commit-ID: IWvokDVH0x3

--HG--
extra : rebase_source : cb96d20552cbc2cb827edd57e0de0e1ce247f8be
2017-12-07 19:20:49 +08:00
shindli 76ee711dab Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-12-08 00:24:48 +02:00
Bas Schouten 6050c91090 Bug 1422475: Create FilterNodes on the paint thread when using Direct2D. r=dvander
MozReview-Commit-ID: tt9pRshj6i
2017-12-07 03:21:49 +01:00
sotaro 2063225117 Bug 1423806 - Enable IMFYCbCrImage with WebRender r=mattwoodrow 2017-12-07 22:15:34 +09:00
sotaro b5f9b3b90d Bug 1423807 - Enable D3D11TextureData in TextureClient::CreateFromSurface() with WebRender r=nical 2017-12-07 20:17:07 +09:00
Bogdan Tara 8e9610529d Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-12-07 13:02:03 +02:00
Bogdan Tara cbd802ee7d Merge inbound to mozilla central r=merge a=merge 2017-12-07 12:53:20 +02:00
Alexis Beingessner 6917337349 Bug 1423346 - make wr use better texture upload strategies. r=jrmuizel
If ANGLE is used, we favour Immediate texture upload. Otherwise we
favour Dynamic. Previously, we were using the default of Stream.

MozReview-Commit-ID: LXDKxnmjp6O
2017-12-06 15:07:16 -05:00
Milan Sreckovic e9ad31bdf1 Bug 1423919: Additional methods for BaseRect for convinient modifications/testing of the member variable values. Force inline some commonly used methods. r=milan.schouten
MozReview-Commit-ID: 8zALRpsKLXx

--HG--
extra : rebase_source : ac6e88124c924c65cb79b3a97da0a90fedaa1689
2017-12-07 14:14:04 -05:00
Bogdan Tara e882c9b394 Backed out 22 changesets (bug 1399787) for failing on mozmake.EXE r=backout a=backout on a CLOSED TREE
Backed out changeset 0afbd07d8219 (bug 1399787)
Backed out changeset 80c062fd58fb (bug 1399787)
Backed out changeset b1457eabd34e (bug 1399787)
Backed out changeset d875e45f591e (bug 1399787)
Backed out changeset 8f600ac930ec (bug 1399787)
Backed out changeset c478fb75f5cb (bug 1399787)
Backed out changeset c995f4e18724 (bug 1399787)
Backed out changeset 0b75ef19e695 (bug 1399787)
Backed out changeset 2382a348a6c1 (bug 1399787)
Backed out changeset 93f9a5e253d8 (bug 1399787)
Backed out changeset 5c50bbde0950 (bug 1399787)
Backed out changeset 67e530c129c7 (bug 1399787)
Backed out changeset 682c60e52749 (bug 1399787)
Backed out changeset ff1436ae1ef7 (bug 1399787)
Backed out changeset cb3ae1dc20b2 (bug 1399787)
Backed out changeset bc52b1781641 (bug 1399787)
Backed out changeset d165846cb5e1 (bug 1399787)
Backed out changeset 185368267354 (bug 1399787)
Backed out changeset c385d0f60f8a (bug 1399787)
Backed out changeset 364b5b44932b (bug 1399787)
Backed out changeset 98758e79710d (bug 1399787)
Backed out changeset d56497aa5390 (bug 1399787)
2017-12-07 19:16:08 +02:00
Sebastian Hengst b485da50e4 Backed out changeset 5f90362bbc80 (bug 1422368) for Windows static bustage (unresolved externals). r=backout 2017-12-06 20:20:54 +02:00
David Major d68fefde32 Bug 1422368 - Work around a clang-cl complilation bug in yuv_row_win.cpp harder. r=jrmuizel 2017-12-06 12:24:53 -05:00
James Willcox 504cd255d1 Bug 1421313 - Remove TexturePoolOGL r=jgilbert
MozReview-Commit-ID: ADjiygVoHg3
2017-12-06 10:13:34 -06:00
James Willcox 4cf9ce3ec9 Back out bug 1421313 because of build breakage on a CLOSED TREE r=me
MozReview-Commit-ID: HhNuCAUDU59
2017-12-06 09:53:13 -06:00
James Willcox 06d689e11c Bug 1421313 - Remove TexturePoolOGL r=nical
MozReview-Commit-ID: ADjiygVoHg3
2017-12-06 09:41:08 -06:00
David Major 1bb3a226c5 Bug 1422368 - Work around a clang-cl complilation bug in yuv_row_win.cpp harder. r=jrmuizel
--HG--
extra : histedit_source : f55f9b6a92b88d72a83bf0e2f0da973f445aa47a
2017-12-06 12:24:53 -05:00
cku 4b646fbaf3 Bug 1399787 - Part 15. Detect and handle breakage of the IPC channel. r=jwatt
MozReview-Commit-ID: 6VfIbstJ6WN

--HG--
extra : rebase_source : eb18bc02261f27043e04ad3e02ad7eab7fc8b59b
extra : source : 761e68aef93e9f6b2d914c81c638db588dec6fe5
2017-11-06 22:12:31 +08:00
cku b76d64f617 Bug 1399787 - Part 13. Handle AbortDocument. r=jwatt
While aborting conversion, we need to make sure there is no coversion task
executing in the PDFium process before destroying it.

MozReview-Commit-ID: 3Iqhe8KmYv2

--HG--
extra : rebase_source : b82fe3b7231d9c4a171d6a19cd22c0c7ff47b4bf
extra : source : 753ed705666fd4c55da456fb80604e4552d6bd52
2017-11-05 15:34:54 +08:00
cku bfe3b297fb Bug 1399787 - Part 11.a. Use PrintTargetEMF to print content documents. r=jwatt
Before we introduce PrintTargetEMF, all PrintTargets finish page printing task
before the end of PrintTarget::EndPage(). Unlike others, a page printing
in PrintTargetEMF is done after receiving an async callback from the pdfium
process. So we have both async and sync page printing behavior now. This patch
is trying to make both of them work correctly while priting a content document.

MozReview-Commit-ID: 2PHJToFlvtu

--HG--
extra : rebase_source : 3531dd6a100e9518d8cb9904326250a8318cdad2
extra : source : f61eb00f83acf45511d8448922212dccb12b05aa
2017-11-05 04:36:37 +08:00
cku 0088c161b3 Bug 1399787 - Part 10. Make PrintTargetEMF use the PDFium process to convert to EMF. r=jwatt
We integrate PrintTargetEMF with the PDFium process to convert PDF into EMF in
this patch.

MozReview-Commit-ID: 5F0setrL94n

--HG--
extra : rebase_source : 576e077f804785da20923620d9c4e3041936e835
extra : source : 28f1671230fa70125e6971c9a287cb0658b89496
2017-11-05 03:06:04 +08:00
cku 2615f0ab34 Bug 1399787 - Part 7. Have PrintTargetEMF launch the PDFium process. r=jwatt
MozReview-Commit-ID: CVfB81ifV2p

--HG--
extra : rebase_source : 88725db5962ce59282fc3df298f3224446c9e086
2017-11-29 17:15:31 +08:00
cku 2755ec8823 Bug 1399787 - Part 6. Implement the bulk of a new PrintTargetEMF. r=jwatt
A new subclass of PrintTarget.
1. It uses PrintTargetSkPDF to generate one PDF FileDescriptor for one page.
2. In a later patch, it then passes that FD to PDFium process for converting
   a PDF page to EMF contents.

Implementation of integration with PDFium actor is added the subsequent patches.

MozReview-Commit-ID: EcuBJHRW8Wk

--HG--
extra : rebase_source : f977e6863b9f2ee961648ddaf13f5e30a3659410
2017-11-05 02:05:25 +08:00
cku 86f919fdad Bug 1399787 - Part 1. Fix namespacing and include issues hidden by unified compilation. r=jwatt
We will create several new files in the following patches for IPC and a new
subprocess. Several already existed files will be shifted into new build units,
we will meet several compile errors because of it.

This patch fixes those compile error in advance.

MozReview-Commit-ID: 5hd0sNYfBu0

--HG--
extra : rebase_source : b6b8b069f8f2167ef87266ba9c95e8fe53cca6f6
2017-10-06 22:01:22 +08:00
Masatoshi Kimura f6959223e5 Bug 1423742 - Stop using Encoding::ForName in gfxFontUtils. r=jfkthame
MozReview-Commit-ID: EBHo01D6we8

--HG--
extra : rebase_source : 2af3a42ba246204464248448d36e7c679e3c4a59
2017-12-07 06:21:59 +09:00
Kartikaya Gupta d3646ab324 Bug 1423669 - Make WebRenderAPI refcounting threadsafe for use on the APZ controller thread. r=sotaro
MozReview-Commit-ID: 4VUQz48QT9t

--HG--
extra : rebase_source : 43dc64fcfbd73a31aa0b13dba9140295dc72f9cb
2017-12-06 13:36:58 -05:00
Tiberius Oros be4fc858c5 Merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-12-06 12:35:04 +02:00
Gurzau Raul f5f1c3f294 Merge inbound to mozilla-central r=merge a=merge 2017-12-06 11:53:55 +02:00
Lee Salzman 6dc1932292 Bug 1394570 - request synthetic bold for Mac fonts with WR. r=gankro
MozReview-Commit-ID: JAmWZM9SOe0
2017-12-05 22:18:53 -05:00
Kartikaya Gupta 0e8b7ffc89 Bug 1423205 - Fix typo causing leaks to be reported. r=jerry
MozReview-Commit-ID: 8wJNEwFEur0

--HG--
extra : rebase_source : 84def2f9a958a97bc876eda6bacd494a80ac0aba
2017-12-05 11:27:27 -05:00
peter chang f735c3d7f1 Bug 1418791 - Ensure mSnapshot access is protected by mutex, r=dvander
MozReview-Commit-ID: 3NPzv6VftxZ

--HG--
extra : rebase_source : 2af00974d4de8d0cc15a326520111c32c4437b54
2017-12-05 15:35:16 +08:00
Cosmin Sabou 08218515b9 Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-12-06 00:09:01 +02:00
Kartikaya Gupta 5607b0af94 Bug 1422317 - Update webrender to commit b7714b1d4348c00682b5643ea0e3f0b15adaeda5. r=jrmuizel
MozReview-Commit-ID: BuZtMenOwqd

--HG--
extra : rebase_source : 9f56e78c6e9309074f258acc319bb48a95e94c20
2017-12-05 11:51:33 -05:00
Noemi Erli 47b9c00fdc Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-12-05 15:52:10 +02:00
shindli 2e08acdf88 Merge inbound to mozilla-central r=merge a=merge 2017-12-05 11:58:51 +02:00
Bogdan Tara 28f65f2044 Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-12-04 22:47:53 +02:00
Jeff Muizelaar 644c528356 Bug 1422466. Drop a copy from TextDrawTarget::FillGlyphs. r=Gankro
We try hard to ensure that the glyph buffers are of the same type.
2017-12-04 13:01:55 -05:00
Mike Shal 29e2f8c259 Bug 1319222 - Change --param flag to be multiple arguments; r=chmanchester
This flag should be two parameters, the first of which is '--param', and
the second is the parameter, such as 'inline-unit-growth=10000'. The
recursive make backend lets this slide at the moment because
PerSourceFlags aren't shell_quoted() there.

MozReview-Commit-ID: 8vblYqCGxwg

--HG--
extra : rebase_source : b3fb7fd78e1deec27c3ceb2bcc706e2e3e201e9e
2017-11-22 14:50:24 -05:00
Noemi Erli 449829ebb2 Merge mozilla-central to mozilla-autoland. r=merge a=merge 2017-12-05 16:31:06 +02:00
Bas Schouten d3659cd140 Bug 1422169: Have the D3D11TextureData destructor defer releasing the last reference to its DrawTarget to the paint thread. r=dvander
MozReview-Commit-ID: Dmzu5Nnpx9g
2017-12-01 17:04:46 +01:00
Daosheng Mu ceb0da875a Bug 1420940 - Separate dispatching VR events to an individual scope to avoid deadlock. r=dvander, r=kip
MozReview-Commit-ID: 7tpzUDNoShw
2017-12-03 13:19:33 -05:00
Ryan VanderMeulen 424e4364dd Bug 1422898 - Update Harfbuzz to 1.7.2. r=jfkthame 2017-12-05 07:44:54 -05:00
David Major c6c7ce4333 Bug 1422368 - Work around a clang-cl bug in yuv_row_win.cpp. r=jrmuizel 2017-12-01 16:46:21 -05:00
Jonathan Kew d78445777f Bug 1418818 - Allow downloadable fonts to include CBLC/CBDT tables on platforms where we're using Freetype. r=jrmuizel 2017-12-01 15:18:09 +00:00
Jonathan Kew 3b01ad4cc3 Bug 1421964 - Remove residual traces of the old fontconfig backend, no longer in the tree. r=jrmuizel 2017-12-01 15:18:07 +00:00
Andrew Osmond cc5c98e1d3 Bug 1420648 - Ensure WebRender computes the snapped image decode size the same as the fallback path. r=tnikkel 2017-12-01 07:18:53 -05:00
Andrew Osmond a3a7832363 Bug 1419912 - Part 1. Add/use surface invalidation counter to track changes in SourceSurfaceSharedData. r=me 2017-12-01 06:59:21 -05:00
Gurzau Raul 1c0a590e09 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-12-01 13:00:44 +02:00
Gurzau Raul 0b613c3887 Merge inbound to mozilla-central r=merge a=merge 2017-12-01 12:56:06 +02:00
Sebastian Hengst 5e55af8f82 merge mozilla-central to autoland. r=merge a=merge 2017-12-01 01:30:16 +02:00
Sebastian Hengst 7cbd9c3050 merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-12-01 01:25:54 +02:00
Brindusan Cristian 6a74eec204 Merge inbound to mozilla-central r=merge a=merge 2017-12-01 00:22:25 +02:00
Jeff Muizelaar fd288de282 Bug 1379680. Move the displaylist ByteBuf into a Vec instead of copying. r=kats
This eliminates a copy of the displaylist on the compositor thread.
2017-11-30 15:12:14 -05:00
Jeff Muizelaar b084a22343 Bug 1422157. Remove some unused members from AzureState. r=jrmuizel
--HG--
extra : rebase_source : 175119d7aac6b5d1c0b8358f07f7572e43d483f8
2017-11-30 17:47:43 -05:00
sotaro 78b2129696 Bug 1416533 - Skip to generate frame if there is no update r=nical,kats 2017-11-30 21:38:47 +09:00
sotaro 5988aed34a Bug 1421939 - Fix RenderDXGIYCbCrTextureHostOGL::GetSize() r=nical 2017-11-30 21:30:35 +09:00
Jeff Muizelaar f303d56ec5 Bug 1406507 - Use an ipc::ByteBuf instead of ByteBuffer to send the DisplayList instead of a ByteBuffer. r=kats
DONTBUILD because this is a backout/reland to make sure the code is associated
with the right bug.

MozReview-Commit-ID: GPQABR9ONld
2017-11-30 07:16:21 -05:00
Kartikaya Gupta 29e86552c5 Bug 1379680 - Revert changes that were accidentally landed as part the wrong bug. r=me
MozReview-Commit-ID: HUreLLz3uKI
2017-11-30 07:12:18 -05:00
Margareta Eliza Balazs 8f1ff0908b Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-30 12:56:57 +02:00
shindli c040137399 Merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-30 12:01:52 +02:00
Jeff Muizelaar 524b31d2ff Bug 1421860. Remove unused gfxContext::SetSource.
This removes some state from AzureState which will
make gfxContext creation and save()/restore() cheaper
2017-11-29 23:51:52 -05:00
Bogdan Tara df97c78dbf Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-11-30 01:10:06 +02:00
Bogdan Tara d8635b15e4 Merge inbound to mozilla-central r=merge a=merge on a CLOSED TREE 2017-11-30 00:41:09 +02:00
Jeff Muizelaar fba16646be Bug 1379680. Add an ipc ByteBuf type. r=billm
This adds a ByteBuf type that can be sent by taking
ownership of its buffer instead of having to make a copy.
2017-11-29 10:11:15 -05:00
Marco Castelluccio cb53260706 Bug 1418255 - Disable Moz2D.JobScheduler_Shutdown GTest in Windows coverage builds. r=jrmuizel
--HG--
extra : rebase_source : 0fc0c8bccd02a028093578f21dd5c8ab0e10f35e
2017-11-18 00:35:59 +01:00
Dorel Luca f622b80073 Merge mozilla-central to mozilla-inbound r=merge 2017-11-29 12:34:02 +02:00
Dorel Luca be78e6ea9b Merge inbound to mozilla-central r=merge a=merge 2017-11-29 12:26:15 +02:00
Timothy Nikkel 9468c9b03a Bug 1421191. In ConvolutionFilter::ComputeResizeFilter calculate the src pixel every loop iteration. r=lsalzman
If we try to be clever and increment by invScale then floating point inaccuracies can accumulate leaving srcPixel far off from where it should be.
2017-11-29 02:22:53 -06:00
sotaro 5c61ce035d Bug 1421199 - Use EGL_EXPERIMENTAL_PRESENT_PATH_FAST_ANGLE for WebRender r=jgilbert 2017-11-29 13:13:40 +09:00
Csoregi Natalia 8a2bcaea6d Backed out 5 changesets (bug 1420674) for Build Bustage. r=backout on a CLOSED TREE
Backed out changeset 89e84473d524 (bug 1420674)
Backed out changeset 22e1aa958dd2 (bug 1420674)
Backed out changeset 7f416f3bbacd (bug 1420674)
Backed out changeset 5af1da25ee57 (bug 1420674)
Backed out changeset eeb25dc98529 (bug 1420674)
2017-11-29 06:03:31 +02:00
David Anderson ce6acee07d Add high-res tiling support to Advanced Layers. (bug 1420674 part 5, r=mattwoodrow) 2017-11-28 18:34:59 -08:00
David Anderson 6bfb90d614 Override PaintedLayerMLGPU::AssignToView in preparation for supporting TiledContentHost. (bug 1420674 part 4, r=mattwoodrow) 2017-11-28 18:34:59 -08:00
David Anderson 49c3410c44 Use TextureSourceProvider instead of Compositor in TiledContentHost. (bug 1420674 part 3, r=mattwoodrow) 2017-11-28 18:34:58 -08:00
David Anderson cf981e7ff0 Fix ComponentAlphaPass for painted layers with multiple textures. (bug 1420674 part 2, r=rhunt). 2017-11-28 18:34:58 -08:00
David Anderson af51bf9ed7 Don't hardcode ContentHostTexture in PaintedLayerMLGPU. (bug 1420674 part 1, r=rhunt) 2017-11-28 18:34:58 -08:00
Jeff Gilbert 6c3abcde6a Bug 1390386 - Use uintptr for the thread-local. - r=daoshengmu
We're just doing a value comparison, so there's no reason this needs to be a pointer.

MozReview-Commit-ID: 6ck2s2fsdq5
2017-11-28 17:13:45 -08:00
Jeff Gilbert 4ff360b4cd Bug 1390386 - Allow null EGLSurfaces. - r=daoshengmu
MozReview-Commit-ID: 4dnmJ9H3RGJ
2017-11-28 17:13:35 -08:00
Jeff Gilbert fc61254cca Bug 1390386 - fGetError should use BEFORE_GL_CALL. - r=jrmuizel
MozReview-Commit-ID: B8sR38Bzjb5
2017-11-28 17:13:26 -08:00
Jeff Gilbert ea479cbf60 Bug 1390386 - Remove duplicate IsCurrent checks in MakeCurrentImpls. - r=jrmuizel
MozReview-Commit-ID: LZeLbciWnic
2017-11-28 17:13:17 -08:00
Jeff Gilbert fbf8b4797b Bug 1390386 - IsCurrent should understand mImplicitMakeCurrent. - r=jrmuizel
MozReview-Commit-ID: 7vMRUPMc3nN
2017-11-28 17:13:07 -08:00
Jeff Gilbert 2bc1cf06c1 Bug 1390386 - Remove old TLS current-context check. - r=daoshengmu
MozReview-Commit-ID: 18GSNztjkTM
2017-11-28 17:12:58 -08:00
Jeff Gilbert 41f0a05667 Bug 1390386 - Add GLContext::mImplicitMakeCurrent. - r=jrmuizel
MozReview-Commit-ID: 5iyGHNzoCpd
2017-11-28 17:12:48 -08:00
Jeff Gilbert 9c2ba78435 Bug 1390386 - Make MakeCurrent const. - r=daoshengmu
MozReview-Commit-ID: 3m3T6iMgZOc
2017-11-28 17:12:39 -08:00
Tiberius Oros 18ea9ecad9 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE
--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-618078-network-exceptions.html => devtools/client/webconsole/new-console-output/test/mochitest/test-network-exceptions.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug1092055_shouldwarn.html => devtools/client/webconsole/new-console-output/test/mochitest/test-subresource-security-error.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug1092055_shouldwarn.js => devtools/client/webconsole/new-console-output/test/mochitest/test-subresource-security-error.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug1092055_shouldwarn.js^headers^ => devtools/client/webconsole/new-console-output/test/mochitest/test-subresource-security-error.js^headers^
extra : rebase_source : e126b0ab427161de0acd67cdfb9a1434415412dc
2017-11-29 02:25:59 +02:00
Kartikaya Gupta d3c9541764 Bug 1420163 - Update for API change in WR PR 2105. r=jrmuizel
MozReview-Commit-ID: AYTN74RZfTQ

--HG--
extra : rebase_source : 281699cfe536e6d2adb18f2fafa2e4d7a592f8ce
2017-11-28 09:40:32 -05:00
Kartikaya Gupta de3cbeca0a Bug 1420163 - Update webrender to commit e30886d78c91bdd433fd978a39c511ef9416608e. r=jrmuizel
MozReview-Commit-ID: 1HI5MrCCdn4

--HG--
extra : rebase_source : d2ec8a1adbbe075636b73467a87a5769ebfd0ff7
2017-11-28 09:40:01 -05:00
Ethan Lin 24e38c2bb3 Bug 1421196 - Set default draw target to basic layer manager so that we won't have different backend. r=kats
MozReview-Commit-ID: IWzzPvAcwQ5

--HG--
extra : rebase_source : 28359fdfca721b29a93de5d0cc88d1c5ecc59a06
2017-11-28 17:25:49 +08:00
Cosmin Sabou 7d7b59dd0b Backed out changeset 423f4e43a975 (bug 1417751) for xpcshell failures at devtools/shared/tests/unit/test_css-properties-db.js r=backout on a CLOSED TREE 2017-11-28 13:50:59 +02:00
Bogdan Tara a14227d83a Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-11-30 01:08:24 +02:00
Jean-Yves Avenard 4fd0cbda6e Bug 1421187 - P3. Optimize pixels data copy and remove extra loop. r=mattwoodrow
There's no need to perform the format test within the loop, so we can separate the different cases as needed.
Also copy the entire pixel data in one go, by using C types.

The skip value definition doesn't specify if it's in bytes, or in "pixels". We will assume the later. There are currently no decoders returning HDR content with a skip value different than zero anyway.

MozReview-Commit-ID: KTwYuNKJq3R

--HG--
extra : rebase_source : 3f1989c37ebdab6a60605815a961eda7286c423c
2017-11-28 16:29:49 +01:00
Jean-Yves Avenard 5166929d97 Bug 1421187 - P2. Properly set bytesPerPixel in MappedYCbCrTextureData. r=mattwoodrow
MozReview-Commit-ID: 891mPTv2Npj

--HG--
extra : rebase_source : 774360db3b03d8e57f5563cce2eb79421e17cd14
2017-11-28 15:53:54 +01:00
Jean-Yves Avenard f61bc130f1 Bug 1421187 - P1. Don't use fast path copy when CbCr channel interleaved. r=mattwoodrow
MozReview-Commit-ID: 6lZVoIiViEn

--HG--
extra : rebase_source : 4f056ffed386a6c3b921ab38aba14e1892b68142
2017-11-28 14:53:16 +01:00
Dorel Luca 79499f4044 Merge mozilla-central to autoland r=merge on a CLOSED TREE 2017-11-29 12:31:25 +02:00
Jean-Yves Avenard 424a8ff8a0 Bug 1417973 - Always use the AMD GPU decoder. r=mattwoodrow
High resolution, high framerate was disabled by default on old AMD cards on the provisio that it was bad. But this assumes that the CPU decoder could do it better.
This assumption appears fragile at best, as CPU with those old adapter are likely to be old and underpower to start with.

Chrome doesn't appear to restrict use of those cards to a given resolution.
So we disable this restriction, while making it user configurable.

MozReview-Commit-ID: HhADHNR0FdJ

--HG--
extra : rebase_source : ece39cd9b84c6e372d1002ee12e72523cee3d04d
2017-11-22 20:58:09 +01:00
Mark Banner 099e4fa549 Bug 1421458 - Add more initial configuration setup and prepare .eslintignore for enabling ESLint on more xpcshell-test directories. r=mossop
MozReview-Commit-ID: 4nbTuNNnAdZ

--HG--
extra : rebase_source : 7131f0ddad79d28615a5799c657972bd84a69180
2017-11-28 22:57:08 +00:00
Bas Schouten e83999bf32 Bug 1416862: Reverse DrawTargetSkia snapshot ownership model r=dvander
MozReview-Commit-ID: 3hpeYteEPlA
2017-12-06 04:59:19 +01:00
Bas Schouten 8d886455b3 Bug 1423281: Store the userdata for freeing our memory on the longer living snapshot. r=dvander
MozReview-Commit-ID: 91tVpJC7gAe
2017-12-06 04:59:18 +01:00
Botond Ballo a563c786cd Bug 1422070 - Introduce and use a PanZoomState for scrollbar dragging. r=kats
MozReview-Commit-ID: 7bOWVKlW0lr

--HG--
extra : rebase_source : d437f1940f6b0ee09b4d89cbf6429a213fe0639a
2017-12-04 13:47:36 -05:00
David Anderson 9b858fefcd Add high-res tiling support to Advanced Layers. (bug 1420674 part 5, r=mattwoodrow)
--HG--
extra : rebase_source : b5448c63830ce9e09c0602262f7664ce363e53c0
2017-11-29 21:12:26 -08:00