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

26015 Коммитов

Автор SHA1 Сообщение Дата
sotaro 12f8ed1f22 Bug 1360701 - Remove sync wait during removing pipeline r=nical 2017-05-16 17:28:20 -07:00
Jeff Muizelaar f9396fc921 Bug 1364241. Handle empty transactions by keeping around the blob data. r=mchang
This just wasn't implemented before.
2017-05-16 15:34:07 -04:00
Kartikaya Gupta 77fae9e5d6 Merge m-c to graphics
MozReview-Commit-ID: 6TxOtFjEGyY
2017-05-16 09:16:28 -04:00
Andrew Osmond 7539a95cae Bug 1365009 - Only discard images and compositor animations if GPU process is still available. r=sotaro 2017-05-16 07:08:19 -04:00
sotaro 3121f12bfb Bug 1364302 - Fix HoldExternalImage() handling r=nical 2017-05-15 22:18:54 -07:00
Kartikaya Gupta fc0b73bcdf Bug 1363683 - Update webrender to cset 7f37799d63ed80a07675ad599526290843394c99. r=jrmuizel
In addition to updating gfx/webrender and gfx/webrender_traits, this patch:
- Updates the webrender_bindings Cargo.toml file for version bumps
- Updates the Cargo.lock files and revendors the third-party rust dependecies
- Updates the webrender bindings for a change in the display list construction
  and finalization API in WR csets 425155a and 1eb84eb.
  We now have to pass around a content size parameter to construct a display list,
  and we get back a content size from finalizing the display list. Since we pass
  the finalization results over IPC to WebRenderBridgeParent, we need to update
  the IPDL as well to pass this around.
- Updates the webrender bindings for a change to scroll_node_with_id in WR cset
  48a098f.
- Updates the webrender bindings for a change to push_text in WR cset 3287c15.
2017-05-15 15:13:31 -04:00
Kartikaya Gupta 35374ded53 Merge m-c to graphics
MozReview-Commit-ID: BYH3uvvu4jz
2017-05-15 09:36:37 -04:00
Andrew Osmond 5317ca1f27 Bug 1362839 - Handle GPU resets more gracefully. r=sotaro 2017-05-15 08:23:30 -04:00
Kartikaya Gupta 7accd1c409 Bug 1361497 - Follow-up to fix unified build bustage on Windows. r=bustage
MozReview-Commit-ID: 17o1RJVbmiT
2017-05-12 14:27:57 -04:00
Kartikaya Gupta 779cfe70bd Bug 1361497 - Add a mechanism to push the async scroll data from APZ to WR. r=jrmuizel,botond
This is the WR equivalent (but stripped down to the basics) of the code
in AsyncCompositionManager that advances APZ animations and applies the
async transform to the layer's shadow transform. Currently this doesn't
do anything fancy with the extra scrolling clips, or moving scrollbars,
etc.

MozReview-Commit-ID: BwbNRNHAc6G
2017-05-12 13:58:20 -04:00
Kartikaya Gupta a5c9d69f63 Bug 1361497 - Refactoring to simplify getting the root CompositorBridgeParent and APZCTreeManager. r=jrmuizel
This allows for some code reuse in upcoming patches where we need to get
a hold of the APZCTreeManager.

MozReview-Commit-ID: 8oGiGH07fnF
2017-05-12 13:58:17 -04:00
Kartikaya Gupta 3ba2f96414 Bug 1361497 - Push scrolling clips for scrollable layers in the layer tree. r=jrmuizel
This adds an RAII helper and uses it in RenderLayer functions. When APZ
is enabled, the RAII helper pushes a scrolling clip for each scrollable
metrics on the layer. It also pops off the scrolling clips on
destruction. Note that this should happen before any other things are
pushed into the WR display list for the rendering of a layer, since
those things should be subjected to the enclosing scrolling clips.
If APZ is disabled, this skips pushing the scrolling clips.

MozReview-Commit-ID: 1qv9egKbbok
2017-05-12 13:58:15 -04:00
Kartikaya Gupta d6bf025959 Bug 1361497 - Override AsyncPanZoomEnabled() in WebRenderLayerManager. r=jrmuizel
MozReview-Commit-ID: GlYIRN1Gjw3
2017-05-12 13:58:12 -04:00
Kartikaya Gupta 25fc029efd Bug 1361497 - Clean up the WR APIs for pushing scrolling clips vs non-scrolling clips. r=jrmuizel
The clips in WR do double-duty - they can be either scrolling clips or
non-scrolling clips. From gecko's point of view we want to treat them
separately so this updates the WebRenderAPI wrapper to expose two
different APIs for the two types of clips.

MozReview-Commit-ID: 3SLWkAq7Uxd
2017-05-12 13:58:09 -04:00
Kartikaya Gupta 85ce3b9a88 Merge m-c to graphics
MozReview-Commit-ID: LHvR5izGDcT
2017-05-12 10:20:09 -04:00
Carsten "Tomcat" Book 7a4eb50360 merge mozilla-inbound to mozilla-central a=merge 2017-05-12 14:36:44 +02:00
Morris Tseng cef7414265 Bug 1344082 - Create webrender commands for nsDisplayTableBorderCollapse. r=mstange
Gecko only draw one line for each collapsed border. In order to draw
only one line border in webrender, I create normal border webrender
command but only show top side of border for inline direction and left
side for block direction.

MozReview-Commit-ID: 7QChXuzVbg7
2017-05-12 09:39:01 +08:00
Kartikaya Gupta 5068b9bf11 Bug 1364214 - Convert some tabs to spaces. r=me and DONTBUILD
MozReview-Commit-ID: IWn11Ev1j4J
2017-05-11 17:21:11 -04:00
Kartikaya Gupta f262a4e6db Merge m-c to graphics
MozReview-Commit-ID: 2okRQxtQnFa
2017-05-11 07:47:25 -04:00
vincentliu 3d037c531f Bug 1363675 - Get D3D11Device from TextureSourceProvider if it exists. r=dvander 2017-05-12 14:09:53 +08:00
Kartikaya Gupta a4a58a3748 Merge m-c to graphics
MozReview-Commit-ID: Ax2mJsUs80t
2017-05-10 11:21:46 -04:00
Carsten "Tomcat" Book d66b9f27d5 merge mozilla-inbound to mozilla-central a=merge 2017-05-10 15:07:28 +02:00
Lee Salzman 8c18901f07 Bug 1340627 - part 8 - reftest fuzzing for update to Skia m59. r=mchang
MozReview-Commit-ID: LN29P1I4EsW
2017-05-09 22:31:07 -04:00
Lee Salzman 9e92454bc6 Bug 1340627 - part 6 - fix layers for Skia m59. r=mchang
MozReview-Commit-ID: 6pAV6FKDFQ4
2017-05-09 22:31:07 -04:00
Lee Salzman db313c8c40 Bug 1340627 - part 5 - fix SkiaGL glue for Skia m59. r=mchang
MozReview-Commit-ID: LelzAgAdWb7
2017-05-09 22:31:07 -04:00
Lee Salzman 5587d89b74 Bug 1340627 - part 4 - fix thebes for Skia m59. r=mchang
MozReview-Commit-ID: JDlSyKeT389
2017-05-09 22:31:07 -04:00
Lee Salzman ec8d1a9a71 Bug 1340627 - part 3 - fix Moz2d for Skia m59. r=mchang
MozReview-Commit-ID: 1fugjwSpOMZ
2017-05-09 22:31:07 -04:00
Lee Salzman 3bbca77ed4 Bug 1340627 - part 2 - update moz.build for Skia m59. r=jrmuizel
MozReview-Commit-ID: KdPvBio96Cw
2017-05-09 22:31:06 -04:00
Lee Salzman b4227baa51 Bug 1340627 - part 1 - update Skia source to m59. r=mchang
--HG--
rename : gfx/skia/skia/src/gpu/glsl/GrGLSL_impl.h => gfx/skia/skia/include/private/GrGLSL_impl.h
rename : gfx/skia/skia/src/core/SkMessageBus.h => gfx/skia/skia/include/private/SkMessageBus.h
rename : gfx/skia/skia/include/core/SkBlitRow.h => gfx/skia/skia/src/core/SkBlitRow.h
rename : gfx/skia/skia/include/effects/SkGaussianEdgeShader.h => gfx/skia/skia/src/effects/SkGaussianEdgeShader.h
rename : gfx/skia/skia/src/gpu/batches/GrAAConvexPathRenderer.h => gfx/skia/skia/src/gpu/ops/GrAAConvexPathRenderer.h
rename : gfx/skia/skia/src/gpu/batches/GrAAConvexTessellator.h => gfx/skia/skia/src/gpu/ops/GrAAConvexTessellator.h
rename : gfx/skia/skia/src/gpu/batches/GrAAHairLinePathRenderer.h => gfx/skia/skia/src/gpu/ops/GrAAHairLinePathRenderer.h
rename : gfx/skia/skia/src/gpu/batches/GrAALinearizingConvexPathRenderer.h => gfx/skia/skia/src/gpu/ops/GrAALinearizingConvexPathRenderer.h
rename : gfx/skia/skia/src/gpu/batches/GrPathStencilSettings.h => gfx/skia/skia/src/gpu/ops/GrPathStencilSettings.h
rename : gfx/skia/skia/src/gpu/batches/GrStencilAndCoverPathRenderer.h => gfx/skia/skia/src/gpu/ops/GrStencilAndCoverPathRenderer.h
rename : gfx/skia/skia/include/xml/SkXMLParser.h => gfx/skia/skia/src/xml/SkXMLParser.h
2017-05-09 22:30:58 -04:00
Alexis Beingessner 6ece5add60 Bug 1361751 - Update gecko bindings to webrender to reflect changes in PR 1181. r=kats
MozReview-Commit-ID: Fxt4sNm4vxa
2017-05-08 13:52:16 -04:00
Kartikaya Gupta 7818effada Bug 1361751 - Update webrender to 964df2f. r=jrmuizel
This includes the Cargo.lock file changes and regenerated bindings.
2017-05-10 10:28:39 -04:00
Alexis Beingessner 27c2836b77 Bug 1363201 - fix the impl of WrVecU8, r=jrmuizel
Two bugs:

* We were failing to (re)initialize the length to 0, leading to segfaults on Rust processing "empty" lists.

* We were setting the pointer of empty Vec's to null, which is technically UB in Rust because Vec tells Rust its pointer is non-null (this is why Option<Vec<T>> has the same size as Vec<T>). align_of::<T> is what it uses to as a non-null junk pointer, which in this case is 1.

MozReview-Commit-ID: Gzy1NtKlSV7
2017-05-08 17:24:39 -04:00
Ethan Lin 4174a69a92 Bug 1362967 - Push clip region in WebRenderDisplayItemLayer. r=kats 2017-05-10 13:51:24 +08:00
Kartikaya Gupta 98a9d60b94 Merge m-c to graphics
MozReview-Commit-ID: ETkjQuNwtc8
2017-05-09 09:16:42 -04:00
sotaro 38717ce0a5 Bug 1360717 - Make WebRenderCompositableHolder could generate WrImageKey r=nical 2017-05-09 01:19:48 -07:00
Kartikaya Gupta 5d5cdc518c Merge m-c to graphics
MozReview-Commit-ID: 2cIoGVmLEuA
2017-05-08 10:50:52 -04:00
Ryan Hunt 05ee8df788 Bug 1362925 - Update webrender_bindings for cbindgen:0.1.7 r=kats
MozReview-Commit-ID: AwlqUWWEWfz

--HG--
extra : rebase_source : deace018f5d25f3eeecd5d4d683bb4f9a782a05c
extra : amend_source : 051d621e7b35e5389627b0946e7f87f0f8b9fa14
2017-05-08 01:31:20 -04:00
Morris Tseng 2e459a5741 Bug 1362324 - Use BlobImage for path type of bullet item. r=jrmuizel
MozReview-Commit-ID: 4ld6biSaFce
2017-05-08 14:14:41 +08:00
Wes Kocher 90573b0612 Merge m-c to autoland, a=merge
MozReview-Commit-ID: FYdNNRDmEla
2017-05-18 17:21:30 -07:00
cku 4790d4da73 Bug 1351440 - Part 4. Pass imgDrawingParams to nsSVGPaintServerFrame::GetPaintServerPattern. r=jwatt
The reason of this change is the same as for Part 2, except that this commit fixes
nsSVGPaintServerFrame::GetPaintServerPattern rather than PaintSVG.

Commit-ID: 691YrKZ0Lm9
MozReview-Commit-ID: KSnFhCndFUk
2017-05-18 22:03:50 +02:00
cku d85d3ab378 Bug 1351440 - Part 2. Encapsulate DrawResult and imgIContainer::FLAG_* into imgDrawingParams, and pass it to PaintSVG. r=jwatt
The DrawResult return was not in fact anything to do with the success or
failure of that method, but was actually passing out a very specific piece of information
about the success or failure of any imagelib drawing that may not have occurred
under the various PaintSVG calls.

The signature of PaintSVG is changed from
  DrawResult PaintSVG(...., uint32 flags);
to
  void PaintSVG(...., imgDrawingParams& aPackage);

imgDrawingParams wraps DrawResult and imgIContainer::FLAG_* as a pack, pass through
PaintSVG to imagelib draw calls under beneath.

MozReview-Commit-ID: IOq2evUAOQF
2017-05-18 22:03:41 +02:00
Sebastian Hengst 41f1727bf4 Backed out changeset f3460d42d23c (bug 1351440) 2017-05-18 21:15:35 +02:00
Sebastian Hengst 00458fa236 Backed out changeset 2ea1279576d2 (bug 1351440) 2017-05-18 21:15:26 +02:00
Jeff Muizelaar 60c7aca953 Bug 1362505. Correctly set the transforms on all DrawTargets. r=lsalzman
I suppose this got worse when we started using multiple DrawTargets.
But let's just do the right thing and not special case transforms.
2017-05-05 23:51:35 -04:00
Wes Kocher 0174ce8ebb Merge inbound to m-c a=merge
MozReview-Commit-ID: AVhTkLAYIv7
2017-05-18 17:13:28 -07:00
Lee Salzman b138a8ec44 Bug 1365935 - add Moz2D Factory methods for making an FT_Library. r=jrmuizel
MozReview-Commit-ID: 7gQuVrl38aT
2017-05-18 13:16:06 -04:00
Carsten "Tomcat" Book e5197b271a Merge mozilla-central to autoland 2017-05-18 15:00:43 +02:00
Kartikaya Gupta 2664b66a6a Bug 1361356 - Properly unapply the stacking context transform and origin translation when building mask layers. r=ethlin
MozReview-Commit-ID: B5XzX6Tq4PZ
2017-05-05 11:44:49 -04:00
Jeff Muizelaar 2d0ade0f7c Bug 1362221. InlineTranslator should track DrawTargets. r=lsalzman
Previously we always used the initial DrawTarget regardless of what was being drawn.
2017-05-05 10:34:03 -04:00
Daosheng Mu f8427acdf3 Bug 1364856 - When VRLayerChild receives __delete__, stop sending IPC messages; r=kip
MozReview-Commit-ID: 2vKdzipaga0

--HG--
extra : rebase_source : 56d586b5a82a68aa99ff53dba309cc4a9ea476ed
2017-05-15 18:55:42 +08:00
Wes Kocher 54a256d920 Merge m-c to autoland a=merge
MozReview-Commit-ID: L0rsjIzeVij

--HG--
extra : rebase_source : 8b581702a4534fb9394f8d3f4e85f65d6f4ff293
2017-05-15 17:02:08 -07:00
Wes Kocher 274ba1a154 Merge inbound to central, a=merge
MozReview-Commit-ID: AFMOzsYBEjc
2017-05-15 16:22:21 -07:00
Randall Barker 962808afbf Bug 1364194 - Refresh static toolbar snapshot when page width changes r=botond,jchen
MozReview-Commit-ID: HaQo66j640g
2017-05-15 11:30:09 -07:00
James Willcox 2d93d7d835 Bug 1322650 - Adjust Android Flash support to API changes r=jchen
MozReview-Commit-ID: CmMINaGcTER
2017-05-15 09:37:52 -05:00
James Willcox cf48e4bebd Bug 1322650 - Support a 'continuous' mode for SurfaceTexture r=jgilbert
This is needed to support Flash on Android

MozReview-Commit-ID: 5yNIoZHonla
2017-05-15 09:37:50 -05:00
James Willcox 77f7d855c8 Bug 1322650 - Allow access to TexturePoolOGL from Java r=jchen 2017-05-15 09:37:47 -05:00
James Willcox 0613100360 Bug 1322650 - Disable blitting from a SurfaceTexture r=jgilbert
This has been broken for a while anyway, because we
disabled SurfaceTexture detachment in most cases.

MozReview-Commit-ID: 6ysRGDNCQa0
2017-05-15 09:37:46 -05:00
James Willcox 395ab599a1 Bug 1322650 - Use SurfaceTexture for WebGL on Android in E10S r=jgilbert
The main advantage here is that it works cross-process.

MozReview-Commit-ID: 7YUTVB4Bydg
2017-05-15 09:37:44 -05:00
James Willcox 5de9b3dc5f Bug 1322650 - Add GeckoSurfaceTexture, GeckoSurface and associated Android Service r=jchen
This allows us to allocate an Android SurfaceTexture in the compositor process as well
as an accompanying Surface. We can then transfer the Surface back to the content process
via binder, where it can be used for things like WebGL and video decoding.

Each SurfaceTexture/Surface pair has a unique handle. We use this handle in
layer transactions to locate the SurfaceTexture for a given Surface and composite it
appropriately.

MozReview-Commit-ID: 68VSbXdfsMH
2017-05-15 09:37:43 -05:00
Nathan Froyd c1d1748428 Bug 1359490 - add an event loop spinning abstraction function; r=gerald
This function is arguably nicer than calling NS_ProcessNextEvent
manually, is slightly more efficient, and will enable better auditing
for NS_ProcessNextEvent when we do Quantum DOM scheduling changes.
2017-05-15 09:34:19 -04:00
Andrew Osmond b49d882caa Bug 1343482 - Label ScopedGfxFeatureReporter runnables. r=jrmuizel 2017-05-15 08:19:57 -04:00
Jan Beich 1d6a7d6e22 Bug 1364851 - Explicitly include SkRegion.h for --disable-skia-gpu. r=lsalzman
MozReview-Commit-ID: EEGNcLi538V

--HG--
extra : rebase_source : 7d0c6c1486f206249fa5997fbdf0a7ba735f5c46
2017-05-15 10:14:38 +00:00
Kartikaya Gupta 54c0323dbf Bug 1361807 - Use the transformed bounds for WebRenderRefLayer, as it doesn't push a stacking context. r=nical
MozReview-Commit-ID: B2LlHENCMm8
2017-05-04 10:08:23 -04:00
Kartikaya Gupta eac87bc2bf Merge m-c to graphics
MozReview-Commit-ID: 9HO5vhW5fyh
2017-05-04 09:05:26 -04:00
Carsten "Tomcat" Book 237cea8312 merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : browser/base/content/test/general/accounts_testRemoteCommands.html => browser/base/content/test/sync/accounts_testRemoteCommands.html
rename : browser/base/content/test/general/browser_fxa_web_channel.html => browser/base/content/test/sync/browser_fxa_web_channel.html
rename : browser/base/content/test/general/content_aboutAccounts.js => browser/base/content/test/sync/content_aboutAccounts.js
extra : amend_source : 38d33daae77f06915b30cab5327a6aa7ef0ef4ac
2017-05-04 10:57:00 +02:00
Cameron McCormack 203bdaed3b Bug 1361235 - Part 2: Re-enable some tests. r=emilio
MozReview-Commit-ID: 76FaOwHjIMB

--HG--
extra : rebase_source : e2e36bd8a6b86761fe616d7c30d8df7b661a4e09
2017-05-11 19:19:52 +08:00
Wes Kocher a9e00345ce Merge m-c to autoland, a=merge
MozReview-Commit-ID: IPDj8kOq5ec
2017-05-11 17:43:27 -07:00
Wes Kocher f1c0f35ea6 Merge inbound to m-c a=merge
MozReview-Commit-ID: HCapLqbD816
2017-05-11 17:30:41 -07:00
Manish Goregaokar 60a054b7f9 Bug 1340484 - Round RGB values when obtaining from HSL instead of flooring; r=dbaron
MozReview-Commit-ID: AFfczBFV00n

--HG--
extra : rebase_source : 127da8fa5cd21f9054de89f30f83db96d1a3392b
2017-05-08 16:43:05 -07:00
Ryan VanderMeulen ff1d6f6f88 Merge m-c to autoland. a=merge 2017-05-11 11:30:47 -04:00
Carsten "Tomcat" Book 2e978e4438 Backed out changeset 0ded74baeaf2 (bug 1340627) for blocking m-i to m-c merge
--HG--
rename : gfx/skia/skia/src/core/SkBlitRow.h => gfx/skia/skia/include/core/SkBlitRow.h
rename : gfx/skia/skia/src/effects/SkGaussianEdgeShader.h => gfx/skia/skia/include/effects/SkGaussianEdgeShader.h
rename : gfx/skia/skia/src/xml/SkXMLParser.h => gfx/skia/skia/include/xml/SkXMLParser.h
rename : gfx/skia/skia/include/private/SkMessageBus.h => gfx/skia/skia/src/core/SkMessageBus.h
rename : gfx/skia/skia/src/gpu/ops/GrAAConvexPathRenderer.h => gfx/skia/skia/src/gpu/batches/GrAAConvexPathRenderer.h
rename : gfx/skia/skia/src/gpu/ops/GrAAConvexTessellator.h => gfx/skia/skia/src/gpu/batches/GrAAConvexTessellator.h
rename : gfx/skia/skia/src/gpu/ops/GrAAHairLinePathRenderer.h => gfx/skia/skia/src/gpu/batches/GrAAHairLinePathRenderer.h
rename : gfx/skia/skia/src/gpu/ops/GrAALinearizingConvexPathRenderer.h => gfx/skia/skia/src/gpu/batches/GrAALinearizingConvexPathRenderer.h
rename : gfx/skia/skia/src/gpu/ops/GrPathStencilSettings.h => gfx/skia/skia/src/gpu/batches/GrPathStencilSettings.h
rename : gfx/skia/skia/src/gpu/ops/GrStencilAndCoverPathRenderer.h => gfx/skia/skia/src/gpu/batches/GrStencilAndCoverPathRenderer.h
rename : gfx/skia/skia/include/private/GrGLSL_impl.h => gfx/skia/skia/src/gpu/glsl/GrGLSL_impl.h
2017-05-11 12:52:25 +02:00
Carsten "Tomcat" Book d6dc2abb78 Backed out changeset 1b2683a840f3 (bug 1340627) 2017-05-11 12:51:59 +02:00
Carsten "Tomcat" Book 93cc82c178 Backed out changeset abffc78e1cf6 (bug 1340627) 2017-05-11 12:51:58 +02:00
Carsten "Tomcat" Book 52cc9e6849 Backed out changeset 7134018d3724 (bug 1340627) 2017-05-11 12:51:56 +02:00
Carsten "Tomcat" Book ac258e9322 Backed out changeset 84fd6b2bfaf6 (bug 1340627) 2017-05-11 12:51:54 +02:00
Carsten "Tomcat" Book adc8478ab1 Backed out changeset b567eb8d5d39 (bug 1340627) 2017-05-11 12:51:52 +02:00
Carsten "Tomcat" Book 1ff3d76838 Backed out changeset ebc9a119bcf8 (bug 1340627) 2017-05-11 12:51:49 +02:00
Carsten "Tomcat" Book 1d0daaa1bc Backed out changeset 1fcd9ee5ccb5 (bug 1340627) 2017-05-11 12:51:44 +02:00
Wes Kocher 02bf8c4425 Merge m-c to inbound, a=merge
MozReview-Commit-ID: FfNikA7un6F
2017-05-10 17:31:18 -07:00
Wes Kocher 1b5ad2c128 Merge inbound to central, a=merge
MozReview-Commit-ID: DfRZi0gKjit
2017-05-10 16:48:03 -07:00
Wes Kocher f4f5d51edf Merge autoland to central, a=merge
MozReview-Commit-ID: 2gKDtRuJJyq
2017-05-10 15:25:51 -07:00
David Anderson 5632494742 Remove unnecessary MOZ_COUNT_CTOR/DTORs on reference counted compositor objects. (bug 1360963, r=mattwoodrow)
--HG--
extra : rebase_source : 82eab30ab0896cfbdcc7cbd64f9598d29a5e69b4
2017-05-10 10:58:20 -07:00
Wes Kocher 959de6c3e8 Backed out 9 changesets (bug 1340627) for graphical glitches a=backout
Backed out changeset 0b1371055c7f (bug 1340627)
Backed out changeset f152be1fadb7 (bug 1340627)
Backed out changeset c691e2ab6a0c (bug 1340627)
Backed out changeset 3cb4bceb8d79 (bug 1340627)
Backed out changeset 026aadd76d06 (bug 1340627)
Backed out changeset fdbd5d281287 (bug 1340627)
Backed out changeset 75fb0d9858a9 (bug 1340627)
Backed out changeset 0d4ec7d38a00 (bug 1340627)
Backed out changeset af6f19870b2a (bug 1340627)

MozReview-Commit-ID: 9dHr7xMZezY

--HG--
rename : gfx/skia/skia/src/core/SkBlitRow.h => gfx/skia/skia/include/core/SkBlitRow.h
rename : gfx/skia/skia/src/effects/SkGaussianEdgeShader.h => gfx/skia/skia/include/effects/SkGaussianEdgeShader.h
rename : gfx/skia/skia/src/xml/SkXMLParser.h => gfx/skia/skia/include/xml/SkXMLParser.h
rename : gfx/skia/skia/include/private/SkMessageBus.h => gfx/skia/skia/src/core/SkMessageBus.h
rename : gfx/skia/skia/src/gpu/ops/GrAAConvexPathRenderer.h => gfx/skia/skia/src/gpu/batches/GrAAConvexPathRenderer.h
rename : gfx/skia/skia/src/gpu/ops/GrAAConvexTessellator.h => gfx/skia/skia/src/gpu/batches/GrAAConvexTessellator.h
rename : gfx/skia/skia/src/gpu/ops/GrAAHairLinePathRenderer.h => gfx/skia/skia/src/gpu/batches/GrAAHairLinePathRenderer.h
rename : gfx/skia/skia/src/gpu/ops/GrAALinearizingConvexPathRenderer.h => gfx/skia/skia/src/gpu/batches/GrAALinearizingConvexPathRenderer.h
rename : gfx/skia/skia/src/gpu/ops/GrPathStencilSettings.h => gfx/skia/skia/src/gpu/batches/GrPathStencilSettings.h
rename : gfx/skia/skia/src/gpu/ops/GrStencilAndCoverPathRenderer.h => gfx/skia/skia/src/gpu/batches/GrStencilAndCoverPathRenderer.h
rename : gfx/skia/skia/include/private/GrGLSL_impl.h => gfx/skia/skia/src/gpu/glsl/GrGLSL_impl.h
extra : source : 761b3f55f10f3df16601ce62e4d15b0c558c0cfb
2017-05-10 10:01:18 -07:00
Mason Chang d306587594 Bug 1340627. Properly push/pop skia saved layers during borrow/return cg context. r=lsalzman 2017-05-10 16:21:13 -04:00
Lee Salzman 2e348e5294 Bug 1340627 - part 8 - reftest fuzzing for update to Skia m59. r=mchang
MozReview-Commit-ID: LN29P1I4EsW
2017-05-09 22:31:07 -04:00
Lee Salzman a3e532037b Bug 1340627 - part 6 - fix layers for Skia m59. r=mchang
MozReview-Commit-ID: 6pAV6FKDFQ4
2017-05-09 22:31:07 -04:00
Lee Salzman 1eea2d3996 Bug 1340627 - part 5 - fix SkiaGL glue for Skia m59. r=mchang
MozReview-Commit-ID: LelzAgAdWb7
2017-05-09 22:31:07 -04:00
Lee Salzman 8c776dd5bc Bug 1340627 - part 4 - fix thebes for Skia m59. r=mchang
MozReview-Commit-ID: JDlSyKeT389
2017-05-09 22:31:07 -04:00
Lee Salzman 836ee7f95b Bug 1340627 - part 3 - fix Moz2d for Skia m59. r=mchang
MozReview-Commit-ID: 1fugjwSpOMZ
2017-05-09 22:31:07 -04:00
Lee Salzman 4107093832 Bug 1340627 - part 2 - update moz.build for Skia m59. r=jrmuizel
MozReview-Commit-ID: KdPvBio96Cw
2017-05-09 22:31:06 -04:00
Lee Salzman e83e20fa0f Bug 1340627 - part 1 - update Skia source to m59. r=mchang
--HG--
rename : gfx/skia/skia/src/gpu/glsl/GrGLSL_impl.h => gfx/skia/skia/include/private/GrGLSL_impl.h
rename : gfx/skia/skia/src/core/SkMessageBus.h => gfx/skia/skia/include/private/SkMessageBus.h
rename : gfx/skia/skia/include/core/SkBlitRow.h => gfx/skia/skia/src/core/SkBlitRow.h
rename : gfx/skia/skia/include/effects/SkGaussianEdgeShader.h => gfx/skia/skia/src/effects/SkGaussianEdgeShader.h
rename : gfx/skia/skia/src/gpu/batches/GrAAConvexPathRenderer.h => gfx/skia/skia/src/gpu/ops/GrAAConvexPathRenderer.h
rename : gfx/skia/skia/src/gpu/batches/GrAAConvexTessellator.h => gfx/skia/skia/src/gpu/ops/GrAAConvexTessellator.h
rename : gfx/skia/skia/src/gpu/batches/GrAAHairLinePathRenderer.h => gfx/skia/skia/src/gpu/ops/GrAAHairLinePathRenderer.h
rename : gfx/skia/skia/src/gpu/batches/GrAALinearizingConvexPathRenderer.h => gfx/skia/skia/src/gpu/ops/GrAALinearizingConvexPathRenderer.h
rename : gfx/skia/skia/src/gpu/batches/GrPathStencilSettings.h => gfx/skia/skia/src/gpu/ops/GrPathStencilSettings.h
rename : gfx/skia/skia/src/gpu/batches/GrStencilAndCoverPathRenderer.h => gfx/skia/skia/src/gpu/ops/GrStencilAndCoverPathRenderer.h
rename : gfx/skia/skia/include/xml/SkXMLParser.h => gfx/skia/skia/src/xml/SkXMLParser.h
2017-05-09 22:30:58 -04:00
Jonathan Kew a2d1a04aa1 Bug 1363492 - Ensure ScaledFontMac constructor always initializes the mFont field properly. r=lsalzman 2017-05-10 21:15:20 +01:00
David Anderson 70d5ae464a Remove LayerManagerComposite's geometry changed flag. (bug 1363249, r=mattwoodrow) 2017-05-10 10:49:31 -07:00
Kartikaya Gupta 4a7a11715c Bug 1359744 - Update webrender to 8516d6c04235e684d9bf9c783ba4fc99dab3bf02. r=jrmuizel
This updates the Cargo.lock files and revendors third_party/rust as well.
2017-05-03 19:03:18 -04:00
Iris Hsiao 553dbd294c Merge mozilla-central to mozilla-inbound 2017-05-04 11:29:49 +08:00
Hiroyuki Ikezoe 43a902cb19 Bug 1361632 - Adjust reftest expectation for -moz-appearance. r=bholley. a=merge
MozReview-Commit-ID: 6sqyA5TCHjk

--HG--
extra : rebase_source : 4957d93a55717850594dabc2650cecf060022f75
extra : amend_source : 6ee8241b984e300386da617fa9304b288989fdb7
2017-05-04 06:39:30 +09:00
Kartikaya Gupta b6b23a1376 Merge m-c to graphics
MozReview-Commit-ID: DVUE3Wys3HV
2017-05-03 08:52:43 -04:00
Kartikaya Gupta 0d7cd03e4b Bug 1361357 - Try fixing clip on WRDILayer. r=ethlin
This should fix some wrong-looking code that computes the clip for
WebRenderDisplayItemLayer instances. As this code is not exercised very
much it's hard to know if this change is actually correct.

MozReview-Commit-ID: BSsBpBmzWgd
2017-05-03 08:51:23 -04:00
Kartikaya Gupta cadd5716a2 Bug 1360246 - Remove the ParentBounds and TransformedVisibleBoundsRelativeToParent functions. r=nical
These functions also have built-in assumptions about the stacking
context structure mapping to the layer tree structure which are not
necessarily valid. So we remove these functions and update code that
uses them.

MozReview-Commit-ID: UkXXAF59qv
2017-05-03 08:48:08 -04:00
Kartikaya Gupta 48e0e2221d Bug 1360246 - Remove the RelativeToParent functions by propagating StackingContextHelper chains. r=nical
The only remaining callers of RelativeToParent() are in
StackingContextHelper itself, which we can remove now by having the SCH
take a parent SCH and use it instead of RelativeToParent(). This patch
implements this change.

This makes a failing test pass, because of how preserve-3d container
layers work. Specifically, preserve-3d container layers render their
descendants in z-order, not in tree order. If those children were assuming
that their parent had already pushed a stacking context, that assumption
may have been false because the parent might have not yet been rendered
because of z-ordering. By using the StackingContextHelper chain instead
of the layer tree ancestry, we fix the stacking-context-relative coordinates
being used in the descendant subtree of preserve-3d container layers.

MozReview-Commit-ID: HzZvBuAlMdB
2017-05-03 08:48:08 -04:00