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

21473 Коммитов

Автор SHA1 Сообщение Дата
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
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
Lee Salzman 4729f64a2a Bug 1245550 - add gfx.use-glx-texture-from-pixmap pref to control whether texture_from_pixmap is used. r=nical 2016-02-03 13:05:24 -05:00
Carsten "Tomcat" Book c797ca6392 Backed out changeset 0e3ca319b742 (bug 1244017) for reftest failures 2016-02-05 11:19:25 +01:00
Carsten "Tomcat" Book 745be97723 Backed out changeset 2257088c6b04 (bug 1188802) 2016-02-05 11:19:11 +01:00
John Daggett a4c7835ada Bug 1188802 - only rebuild local webfont rules when needed. r=heycam 2016-02-05 16:46:27 +09:00
John Daggett debbbb10f6 Bug 1244017 - remove system font cascade for OSX. r=m_kato 2016-02-05 16:46:05 +09:00
Jacek Caban 4445996c6b Bug 1244454 - Fixed skia compilation on mingw. r=lsalzman
--HG--
extra : rebase_source : ad3b2b9e361234165076e3d106adf7f740509095
2016-02-01 17:55:09 +01:00
James Willcox ec95f4bf71 Bug 1238541 - Don't die in SharedSurface_EGLImage::ProducerReadReleaseImpl() if there is an existing fence r=jgilbert 2016-02-01 10:53:25 -06: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
Nicholas Nethercote ac9a8bf77c Bug 1181444 (part 1.5) - Remove dead PLDHashOperator declarations. r=froydnj.
--HG--
extra : rebase_source : 82888ad8037a6024508b042030469fac5a8f5fa4
2016-01-28 14:08:19 -08: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
Phil Ringnalda d381b4bca6 Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas b00cdd6088 Bug 1235261 - Part 6: Rename AutoInfallibleTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Birunthan Mohanathas 720fce4f80 Bug 1235261 - Part 3: Switch remaining uses of AutoFallibleTArray to AutoTArray. r=froydnj
This is effectively a no-op because the affected array operations already use
`mozilla::fallible`.
2016-01-31 17:12:12 +02:00
Birunthan Mohanathas 53bb27f2a4 Bug 1235261 - Part 2: Switch some uses of AutoFallibleTArray to AutoTArray. r=froydnj
This changes some function signatures to take a nsTArray<T>& instead of a
FallibleTArray<T>& because AutoTArray does not inherit from FallibleTArray.

This is effectively a no-op because the affected array operations already use
`mozilla::fallible`.
2016-01-31 17:12:12 +02:00
Birunthan Mohanathas 373593275e Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Botond Ballo 7b73cdff36 Bug 1237905 - Add logging to test_wheel_transactions to help investigate an intermittent failure. r=kats 2016-01-29 18:50:02 -05:00
Kartikaya Gupta eec655d1f0 Bug 1242690 - Ensure that mouse events have the callback transform applied. r=botond
--HG--
extra : commitid : IXh9rbTOf5R
2016-01-29 16:31:15 -05:00
Kartikaya Gupta 661c759eec Bug 1243547 - Route scroll position adjusting for surface shifting directly to APZC. r=rbarker
--HG--
extra : commitid : 2aa3HgQj1wD
2016-01-28 16:00:05 -05:00
Milan Sreckovic 98b3c800cb Bug 1235437 - Add annotation for major graphics preferences. r=bgirard
--HG--
extra : transplant_source : Zt%94Rv%13u%C7aRP%FD%14%C7%DFe%95%0F%AC%A2
2016-01-18 12:56:38 -05:00
Jeff Muizelaar daeaa01c5e Bug 1178385. Add a pref to force enable hw video decode. r=milan 2016-01-27 19:31:42 -05:00
Nicholas Nethercote 9ec51cfd62 Bug 1239864 (part 11) - Remove the old rect iterators. r=roc.
--HG--
extra : rebase_source : 778b87ae616f7c0292de20771c09a16051c8508c
2016-01-14 14:57:50 -08:00
Nicholas Nethercote 79bfbfd42b Bug 1239864 (part 8) - Use the new rect iterators in gfx/. r=nical.
--HG--
extra : rebase_source : 52187e5da197e961d533ef6eac2dc9dfe3c83827
2016-01-18 17:20:58 -08:00
Nicholas Nethercote ab52b9a0ea Bug 1239864 (part 7) - Use the new rect iterators in gfx/. r=nical.
--HG--
extra : rebase_source : 27d77656d578deefff0860184346ff962e32762f
2016-01-18 17:20:58 -08:00
Nicholas Nethercote bd2573b703 Bug 1239864 (part 6) - Use the new rect iterators in gfx/. r=nical.
--HG--
extra : rebase_source : 396d472f620fbbe65982da90ce66021382eaf324
2016-01-18 17:20:58 -08:00
Randall Barker b9be241b63 Bug 1230674 - part 4, Update AsyncPanZoomController to call overscroll api when building for Android r=kats 2016-01-27 07:45:31 -08:00
Randall Barker 567ea9f9c9 Bug 1230674 - part 3, Add overscroll api to GeckoContentController and AndroidContentController r=snorp,kats 2016-01-27 07:45:31 -08:00
Markus Stange a7cc7fa9ec Bug 1235223 - Fix another typo in the layers history document.
--HG--
extra : commitid : 2DCqDryDgGn
extra : rebase_source : dd5dd653c6d3a9cc3085ab15838a41c1618723a7
2016-01-27 13:33:56 +01:00
Markus Stange 7a5fbde2bc Bug 1241816 - In CreateSourceSurfaceFromMacIOSurface, unlock the IOSurface even in failure cases. r=mattwoodrow
--HG--
extra : commitid : 4I01MZg56Lj
extra : rebase_source : d5d389b4d4c2d2d3bc8fd3574372242e496dcae1
2016-01-22 10:57:12 +01:00
Markus Stange 60d76ec6c8 Bug 1240241 - Don't recurse infinitely in FilterCachedColorModels::ForColorModel if the original filter node was null. r=roc
--HG--
extra : commitid : LhJXm2RA5OF
extra : rebase_source : 1ae690be8649c71fa3c98cf029ae33ce68502980
2016-01-20 22:45:58 +01:00
Lee Salzman 4aff274ce6 Bug 1242751 - fix assertion in SkLinearGradient. r=jmuizelaar 2016-01-25 17:20:24 -05:00
Bogdan Postelnicu 85e3e6dee1 Bug 1242421 - remove useless null check. r=roc@ocallahan.org
--HG--
extra : transplant_source : %0D%9E%D5%21l%FC%EF%15g%0B%16x%DD%88H%80%C3L%CB%A0
2016-01-25 14:00:29 +02:00
Lee Salzman 30e1e65908 Bug 1242044 - "layout/reftests/css-gradients/linear-zero-length-1 fails under Skia content". r=jmuizelaar
--HG--
extra : rebase_source : ec250bf261aec9ffe6eb6c21ec87a2b01ae9e5a0
2016-01-22 14:11:00 +01:00
Sotaro Ikeda 252806de74 Bug 1238602 - Update ParamTraits<GonkNativeHandle>::Read() r=nical 2016-01-27 00:32:03 -08:00
John Daggett 03e62378ba Bug 1243226 - relax the limit on fontconfig generics. r=heycam, a=me 2016-01-27 17:21:31 +09:00
Masayuki Nakano 02e13bc9fe Bug 1153156 part.4 Make APZC system scroll speed overriding aware r=mstange 2016-01-27 15:09:13 +09:00
Sotaro Ikeda 25ee3640a7 Bug 1239702 - Fix SK_ARM_HAS_NEON build config r=lsalzman 2016-01-26 18:47:54 -08:00
Nicholas Nethercote 702fb54dd6 Bug 1239864 (part 5) - Use the new rect iterators in gfx/. r=nical.
--HG--
extra : rebase_source : bed24467918b4a12837e37d6f7f15c42f20b0b6a
2016-01-18 17:20:58 -08:00
Nicholas Nethercote 74831ef786 Bug 1239864 (part 4) - Use the new rect iterators in gfx/. r=nical.
--HG--
extra : rebase_source : 633ae2a881c15ae14d08e9ea9289e2b8f079a4b9
2016-01-18 17:20:58 -08:00
Nicholas Nethercote 7d571e1691 Bug 1239864 (part 2) - Use the new rect iterators in nsRegion.cpp. r=roc.
--HG--
extra : rebase_source : 5b52cae3f0ed41381266d7c4d1805dd07c4631d6
2016-01-14 21:47:16 -08:00
Nicholas Nethercote 6a194c8cf8 Bug 1239864 (part 1) - Add new, nicer rect-iterators for nsRegion and nsIntRegion. r=roc.
This requires renaming the existing nsIntRegion::RectIterator as
nsIntRegion::OldRectIterator to make way for the new nsIntRegion::RectIterator.
This doesn't require many knock-on changes because most existing uses of
that type use the nsIntRegionRectIterator typedef.

--HG--
extra : rebase_source : 16c79610ae20820ead6aa63cbe214e4e4b3a9fab
2016-01-14 18:36:11 -08:00
Sebastian Hengst c44d227bee Backed out 5 changesets (bug 1230674) for webgl bustage and crashes. r=backout on a CLOSED TREE
Backed out changeset 07cdcb9b4565 (bug 1230674)
Backed out changeset d21d089c447f (bug 1230674)
Backed out changeset a26de45cdb6a (bug 1230674)
Backed out changeset 59ec0033bd22 (bug 1230674)
Backed out changeset 74a06f6d85e1 (bug 1230674)
2016-01-26 22:40:18 +01:00
Matt Woodrow 5bf77844af Bug 1241484 - Null check mActor in WaitForCompositorRecycle. r=nical
--HG--
extra : rebase_source : de0259d21139f369852cd5dca135a6796a8a14aa
2016-01-27 09:46:18 +13:00
Randall Barker 49a691131d Bug 1230674 - part 4, Update AsyncPanZoomController to call overscroll api when building for Android r=kats 2016-01-26 12:02:51 -08:00
Randall Barker 975d71eed8 Bug 1230674 - part 3, Add overscroll api to GeckoContentController and AndroidContentController r=snorp,kats 2016-01-26 12:02:51 -08:00
Nicolas Silva c33a0fef4a Bug 1240819 - cleanup dead branches in gfxXlibNativeRender.cpp. r=jrmuizel 2016-01-26 15:35:11 +01:00
Nicolas Silva 3fdffc6dd0 Bug 1241486 - Allow using pixmaps to share WebGL frames with the basic compositor when it makes sense. r=jgilbert 2016-01-26 15:31:15 +01:00
Carsten "Tomcat" Book 2121bcf3c6 Backed out changeset 066450137021 (bug 1213429) perma-orange Windows XP debug M(2) because of video_backlock.html on a CLOSED TREE 2016-01-26 13:23:24 +01:00
John Daggett 1634ed42e5 Bug 1240407 - assume default system font cascade for non-CJK langs under OSX. r=m_kato 2016-01-26 20:50:30 +09:00
Bob Owen 00a3e39683 Bug 1240437 part 2: Follow-up to fix implicit constrcutor static analysis failure. r=me 2016-01-26 10:31:31 +00:00
Bob Owen ddcde763b9 Bug 1240437: Implement PushLayer and PopLayer for DrawTargetRecording. r=bas 2016-01-26 10:03:07 +00:00
Sotaro Ikeda 233ac65d1e Bug 1239893 - Add gonk SidebandStream handling to DOMHwMediaStream r=roc 2016-01-26 02:01:43 -08:00
Benoit Girard f94d239d34 Bug 1213429 - Recycle e10s D3D9 textures and add partial upload support. r=bas.schouten
--HG--
extra : rebase_source : d0d9e1ac280da1d87727669e2e8aed8279464591
2016-01-25 14:58:46 -08:00
Matt Woodrow 53bd2d5de2 Bug 1242293 - Don't call EndRemoteDrawingInRegion if StartRemoteDrawingInRegion returns a null DrawTarget. r=mstange
--HG--
extra : commitid : 2hLESTDkkQt
extra : amend_source : c0ba853e135e1a4142759999fa3101173da50e04
2016-01-22 11:36:29 +13:00
Botond Ballo 30376c8190 Bug 1240202 - Avoid getting stuck in overscroll when a second finger goes down while overscrolled and in the TOUCHING state. r=kats
--HG--
extra : source : f92c04fc06584164ac8f9451977c5fa5d8e6c230
2016-01-20 20:41:30 -05:00
Botond Ballo 2607d8f81f Bug 1240202 - Avoid getting stuck in overscroll when the screen is tapped during an overscroll animation. r=kats
--HG--
extra : source : 43acc75c7734bf63264a07019770c780aeb7bdb9
2016-01-20 20:13:13 -05:00
Botond Ballo 0f5f481663 Bug 1240202 - Change input event generation utilities used by APZ gtests to take points instead of loose coordinates. r=kats
--HG--
extra : source : e255bee429c46aca8269d9021bac8a16ba1e4e2a
2016-01-20 20:12:41 -05:00
Botond Ballo 634bec443b Bug 1240202 - Rename APZOverscrollHandoffTester to APZScrollHandoffTester. r=kats
--HG--
rename : gfx/layers/apz/test/gtest/TestOverscrollHandoff.cpp => gfx/layers/apz/test/gtest/TestScrollHandoff.cpp
extra : source : 1b23e399240d6567294adcaf53093605e0529541
2016-01-20 19:28:33 -05:00
Phil Ringnalda 6aeccf0426 Merge f-t to m-c, a=merge 2016-01-23 18:11:37 -08:00
Sylvestre Ledru ab4e3a0d42 Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan
--HG--
extra : rebase_source : 7d2cc56b6553cd7a8d848d3c660f30735bd82eec
2016-01-22 16:58:49 +01:00
Kartikaya Gupta 1ff33680c1 Bug 1238042 - Expose the checkerboard reports out to JS. r=ehsan,botond
--HG--
extra : commitid : 2TsbL6ZkXDM
2016-01-22 20:27:28 -05:00
Tom Tromey 5412728905 Bug 757969 - use __thread in ThreadLocal; r=froydnj 2016-01-22 10:33:44 -07:00
Jeff Gilbert 475ef4bef2 Bug 1233819 - Fix WebGL on WinXP. - r=jrmuizel 2016-01-21 18:47:29 -08:00
Bas Schouten 838779b05e Bug 1241058: Assure several operations properly operate on the current group target. r=jrmuizel
--HG--
extra : rebase_source : 095317736906a39a75c47005e12e112113bc087b
2016-01-20 17:27:36 +01:00
Blake Kaplan 1ed01f4087 Bug 1241557 - Don't try to set prefs directly. r=wchen 2016-01-21 16:14:27 -08:00
Wes Kocher 2df1312cc1 Backed out 2 changesets (bug 1241557) for build failures CLOSED TREE
Backed out changeset aeb7f61db88b (bug 1241557)
Backed out changeset 8ed3a7be233e (bug 1241557)

--HG--
extra : commitid : BdotoXSX0ID
2016-01-21 15:41:18 -08:00
Blake Kaplan 7701da27e2 Bug 1241557 - Don't try to set prefs directly. r=wchen
--HG--
extra : transplant_source : %2A%E2%BEa%EB%93f%DA%8F%F5%CB%CF%3Ek%D15%A4x%D2%29
2016-01-21 15:15:42 -08:00
David Anderson 43bfcd91e2 Fix the backdrop copy rect in nested mix-blend containers. (bug 1241273, r=mstange)
--HG--
extra : rebase_source : aba4ee7a75d7ca7f0eb918042f8336cd6e172dcb
2016-01-21 15:20:29 -08:00
David Anderson 647777252e Backed out changeset f16cb2a018a8
--HG--
extra : rebase_source : b87bcb8cc354f92f36c1023ced5f54c7f700edc0
2016-01-21 15:19:50 -08:00
Markus Stange b59b3aeaf9 Bug 1241665 - Correctly convert IOSurfaces to SourceSurfaces in MacIOSurfaceTextureSourceBasic and MacIOSurfaceTextureData. r=mattwoodrow
--HG--
extra : rebase_source : 6cbb38cc4bb2338f76b1454e7e823dcb13d42f2d
2016-01-21 23:28:19 +01:00
Markus Stange 08b617259d Bug 1241665 - Move IOSurface YCbCr conversion code to a new file MacIOSurfaceHelpers.cpp. r=mattwoodrow
Ideally this would live in gfx/2d/MacIOSurface.cpp, but we don't have access to the
YCbCr conversion utilities in Moz2D.

--HG--
extra : rebase_source : c103884dab7404d3f5181ba8cd55178b04955bf4
2016-01-21 23:38:53 +01:00
David Anderson 6be240dbe8 Fix the backdrop copy rect in nested mix-blend containers. (bug 1241273, UNREVIEWED) 2016-01-21 15:18:48 -08:00
Jeff Gilbert 2a59586f95 Bug 1239187 - Use the GLFeature instead. - r=jrmuizel 2016-01-21 14:18:44 -08:00
Carsten "Tomcat" Book 41fa341197 Merge mozilla-central to mozilla-inbound 2016-01-21 16:50:24 +01:00
Carsten "Tomcat" Book 78216dfe0e Backed out changeset 415f713d58b0 (bug 1239861) to fix perma-busted Android 4.3 debug R34 2016-01-21 16:47:31 +01:00
Lee Salzman ee61a37f0b Bug 1240177 - part 4 - avoid GPU readbacks in SourceSurfaceSkia::DrawTargetWillChange, r=jrmuizel 2016-01-21 09:52:35 -05:00
Lee Salzman d913eb20b8 Bug 1240177 - part 3 - make DrawTargetSkia::OptimizeSourceSurface directly upload to GPU textures, r=jrmuizel 2016-01-21 09:52:08 -05:00
Lee Salzman d67a7412a2 Bug 1240177 - part 2 - cleanups of DrawTargetSkia and SourceSurfaceSkia creation for GPU contexts, r=jrmuizel 2016-01-21 09:51:40 -05:00
Lee Salzman a725c24151 Bug 1240177 - part 1 - add helper function to make Skia image info, r=jrmuizel 2016-01-21 09:50:43 -05:00
Kartikaya Gupta 6588e4c9c6 Bug 1238040 - Add a telemetry probe for potential checkerboarding duration. r=botond,vladan
--HG--
extra : commitid : LH7k2Hg3hxz
2016-01-21 09:13:47 -05:00
Kartikaya Gupta 3d102a0fd7 Bug 1238040 - Update telemetry measures for checkerboarding. r=botond,vladan
--HG--
extra : commitid : 4IRG9F5ZHcB
2016-01-21 09:13:47 -05:00
Sotaro Ikeda f775512121 Bug 1240659 - Add GonkNativeHandle::CreateDupNhObj() r=nical 2016-01-20 21:36:00 -08:00
Nicolas Silva c7cf4b994f Bug 1180942 - Use cairo's image backend for drawing on linux. r=jrmuizel 2016-01-21 14:12:51 +01:00
Sotaro Ikeda e44a3880a1 Bug 1006688 - Support capture screen via adb r=mwu 2016-01-21 00:21:50 -08:00
Bogdan Postelnicu 39b810ed84 Bug 1241118 - Add gc = GetGeneralCategory(ch) when sc == MOZ_SCRIPT_COMMON. r=jfkthame 2016-01-20 17:17:14 +02:00
Randall Barker e1823cfe72 Bug 1231517 - part 2, Add support for APZ ZoomToRectBehavior flags r=kats 2016-01-20 16:24:58 -08:00
Randall Barker 725817b232 Bug 1231517 - part 1, Move GetBoundingContentRect to nsLayoutUtils r=botond 2016-01-20 16:24:57 -08:00
David Rajchenbach-Teller 583ca7286d Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa
--HG--
extra : rebase_source : 39e94507c0288863e495322a6899ff009840870d
2016-01-15 11:38:03 +01:00
David Rajchenbach-Teller 42b6a4145f Bug 1224374 - Profiler labels for the 25 top chrome hangs;r=BenWa,MarcoZ
Experience shows that we do not have enough profiler labels to make
BHR hang reports meaningful. This patch adds enough labels to let us
exploit hang reports matching the 25 topmost chrome hangs.

--HG--
extra : rebase_source : b9ec379c58255a250db1020377147c95c82df712
2016-01-14 23:03:11 +01:00
Lee Salzman 579717eec1 Bug 1241163 - Replace DrawTarget::CreateSourceSurfaceFromNativeSurface(CAIRO_CONTEXT) with Factory::CreateSourceSurfaceForCairoSurface. r=jrmuizel 2016-01-20 13:31:44 -05:00
Mason Chang b39f4b08b8 Bug 1165458. Raise vsync timeout limit for gtests. r=kats 2016-01-20 10:29:39 -08:00
Kartikaya Gupta 47aea009f5 Bug 1240867 - Fix non-unified build bustage in OGLShaderProgram.cpp. r=nical
--HG--
extra : commitid : JLxb9CDZYAQ
2016-01-20 09:58:17 -05:00
Kartikaya Gupta 0ced379792 Bug 1240867 - Add missing include. r=nical
--HG--
extra : commitid : HhhSFdvTWIP
2016-01-20 09:56:01 -05:00
Bas Schouten 9c134bf2d5 Bug 1241012: Remove moz-d2d1-1.h stub headers from the tree. r=jrmuizel
--HG--
extra : rebase_source : 8c5c8bcd043a96c83148bfc065cddf5100cd59ee
2016-01-20 04:50:22 +01:00
Nicolas Silva bf137eb0f2 Bug 1240730 - Initialize all GLLibraryEGL symbols in the ctor. r=mattwoodrow 2016-01-20 14:46:32 +01:00
Nicolas Silva 287b05140c Bug 1240730 - Initialize all GLXLibrary members in the ctor. r=mattwoodrow 2016-01-20 14:46:25 +01:00
Nicolas Silva 6b8f0413aa Bug 1240806 - Remove some dead code in GLContextProviderEGL. r=jgilbert 2016-01-20 14:46:16 +01:00
Sotaro Ikeda f1adc19aeb Bug 1240668 - Duplicate GonkNativeHandle::NhObj in ImageClientSingle::UpdateImage() r=nical 2016-01-20 01:47:05 -08:00
Jerry Shih 1638c560e9 Bug 1231042 - clean current composition task and related flag when screen off. r=mchang 2016-01-19 20:58:00 +01:00
Kartikaya Gupta fc03bd93b1 Bug 1241678 - Fix low-volume null-deref crash. r=BenWa
--HG--
extra : commitid : Iy9q8veFylP
2016-01-22 15:28:03 -05:00
Kartikaya Gupta 2398798d67 Bug 1240622 - Guard mCheckerboardEvent with a mutex to avoid races. r=botond
--HG--
extra : commitid : 9LLumoyfORc
2016-01-22 14:02:28 -05:00
Jonathan Kew 2f68a1b489 Bug 1240739 - Support opacity when rendering color fonts (e.g. emoji). r=jdaggett 2016-01-20 08:50:43 +00:00
Jonathan Kew a85ea4fdf5 Bug 1240007 - Update graphite2 library to release 1.3.5. r=jdaggett 2016-01-20 08:50:32 +00:00
Phil Ringnalda 722db78364 Back out 604c30246eeb (bug 1180942) for Linux reftest OOMs in 632781-verybig.html
CLOSED TREE
2016-01-19 20:17:20 -08:00
Mason Chang e1c4c0f362 Bug 1239861. Normalize composite timestamps to now if timestamp is in the past. r=kats,vlad 2016-01-19 17:10:07 -08:00
Lee Salzman 51ee06a33d Bug 1241918 - remove workarounds for zero-length dash intervals in HelpersSkia.h, r=jrmuizel 2016-01-22 11:12:52 -05:00
Bob Owen eb34bd15b9 Bug 1238964 Part 1: Hold new printable page sizes in print nsIPrintSettingsWin. r=jimm
This also holds the resolution in the print settings, so that we can start to
remove the access to the native Windows print devices in the child process.
2016-01-22 16:05:19 +00:00
Sebastian Hengst d8d4a2d1a5 Backed out 2 changesets (bug 1224374) for Windows bustage. r=bustage on a CLOSED TREE
Backed out changeset 5f458e6e4997 (bug 1224374)
Backed out changeset 0dc02cb0b604 (bug 1224374)
2016-01-19 21:30:41 +01:00
David Rajchenbach-Teller 2d53758d08 Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa
--HG--
extra : rebase_source : 51d39d6f88bf58ccb29f5897c3dbbe71007ee842
2016-01-15 11:38:03 +01:00
David Rajchenbach-Teller f5531f5260 Bug 1224374 - Profiler labels for the 25 top chrome hangs;r=BenWa,MarcoZ
Experience shows that we do not have enough profiler labels to make
BHR hang reports meaningful. This patch adds enough labels to let us
exploit hang reports matching the 25 topmost chrome hangs.

--HG--
extra : rebase_source : b9ec379c58255a250db1020377147c95c82df712
2016-01-14 23:03:11 +01:00
Nicolas Silva a2d098481d Bug 1240708 - Various trivial coverity warning fixes (part 2). r=kats 2016-01-19 20:14:27 +01:00
Nicolas Silva 9a2dc00d43 Bug 1240708 - Various trivial coverity warning fixes. r=kats 2016-01-19 20:14:22 +01:00
Nicolas Silva afcb9adea8 Bug 1180942 - Use cairo's image backend for drawing on linux. r=jrmuizel 2016-01-19 18:36:36 +01:00
Nicolas Silva f3c7340599 Bug 1239288 - Add a shutdown test to the gfx job scheduler. r=jrmuizel 2016-01-14 13:34:46 +01:00
Nicolas Silva 59f28c22d9 Bug 1239288 - Fix a race in the win32 job scheduler's shutdown. r=jrmuizel 2016-01-19 09:48:51 +01:00
David Anderson 387414f2ea When mix-blending, only copy intersecting backdrop pixels. (bug 1235995 part 2, r=mattwoodrow)
--HG--
extra : rebase_source : 8f667d6e2c60c886b2ca8db8f7c678cc3684bd51
2016-01-19 13:28:08 +07:00
David Anderson 8f61148e20 Add full mix-blend mode support to the OpenGL compositor. (bug 1235995 part 1, r=mstange)
--HG--
extra : rebase_source : 6d0e32671be60f4a2bebdbf1b2cfade8c9fc0539
2016-01-19 13:24:19 +07:00
Sotaro Ikeda 4f26117e33 Bug 1049296 - Handle Sideband stream compositing in HwcComposer2D r=mwu,nical 2016-01-18 20:52:32 -08:00
Kartikaya Gupta c41f56faf4 Bug 1213095 - Enable chaos mode on a couple of APZ tests. r=botond
--HG--
extra : commitid : KiwuGCX8npA
2016-01-18 15:23:08 -05:00
Kartikaya Gupta 3d6bfe3c82 Bug 1213095 - Ensure that stale FrameMetrics do not clobber more recent metrics for paint requests. r=botond
--HG--
extra : commitid : BVEZQPz3wb2
2016-01-18 15:23:08 -05:00
Kartikaya Gupta 38fba1fdeb Bug 1213095 - Don't allow RequestContentRepaint to mutate the provided FrameMetrics. r=botond
--HG--
extra : commitid : FZAETJ9CtR2
2016-01-18 15:23:08 -05:00
Kartikaya Gupta c44f6aace4 Bug 1213095 - Inline the DispatchRepaintRequest function. r=botond
--HG--
extra : commitid : DrbeUIsKQbQ
2016-01-18 15:23:08 -05:00
Kartikaya Gupta 152d87207c Bug 1213095 - Fix APZEventState build with logging enabled. r=botond
--HG--
extra : commitid : EqYhj7fkjqi
2016-01-18 15:23:08 -05:00
Botond Ballo 97ef42843e Bug 1240244 - Split APZ gtests into several files. r=kats
--HG--
extra : rebase_source : 1168e57e81f01c88fd34a7d8eb097c97232e37d0
extra : source : 5e084e3308cce5945f3161aa004306164337d7e8
2016-01-15 20:05:23 -05:00
Nicolas Silva eaffc2bea6 Bug 1239844 - Log hexadecimal values in a more standard way. r=dholbert 2016-01-18 12:03:15 +01:00
Jeff Muizelaar bb453ca522 Bug 1228641. Add a initializer_list constructor to nsTArray. r=froydnj
This also adds a couple of users of the new pattern.
2016-01-17 22:11:25 -05:00
Benoit Girard 38294962b1 Bug 1240190 - Add D3D9 texture upload profiler labels. r=jrmuizel
--HG--
extra : commitid : HcDm7PLpSqf
2016-01-15 13:50:51 -08:00
Ryan VanderMeulen 0a405f4d7d Merge fx-team to m-c. a=merge 2016-01-17 15:05:20 -05:00
Kris Maglione ccbc83560c Bug 1239822: Part 2a - [webext] Explicitly destroy windowless browsers on unload. r=billm
--HG--
extra : commitid : JXAapKEd31v
extra : rebase_source : 729fa88d1d0e8c91a47745af00fb321866eb1063
2016-01-15 13:30:15 -08:00
Kartikaya Gupta 54611e1596 Bug 1238239 - Update gecko scrollbar styling for Fennec. r=snorp f=antlam
--HG--
extra : commitid : BrsEuJlvqKi
2016-01-13 15:47:38 -05:00
Nicholas Nethercote 186d3e93ab Bug 1239537 - Remove Compositor::GetWidgetSize(), which is unused. r=mattwoodrow.
Also remove BasicCompositor::mWidgetSize because its only use can be replaced
by a temporary variable.

--HG--
extra : rebase_source : 03b5992445687cd1ec24307da2d42f87d8cc1041
2016-01-13 15:27:34 -08:00
Lee Salzman 466b5fb4c9 Bug 1239040 - Fix DrawTargetCairo/DrawTargetSkia LockBits and BorrowedXlibDrawable to work inside PushLayer. r=jrmuizel 2016-01-13 13:11:07 -05:00
Lee Salzman f8a3f7243f Bug 1239040 - Cleanup of DrawTargetSkia CopySurface to avoid accessing bottom layer directly. r=jrmuizel 2016-01-13 13:11:07 -05:00
Lee Salzman 267c479fcf Bug 1239040 - Implement PushLayer for DrawTargetSkia. r=Bas 2016-01-12 23:30:33 -05:00
Lee Salzman f348a7869e Bug 1239040 - Cleanup of DrawTargetSkia Mask and MaskSurface. r=jrmuizel 2016-01-12 13:26:31 -05:00
Lee Salzman 6000e65e29 Bug 1239040 - Cleanup of DrawTargetSkia GetBitmapForSurface to use installPixels. r=jrmuizel 2016-01-12 13:05:13 -05:00
Lee Salzman 38d08bb85b Bug 1239040 - Allow usage of SkCanvas::getTopDevice in Skia. r=jrmuizel 2016-01-12 13:05:09 -05:00
Lee Salzman c6e53f0d47 Bug 1238795 - Fix SkGpuDevice::drawBitmapRect to always update clips. r=jrmuizel 2016-01-14 15:17:55 -05:00
John Daggett 88ca65cfad Bug 1239603 - don't reject format 12 cmap with odd encoding. r=jfkthame
This fixes an issue affecting the use of Big Caslon under OSX which uses an improperly labeled format12 cmap with platform=0/encoding=1. Technically, a Unicode 1.1 encoding implies a font that's not entirely compatible with more recent versions of Unicode (e.g. Hangul range is different). But since this seems to be simply a font error and not a real problem for format12 cmaps, ignore this inconsistency.
2016-01-15 09:44:13 +09:00
Chris Peterson f68d14cca7 Bug 1236323 - Part 2: Suppress -Wimplicit-fallthrough warnings in gfx/ from Skia header files. r=nical 2016-01-08 00:43:58 -08:00
Wes Kocher 84fb907a27 Merge m-c to inbound, a=merge CLOSED TREE
--HG--
rename : testing/taskcluster/tasks/phone_test.yml => testing/taskcluster/tasks/b2g_e2e_tests_base_definition.yml
extra : commitid : 4MrlWshamZ5
2016-01-15 15:13:21 -08:00
Kartikaya Gupta 082a798889 Bug 1226826 - Record if painted displayport updates were due to repaints from the relevant layer tree or not. r=botond
--HG--
extra : commitid : L42zD9MDNXD
2016-01-15 16:19:59 -05:00
Kartikaya Gupta a1c2f88721 Bug 1226826 - Record paint times in the checkerboard event. r=botond
--HG--
extra : commitid : CygYKO4FVuh
2016-01-15 16:19:59 -05:00
Kartikaya Gupta b69694c595 Bug 1226826 - Record velocity at point of displayport request in checkerboard event. r=botond
--HG--
extra : commitid : fxWNeD2mNi
2016-01-15 16:19:58 -05:00
Kartikaya Gupta c949f8717d Bug 1226826 - Add a CheckerboardEvent class to record stuff when checkerboarding happens. r=botond
--HG--
extra : commitid : 4pZujPb0crW
2016-01-15 16:19:58 -05:00
Nicholas Nethercote 7892cfcede Bug 1239530 (part 2) - Use LayoutDevice coordinates in {Start,End}RemoteDrawingInRegion() and related functions. r=kats.
--HG--
extra : rebase_source : b5bd2d6822904a188242efa6e46aaed9f96a15b9
2015-12-02 22:29:54 -08:00
Sebastian Hengst 5ed749fe2b Backed out changeset a6a59129ac7c (bug 1239288) for GTest failures. r=bustage 2016-01-14 22:31:09 +01:00
Milan Sreckovic 7f0a479d45 Bug 1237770: Disable D3D9 on XP with E10S. r=jrmuizel
--HG--
extra : rebase_source : a443be7043c0d1c170d29e0c9a70eb978ba12030
2016-01-13 12:10:51 -05:00
Jonathan Kew 7e3bfd83c4 Bug 1228540 - pt 2 - Remove our HBGetGlyphHOrigin callback, as the default behavior is sufficient. r=jdaggett 2016-01-15 08:45:31 +00:00
Jonathan Kew 2ede382f0a Bug 1228540 - Update harfbuzz to release 1.1.3. r=jdaggett 2016-01-15 08:44:41 +00:00
John Daggett bbaa509596 Bug 1212731 p2 - add system font cascade to fontlist for -apple-system generic. r=m_kato 2016-01-15 16:33:51 +09:00
John Daggett 26be2bed4f Bug 1212731 p1 - move GetSampleLangForGroup into base class. r=m_kato 2016-01-15 16:33:51 +09:00
Jan de Mooij 98f91b82f9 Bug 1237201 part 2 - Handle Vector OOM in gfx/. r=jrmuizel,kats 2016-01-14 15:19:16 +01:00
Nicolas Silva 16d7354108 Bug 1239288 - Add a shutdown test to the gfx job scheduler. r=jrmuizel 2016-01-14 13:34:46 +01:00
Boris Chiou deee95a0d8 Bug 1214536 - Part 7: Rename AnimationTiming as TimingParams. r=birtles, r=smaug
1. struct AnimationTiming -> struct TimingParams
2. AnimationEffectReadOnly::TimingAsObject() -> AnimationEffectReadOnly::Timing()
3. KeyframeEffectReadOnly::Timing() -> KeyframeEffectReadOnly::SpecifiedTiming()
2016-01-13 18:41:00 +01:00
Boris Chiou 71cff999e0 Bug 1214536 - Part 4: Use OwingUnrestrictedDoubleOrString for duration. r=birtles
We store the original value of duration in AnimationTiming, and add
computed duration in ComputedTiming, so both the Timing model and
AnimationEffectTimingReadOnly can get what they want.

By the way, replace mIterationDuration with mDuration.

--HG--
extra : rebase_source : f8e1fd648572e6d7b1cbecc2ac1888a2f74bbc7e
2016-01-13 18:36:00 +01:00
Boris Chiou 76f7e5a44e Bug 1214536 - Part 3: Store the original value of fill. r=birtles
FillMode could be 'auto', and we should treat it as 'none' in the timing model.
However, AnimationEffectTimingReadOnly should get its original value.

By the way, replace mFillMode with mFill.

--HG--
extra : rebase_source : 5a397dd7fbb22ac76fe96003d82d097e398852c7
2016-01-13 18:36:00 +01:00
Boris Chiou b0c41b12ec Bug 1214536 - Part 2: Replace mIterationCount in layers::Animation. r=birtles
Replace mIterationCount with mIterations.

--HG--
extra : rebase_source : 2aa326be768d3326d56e689d6c45ca9d6439c3bc
2015-12-27 18:51:00 +01:00
Boris Chiou 44cb5bee0a Bug 1214536 - Part 1: Use unrestricted double for iterations. r=birtles
We want to store the original value from KeyframeEffectOptions whose
iterations is unrestricted double. Therefore, we can get the original value
of iterations by AnimationEffectTimingReadOnly.

By the way, replace mIterationCount with mIterations.

--HG--
extra : rebase_source : da2953056031079c41273ed977545dc926e1b83c
2016-01-10 18:41:00 +01:00
Sotaro Ikeda e6486fd6be Bug 1237914 - Remove layers.screen-recording.enabled r=mwu 2016-01-13 20:45:57 -08:00
Nigel Babu ecae6cd9a5 Backed out 4 changesets (bug 1226826) for widespread bustage
Backed out changeset 95d373bec568 (bug 1226826)
Backed out changeset bb9970d440a4 (bug 1226826)
Backed out changeset 6c1fa0dc6bd7 (bug 1226826)
Backed out changeset 400ebf504171 (bug 1226826)

--HG--
extra : commitid : D1zZSeIHTOA
2016-01-14 08:33:11 +05:30
Nicholas Nethercote cac93d89a3 Bug 1239225 - Remove unused args from TextureImage's constructor and related functions. r=mattwoodrow. 2016-01-12 23:10:56 -08:00
Wes Kocher e125261ad0 Backed out changeset 15145a32cd19 (bug 1231042) for b2g reftest bustage
--HG--
extra : commitid : Loy7lXlfDiR
2016-01-13 12:57:45 -08:00
Lee Salzman b4185d3bf2 Bug 1230096 - fix GrAAConvexTessellator assertion. r=jrmuizel 2016-01-13 15:34:06 -05:00
Kartikaya Gupta eef30edf04 Bug 1226826 - Record if painted displayport updates were due to repaints from the relevant layer tree or not. r=botond
--HG--
extra : commitid : JtQqmhK6am
2016-01-13 15:46:08 -05:00
Kartikaya Gupta a7478cbca5 Bug 1226826 - Record paint times in the checkerboard event. r=botond
--HG--
extra : commitid : kX3Eye3aq0
2016-01-13 15:46:08 -05:00
Kartikaya Gupta 513fc40715 Bug 1226826 - Record velocity at point of displayport request in checkerboard event. r=botond
--HG--
extra : commitid : GMMutH1gDQ
2016-01-13 15:46:08 -05:00
Kartikaya Gupta 5a5194fe12 Bug 1226826 - Add a CheckerboardEvent class to record stuff when checkerboarding happens. r=botond
--HG--
extra : commitid : 8XwlRtYdRp1
2016-01-13 15:46:07 -05:00
Kartikaya Gupta ad971d5294 Bug 1239385 - Use correct coordinate system when computing the amount to scroll during a pinch r=botond 2016-01-13 14:44:47 -06:00
Nathan Froyd b83566b4a1 Bug 1222166 - use gcc/clang warning flags for clang-cl in moz.build files; r=glandium
This patch turns off a number of gcc/clang-specific warnings for
clang-cl as well, as clang-cl understands all the warning flags that
clang understands.  We currently don't turn on all the gcc/clang
warnings for clang-cl in configure, but that can be done separately, and
this patch addresses some pain points (particularly for cairo).
2015-11-05 16:05:26 -05:00
Lee Salzman 4da9ad5af4 Bug 1233966 - build fixes for FreeBSD. r=jrmuizel 2016-01-13 13:22:21 -05:00
JerryShih f691273efc Bug 1231042 - clean current composition task and related flag when screen off. r=hshih
--HG--
extra : rebase_source : c298845ec4d25b4398751b57d68ef653a93e3687
2016-01-12 23:15:00 +01:00
Jonathan Kew 06f42574aa Bug 724538 - When ICU is available in the build, replace most of nsCharProps2 fields with ICU property accessors. r=emk 2016-01-13 15:45:22 +00:00
Edwin Flores aad959626e Bug 1199923 - Work around Intel Linux driver lying about max texture size - r=jgilbert 2016-01-13 11:28:05 +00:00
Carsten "Tomcat" Book 8bb4e16a15 Merge mozilla-central to mozilla-inbound 2016-01-13 11:58:27 +01:00
Carsten "Tomcat" Book d833f9ba1a merge mozilla-inbound to mozilla-central a=merge 2016-01-13 11:57:15 +01:00
Markus Stange cff5b29209 Bug 1239137 - Return early from BasicCompositor::DrawQuad if transformBounds is empty. r=mattwoodrow
--HG--
extra : rebase_source : 41045234d2f2890c8178d68d37f3ceffd10402b3
2016-01-13 00:13:20 +01:00
Nicolas Silva de559d8b96 Bug 1238015 - Make sure PTexture actors are destroyed after all messages referring to them are sent. r=sotaro 2016-01-13 10:28:13 +01:00
Nicolas Silva 1c55a202bb Bug 1238743 - remove a bogus assertion in TextureClient.cpp. r=kats 2016-01-12 16:00:24 +01:00
Carsten "Tomcat" Book eb879b9526 Merge mozilla-central to fx-team 2016-01-12 11:57:10 +01:00
Bas Schouten b3027878ab Bug 1238328: Purge stored command lists by calling EndDraw/BeginDraw on a regular basis when they're used. r=jrmuizel
--HG--
extra : rebase_source : 5041fa82907837c50e657c87afeda85be40b25d7
2016-01-11 16:38:10 +01:00
Matt Woodrow 2bfff9fd80 Bug 1234047 - Always reuse an existing TextureClient in IMFYCbCrImage if one exist. r=Bas 2016-01-12 18:08:21 +13:00
Jamie Nicol 04eef55482 Bug 1223144 - Scale texture coordinates in CompositorOGL for non POT textures. r=mwoodrow 2016-01-11 11:14:07 +00:00
Phil Ringnalda be425f27a9 Back out f137a421233f (bug 1234441) for build bustage
CLOSED TREE
2016-01-11 19:32:02 -08:00
Jeff Gilbert dfd883b2e9 Bug 1234441 - Allow malformed ESSL version string. - r=jrmuizel 2016-01-07 16:59:56 -08:00
Nicholas Nethercote 6eb3a99296 Bug 1231888 - Remove AutoCairoPixmanBugWorkaround. r=jrmuizel. 2016-01-11 16:11:57 -08:00
Randall Barker ed071f6c7e Bug 1229752 - When C++ APZ scroll offset diverges from the Gecko scroll offset, it is not being applied properly to the event position r=botond,tnikkel 2016-01-11 16:06:14 -08:00
Nicholas Nethercote 23b425f2f7 Bug 1238438 (part 3) - Inline both PathFromRegionInternal() functions. r=nical.
They both have a single call site, so aren't worth being in separate functions.

--HG--
extra : rebase_source : 09961affe0902cfd44448b75445438d9900a0942
2016-01-10 16:48:55 -08:00
Nicholas Nethercote c58fca74ef Bug 1238438 (part 2) - Inline both ClipToRegionInternal() functions. r=nical.
They both have a single call site, so aren't worth being in separate functions.

--HG--
extra : rebase_source : 08dcc7ef2b98bb6111c65a000ac0362c8594f952
2016-01-10 16:48:52 -08:00
Nicholas Nethercote cea9bf8509 Bug 1238438 (part 1) - Remove dead function gfxUtils::PathFromRegion(). r=nical.
--HG--
extra : rebase_source : b3757881f46b9b4902ce6c7c1071844c040c0e62
2016-01-10 16:22:52 -08:00
Jonathan Kew 46b5136c09 Bug 890156 - patch 6 - Update window placement code to work with desktop pixels, for per-monitor DPI support on Windows. r=emk 2015-12-03 13:19:50 +00:00
Jonathan Kew 925e9cfb7f Bug 890156 - patch 3 - Remove gfxWindowsPlatform::GetDPIScale and replace it with methods in WinUtils, ready for per-monitor DPI support. r=emk 2015-12-02 15:09:29 +00:00
Jonathan Kew 84b8c3a0a4 Bug 890156 - patch 0.3 - Create a version of nsIWidget::Create that takes Desktop pixels, because that's what we actually need to pass in some cases. r=mstange 2016-01-13 07:32:55 +00:00
Nicholas Nethercote b003fbc631 Bug 1238846 (part 2) - Remove gfxContext::mOriginalDT, which is unused. r=mattwoodrow.
--HG--
extra : rebase_source : 0709544d8596fd368be2b4db5395322726fe57b6
2016-01-12 13:42:02 -08:00
Jeff Gilbert 55ca464707 Bug 1234441 - Allow malformed ESSL version string. - r=jrmuizel 2016-01-12 16:45:06 -08:00
Nicholas Nethercote fc9cf6f9d5 Bug 1231888 (follow-up) - Simplify CurrentSurface(). r=jrmuizel.
The previous patch in this bug removed two calls to CurrentSurface(), leaving
only one, and that one doesn't need the dx and dy arguments.

--HG--
extra : rebase_source : 52cc3d7a1317ea9f239f59c24a58810ce6669c9f
2016-01-11 16:42:09 -08:00
Bas Schouten 3edd8eed24 Bug 1237375: Add some more extensive debugging information. r=milan
--HG--
extra : rebase_source : 8e1bfbc2f58e053e143fcad258974c0c92adb73c
2016-01-08 00:59:06 +01:00
Bas Schouten b15000805a Bug 1238028: When D2D 1.0 is not allowed disable D2D completely when not using 1.1. r=jrmuizel
--HG--
extra : rebase_source : 2e49dcd71e2ebb61d201285123f677dd3e09f1d8
2016-01-11 00:41:39 +01:00
Nicolas Silva 9fe2c25285 Bug 1235796 - Allow allocating YCbCr textures with Cb/Cr planes bigger than the Y plane. r=jrmuizel 2016-01-08 15:10:27 +01:00
Nicholas Nethercote fd022a1ff9 Bug 1236802 (part 2) - Remove a dead CurrentSurface() call. r=mattwoodrow.
--HG--
extra : rebase_source : 73638b86f45432bfe400b145379c996480879390
2016-01-10 14:05:27 -08:00
Nicholas Nethercote f13b985259 Bug 1236802 (part 1) - Moz2Dify some blur code a little. r=mattwoodrow.
gfxAlphaBoxBlur::GetInsetBlur() can be trivially passed a DrawTarget instead of
a gfxContext.

The patch also removes the DrawTarget parameter from GetBlur() because it can
be obtained from the gfxContext parameter.

--HG--
extra : rebase_source : 52cdd685ed3ecdc11affb05fa5299b0a792231fb
2016-01-10 14:05:26 -08:00
Matt Woodrow 0728cd334f Bug 1231564 - Don't trigger new composites just to repaint debug overlays. r=BenWa 2016-01-11 15:12:05 +13:00
Matt Woodrow e767cc440a Bug 1231564 - Don't take the compositor side layer-tree snapshot until after compositing. r=dvander 2016-01-11 15:11:14 +13:00
Nicholas Nethercote 88696a303a Bug 1209812 (part 6) - Convert all gfxImageFormat values to SurfaceFormat equivalents. r=jrmuizel.
This patch:

- Makes the following substitutions (plus necessary namespace qualifiers:

    gfxImageFormat::ARGB32      --> SurfaceFormat::A8R8G8B8_UINT32
    gfxImageFormat::RGB24       --> SurfaceFormat::X8R8G8B8_UINT32
    gfxImageFormat::A8          --> SurfaceFormat::A8
    gfxImageFormat::RGB16_565   --> SurfaceFormat::R5G6B5_UINT16
    gfxImageFormat::Unknown     --> SurfaceFormat::UNKNOWN

- Changes gfxImageFormat to be a typedef to gfx::SurfaceFormat. This will be
  removed soon.

- Removes gfxCairoFormatToImageFormat() and gfxImageFormatToCairoFormat() and
  replace calls to them with CairoFormatToGfxFormat() and
  GfxFormatToCairoFormat().

- Removes ParamTraits<gfxImageFormat>.

- Add namespace qualifiers to SurfaceFormat instances where necessary.

--HG--
extra : rebase_source : f56e92b1593957a9e4e00171100bc7605816e696
2016-01-07 20:57:38 -08:00
Markus Stange 8ac683bf41 Bug 1199468 - Create prefs for the smooth scroll timing function shape. r=kats
--HG--
extra : commitid : 4ucTtILvlFF
extra : rebase_source : dcad143776a653dafccfa9be5633a354fcefced2
2016-01-07 21:09:18 +01:00
Alfredo Yang 869d8facd4 Bug 1224889 - OpenMax IL video decoding for PDM. r=sotaro, r=nical
--HG--
extra : rebase_source : 758864e83ac009581bea87b90ba1bc235934ffb7
2016-01-08 06:24:00 -05:00
Botond Ballo 1497a2fe7c Bug 1236750 - Use strongly-typed matrices to represent layer transforms in APZ code. r=kats
--HG--
extra : source : 20dccf6f7b3072e943f11573195559ab5f0c721c
2016-01-04 20:07:54 -05:00
Botond Ballo b22e5adb20 Bug 1236750 - Add typed getters for layer transform matrices. r=kats
--HG--
extra : source : bf19963d10d6cc021092662176845192764f9cf0
2016-01-06 18:56:58 -05:00
Botond Ballo 2a0650a2e9 Bug 1236750 - Add some specialized typedefs of Matrix4x4 to represent layer transform matrices. r=kats
Also add a related PixelCastJustification and a utility function.

--HG--
extra : source : 84848983c8f9a79a073fa419f50430212b91d7eb
2016-01-06 18:56:25 -05:00
Botond Ballo e388e00738 Bug 1236750 - Rename ViewTransform to AsyncTransform. r=kats
It's only used to represent async transforms, and making this clear
allows us to replace (in a subsequent change) its conversion operator
to Matrix4x4 with a conversion operator to a specific typed matrix.

--HG--
extra : source : 38b22004c06481c62eb4e7fead64e1ec52603225
2015-12-30 18:24:26 -05:00
Ethan Lin 3fac635eb8 Bug 1235299 - Fix WebGL assertions for copyTexImage2D. r=jgilbert 2016-01-07 18:50:00 +01:00
Chris Peterson d7f8317f74 Back out 400861eb8c62 (Bug 1236323 - Part 2) for unearthing Skia -Wunreachable-code warnings-as-errors 2016-01-08 00:32:01 -08:00
Chris Peterson a2a55a8086 Bug 1236323 - Part 2: Suppress -Wimplicit-fallthrough warnings in gfx/ from Skia header files. r=nical
gfx/skia/skia/include/gpu/GrTestUtils.h:94:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
gfx/skia/skia/include/gpu/GrTypesPriv.h:181:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-11-24 09:39:04 -08:00
Chris Peterson b94d12b3b4 Bug 1236323 - Part 1: Annotate intentional switch fallthroughs to suppress -Wimplicit-fallthrough warnings in gfx/. r=nical
gfx/thebes/gfxFcPlatformFontList.cpp:706:9: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
gfx/thebes/gfxFontconfigFonts.cpp:2183:9: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
gfx/2d/DrawTargetCG.cpp:812:5: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
gfx/2d/DrawTargetCairo.cpp:636:5: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
2015-11-24 09:39:04 -08:00
Nicholas Nethercote ec89bbf7f2 Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj. 2016-01-05 17:08:45 -08:00
Tooru Fujisawa 4fac62d240 Bug 382721 - Part 0: Add missing includes and namespaces. r=jrmuizel 2015-09-10 19:24:34 +09:00
Morris Tseng 1ae8baf23c Bug 917505 - Add WEBGL_compressed_texture_es3 support. r=jgilbert r=smaug
--HG--
extra : commitid : 96pBvjbX0be
2016-01-08 10:12:22 +08:00
Kartikaya Gupta 3263b5aa68 Bug 1235994 - For wheel events which may have momentum following them, handle scroll snapping in APZ. r=mstange
--HG--
extra : commitid : 1NLmL8uvOSV
2016-01-07 10:39:46 -05:00
Kartikaya Gupta 90c45d819d Bug 1235994 - Extract a helper function to request a snap to the predicted destination. r=botond
--HG--
extra : commitid : 8TlA8EfxbN1
2016-01-07 10:39:13 -05:00
Nicolas Silva f02f7a61e4 Bug 1221056 - Make the destroy messages for PTexture and PCompositable part of the current transaction when applicable. r=sotaro 2016-01-07 11:17:40 +01:00
Nicholas Nethercote 1c8aac359a Bug 1237448 - Moz2Dify two functions in gfxSurfaceDrawable. r=roc.
--HG--
extra : rebase_source : c8189d80a3b18580e967e0907c5ec95956ca3cd0
2016-01-06 18:26:33 -08:00
John Daggett ade0c810ea Bug 1157064 - implementation of font-display. r=heycam,khuey 2016-01-07 14:03:05 +09:00
John Daggett 40dd7eed07 Bug 1157064 - font-display descriptor parsing. r=dbaron 2016-01-07 14:02:58 +09:00
Kartikaya Gupta 57630a6b66 Bug 1219352 - Pack the FrameMetrics booleans. r=botond
--HG--
extra : commitid : AWU27s9DKzG
2016-01-06 20:50:01 -05:00
Kartikaya Gupta 0d7d89c6a4 Bug 1219352 - Rearrange fields in FrameMetrics. r=botond
This patch:
- Maintains a consistent ordering between the lists of fields in the
  FrameMetrics constructor, operator==, IPC read/write functions, and the
  actual order of fields in FrameMetrics. As part of this, missing default
  initializers are added to the FrameMetrics constructor, and fields omitted
  from the operator== are explicitly noted.
- Moves all the boolean values to the end of the set of field (for better
  packing).
- Moves the scroll id and parent scroll id to the front of the list, so that
  the operator== can fail faster in the common case.

--HG--
extra : commitid : 6ink6xmxH38
2016-01-06 20:50:01 -05:00
Kartikaya Gupta 5e3b5adcf2 Bug 1219352 - Update a couple of bool-setters to take a bool argument. r=botond
--HG--
extra : commitid : BSeR1YwEqNy
2016-01-06 20:50:01 -05:00
kearwood 5053ceed98 Bug 1230352 - Update to Oculus SDK 0.8.0,r=vlad 2015-09-22 09:38:28 -04:00
Nicholas Nethercote 4b651d870f Bug 1231881 - Remove NativeSurfaceType::CAIRO_SURFACE. r=bas.
We have both NativeSurfaceType::CAIRO_CONTEXT and
NativeSurfaceType::CAIRO_SURFACE. They both refer to DrawTargets with Cairo
backends. The only reason for having both is so you can call GetNativeSurface()
and get either the |cairo_t*| or the underlying |cairo_surface_t*|.

I argue that this convenience confuses things more than it helps. This patch
removes CAIRO_SURFACE, and adds explicit cairo_get_target() calls where
necessary.

--HG--
extra : rebase_source : 6f1701a8131d854c7f623272182029847876754e
2016-01-05 14:24:08 -08:00
Jean-Yves Avenard 8d672d003f Bug 1236167: P1. Do not attempt to destroy a non allocated surface. r=nical 2016-01-07 09:30:32 +11:00
Mason Chang 2e3ff601d6 Bug 842894 - Support DirectWrite using the Skia backend. r=bas 2016-01-06 11:35:04 -08:00
Bill McCloskey 871a98516f Bug 1236266 - Use release assert in IPC serialization for regions (r=jmuizelaar) 2016-01-06 10:22:54 -08:00
Bill McCloskey e5a4fce1c1 Bug 1236266 - Don't generate invalid empty regions in pixman (r=jmuizelaar) 2016-01-06 10:22:54 -08:00
Ryan VanderMeulen d051a1eb3c Merge m-c to inbound. a=merge 2016-01-06 09:50:26 -05:00
Ryan VanderMeulen 1d22ec87d3 Merge inbound to m-c. a=merge 2016-01-06 09:43:47 -05:00
Johan Lorenzo 8612fa1f8c Backout Bug 1221056 - make the destroy messages for PTexture and PCompositable part of the current transaction when applicable. r=sotaro
For breaking Firefox OS boot startup (see bug 1237197)

--HG--
extra : commitid : Eoiq2mNqfw9
2016-01-06 14:59:35 +01:00
Nicholas Nethercote ef979a7523 Bug 1234343 (part 2) - Add a missing GfxMemoryImageReporter::DidAlloc() call. r=Bas.
--HG--
extra : rebase_source : 12a3b1cbdb89627ff956bf34021ba88de4e418a9
2016-01-05 18:26:29 -08:00
Nicholas Nethercote 59e6a9ae67 Bug 1234343 (part 1) - Make GfxMemoryImageReporter::sAmount signed. r=Bas.
This is so that if it goes negative (due to missing DidAlloc() calls) it shows
up in about:memory as a negative number, rather than a huge positive number.

--HG--
extra : rebase_source : 8022cd5a958f2fa14ff9af26624de8b795e4d4d5
2016-01-05 18:26:17 -08:00
Nigel Babu 6b46bb89da Backed out changeset ad7bcc14bc9c (bug 1236266) for causing perma leaks
--HG--
extra : commitid : 8D1VqyqYDLw
2016-01-06 14:02:58 +05:30
Nigel Babu becd126e52 Backed out changeset 38405f32bcbc (bug 1236266)
--HG--
extra : commitid : IwCw2YT3aTZ
2016-01-06 14:02:50 +05:30
Nigel Babu 247ba57ebf Backed out changeset 39aca33612f1 (bug 1236266)
--HG--
extra : commitid : AalW5RyEMsG
2016-01-06 14:02:47 +05:30
Bill McCloskey 9a22f96774 Bug 1236266 - Fix up review comment (r=jmuizelaar) 2016-01-05 22:10:40 -08:00
Bill McCloskey 2d5dab22d4 Bug 1236266 - Don't generate invalid empty regions in pixman (r=jmuizelaar) 2016-01-05 21:59:46 -08:00