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

22902 Коммитов

Автор SHA1 Сообщение Дата
Nicolas Silva 55982c743c Bug 1167235 - Part 1 - Render canvas2D into TextureClient directly. r=Bas 2016-07-01 10:58:06 +02:00
Nicolas Silva 2150c23725 Bug 1279973 - Better handle video frames with varrying/inconsistent plane sizes and formats in the compositor. r=sotaro 2016-07-01 10:49:40 +02:00
Jonathan Kew 76ce756d93 Bug 1283573 - Don't attempt to look up a single-face-family name if the corresponding main family isn't available. r=mstange 2016-06-30 20:03:15 +01:00
David Anderson 98133d3c0a Implement remote CompositorWidgets on Windows. (bug 1281998 part 7, r=billm) 2016-07-01 01:15:16 -07:00
David Anderson 97a92d5d5e Extract a delegate interface out of WinCompositorWidget. (bug 1281998 part 6, r=jimm) 2016-07-01 01:15:16 -07:00
David Anderson 6562af780a Move CompositorWidget construction out of nsIWidget. (bug 1281998 part 5, r=jimm) 2016-07-01 01:15:16 -07:00
David Anderson f0edea202e Move CompositorWidget ownership from nsWindow to CompositorSession. (bug 1281998 part 4, r=jimm) 2016-07-01 01:15:16 -07:00
David Anderson 56c221c4a6 Move InProcessCompositorWidget to its own file. (bug 1281998 part 3, r=jimm)
--HG--
rename : widget/CompositorWidget.cpp => widget/InProcessCompositorWidget.cpp
2016-07-01 01:15:16 -07:00
David Anderson 3f0ea0572d Rename CompositorWidgetProxy files to CompositorWidget. (bug 1281998 part 2, r=jimm)
--HG--
rename : widget/CompositorWidgetProxy.cpp => widget/CompositorWidget.cpp
rename : widget/CompositorWidgetProxy.h => widget/CompositorWidget.h
rename : widget/windows/WinCompositorWidgetProxy.cpp => widget/windows/WinCompositorWidget.cpp
rename : widget/windows/WinCompositorWidgetProxy.h => widget/windows/WinCompositorWidget.h
2016-07-01 01:15:16 -07:00
Matt Woodrow 4f7d3bf72f Bug 1269321: Part 3 - Create a wrapper layer for masking when we can't support it on the normal layer. r=thinker
--HG--
extra : rebase_source : 2ad8ec40082c3cea7b811190a91b0324a4b0d8a2
2016-06-30 18:10:25 +02:00
Sebastian Hengst 0642c8d7d3 Backed out changeset 04d79227660a (bug 1267879) for failing talos glterrain on Windows. r=backout 2016-07-01 00:35:32 +02:00
Sebastian Hengst 4c9f3f326e Backed out changeset ebf87300031f (bug 1267879) 2016-07-01 00:34:55 +02:00
Jeff Gilbert 5ab2e8878e Bug 1267879 - Only check robustness if it's supported. - r=jrmuizel
MozReview-Commit-ID: 4RNjnWFccID
2016-06-30 13:51:53 -07:00
Jeff Gilbert 91b80dc1c5 Bug 1267879 - Fix WGL robustness. - r=jrmuizel
MozReview-Commit-ID: IpstmnnGM0N
2016-06-30 13:51:49 -07:00
Kearwood (Kip) Gilbert c1ee67da2e Bug 1276811 - Enable TextureClient to be used without CompositableForwarder,r=nical
- Refactoring to make TextureClient use the higher-level
  TextureForwarder interface.

MozReview-Commit-ID: EMpsT2exGMf

--HG--
extra : rebase_source : 09d9110ad3fdffabe9e54eed13ef827893e568f4
2016-05-27 13:49:30 -07:00
Carsten "Tomcat" Book fcff88e7a8 Merge mozilla-central to autoland 2016-07-01 11:20:25 +02:00
Bob Owen 50a17cd4ec Bug 1285991: Improve ForEachNode use in Resolve/DetachRefLayers. r=mattwoodrow 2016-07-12 10:18:23 +01:00
Carsten "Tomcat" Book 3a42c363cc merge mozilla-inbound to mozilla-central a=merge 2016-06-30 12:33:41 +02:00
Kartikaya Gupta 20ce0084db Bug 1253683 - Add a test. r=tnikkel
MozReview-Commit-ID: Cn3paFTFo1O

--HG--
extra : rebase_source : 58868e2aef582b4fb12d5dd8af72996863d3fc13
2016-06-29 14:29:42 -04:00
Kartikaya Gupta 95d204ffcd Bug 1282957 - Add a visual indicator for pages affected by scroll-linked effects. r=mstange
MozReview-Commit-ID: KuAL2CUDCnj

--HG--
extra : rebase_source : 19ed84b06568a9dbca5d96aecb02161aa5535d42
2016-06-28 18:31:15 -04:00
Kartikaya Gupta 26e7e639be Bug 1283176 - Dump XMost and YMost values instead of width and height for sticky layers. r=nical
MozReview-Commit-ID: C9fJA03RamJ

--HG--
extra : rebase_source : a6d1c9cef47589642e6ca75b97c0619e76e6c0ab
2016-06-29 12:15:23 -04:00
Carsten "Tomcat" Book 5c90a99952 merge mozilla-inbound to mozilla-central a=merge 2016-06-29 16:13:05 +02:00
Nicolas Silva f541fa5146 Bug 1281775 - Make dib textures not rely on accessing a ShadowLayerForwarder. r=gw280 2016-06-29 11:18:35 +02:00
Nicolas Silva 93024c0a86 Bug 1281780 - Forward ShadowLayerForwarder texture-related methods to CompositorBridgeChild. r=gw280 2016-06-29 11:18:30 +02:00
Hiroyuki Ikezoe 5af8b8d434 Bug 1208411 - Delay vsync timestamps on the compositor to make async animations more sync. r=mchang,mstange
MozReview-Commit-ID: Aes0jyOnojn

--HG--
extra : rebase_source : cab3f69b4bb98065d44df7873a171784e1eb305f
2016-06-23 06:24:39 +09:00
Phil Ringnalda 0d0d24bccc Back out 7 changesets (bug 1281998) for Windows Marionette crashes
Backed out changeset d806fac2c856 (bug 1281998)
Backed out changeset b8d4fedfd7eb (bug 1281998)
Backed out changeset a72929c0c3ec (bug 1281998)
Backed out changeset 74198f88fa37 (bug 1281998)
Backed out changeset 54a0e73f6906 (bug 1281998)
Backed out changeset 99d1da1293b7 (bug 1281998)
Backed out changeset a5a9585754b1 (bug 1281998)

--HG--
rename : widget/CompositorWidget.cpp => widget/CompositorWidgetProxy.cpp
rename : widget/CompositorWidget.h => widget/CompositorWidgetProxy.h
rename : widget/windows/WinCompositorWidget.cpp => widget/windows/WinCompositorWidgetProxy.cpp
rename : widget/windows/WinCompositorWidget.h => widget/windows/WinCompositorWidgetProxy.h
2016-06-29 19:35:24 -07:00
Sotaro Ikeda 774306bc97 Bug 1280839 - Recycle SharedPlanarYCbCrImage r=nical 2016-06-29 19:12:31 -07:00
James Willcox dfd9e9a816 Bug 1280666 - Expose velocity (speed) from StackScroller and use in APZC r=rbarker 2016-06-29 17:09:55 -07:00
James Willcox 75d5558c2f Bug 1280666 - Use StackScroller from Chrome for fling animations r=rbarker 2016-06-29 17:09:55 -07:00
Lee Salzman 89c51f72ce Bug 1282246 - don't use gradients with non-finite endpoints in DrawTargetSkia. r=mchang 2016-06-29 20:01:48 -04:00
David Anderson faac928c5a Implement remote CompositorWidgets on Windows. (bug 1281998 part 7, r=billm)
--HG--
extra : rebase_source : 7027c4477e5f7432779e1b8389255b8a808f42b8
2016-06-29 16:47:23 -04:00
David Anderson 4853817add Extract a delegate interface out of WinCompositorWidget. (bug 1281998 part 6, r=jimm)
--HG--
extra : rebase_source : 66e23a6efd766341a97ab46f1c52b368f145d849
2016-06-29 16:47:23 -04:00
David Anderson 358a567c70 Move CompositorWidget construction out of nsIWidget. (bug 1281998 part 5, r=jimm)
--HG--
extra : rebase_source : 881a2fac4447de3f1aeae3f34f21f9e76a79e0a3
2016-06-29 16:47:22 -04:00
David Anderson 80600779fc Move CompositorWidget ownership from nsWindow to CompositorSession. (bug 1281998 part 4, r=jimm)
--HG--
extra : rebase_source : ff35830b0ca727e03366ebcd9cf069d7772de591
2016-06-29 16:47:22 -04:00
David Anderson b4551c49b7 Move InProcessCompositorWidget to its own file. (bug 1281998 part 3, r=jimm)
--HG--
rename : widget/CompositorWidget.cpp => widget/InProcessCompositorWidget.cpp
extra : rebase_source : d885b1ec9c30e8c5558c31c6caadfc645e7ed567
2016-06-29 16:47:22 -04:00
David Anderson 804c1ee06f Rename CompositorWidgetProxy files to CompositorWidget. (bug 1281998 part 2, r=jimm)
--HG--
rename : widget/CompositorWidgetProxy.cpp => widget/CompositorWidget.cpp
rename : widget/CompositorWidgetProxy.h => widget/CompositorWidget.h
rename : widget/windows/WinCompositorWidgetProxy.cpp => widget/windows/WinCompositorWidget.cpp
rename : widget/windows/WinCompositorWidgetProxy.h => widget/windows/WinCompositorWidget.h
extra : rebase_source : 8ecf59ad6039f0d0d2a51008aef53ef37aa2ce0e
2016-06-29 16:47:22 -04:00
Kartikaya Gupta 93cdc4ed3e Bug 1280667 - Add a test. r=botond
MozReview-Commit-ID: 6yJrmnZdbBu

--HG--
extra : rebase_source : 4e931115e1ba33b27e2606d3c2999ab4d76cce32
2016-06-27 12:20:30 -04:00
Kartikaya Gupta 810ca828fc Bug 1280667 - Don't update the callback transform if the APZ repaint request was rejected by a concurrent main-thread scroll position update. r=botond
MozReview-Commit-ID: 7jCdyN9H6T8

--HG--
extra : rebase_source : 7a8593851589465c9721abedb94717db2135fcae
2016-06-27 12:20:30 -04:00
Kartikaya Gupta abd67ccbb0 No bug - Update mxr link to dxr. r=me and DONTBUILD because NPOTB
MozReview-Commit-ID: 9VBiv505GrR
2016-07-06 09:48:25 -04:00
Khaled Hosny d8d7f64870 Bug 1283932 - support COLR table layers with unset color, r=jfkthame 2016-07-06 10:10:17 +01:00
Lee Salzman 9683f9ef09 Bug 1284578 - backport of Skia fix for SkCubicClipper::ChopMonoAtY. r=jrmuizel 2016-07-05 16:01:14 -04:00
Jeff Gilbert 59e908e368 Bug 1284355 - ColorBuffer exts go core in ES3.2, not ES3. - r=ethlin
MozReview-Commit-ID: 1fLJ434Csb5
2016-07-05 12:52:42 -07:00
Morris Tseng 819c8eb1a0 Bug 1281687 - Update ANGLE to chromium/2776. r=jrmuizel
MozReview-Commit-ID: DfAaesaHiWx

--HG--
rename : gfx/angle/src/libANGLE/renderer/ImplFactory.h => gfx/angle/src/libANGLE/renderer/GLImplFactory.h
rename : gfx/angle/src/libANGLE/renderer/d3d/copyimage.h => gfx/angle/src/libANGLE/renderer/copyimage.h
rename : gfx/angle/src/libANGLE/renderer/d3d/copyimage.inl => gfx/angle/src/libANGLE/renderer/copyimage.inl
rename : gfx/angle/src/libANGLE/renderer/gl/RendererGL.h => gfx/angle/src/libANGLE/renderer/d3d/d3d11/Context11.h
rename : gfx/angle/src/libANGLE/renderer/d3d/d3d11/win32/NativeWindow.cpp => gfx/angle/src/libANGLE/renderer/d3d/d3d11/win32/NativeWindow11Win32.cpp
rename : gfx/angle/src/libANGLE/renderer/gl/RendererGL.h => gfx/angle/src/libANGLE/renderer/d3d/d3d9/Context9.h
rename : gfx/angle/src/libANGLE/renderer/d3d/DisplayD3D.h => gfx/angle/src/libANGLE/renderer/gl/egl/android/DisplayAndroid.h
rename : gfx/angle/src/libANGLE/renderer/gl/wgl/WindowSurfaceWGL.h => gfx/angle/src/libANGLE/renderer/gl/egl/ozone/SurfaceOzone.h
rename : gfx/angle/src/libANGLE/renderer/d3d/imageformats.h => gfx/angle/src/libANGLE/renderer/imageformats.h
rename : gfx/angle/src/libANGLE/renderer/d3d/formatutilsD3D.cpp => gfx/angle/src/libANGLE/renderer/renderer_utils.cpp
rename : gfx/angle/src/libANGLE/renderer/gl/RendererGL.h => gfx/angle/src/libANGLE/renderer/vulkan/ContextVk.h
rename : gfx/angle/src/libANGLE/renderer/d3d/DisplayD3D.h => gfx/angle/src/libANGLE/renderer/vulkan/DisplayVk.h
rename : gfx/angle/src/tests/gl_tests/FramebufferFormatsTest.cpp => gfx/angle/src/tests/gl_tests/FramebufferTest.cpp
2016-06-28 15:41:24 +08:00
Andi-Bogdan Postelnicu ca078b944b Bug 1282397 - prevent explicit null pointer dereference. r=jrmuizel
MozReview-Commit-ID: 5Bj0h5q04is

--HG--
extra : rebase_source : 4f184a8fd806d7d6a422bd4ff87f55f1e1749f43
2016-06-27 17:23:10 +03:00
Sotaro Ikeda f35a68e9f9 Bug 1282341 - Add ImageContainer::ClearCachedResources() r=nical 2016-06-27 18:25:01 -07:00
David Anderson b32d76868e Use IntSize in CompositorBridgeParent's constructor. (bug 1282347, r=kats) 2016-06-27 17:05:34 -07:00
Kartikaya Gupta fe435c86af Bug 1283556 - Convert APZStateChange to an enum class and make the formatting more consistent with the style guide. r=botond
MozReview-Commit-ID: FtfoY1jCwkR
2016-07-04 14:44:08 -04:00
Phil Ringnalda 38512f586e Merge m-c to m-i, a=release-me-from-the-tyranny-of-this-hook 2016-07-04 11:12:49 -07:00
Nicolas Silva 0df2baab35 Bug 1227542 - Remove the unused single paint buffer code paths from TiledContentClient. r=jnicol 2016-07-04 19:47:25 +02:00
David Anderson d5667731db Revoke widget pointer from CompositorBridgeParent on shutdown. (bug 1282343 part 2, r=mattwoodrow) 2016-06-28 14:54:20 -07:00
David Anderson 6c0ba47595 Don't leave temporary dangling nsWindow references to CompositorBridgeParent. (bug 1282343 part 1, r=mattwoodrow,kats) 2016-06-28 14:53:21 -07:00
Nathan Froyd b86f050662 Bug 1195477 - part 1 - use -no-integrated-as for clang builds on ARM, moz.build changes; r=glandium
We have a lot of assembly written assuming gas's conventions, which
clang's integrated assembler doesn't support.  Disable the integrated
assembler for those pieces of code.
2016-06-28 23:48:49 -04:00
Sebastian Hengst 9627074d03 Backed out changeset a901563fd181 (bug 1281780) for OS X 10.10 debug for assertion in TextureClient.cpp during R(C) 1246775-1.html. r=backout 2016-06-28 20:28:23 +02:00
Sebastian Hengst d467495de4 Backed out changeset dbd3759d9489 (bug 1281775) 2016-06-28 20:28:23 +02:00
Sebastian Hengst 51e7f34222 Backed out changeset 14dfa550c783 (bug 1167235) 2016-06-28 20:28:23 +02:00
Sebastian Hengst 1e83040b43 Backed out changeset b67548cc946e (bug 1167235) 2016-06-28 20:28:23 +02:00
Sebastian Hengst 3dfd5773f2 Backed out changeset 6ee8762044bd (bug 1167235) 2016-06-28 20:28:23 +02:00
Sebastian Hengst 7f0473d085 Backed out changeset f534fcb785c9 (bug 1167235) 2016-06-28 20:28:22 +02:00
Sebastian Hengst 92c1ecdea3 Backed out changeset 169b7053b22d (bug 1167235) 2016-06-28 20:28:22 +02:00
Andi-Bogdan Postelnicu af65fa1246 Bug 1282424 - initialize member variable |mSpecularConstantInt| in SpecularLightingSoftware. r=mstange
MozReview-Commit-ID: 8ch1A9bGiBj

--HG--
extra : rebase_source : ee673828507d5de411c1a807f9b43ce542e34f21
2016-06-27 16:26:01 +03:00
Andrew Comminos b48d3626b3 Bug 1280744 - Set swap interval to 0 when running in ASAP mode on GLX. r=jgilbert
MozReview-Commit-ID: FYKDeBVUhnd

--HG--
extra : rebase_source : 2c0e11b20c8ee9d92523597b51493e2014d00084
2016-06-18 23:32:33 -04:00
Nicolas Silva cd6d6cf808 Bug 1167235 - Part 6 - Destroy textures while TextureForwarder is still usable. r=gw280 2016-06-28 14:07:04 +02:00
Nicolas Silva f8343772b9 Bug 1167235 - Part 4 - Forward the shutdown notification to CanvasRenderingContext2D. r=Bas 2016-06-28 14:07:00 +02:00
Nicolas Silva 607b38fffa Bug 1167235 - Part 3 - Use TextureReadLock to optimize canvas copy-on-writes. r=Bas 2016-06-28 14:06:57 +02:00
Nicolas Silva 24410dac99 Bug 1167235 - Part 2 - Detach DrawTarget snapshots before unlocking TextureClient. r=Bas 2016-06-28 14:06:55 +02:00
Nicolas Silva 9367516d33 Bug 1167235 - Part 1 - Render canvas2D into TextureClient directly. r=Bas 2016-06-28 14:06:51 +02:00
Nicolas Silva ef48def7da Bug 1281775 - Make dib textures not rely on accessing a ShadowLayerForwarder. r=gw280 2016-06-28 14:06:48 +02:00
Nicolas Silva d3e9d5d23c Bug 1281780 - forward ShadowLayerForwarder texture-related methods to CompositorBridgeChild. r=gw280 2016-06-28 14:06:46 +02:00
Milan Sreckovic 0cb5bffb6c Bug 1239188: Get the information if the sync is ever abandoned, rather than just timed out. r=jrmuizel
MozReview-Commit-ID: 6mzezs2PZLI

--HG--
extra : rebase_source : 7529af1fc23cbac493cdcd0930aa285c05bc383a
2016-06-24 12:38:36 -04:00
Andrew Comminos 7ff309ea95 Bug 1281105 - Disable GLX vsync when using the basic compositor. r=jrmuizel
MozReview-Commit-ID: HNvcCUbleMw

--HG--
extra : rebase_source : 335caeb57b9c05115156f4d56fe23c373335a30c
2016-06-21 15:51:34 -04:00
Jonathan Kew 48c59f0c3d Bug 1282248 - Declare a bunch of gfxTextRun measurement/drawing methods and related helpers as const. r=m_kato 2016-06-27 17:41:55 +01:00
Markus Stange 53778de528 Bug 1261166 - Add the ability to use IOSurface instead of texture upload on OS X. r=nical,mattwoodrow
Initial patch by Markus Stange, additional fixes by Kartikaya Gupta. The code
to use IOSurface is guarded by a pref that is disabled by default.

MozReview-Commit-ID: LbhsYu4zMRV
2016-06-27 11:25:13 -04:00
David Anderson 5e2232c2e7 Synchronize gfxPrefs to the GPU process. (bug 1280822 part 4, r=jrmuizel) 2016-06-26 23:33:20 -07:00
David Anderson 4b55758fd2 Remove PreferenceAccess. (bug 1280822 part 3, r=milan) 2016-06-26 23:33:18 -07:00
David Anderson 99fffbdb6e Add change callbacks to gfxPrefs. (bug 1280822 part 2, r=milan) 2016-06-26 23:33:16 -07:00
David Anderson d1ac63e903 Don't initialize gfxPrefs with libpref in the GPU process. (bug 1280822 part 1, r=milan) 2016-06-26 23:33:14 -07:00
Raulie Raulerson 6ab940e68e Bug 1276994 - Implemented SupportsApzTouchInput function in gfxPlatformGtk.cpp. r=kats
MozReview-Commit-ID: I57wJAgcmXM
2016-06-26 12:31:07 -04:00
Wes Kocher 1587b12aa9 Backed out 4 changesets (bug 1280822) for leaking nsTArray_base
Backed out changeset b9a0567cd7c1 (bug 1280822)
Backed out changeset 93d483583ffa (bug 1280822)
Backed out changeset 91715d8e468f (bug 1280822)
Backed out changeset 3db77f57cef4 (bug 1280822)
2016-06-24 14:43:41 -07:00
David Anderson c6e8888418 Synchronize gfxPrefs to the GPU process. (bug 1280822 part 4, r=jrmuizel)
--HG--
extra : rebase_source : 85222a6f5ede09474d61061a74eeebb677791c51
2016-06-24 16:18:02 -07:00
David Anderson 75b68d7a82 Remove PreferenceAccess. (bug 1280822 part 3, r=milan)
--HG--
extra : rebase_source : 0326ce94bd482d07fef664a26b2fa0b75706a0e5
2016-06-24 16:16:34 -07:00
David Anderson 90bbc7dc5c Add change callbacks to gfxPrefs. (bug 1280822 part 2, r=milan)
--HG--
extra : rebase_source : 80f940740ded711d92cd96e699d2ef5cf3be8f6b
2016-06-24 16:15:49 -07:00
David Anderson 3d57c3eefa Don't initialize gfxPrefs with libpref in the GPU process. (bug 1280822 part 1, r=milan)
--HG--
extra : rebase_source : abe16841b668fb899b69f3ea9d941d5edb68ed21
2016-06-24 16:14:45 -07:00
Bill McCloskey ab96df2b7a Bug 1268559 - Go back to ContentParent controlling process shutdown (i.e., backout bug 1262898) (r=dvander) 2016-06-24 13:13:45 -07:00
Nathan Froyd 1429c7df48 Bug 1278940 - avoid using __attribute__((optimize)) with clang in yuv; r=jrmuizel
clang doesn't understand __attribute__((optimize)) and so complains.
2016-06-24 23:26:40 -04:00
Phil Ringnalda 0c749ef583 Back out 2 changesets (bug 1195477) on suspicion of breaking Mac clobbers in libffi
CLOSED TREE

Backed out changeset 45a6a74c46ea (bug 1195477)
Backed out changeset 4f607b7635fd (bug 1195477)
2016-06-23 19:29:22 -07:00
Sotaro Ikeda 20a765bfb9 Bug 1281169 - Temporarily disable gonk fence handling r=nical 2016-06-23 19:06:40 -07:00
Randall Barker 1616721bd6 Bug 1280656 - Use Android ViewConfiguration to get max fling velocity. r=kats 2016-06-23 16:27:40 -07:00
Nathan Froyd 31c615bd95 Bug 1195477 - part 1 - use -no-integrated-as for clang builds on ARM, moz.build changes; r=glandium
We have a lot of assembly written assuming gas's conventions, which
clang's integrated assembler doesn't support.  Disable the integrated
assembler for those pieces of code.
2016-06-23 17:46:59 -04:00
Carsten "Tomcat" Book 284c26c669 Bug 1268854 - Break out of loop if no intersecting points on positive side of clipping plane. r=kip 2016-06-23 12:41:04 +02:00
Carsten "Tomcat" Book 253be4a67d Backed out changeset fdabb719c53a (bug 1268638)
--HG--
extra : rebase_source : c0556aedfa104839cb53748f6470d3f19f0be979
2016-06-23 09:47:25 +02:00
Carsten "Tomcat" Book dbb5d860d9 Backed out changeset c62305b23556 (bug 1268638)
--HG--
extra : rebase_source : f55a7ac7f723a9b5cb8d255e2d27d88a2f79ba4e
2016-06-23 09:47:25 +02:00
Jeff Muizelaar 83442b6d87 Bug 1279413. pixman: avoid overflow in create_bits function.
This is from the upstream:
https://lists.freedesktop.org/archives/pixman/2014-April/003244.html
2016-06-22 20:52:31 -04:00
Jeff Muizelaar 6ea6772e53 Bug 1279972. ssse3-scaler: initialize iter.data to NULL
This should avoid calling free with an uninitialized value.
2016-06-22 20:52:31 -04:00
Jeff Gilbert c0c4eadce1 Bug 1268638 - Add webgl.disable-wgl. - r=jrmuizel
MozReview-Commit-ID: BjtMv8RKKMH
2016-06-22 17:47:41 -07:00
Jeff Gilbert 7f0f026b98 Bug 1268638 - Avoid using gfxPrefs in a widfely-included header. - r=jrmuizel
MozReview-Commit-ID: KUERI1IC4HK
2016-06-22 17:47:41 -07:00
Sotaro Ikeda 39f0f47f8c Bug 1281374 - Update CanvasClientSharedSurface::ClearSurfaces() r=nical 2016-06-22 06:15:14 -07:00
Nicolas Silva e3b9d57c76 Bug 1280762 - ReadUnlock the TextureHost when its IPDL actor dies. r=sotaro 2016-06-21 18:06:34 +02:00
Sotaro Ikeda 3014d6f1db Bug 1281104 - Rename CompositorBridgeParent::GetCompositor() r=nical 2016-06-21 17:58:55 -07:00
Wes Kocher 8e4ef7176d Backed out 8 changesets (bug 1268638) for build bustage CLOSED TREE
Backed out changeset 1a2db6efc575 (bug 1268638)
Backed out changeset ad38e0439b62 (bug 1268638)
Backed out changeset 0078605c6974 (bug 1268638)
Backed out changeset 8ed7ed6c57db (bug 1268638)
Backed out changeset 69116551e4b9 (bug 1268638)
Backed out changeset 002f87a61edf (bug 1268638)
Backed out changeset 8b0db9b0f87c (bug 1268638)
Backed out changeset 5d1285d0c221 (bug 1268638)
2016-06-21 14:53:22 -07:00
Jeff Gilbert c36a2ee161 Bug 1268638 - Add webgl.disable-wgl. - r=jrmuizel
MozReview-Commit-ID: BjtMv8RKKMH
2016-06-21 14:10:32 -07:00
Jeff Gilbert 10c3ea8f5a Bug 1268638 - Avoid using gfxPrefs in a widfely-included header. - r=jrmuizel
MozReview-Commit-ID: KUERI1IC4HK
2016-06-21 14:10:32 -07:00
Jeff Gilbert 41c6dce417 Bug 1279657 - Fix missed callsites. - r=jrmuizel
MozReview-Commit-ID: 8RY2D5OTnZ5
2016-06-21 14:04:00 -07:00
Jeff Gilbert fe7590ad04 Bug 1279657 - failureId outvar should be a pointer. - r=benwa
MozReview-Commit-ID: 4s0OqZcHno5
2016-06-21 14:04:00 -07:00
Jeff Gilbert f24d3f8f8b Bug 1279657 - Star to left against type. - r=jrmuizel
MozReview-Commit-ID: IAuzZp4qcRX
2016-06-21 14:04:00 -07:00
Jeff Gilbert acda27dffc Bug 1279657 - Reference declarations should have the & against the type. - r=jrmuizel
MozReview-Commit-ID: 7RAd0TUJHfB
2016-06-21 14:04:00 -07:00
Jeff Gilbert 6d26b79b7b Bug 1278403 - Clarify crash message in case anyone unfamiliar runs into this. - r=jrmuizel
MozReview-Commit-ID: KfLv9fpZyvE
2016-06-21 13:47:30 -07:00
Jeff Gilbert 87e8222d4d Bug 1278403 - Misc code cleanup. - r=jrmuizel
MozReview-Commit-ID: 3ccHiLQM6lm
2016-06-21 13:47:30 -07:00
Jeff Gilbert 6b0581243f Bug 1278403 - Choose GLContext::DebugFlags based on ContextCreateFlags. - r=jrmuizel
MozReview-Commit-ID: KSjIhu8I20C
2016-06-21 13:47:30 -07:00
Jeff Gilbert 48df3413eb Bug 1278403 - Fix formatting.
MozReview-Commit-ID: 12ArnWLnPLG
2016-06-21 13:47:30 -07:00
Jeff Gilbert 774abaa5e4 Bug 1278403 - Spread CreateContextFlags to GLContext::ctor. - r=jrmuizel
MozReview-Commit-ID: 4rPitIpn60l
2016-06-21 13:47:30 -07:00
Jeff Gilbert 959137d9a3 Bug 1278403 - Clean up gfxEnv.h - r=milan
MozReview-Commit-ID: 1TSqW6N3CDs
2016-06-21 13:47:30 -07:00
Kartikaya Gupta 312e6936e5 Bug 1281192 - Set velocity bias to 0 on Fennec. r=rbarker
MozReview-Commit-ID: HupL2wF6rFK

--HG--
extra : rebase_source : e0ac2431699687cc6dfaa6d7f34e861c1ec76fdb
2016-06-21 14:46:34 -04:00
Lee Salzman 5b4d7640b1 Bug 1280635 - use drawBitmap instead of drawBitmapRect for DrawTargetSkia::CopySurface. r=jrmuizel 2016-06-21 16:14:28 -04:00
Nicolas Silva 878a16fd7f Bug 1280110 - Make sure compositor and layer resources are cleared when shutting down CompositorBridgeParent. r=sotaro 2016-06-21 17:31:21 +02:00
Nicolas Silva 900ff3581c Bug 1280110 - Ensure CompositingRenderTargetOGL is never created without a gl context. r=sotaro 2016-06-21 17:31:13 +02:00
Nicolas Silva fcc289ce90 Bug 1280110 - Null check mGL when destroying CompositingRenderTargetOGL. r=jnicol 2016-06-21 14:29:35 +02:00
Jonathan Kew 89a9dd3e11 Bug 766452 - crashtest. 2016-06-21 13:23:28 +02:00
Jesse Ruderman d92b3bc750 Bug 766452 - crashtest. 2016-06-21 13:23:28 +02:00
Sean Stangl bea245dbfc Bug 1281015 - Remove unused mConsumerKeyedMutex. r=kamidphish 2016-06-20 11:09:00 -04:00
Kartikaya Gupta 2238872488 Bug 1262807 - Change the heuristic at which the TiledRegion collapses down to a single rect. r=mstange
MozReview-Commit-ID: CYi3NbPLvnS
2016-06-20 14:50:15 -04:00
Kartikaya Gupta 2c6b1d658a Bug 1262807 - Add logging support for TiledRegion classes. r=mstange
MozReview-Commit-ID: JsmqcpYsyip
2016-06-20 14:50:04 -04:00
Kartikaya Gupta 25a5c940b8 Bug 1280998 - Make a copy of the SurfaceDescriptor before sending it to IPC. r=nical
The IPDL code unconditionally calls forget() on any Shmem instances that are
sent over the IPC channel. This means that if the child process has a
SurfaceDescriptor containing a Shmem (such as a shmem-type SurfaceDescriptorBuffer)
then the shmem object in it will be zeroed out after sending it over IPC. In
order to still have access to the underlying SharedMemory, we need to make a
copy of the shmem or SurfaceDescriptor before doing the IPC call. Note that this
is true for safe and unsafe shmems.

MozReview-Commit-ID: KjEhPNiQhf9
2016-06-20 12:59:35 -04:00
Thomas Zimmermann 5186cea577 Bug 1280651: Fix invokation of |PostTask|, r=khuey
MozReview-Commit-ID: 4H5sGYe85oR
2016-06-20 12:24:05 +02:00
Daniel Holbert ffc6d631d6 Bug 1280753: Call Close() on SVG-in-opentype content viewer, when tearing it down. r=smaug
MozReview-Commit-ID: Jscvj1rvYCp

--HG--
extra : rebase_source : 2f68057e9bda004b8d94ea8685d08170f55906d3
2016-06-18 18:32:19 +01:00
Daniel Holbert 211c0fd91c Bug 1280676: When SVG-in-opentype font is being torn down, call OnPageHide() on its inner document instead of simply pausing animations. r=smaug
MozReview-Commit-ID: 6BzHP2BDsmZ
2016-06-18 17:03:11 +01:00
George Wright e69fbec6a5 Bug 1176011 - Move TextureClientPool to CompositorBridgeChild r=nical 2016-06-18 03:35:10 +01:00
Sebastian Hengst 0b6af3280c Backed out changeset 5bde2c12831c (bug 594876) for failing reftest preserves3d-nested.html at least on Linux. r=backout 2016-06-17 20:16:47 +02:00
Sebastian Hengst b4b26717be Backed out changeset d8b83ff870a3 (bug 594876) 2016-06-17 20:15:58 +02:00
Andrew Comminos f71ab38071 Bug 594876 - Test that acceleration is used on Linux. r=nical
MozReview-Commit-ID: JXNUfCnwZvN

--HG--
extra : rebase_source : daf9309e706a13751b277707b782ac03aca662d6
2016-06-17 14:53:53 +01:00
Andrew Comminos bda41a5e45 Bug 594876 - Enable layers acceleration by default on Linux. r=nical
MozReview-Commit-ID: HmgbkL35nth

--HG--
extra : rebase_source : c063cd96d66534ea66ec6edc006bc5b409fc6eba
2016-06-17 14:50:33 +01:00
Timothy Guan-tin Chien 9ed4429e08 Bug 1231701 - Ship our own variant of EmojiOne on Windows and Linux, r=glandium, r=dolske, r=jfkthame, r=gerv
This patch bundles a color font named "EmojiOne Mozilla", and turn on
the necessary code for including the bundled font, on Linux and Windows.
With that, users of Linux and Windows <=8.0 is able to see color Emoji
on Firefox without support from System.

The font bundled is the v0.2.1 version, generated from the project repo
in

https://github.com/mozilla/emojione-colr

with artwork from the original EmojiOne font and Twemoji,
under CC BY 4.0 license.

Test files, about:license page, and the packager instruction are
modified accordingly.

MozReview-Commit-ID: 2mmxnA0vS3u
2016-06-15 21:58:49 +01:00
Carsten "Tomcat" Book 27b9dd5031 Backed out changeset a95a934791f7 (bug 1279657) for bustage on a CLOSED TREE 2016-06-17 13:33:26 +01:00
Carsten "Tomcat" Book 0f670f3910 Backed out changeset dfe70885c37c (bug 1279657) 2016-06-17 13:33:08 +01:00
Carsten "Tomcat" Book c0c2282bfb Backed out changeset 097dc302f5a0 (bug 1279657) 2016-06-17 13:33:06 +01:00
Jeff Gilbert 30c5609435 Bug 1279657 - failureId outvar should be a pointer. - r=benwa
MozReview-Commit-ID: 4s0OqZcHno5
2016-06-17 05:10:55 -07:00
Jeff Gilbert 1d4c021d59 Bug 1279657 - Star to left against type. - r=jrmuizel
MozReview-Commit-ID: IAuzZp4qcRX
2016-06-17 05:10:55 -07:00
Jeff Gilbert 3d08cc27b5 Bug 1279657 - Reference declarations should have the & against the type. - r=jrmuizel
MozReview-Commit-ID: 7RAd0TUJHfB
2016-06-17 05:10:55 -07:00
Randall Barker 35663fcd17 Bug 1280580 - Android native fling animation is returning an inverted velocity r=kats 2016-06-17 11:41:21 +01:00
Kartikaya Gupta 3877e9861b Bug 1280297 - Add refcount logging support for AtomicRefCountedWithFinalize. r=nical,froydnj
MozReview-Commit-ID: JC6zq3Mit97
2016-06-16 23:27:08 +01:00
Jonathan Watt b92e6743a4 Backed out changeset 1bd6da31483d (bug 1279654) 2016-06-16 17:28:50 +01:00
Jonathan Watt 50ca6cab92 Backed out changeset 4d5124b4bc5b (bug 1279790) 2016-06-16 17:26:59 +01:00
Jonathan Watt 53d1069004 Backed out changeset 248457986c11 (bug 1279789) 2016-06-16 17:25:54 +01:00
Kartikaya Gupta 33be75d853 Bug 1247280 - Bump the APZ content response timeout so that we get 99% accuracy. r=botond
MozReview-Commit-ID: FpmuxUcnmpZ

--HG--
extra : rebase_source : d35d82b1790ad3ac66fbca6db90784e47d104e13
2016-06-14 20:30:13 -04:00
Andrew Comminos 1a2c265bd6 Bug 1279744 - Improve fallback handling for glXWaitVideoSync. r=lsalzman
MozReview-Commit-ID: JXy6yupyd3v
2016-06-16 04:13:03 +01:00
Jonathan Kew 5a98bcfa1e Bug 1278614 - Update the freetype-based GetGlyph method to conform to the expectations of the HarfBuzz callbacks, returning 0 for unsupported <Base, Variation-Selector> sequences instead of automatically returning the default mapping and ignoring the VS. r=karlt 2016-06-07 20:29:25 +01:00
Jonathan Kew 96bb44cd34 Bug 1276594 - Don't rely on the fontconfig charmap for user fonts or app-bundled fonts; check the cmap directly instead. r=karlt 2016-06-15 14:35:05 +01:00
Sotaro Ikeda f731d220ed Bug 1252835 - Make TextureHost recycling implicit r=nical 2016-06-15 04:28:10 -07:00
Nicolas Silva fc2766db56 Bug 1278437 - Null-check after allocating a tile's texture, before accessing it. r=jnicol 2016-06-15 11:30:46 +02:00
Jonathan Watt 7972d9d526 Bug 1279966 - Stop using gfxContext device offsets on the temporary gfxContext in BasicLayerManager::PaintLayer. r=mattwoodrow 2016-06-15 10:06:11 +01:00
Kartikaya Gupta bbfa56eb4c Bug 1260905 - Set a minimum bound on the velocity required for a fling to actually happen. r=rbarker
MozReview-Commit-ID: FTeJdUlffrM
2016-06-14 20:03:04 -04:00
Jonathan Watt 5c1ec02e49 Bug 1279789 - Remove the printing methods from gfxASurface. r=eflores 2016-06-14 19:26:40 +01:00
Jonathan Watt c5bcf8c0ee Bug 1279790 - Remove PrintTargetThebes. r=eflores 2016-06-14 19:26:37 +01:00
Jonathan Watt 49f4f606aa Bug 1279788 - Create a PrintTargetWindows subclass of PrintTarget. r=eflores 2016-06-14 19:26:35 +01:00
David Anderson ebb01e928a Implement GPU process shutdown. (bug 1271180 part 5, r=billm)
--HG--
extra : rebase_source : 13e7c4274e3948e13096baf3bf4e48000d3f8864
2016-06-10 22:37:03 -04:00
David Anderson d3bb5cb316 Add skeletal code for launching a GPU process. (bug 1271180 part 4, r=billm,jrmuizel)
--HG--
extra : rebase_source : 456e4b94a93191f85d90209459c5189ea165670d
2016-06-10 22:27:24 -04:00
David Anderson 010067a08a Don't create GPUProcessManager in child processes. (bug 1271180 part 2, r=mattwoodrow)
--HG--
extra : rebase_source : 6b206099edef0ae15c01f70d3c7f14df02332708
2016-06-10 21:00:40 -04:00
Jonathan Watt f048425035 Bug 1279654 - Create a PrintTargetRecording subclass of PrintTarget. r=mstange 2016-06-13 17:19:08 +01:00
Jonathan Watt 991fa30634 Bug 1279791 - Remove gfxSharedQuartzSurface. r=eflores 2016-06-13 09:27:23 +01:00
Jonathan Watt 04a5c746ec Bug 1279398 - Remove gfxUnknownSurface. r=eflores 2016-06-13 09:27:23 +01:00
Jonathan Watt 0368b7ba6c Bug 1279397 - Remove gfxQPainterSurface. r=eflores 2016-06-13 09:27:23 +01:00
Jonathan Watt 5958abcf36 Bug 1279395 - Remove gfxTeeSurface. r=eflores 2016-06-13 09:27:22 +01:00
Benoit Girard 30104aca1e Bug 1280609 - Remove FEATURE_FAILURE_EGL_LIB_INIT. r=jrmuizel
MozReview-Commit-ID: B3F3cVV7fCS

--HG--
extra : rebase_source : ad6879bfad720b6fb3266c828bbff49afa383c09
2016-06-30 12:00:00 -04:00
Andi-Bogdan Postelnicu 7360a7816b Bug 1283092 - initialise member variable |mXDisplay|. r=jrmuizel
MozReview-Commit-ID: 9fXD6EI1ivT

--HG--
extra : rebase_source : 46b2f1e482b6d25d21f2ec5e98e513ab6f79983e
2016-06-29 16:43:50 +03:00
eyim ec60e64569 Bug 1277314 - Add ogl compositing feature in gfxplatform r=BenWa,dvander
MozReview-Commit-ID: HMfvXtKV0Yk

--HG--
extra : rebase_source : 3cc6008b4655726fd740fb011ae4c152e3baf865
2016-06-20 12:29:47 -04:00
Jonathan Watt 483ce4fb50 Bug 1279628, part 3 - Replace the last gfxASurface::CheckSurfaceSize call, and remove gfxASurface::CheckSurfaceSize. r=mstange 2016-06-10 13:32:01 +01:00
Jonathan Watt 06b29e4abf Bug 1279628, part 2 - Switch all but one of the gfxASurface::CheckSurfaceSize calls to call Factory::CheckSurfaceSize. r=mstange 2016-06-10 13:32:01 +01:00
Jonathan Watt 53c34f0b69 Bug 1279628, part 1 - Add the CoreGraphics check from gfxASurface::CheckSurfaceSize to Factory::CheckSurfaceSize. r=mstange 2016-06-10 13:32:01 +01:00
Jonathan Watt 09e31afca4 Bug 1278441 - Add a CoreGraphics subclass of PrintTarget. r=mstange
--HG--
extra : rebase_source : 3629f0a9152dad18b9a2e44d16b4d28359f414cf
2016-06-09 22:35:14 +01:00
rhunt c62f33ecfe Bug 1278575 - Removed refs to GFX_ENV_LIVE. r=jgilbert 2016-06-09 13:06:00 +02:00
Phil Ringnalda 5e0adb7d56 Back out 5 changesets (bug 1271180) for static analysis bustage
CLOSED TREE

Backed out changeset cfb53b780b18 (bug 1271180)
Backed out changeset 204b084385f8 (bug 1271180)
Backed out changeset 353da876be33 (bug 1271180)
Backed out changeset 4472dfbc1dc6 (bug 1271180)
Backed out changeset 81079e787b8a (bug 1271180)

--HG--
rename : ipc/glue/TaskFactory.h => dom/plugins/ipc/TaskFactory.h
2016-06-11 00:46:09 -07:00
Phil Ringnalda 1cce1f61f8 Back out 2 changesets (bug 1279628) for reftest bustage
CLOSED TREE

Backed out changeset 07e4432bd6b3 (bug 1279628)
Backed out changeset 416fa9aeec55 (bug 1279628)
2016-06-11 00:44:51 -07:00
Andrew Comminos e4acfac598 Bug 1279664 - Handle GL context creation failing in the GLX vsync provider. r=me
MozReview-Commit-ID: XaQU1nQnNB
2016-06-11 01:28:29 -04:00
David Anderson a6676c7cfb Implement GPU process shutdown. (bug 1271180 part 5, r=billm)
--HG--
extra : rebase_source : c00e110f584ac056cc4e7918b833d6c6dbd79007
2016-06-10 22:37:03 -04:00
David Anderson d2678d4141 Add skeletal code for launching a GPU process. (bug 1271180 part 4, r=billm,jrmuizel)
--HG--
extra : rebase_source : 332f5cf6ca5e1f78fb2283a7e79b6b21654e9e59
2016-06-10 22:27:24 -04:00
David Anderson c7ec2b19d8 Don't create GPUProcessManager in child processes. (bug 1271180 part 2, r=mattwoodrow)
--HG--
extra : rebase_source : d367514a59fee0ff478dc0afc613738d23f43350
2016-06-10 21:00:40 -04:00
Jonathan Watt 8ea6b72d47 Bug 1279628, part 2 - Replace all gfxASurface::CheckSurfaceSize calls with Factory::CheckSurfaceSize and remove gfxASurface::CheckSurfaceSize. r=mstange
--HG--
extra : rebase_source : 314cf522b5760e63e176418ae170301fafa80f89
2016-06-09 15:31:24 +01:00
Jonathan Watt 8b002c52bd Bug 1279628, part 1 - Add the CoreGraphics check from gfxASurface::CheckSurfaceSize to Factory::CheckSurfaceSize. r=mstange
--HG--
extra : rebase_source : 46aba14e2b2e6997672ac690c73def2391df0c4f
2016-06-09 15:31:24 +01:00
Phil Ringnalda 2aeaa4b735 Back out 2 changesets (bug 1267879) for webgl crashes
CLOSED TREE

Backed out changeset 4f3df5eadf59 (bug 1267879)
Backed out changeset 4c2a18cac92b (bug 1267879)
2016-06-10 19:17:17 -07:00
Phil Ringnalda 6102ffe8a1 Back out changeset c3d167fbd0e4 (bug 1176011) for frequent crashes @mozilla::layers::FixedSizeSmallShmemSectionAllocator::ShrinkShmemSectionHeap() 2016-06-10 19:05:25 -07:00
Kartikaya Gupta d168d92285 Bug 1278268 - Simplify some test code to use the moveMouseAndScrollWheelOver function. r=botond
MozReview-Commit-ID: KyIvCSpBQTi

--HG--
extra : rebase_source : c51dd1d3fa03a674c7233a42bc12233fef2260b2
2016-06-09 09:06:58 -04:00
Kartikaya Gupta bea6d03a52 Bug 1278268 - Ensure that no-op mousemove synthesizations on Windows still fire a mousemove event. r=jimm
MozReview-Commit-ID: EXZtvqy1BLu

--HG--
extra : rebase_source : 7dcaa9370c0733267940ad8374bf783cde65e9e7
2016-06-09 09:06:58 -04:00
Kartikaya Gupta c96dfeb86e Bug 1278268 - Back out cset 8c896f70f97b from bug 1276107 as we have a better fix in hand. r=botond
MozReview-Commit-ID: 8xa9jiS8OLy

--HG--
extra : rebase_source : eef3b019ea4b6381951de13f1792d1ffd8be713c
2016-06-09 09:06:58 -04:00
Kartikaya Gupta 2c4f0fd351 Bug 1278268 - Fix a latent bug in a test where we try to scroll something before it's layerized. r=botond
MozReview-Commit-ID: 3vuujg6ARzl

--HG--
extra : rebase_source : 3b4124c512e7da4fc5fa6ebcd44b99e0e49e653e
2016-06-09 09:06:58 -04:00
Lee Salzman a3cb78ac4f Bug 1257939 - use libyuv::ARGBRect for initializing buffers in layers. r=gwright 2016-06-10 21:49:46 -04:00
Jeff Gilbert 05bf436edd Bug 1267879 - Only check robustness if it's supported. - r=jrmuizel
MozReview-Commit-ID: 4RNjnWFccID
2016-06-10 17:47:18 -07:00
Jeff Gilbert c3f1f735b3 Bug 1267879 - Fix WGL robustness. - r=jrmuizel
MozReview-Commit-ID: IpstmnnGM0N
2016-06-10 17:47:16 -07:00
Lee Salzman 02da400412 Bug 1275339 - check if creation of cairo surface fails in DrawTargetCairo::DrawSurface. r=jrmuizel 2016-06-10 20:00:47 -04:00
Botond Ballo 70f1406c83 Bug 1277814 - Disable test_bug1277814.html on Android because it uses wheel events which are not supported on Android. r=bustage
MozReview-Commit-ID: A5MFIPkb4jv
2016-06-10 18:20:56 -04:00
Ralph Giles 5f548c968f Bug 1275744 - Reference MOZ_LOG in graphics comments. r=erahm
NSPR_LOG_MODULES is deprecated.

MozReview-Commit-ID: HZzskDYsTo9

--HG--
extra : rebase_source : 21d4c4a94d80ad962ef56fceb8d6fbabc017d2ea
2016-05-26 11:41:29 -07:00
Jonathan Watt 64d4c555b7 Bug 1279473 - Remove more dead gfxASurface code. r=mstange 2016-06-08 20:26:56 +01:00
Botond Ballo de93c5f4c0 Bug 1277814 - APZ mochitest for scroll frame with transform that results in a cumulative resolution of zero. r=kats
MozReview-Commit-ID: J6ueE23YqC

--HG--
extra : rebase_source : 6a4bb1c37ee7743bdca0e267ef8415e77da3acb3
extra : amend_source : a8ec753cc0226d3c0a783165220587d7a734d92a
extra : source : 3bdf66e6e42cd1ef01a5730c8be465190119abef
extra : histedit_source : 4356ea0b9486cd06329f7706fbb2ee0d14a581e8
2016-06-08 19:17:57 -04:00
George Wright 29e2a97139 Bug 1176011 - Move TextureClientPool to CompositorBridgeChild r=nical 2016-06-10 14:57:20 -04:00
eyim b0ca07b635 Bug 1277027 - fix MOZ_CRASH to have GFX prefix in webGL code r=BenWa,milan
MozReview-Commit-ID: FjLA9xNH3zD

--HG--
extra : rebase_source : 5809a1f8126360b3fa8ee069b3a463747cb31e6f
2016-06-06 11:17:23 -04:00
Tooru Fujisawa e59f1fba71 Bug 382721 - Part 4: Support dotted/dashed border-radiused corners. r=jrmuizel 2015-08-06 11:42:09 +09:00
Andrew Comminos 745e332e1b Bug 1279335 - Use TiledTextureImage as a fallback on all GL implementations when exceeding the maximum texture size. r=nical
MozReview-Commit-ID: HsVmeuFhnP5

--HG--
extra : rebase_source : b7429c0b845d9f3240a226f3c5fa7af30fac734b
2016-06-09 16:39:11 -04:00
Carsten "Tomcat" Book 8ec9dd1719 Backed out changeset 0863ce40d2f7 (bug 382721)
--HG--
extra : rebase_source : ee6aa275c7ee4291d87a051e92e2e28979b83d96
2016-06-10 15:38:37 +02:00
Jonathan Watt b15368cfcb Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
Thomas Zimmermann a80ba6c225 Bug 1276590: Replace |ReadBytes| with |ReadBytesInto| in Gonk IPC code, r=froydnj,billm
MozReview-Commit-ID: FdjdoOT7j7j
2016-06-10 09:23:21 +02:00
Thomas Zimmermann 3f7f4cfdd7 Bug 1278780: Use |TexturedEffect::mSamplingFilter| on b2g, r=bas
MozReview-Commit-ID: CEmY1zsBaRG
2016-06-10 09:19:37 +02:00
Tooru Fujisawa 72499083d6 Bug 382721 - Part 4: Support dotted/dashed border-radiused corners. r=jrmuizel 2015-08-06 11:42:09 +09:00
Jonathan Watt 4a3d84e333 Bug 1278278 - Remove gfxPDFSurface and move its logic to a PrintTargetPDF subclass of PrintTarget. r=Bas
--HG--
rename : gfx/thebes/gfxPDFSurface.cpp => gfx/thebes/PrintTargetPDF.cpp
rename : gfx/thebes/gfxPDFSurface.h => gfx/thebes/PrintTargetPDF.h
2016-06-06 16:10:28 +01:00
Jonathan Watt cc6d4f9c08 Bug 1278276 - Remove gfxPSSurface and move its logic to a PrintTargetPS subclass of PrintTarget. r=Bas
--HG--
rename : gfx/thebes/gfxPSSurface.cpp => gfx/thebes/PrintTargetPS.cpp
rename : gfx/thebes/gfxPSSurface.h => gfx/thebes/PrintTargetPS.h
2016-06-06 16:10:28 +01:00
Jonathan Kew d5c49863d0 Bug 1279069 - Replace &nbsp; with <space> for Graphite shaping purposes if &nbsp; is not supported by the font. r=jrmuizel 2016-06-09 23:53:22 +01:00
Botond Ballo 06d34b07af Bug 1277814 - Avoid division-by-zero when the cumulative resolution is zero. r=tnikkel
The division-by-zero was introducing NaNs into the displayport calculations,
resulting in bad displayports.

MozReview-Commit-ID: 5dbqIEOFADS

--HG--
extra : source : 569276f2edd39600de534183e12b7f8762b917c8
2016-06-06 18:16:06 -04:00
Botond Ballo 8004b3209f Bug 1277814 - Add printing support to BaseMargin. r=kats
MozReview-Commit-ID: 3E36i09xI3Y

--HG--
extra : source : b720fc66767b6cd6f136998dd51cf58e0d59cca8
2016-06-03 17:23:40 -04:00
Randall Barker 8e2fb1b139 Bug 1276463 - Allow Android native fling animation to correctly handoff velocity r=botond 2016-06-09 12:36:23 -07:00
Mason Chang 3624359847 Bug 1278972. Properly compare rect height vs stroke height when filling rect with skia without AA. r=lsalzman 2016-06-09 10:19:12 -07:00
Jonathan Watt 0676eabe9f Bug 1278269 - Make a PrintTarget class and PrintTargetThebes subclass and convert all nsIDeviceContextSpec subclasses to use them. r=Bas 2016-06-03 11:27:31 +01:00
Carsten "Tomcat" Book ffd9e007e6 Backed out changeset 1b8e6e22a983 (bug 1275694) for test failures in checkerboard-3.html 2016-06-09 08:54:34 +02:00
Matt Woodrow 695c044db9 Bug 1275694 - Use the presence of checkerboarding to decide when to override the clip rect rather than always using the client side visible rect. r=botond
--HG--
extra : rebase_source : 3d1785095b265bc3e2b51cf6ebb18f2538e3e62c
2016-06-09 16:36:12 +12:00
Sotaro Ikeda 6ec321d0df Bug 1256475 - Use libyuv for non scaling YUV color conversion r=jrmuizel 2016-06-08 18:46:42 -07:00
Kearwood (Kip) Gilbert 8a50416d83 Bug 1111689 - Part 1: Let EXT_shader_texture_lod play when ARB_shader_texture_lod can play. r=jgilbert 2016-06-08 17:28:49 -07:00
Matt Brubeck 618e68471e Bug 1278647 [stylo] Add font family bindings for Servo r=heycam
MozReview-Commit-ID: IlEB0f1xrKF

--HG--
extra : rebase_source : aa9cd08f0abf281dcf149435fbb2e39fc37c8367
2016-06-07 12:13:24 -07:00
Jonathan Watt 694ff8b801 Bug 1278322 - Remove the gfxContext::Mask overload that takes a gfxASurface. r=eflores
--HG--
extra : rebase_source : 6fe24337cc0c79e44027856772444a891903caeb
2016-06-02 11:13:30 +01:00
Andrew Comminos 3f0a5e8c60 Bug 1197954 - Implement Linux hardware vsync using GLX_SGI_video_sync. r=mchang,lsalzman
MozReview-Commit-ID: DPeqxPl0NSh
2016-06-08 16:26:37 -04:00
Andrew Comminos 0451f41d19 Bug 1197954 - Add support for GLX_SGI_video_sync to GLContextProviderGLX. r=jgilbert
MozReview-Commit-ID: JnNLEbsKjzl
2016-06-08 16:26:36 -04:00
Wes Kocher 900af5349d Backed out changeset a85da8081c68 (bug 1176011) of OSX failures 2016-06-08 11:44:29 -07:00
George Wright 4a2717ba01 Bug 1176011 - Move TextureClientPool to CompositorBridgeChild r=nical 2016-06-08 12:23:41 -04:00
Dylan Roeh 26e9a5cd2f Bug 1136364 - Move EGLSurface creation out of GLController.java. r=snorp 2016-06-08 08:38:45 -05:00
Andi-Bogdan Postelnicu 2092648418 Bug 1278480 - prevent null pointer dereference. r=kats
MozReview-Commit-ID: LhntDa5Fqqi

--HG--
extra : rebase_source : b22e53908a68a099efe0afbd6cba5d0012f9b5c9
2016-06-08 16:12:37 +03:00
Sebastian Hengst 55bfbee464 Backed out changeset 6f2840c13fb0 (bug 382721) 2016-06-08 11:07:51 +02:00
Tooru Fujisawa f90b836316 Bug 382721 - Part 4: Support dotted/dashed border-radiused corners. r=jrmuizel 2015-08-06 11:42:09 +09:00
Nicholas Nethercote 3078d330ba Bug 1278452 - Fix up bad null checks in Skia. r=lsalzman.
--HG--
extra : rebase_source : 02ee975dff8d5666e132a3140fe13e77c94f850b
2016-06-08 14:12:10 +10:00
Nicholas Nethercote 4e8f3b6d6e Bug 1276824 (part 2) - Fix up checks for calls to gfxContext::Create{,PreservingTransform}OrNull(). r=milan.
--HG--
extra : rebase_source : 80644c1a6658da553c13ae1ab3b8d03e916ee6e7
2016-06-07 11:17:48 +10:00
Nicholas Nethercote a02611e830 Bug 1276824 (part 1) - Rename gfxContext::ForDrawTarget{,WithTransform}(). r=milan.
The new names Create{,PreservingTransform}OrNull() better communicate that
these functions (a) do object creation, and (b) are fallible.

--HG--
extra : rebase_source : a36bd9a2bcdfae281868959403f811f2bc690ad4
2016-06-07 09:39:56 +10:00
George Wright 75d2715f23 Bug 1278723 - Don't use ssse3_scale_data on targets that don't support SSSE3 r=jrmuizel 2016-06-07 20:52:45 -04:00
George Wright 20caba9bab Revert "Bug 1176011 - Move TextureClientPool to CompositorBridgeChild r=nical" on a CLOSED TREE
This reverts commit 5e29613bb6bc66d13bc63c4fab3a0130e801a058.
2016-06-07 17:37:59 -04:00
Jonathan Watt 27d64c914e Bug 1278424 - Remove some code from gfxQuartzSurface. r=eflores
--HG--
extra : rebase_source : b382286844a47ef6e5ffdf83435cd0c36b767f31
2016-05-30 16:26:30 +01:00
Jonathan Watt 4501364d03 Bug 1278427 - Remove some code from gfxWindowsSurface. r=eflores
--HG--
extra : rebase_source : ae83377b5c2056b03153c6ca0da091f6443189cf
2016-05-30 16:26:30 +01:00
Kartikaya Gupta 4131eaf041 Bug 1273137 - Add the missing main-thread target confirmation for drag blocks. r=rbarker
This patch also cleans up some inconsistencies in the conditions under which the
main thread would respond to wheel and mouse events. With this patch applied, the
main-thread notifications are only sent if the input block id is nonzero, which
indicates the APZ actually processed the input event and added it to an input
block.

MozReview-Commit-ID: GBlgj6whi5T

--HG--
extra : rebase_source : 01cbbe8b90208a8dc5ab81ab9bdbd39d3bc8ee7a
2016-06-07 11:07:55 -04:00
Kartikaya Gupta 07d2a157f8 Bug 1273137 - Add the mHandledByAPZ flag to MouseInput as well. r=rbarker
MozReview-Commit-ID: EGEzIjvHbml

--HG--
extra : rebase_source : 9c9be98807a81e90fffa075a209346988a8fc614
2016-06-07 11:07:55 -04:00
Kartikaya Gupta 08a944bb46 Bug 1273137 - Add a mochitest that creates a drag block on a dispatch-to-content-region. r=rbarker
MozReview-Commit-ID: LRKyOUGvFP9

--HG--
extra : rebase_source : 791e27bad946b6e021df521fea335b7ec4b445f1
2016-06-07 11:07:55 -04:00
George Wright 7eeaa7b6cd Bug 1176011 - Move TextureClientPool to CompositorBridgeChild r=nical 2016-06-07 14:33:23 -04:00
Dylan Roeh b36a748d2f Bug 1271103 - Backs out the patch for Bug 1136364 and related patches. r=snorp 2016-06-07 09:25:26 -05:00
Nicolas Silva 16fd1cf5ef Bug 1278512 - Fix bezier flattening when the inflection points are on the extremity of the curve. r=Bas 2016-06-07 16:51:44 +02:00
JerryShih 73652c8a4f Bug 1133623 - check device-removed status when we have timeout. r=milan, r=bas 2016-06-06 20:10:00 +02:00
Phil Ringnalda 305ac3c2cf Back out c88f2cb8e4fa (bug 1256475) for Android failures in test_imagebitmap_extensions.html
CLOSED TREE
2016-06-06 22:26:25 -07:00
Sotaro Ikeda d7880ceea1 Bug 1256475 - Use libyuv for non scaling YUV color conversion r=jrmuizel 2016-06-06 20:10:59 -07:00
Benoit Girard 2586414710 Bug 1276732 - Report the GLContext error to WebGL for telemetry. r=jrmuizel
MozReview-Commit-ID: 24eb4FXMOiI

--HG--
extra : rebase_source : 391e44f4d4fdcf5782053fc6c3e9b17e651a9a1f
2016-06-06 16:52:42 -04:00
Mason Chang 426f8dbfee Bug 1276931. Add VsyncSource::Shutdown which shuts down global display. r=jrmuizel 2016-06-06 10:07:29 -07:00
Botond Ballo 574fdad7e2 Bug 1276107 - Avoid the footgun where, on Windows, when synthesizing a mouse move event, if the mouse is already at the target location the event is never dispatched. r=kats
MozReview-Commit-ID: 9hCJ3wpkOah

--HG--
extra : rebase_source : 92aa6b5b489fa8c3d1aa1ec7d2b979aa6af83a45
extra : amend_source : c875c84d8740bfeb6d0ebc8e7df35a173ee93c74
extra : intermediate-source : acd104ba0e8deb2c3e92b05e67f9520fcef551ab
extra : source : 5fddc3a80999cd6e284afbcabcddd74f398a06b9
2016-06-03 13:12:36 -04:00
Botond Ballo 95cd52ff56 Bug 1276107 - Add a test for scrolling an inactive subframe with z-index. r=kats
MozReview-Commit-ID: 6HcYkrmgLFw

--HG--
extra : rebase_source : 10887de280b21cd8b2c77e687a8cc829819b4d91
extra : intermediate-source : f15df83c29a6e13263ca462b00ae561543b45ae1
extra : source : d48c76e7c8fc9db9d47d3553685c188c6dde0b88
extra : histedit_source : 7f62e28b81ba42b78798573928380ecd6a335f0e
2016-06-01 19:56:49 -04:00
Botond Ballo 23fcc090d1 Bug 1276107 - Add a test for scrolling an inactive subframe with perspective. r=kats
MozReview-Commit-ID: 4gGzgo4dyoI

--HG--
extra : rebase_source : ff267a4d1ddd3405f443a8b71d8919ef5975eddf
extra : intermediate-source : cd06b8e0f6dce55d662a96e9d3981d452047bc14
extra : source : a70b887bfaca17de4c68a5870145e21c2992695f
extra : histedit_source : 6ffbf4d3c0cdd5554013b8e6f5af933f1e4158c5
2016-06-01 19:40:23 -04:00
Botond Ballo e130e591c9 Bug 1276107 - Move scrollWheelOver() into apz_test_native_event_utils.js, renaming it to moveMouseAndScrollWheelOver(). r=kats
MozReview-Commit-ID: JgJIZm783qK

--HG--
extra : rebase_source : 96c31d06f71c20e7b45d41d72d8509bfe1ffd2b7
extra : intermediate-source : e8361d5c43d2002d610f10fb638c368e43c3ea65
extra : source : f492d508146b30a84c6e197d383fb587735382ff
extra : histedit_source : 94099476c51283ca8953127d09aa9ebfec01866d
2016-06-01 19:39:20 -04:00
Wes Kocher 086c164bf6 Backed out 6 changesets (bug 1276107) for windows apz test bustage CLOSED TREE
Backed out changeset acd104ba0e8d (bug 1276107)
Backed out changeset f15df83c29a6 (bug 1276107)
Backed out changeset cd06b8e0f6dc (bug 1276107)
Backed out changeset e8361d5c43d2 (bug 1276107)
Backed out changeset 6f03149a7565 (bug 1276107)
Backed out changeset 7658c369fd33 (bug 1276107)
2016-06-06 12:16:52 -07:00
Thomas Zimmermann 4934adbfe6 Bug 1278202: Add missing method |GrallocTextureHostBasic::GetCompositor|, r=nical
MozReview-Commit-ID: 1WHSkS3qFLK
2016-06-06 19:52:17 +02:00
Benoit Girard 24a4187d15 Backed out changeset 4264b01fd313 (Bug 1276732) for causing build bustage
MozReview-Commit-ID: KnEpCcI9a13
2016-06-06 13:37:59 -04:00
Benoit Girard c391acc0f7 Bug 1276732 - Report the GLContext error to WebGL for telemetry. r=jrmuizel
MozReview-Commit-ID: Am733GJkOSb

--HG--
extra : rebase_source : 1eaf4e281b2415f0adcae7e9585a29d912685358
2016-06-06 13:20:13 -04:00
Mason Chang 39d49c1dc0 Bug 1277404. Set font gamma for windows fonts to 1.8 and force skia to use cleartype fonts on non-opaque surfaces. r=lsalzman 2016-06-06 10:00:33 -07:00
Jonathan Watt c8d5762f34 Bug 1278239 - Remove gfxQuartzImageSurface. r=Bas 2016-05-27 19:43:34 +01:00
Jonathan Watt fb6235e5e5 Bug 1278238 - Remove kDrawTarget. r=Bas 2016-05-27 19:43:34 +01:00
Botond Ballo 2e8d4b9af9 Bug 1276107 - Avoid the footgun where, on Windows, when synthesizing a mouse move event, if the mouse is already at the target location the event is never dispatched. r=kats
MozReview-Commit-ID: 9hCJ3wpkOah

--HG--
extra : rebase_source : 92aa6b5b489fa8c3d1aa1ec7d2b979aa6af83a45
extra : amend_source : 22527c9c0222c923363681e46c09c201523e2c5e
extra : source : 5fddc3a80999cd6e284afbcabcddd74f398a06b9
2016-06-03 13:12:36 -04:00
Botond Ballo e9a73ef16a Bug 1276107 - Add a test for scrolling an inactive subframe with z-index. r=kats
MozReview-Commit-ID: 6HcYkrmgLFw

--HG--
extra : rebase_source : 10887de280b21cd8b2c77e687a8cc829819b4d91
extra : source : d48c76e7c8fc9db9d47d3553685c188c6dde0b88
extra : histedit_source : 7f62e28b81ba42b78798573928380ecd6a335f0e
2016-06-01 19:56:49 -04:00
Botond Ballo c9bf1aead5 Bug 1276107 - Add a test for scrolling an inactive subframe with perspective. r=kats
MozReview-Commit-ID: 4gGzgo4dyoI

--HG--
extra : rebase_source : ff267a4d1ddd3405f443a8b71d8919ef5975eddf
extra : source : a70b887bfaca17de4c68a5870145e21c2992695f
extra : histedit_source : 6ffbf4d3c0cdd5554013b8e6f5af933f1e4158c5
2016-06-01 19:40:23 -04:00
Botond Ballo d035901a55 Bug 1276107 - Move scrollWheelOver() into apz_test_native_event_utils.js, renaming it to moveMouseAndScrollWheelOver(). r=kats
MozReview-Commit-ID: JgJIZm783qK

--HG--
extra : rebase_source : 96c31d06f71c20e7b45d41d72d8509bfe1ffd2b7
extra : source : f492d508146b30a84c6e197d383fb587735382ff
extra : histedit_source : 94099476c51283ca8953127d09aa9ebfec01866d
2016-06-01 19:39:20 -04:00
Nicholas Nethercote ec7a660ceb Bug 1274148 (part 1, attempt 2) - Use MOZ_MUST_USE more in xpcom/io/Base64.h. r=erahm,bagder,mattwoodrow.
--HG--
extra : rebase_source : 3e4a861f4f9c4151ffbad110159ad541119278fa
2016-06-06 12:22:14 +10:00
Nicholas Nethercote 4f1d56df39 Backout 0ed86240bc77 for bustage. 2016-06-06 11:51:44 +10:00
Nicholas Nethercote 8bc7cd881e Bug 1274148 (part 1) - Use MOZ_MUST_USE more in xpcom/io/Base64.h. r=erahm,bagder,mattwoodrow.
--HG--
extra : rebase_source : b468df852789a22e3d50a9580515bb6aa46784d5
2016-06-06 09:21:00 +10:00
Benoit Girard e415083929 Bug 1274046 - Add FailureId to gfxConfig (FeatureState). r=dvander
MozReview-Commit-ID: Cig23OR7tWi

--HG--
extra : rebase_source : 908c5469bcf1211bcced8542835570836b8a7e8a
2016-06-03 14:54:56 -04:00
Mason Chang 8aa8c72839 Bug 1274726. Clamp scaled image before repeating during prescale and repeat on OS X. r=jrmuizel 2016-06-03 13:30:21 -07:00
Kartikaya Gupta d70c25d580 Bug 1277719 - Remove unnecessary duplicated zoom bounds from APZC and make nsViewportInfo have the source of truth for those values. r=rbarker
MozReview-Commit-ID: 4IjgCcufAL0

--HG--
extra : rebase_source : 15b74a5330f9055083f1553345b5686f95d7a9b3
2016-06-03 15:10:46 -04:00
Jeff Muizelaar 1c35e2ccda Bug 1276923. BasicCompositor: Properly transform the clip. r=mstange
We push the clip on the buffer while it has the original transform, and
then we overwrite the transform with something else. But the fast path
operates in device space and ignores the existing clip on the buffer, so
we need to know the original clip at the original transform.
2016-06-03 14:46:12 -04:00
Jonathan Watt 03036022ec Bug 1277862, part 2 - Rename Moz2D's Filter to SamplingFilter in the rest of gfx/. r=Bas 2016-05-25 17:01:18 +01:00
Jonathan Watt 0b33916487 Bug 1277862, part 1 - Rename Moz2D's Filter to SamplingFilter in gfx/2d/. r=Bas 2016-05-25 17:01:18 +01:00
Nathan Froyd c230cc8e44 Bug 1277646 - remove unused field gfxAndroidPlatform::mScreenDepth; r=snorp
clang indicates that this field is unused, and grepping seems to confirm
that opinion.
2016-06-03 18:31:05 -04:00
Nathan Froyd bee4b4445b Bug 1277649 - add override declarations for Android-specific codepaths; r=snorp
Adding these makes the compiler much happier.
2016-06-03 18:31:05 -04:00
Nathan Froyd b61b54f642 Bug 1277647 - return the correct type from ANativeWindow_setBuffersGeometry; r=snorp
This function returns a boolean, so let's return that, rather than
relying on pointer-to-boolean coercion.
2016-06-03 18:31:05 -04:00
Milan Sreckovic 25d63511b6 Bug 1273946: Get more information on the cause of the device reset. Remove unused UpdateRenderModeIfDeviceReset method. r=dvander
MozReview-Commit-ID: 6NxKTBEKOvs

--HG--
extra : rebase_source : d70d7d8c9ae6a503fd4f4c8ed6e31135cbcefac1
2016-06-01 12:53:25 -04:00
Sebastian Hengst d89a4dde4a Backed out changeset a09ad974b522 (bug 1276107) 2016-06-02 22:54:31 +02:00
Sebastian Hengst 806cf3797f Backed out changeset 8e6211a8cc26 (bug 1276107) 2016-06-02 22:54:31 +02:00
Sebastian Hengst 81c60dd743 Backed out changeset e2e57c225fd0 (bug 1276107) 2016-06-02 22:54:30 +02:00
Botond Ballo d52b8378f1 Bug 1276107 - Add a test for scrolling an inactive subframe with z-index. r=kats
MozReview-Commit-ID: 6HcYkrmgLFw

--HG--
extra : source : d48c76e7c8fc9db9d47d3553685c188c6dde0b88
extra : histedit_source : 7f62e28b81ba42b78798573928380ecd6a335f0e
2016-06-01 19:56:49 -04:00
Botond Ballo f7f7c84f33 Bug 1276107 - Add a test for scrolling an inactive subframe with perspective. r=kats
MozReview-Commit-ID: 4gGzgo4dyoI

--HG--
extra : source : a70b887bfaca17de4c68a5870145e21c2992695f
extra : histedit_source : 6ffbf4d3c0cdd5554013b8e6f5af933f1e4158c5
2016-06-01 19:40:23 -04:00
Botond Ballo cac77c7630 Bug 1276107 - Move scrollWheelOver() into apz_test_native_event_utils.js, renaming it to moveMouseAndScrollWheelOver(). r=kats
MozReview-Commit-ID: JgJIZm783qK

--HG--
extra : source : f492d508146b30a84c6e197d383fb587735382ff
extra : histedit_source : 94099476c51283ca8953127d09aa9ebfec01866d
2016-06-01 19:39:20 -04:00
Kaku Kuo 55ef3c417c Bug 1141979 - part5 - Add R8G8B8, B8G8R8, HSV, Lab and Depth into gfx::SurfaceFormat; r=jrmuizel
MozReview-Commit-ID: 7ZG5ooejBq9

--HG--
extra : transplant_source : z%24%9C%C2%EB%0A%C7t%9D%DFu%CE%0DKR%D5%11%B2T%24
2016-03-18 18:25:38 +08:00
Kaku Kuo 802fc0f1d8 Bug 1141979 - part4 - Add NVImage; r=jrmuizel
MozReview-Commit-ID: 9kacGnqHVRH

--HG--
extra : transplant_source : %D2%95%C2%5E%F40%0D%86.%CD%F7%236%E8%D3%D8%7Frv%99
2016-03-10 10:35:27 +08:00
Nicolas Silva aeec29dd87 Bug 1272600 - Part 8 - Simplify the textures ReadLock on the content side. r=sotaro 2016-06-02 11:00:36 +02:00
Nicolas Silva bdb76dfbb8 Bug 1272600 - Part 7 - Add some documentation to TextureReadLock. r=sotaro 2016-06-02 11:00:33 +02:00
Nicolas Silva ae8b59dba1 Bug 1272600 - Part 6 - ReadUnlock BufferTextureHost as soon as its data is available. r=sotaro 2016-06-02 11:00:29 +02:00
Nicolas Silva 862fa6b263 Bug 1272600 - Part 5 - Make ImageHost store all timed images in CompositableTextureRef slots. r=sotaro 2016-06-02 11:00:27 +02:00
Nicolas Silva a1868d5220 Bug 1272600 - Part 4 - Support TextureReadLock with all layer types. r=sotaro 2016-06-02 11:00:23 +02:00
Nicolas Silva 1d7c8451c8 Bug 1272600 - Part 3 - Move the ReadUnlock logic from compositable to texture. r=sotaro 2016-06-02 11:00:21 +02:00
Nicolas Silva 0a313355f8 Bug 1272600 - Part 2 - Store TextureReadLock into TextureClient/Host. r=sotaro 2016-06-02 11:00:17 +02:00
Nicolas Silva e81b585b53 Bug 1272600 - Part 1 - Preliminary cleanups for the ReadLock patch queue. r=sotaro 2016-06-02 11:00:12 +02:00
Benoit Girard d1a26c1e94 Backout d9111a0d9a44(bug 1274046) for windows bustage on a CLOSED TREE
MozReview-Commit-ID: 3qdijVGuw3O
2016-06-02 01:56:58 -04:00
Nicholas Nethercote 9ec20a644f Bug 1277122 - Add missing null checks for pixman_image_create_bits(). r=seth,lsalzman.
--HG--
extra : rebase_source : dec917d2efd9a262bd06816dcbb541acd3892340
2016-06-01 14:27:30 +10:00
Kartikaya Gupta c384832c0f Bug 1101628 - Follow-up to fix crash in some gtest scenarios. r=me
MozReview-Commit-ID: 9qRNiaMnLd
2016-06-01 17:17:06 -04:00
Jeff Muizelaar 60421f01e1 Bug 1276923. Actually disable ssse3 scaler until it's fixed. r=mstange 2016-06-01 16:17:35 -04:00
Kartikaya Gupta 2bccdc112b Bug 1101628 - Add a test to ensure that APZ doesn't need to wait for content to provide event region information. r=botond
MozReview-Commit-ID: JCpX0Qh5mC5
2016-06-01 15:48:05 -04:00
Kartikaya Gupta e0de7153a9 Bug 1101628 - Refactor snapshotting code to allow reusing it across tests. r=botond
MozReview-Commit-ID: BRSUNn5gxSX
2016-06-01 15:48:05 -04:00
Kartikaya Gupta 7f2fcbb03b Bug 1101628 - Fix function name and documentation to reflect reality. r=botond
MozReview-Commit-ID: 4DN8owPZH65
2016-06-01 15:48:05 -04:00
Kartikaya Gupta f1063f9326 Bug 1101628 - Have the APZCTM tell the input queue what the allowed touch behaviours are, if it has the information. r=botond
MozReview-Commit-ID: CUgJm5ObVFV
2016-06-01 15:48:05 -04:00
Kartikaya Gupta f8cf1bc2e1 Bug 1101628 - Add additional HitResult types to reflect the different event regions. r=botond
MozReview-Commit-ID: DxZjv1eCWLU
2016-06-01 15:48:05 -04:00
Lee Salzman f39f95c565 Bug 1274111 - use freetype directly for calculating glyph sizes in SkFontHost_cairo. r=gwright 2016-06-01 14:52:58 -04:00
Jeff Muizelaar c61e0d5461 Bug 1276923. Disable ssse3 scaler until it's fixed 2016-06-01 13:56:10 -04:00
Benoit Girard 80d61a794a Bug 1274046 - Add FailureId to gfxConfig (FeatureState). r=dvander
MozReview-Commit-ID: FOITlJIMM0Z

--HG--
extra : rebase_source : d76a50e368b2df5f348f6d34136854f2be6166d8
2016-05-26 18:14:35 -04:00
Kartikaya Gupta 9ce6b03d5a Bug 1275604 - Rename synthesizeNativeDrag to synthesizeNativeTouchDrag, and extract the TOUCH_SLOP constant to the helper file. r=botond
MozReview-Commit-ID: DcN23OC4Glj
2016-06-01 13:13:21 -04:00
Kartikaya Gupta 33d6952bd2 Bug 1275604 - Basic touch-action test. r=botond
MozReview-Commit-ID: 4irw1Qd7I6s
2016-06-01 13:13:14 -04:00
Kartikaya Gupta 9ece31839d Bug 1275604 - Make the touch-action pref live. r=botond
As part of making the pref live, we need to ensure that if the pref is flipped
while an input block is in the input queue, the behaviour that results is
reasonable. In particular, if a touch block is created while touch-action is
disabled, but the pref is enabled while that block is in the queue, it may
suddenly go from IsReadyForHandling() returning true to IsReadyForHandling()
returning false. This can result in the block getting stuck in the queue and
preventing future touch blocks from being processed at all. To handle this
case, we explicitly set the mAllowedTouchBehaviorSet flag to true if the block
is created with touch-action disabled. This prevents IsReadyForHandling() from
flipping to false in these cases.

MozReview-Commit-ID: CJq9NtMF1Bq
2016-06-01 13:13:14 -04:00
Milan Sreckovic a1cd4e106d Bug 1276947: Environment variable to force the use of the crash guard in nightly. r=dvander
MozReview-Commit-ID: 22O5Qtd0VUZ

--HG--
extra : rebase_source : bceca8e9e74db4a7f40dbafd5f02c22e98b5d695
2016-05-31 10:13:08 -04:00
Nathan Froyd 83303b4718 Bug 1277221 - micro-optimize gfxFT2FontList::AppendFacesFromCachedFaceList; r=jfkthame
NS_ConvertUTF16toUTF8 is actually a string class, despite sounding
somewhat like a function.  Therefore, constructing one and assigning it
into an nsString results in needless work; we can just use the
constructed string directly.
2016-06-01 19:19:09 -05:00
Lee Salzman 2734f8d93d Bug 1255062 - disallow multiple moveTos in SkPath::isRectContour. r=ethlin 2016-05-27 21:12:25 -04:00
Lee Salzman 2ef3c87215 Bug 1255062 - allow Skia GrConvexPolyEffect to handle degenerate contours. r=mchang 2016-05-26 12:52:52 -04:00
Bas Schouten 0a7e186b25 Bug 1272500: Make cairo-surface-wrapper not double-apply device transform. r=jrmuizel
MozReview-Commit-ID: EkWqiPEidE3
2016-06-01 15:25:26 +02:00
Wes Kocher 5843da7b34 Backed out changeset 43ecf82afb92 (bug 1270241) for android reftest failures 2016-05-31 16:06:06 -07:00
Randall Barker 92bf505262 Bug 1240065 - Throttle repaints when pinch zooming r=botond 2016-05-31 15:00:57 -07:00
Jeff Gilbert 7fad0075ea Bug 1276096 - ANGLE should check for NONE readbuffer. - r=jrmuizel 2016-05-26 17:22:08 -07:00
Carsten "Tomcat" Book 2ca762b096 merge mozilla-central to mozilla-inbound 2016-06-29 16:20:21 +02:00
Kartikaya Gupta faa37f4591 Bug 1280013 - Add a test. r=botond
MozReview-Commit-ID: 7xkNFpQnvFG
2016-06-29 08:50:22 -04:00
Kartikaya Gupta 47b3b7b426 Bug 1280013 - Incorporate the APZ callback transforms when using the root composition bounds to clip the displayport base. r=botond,tnikkel
MozReview-Commit-ID: 1HOGQnCjIMt
2016-06-29 08:50:20 -04:00
Kartikaya Gupta 6a6c1034f1 Bug 1282283 - Fix data race found by TSan. r=sewardj
MozReview-Commit-ID: LP2QI83gNVl
2016-06-29 08:49:49 -04:00
Jamie Nicol f19a9e2f30 Bug 1263083 - Use single-tile layer when less than half the tile size in either dimension; r=mstange
MozReview-Commit-ID: 8yYXVl36AHK

--HG--
extra : transplant_source : %81%F9%DB%1D%F2%B9%A2vY%5D%04m%A0%1A%B7%EB%92%224P
2016-06-24 12:52:17 +01:00
James Willcox 87c08b5281 Bug 1270241 - Remove MOZ_USING_ANDROID_JAVA_WIDGETS r=kats 2016-05-31 15:07:51 -05:00
Nicolas Silva 15c05c673a Bug 1273854 - Temporarily disable the TextureChild's mutex if not using ImageBridge. r=bas 2016-05-31 18:04:58 +02:00
Nicolas Silva 6f18e1035a Bug 1273854 - Document the locking patterns in TextureChild that don't play well with tsan. r=bas, jseward 2016-05-31 18:03:51 +02:00
Mason Chang 0f69ca549f Bug 1046205. Fix depth pitch read out of bounds. r=bas 2016-05-31 08:28:42 -07:00
Carsten "Tomcat" Book b6eaf79e2f Backed out changeset 1f80fae4ca27 (bug 1276590) on developers request 2016-05-31 15:56:49 +02:00
Thomas Zimmermann ab38c66479 Bug 1276590: Replace |ReadBytes| with |ReadBytesInto| in Gonk IPC code, r=froydnj
MozReview-Commit-ID: FdjdoOT7j7j
2016-05-31 15:52:37 +02:00
Nicolas Silva 90af12edd2 Bug 1276068 - Correct the path flatness estimation computation. r=Bas 2016-05-31 12:34:17 +02:00
JerryShih d2c1100510 Bug 1187466 - check compositor status in TextureHost::lock(). r=dvander
If the compositor is a nullptr during lock() call, it means that the
compositor is not compatible with current textureHost. So return false
in lock().
2016-05-28 10:38:00 +02:00
Jonathan Watt 24a809a5f3 Bug 1276810 - Make gfxPlatform::ScreenReferenceDrawTarget() infallible. r=Bas 2016-05-23 20:12:10 +01:00
Georgiy Frolov 60cd01af74 Bug 1198518: [webvr] add support for OSVR,r=kip
MozReview-Commit-ID: K9nHww0Fe8s
2016-04-26 17:18:21 -04:00
eyim 3767f26135 Bug 1145085 - Move widget/ContentHelper.* to gfx/layers/apz/util/TouchActionHelper.*. r=BenWa,kats
r?BenWa,kats

MozReview-Commit-ID: 5snt3fIGnAS

--HG--
rename : widget/ContentHelper.cpp => gfx/layers/apz/util/TouchActionHelper.cpp
rename : widget/ContentHelper.h => gfx/layers/apz/util/TouchActionHelper.h
extra : rebase_source : 58250f060aefec4a8f9551f679d210bcdc849719
2016-05-27 16:46:25 -04:00
Benoit Girard b754725d0c Bug 1275987 - Add a 'reason for warp' histogram. r=jgilbert
MozReview-Commit-ID: 7dQf7jLupqL

--HG--
extra : rebase_source : 579254996e28395c0dcde41b438de85582a43657
2016-05-26 19:05:13 -04:00
Kaku Kuo 145a8d24cf Bug 1255688 - Fix TypeFromSize for YV16 case; r=jrmuizel
MozReview-Commit-ID: KATnTZaLLdG

--HG--
extra : transplant_source : %FA%25%DD%95%12%F2m%FBNX%D5%DD%B9j%14%B4%8F%D8%C5%93
2016-03-10 17:58:00 +08:00
Kearwood (Kip) Gilbert b25f2d6a84 Bug 1276066 - Add Union with "components" member to math classes to enable array access to members. r=bas
- Adding an array member to access the components of vector, size,
  and matrix classes reduces the code needed when passing all of the
  members to functions.

MozReview-Commit-ID: A6XL7y3zwsV

--HG--
extra : rebase_source : 77fb1b9784ae1213530cff7f42563e0afc8859e3
2016-04-18 12:12:36 -07:00
kearwood 24362dc743 Bug 1276359 - Fix D3D11 Shader Compile Failure r=bas
MozReview-Commit-ID: 6t02t473FFg

--HG--
extra : rebase_source : b512add238d5a0853752ae7306fe412ee6df245a
2016-05-27 13:37:52 -07:00
Jeff Muizelaar a5fc6a819f Bug 1266491 - Use an ssse3 scaler for video. r=mstange
This is a separable scaler that improves from performance
from 15-16fps to 21-22fps
2016-05-28 10:12:12 -04:00
Jeff Muizelaar 85d22c8bbc Bug 1266491. Add a RGB_FROM_YCBCR texture flag. r=nical
We only use the SSSE3 scaler when this texture flag is set. This avoids using
it for compositing things other than video.
2016-05-28 10:12:11 -04:00
Chris Peterson 11ef78ae89 Bug 1275016 - Rename Endian.h to EndianUtils.h to avoid #include confusion with Android's endian.h stdlib header. r=froydnj
--HG--
rename : mfbt/Endian.h => mfbt/EndianUtils.h
2016-05-22 13:31:11 -07:00
Botond Ballo 0ab39f7210 Bug 1267999 - An APZC cannot be checkerboarding if APZ is force-disabled for it. r=kats
MozReview-Commit-ID: Ai6aiRFBPl1

--HG--
extra : rebase_source : 62a2f6e79150e4acff4a833d7c128167f1c41941
2016-05-25 19:38:39 -04:00
Botond Ballo ee8e0b9c30 Bug 1273227 - Fix an assertion in TextureClient::Unlock(). r=nical
MozReview-Commit-ID: JwWPe4F0NCq

--HG--
extra : rebase_source : 82262bd0a1ca7a0aa32e7007578b5b00e8139f0f
2016-05-25 13:16:25 -04:00
David Anderson 21cab137bc Move D3D11 device creation out of gfxWindowsPlatform. (bug 1282364 part 3, r=mattwoodrow)
--HG--
extra : rebase_source : 2eadd72cf0c101c61fc3b2ab35d958fb3d540562
2016-07-26 13:22:13 -07:00
David Anderson 572069e3e9 Move D3D11 checking logic out of gfxWindowsPlatform. (bug 1282364 part 2, r=mattwoodrow)
--HG--
extra : rebase_source : df247cc5d03a111075eb4b201618dd957213d76f
2016-07-26 13:19:48 -07:00
David Anderson b7855c4ee9 Add DeviceManagerD3D11 as a wrapper around gfxWindowsPlatform. (bug 1282364 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : 3ea710ffdaabf737374958e80f6235c1c8861237
2016-07-26 12:50:30 -07:00
Nicolas Silva 9dba02273e Bug 1286437 - Crash the content process instead of the parent when an actor is sent on the wrong channel. r=dvander 2016-07-26 20:56:35 +02:00
Nicolas Silva 494bfd6931 Bug 1284837 - Build fix. 2016-07-26 18:55:28 +02:00
Carsten "Tomcat" Book 730118cb62 Backed out changeset b0724a9e58bf (bug 1278341) for crashes in mozilla::layers::TextureClientPool::ReturnUnlockedClients
--HG--
extra : rebase_source : 0d2eedce1ee93725b3f77f64e15d7d74321bffbd
2016-07-19 10:17:19 +02:00
George Wright dfdc187ec8 Bug 1278341 - Keep track of unused tiles in determining TextureClientPool size instead of overall size r=jnicol 2016-07-19 02:40:00 -04:00
David Anderson c8cd4bd70e Don't access Preferences from CompositorLRU. (bug 1287362, r=mattwoodrow) 2016-07-18 22:54:45 -07:00
Jeff Gilbert 3593dd9aad Bug 1285692 - Remove unnecessary KeyedMutex usage with DX_interop. - r=jrmuizel
While we've been doing AcquireSync()+LockObject() previously, this doesn't
seem to be required. It makes sense that LockObject would AcquireSync (or
in-driver equivalent) when given a KeyedMutex'd D3D11Texture, given the
wording of the spec that (Un)LockObject synchronizes GL with D3D.
Unfortunately, the extension spec doesn't explicitly state this.

MozReview-Commit-ID: 3FgNl1npO34
2016-07-18 18:40:25 -07:00
Jeff Gilbert 4f5557b7e1 Bug 1285692 - Acquire surface to allow FB completeness. - r=jrmuizel
MozReview-Commit-ID: H9IidhUqqw9
2016-07-18 18:40:22 -07:00
Jeff Gilbert f20e108935 Bug 1285692 - Add IsProducerAcquired(). - r=mtseng
MozReview-Commit-ID: 81Y5DAXtgeo
2016-07-18 18:40:19 -07:00
Wes Kocher 881322b8cb Backed out changeset 7985dab6e65e (bug 1283826) for crashtest failures CLOSED TREE 2016-07-18 11:43:15 -07:00
Kartikaya Gupta f006a9f9b3 Bug 1283826. r=mstange,Bas
MozReview-Commit-ID: HiwjHBlhmKk
2016-07-18 11:15:00 -04:00
Bill McCloskey 7dbc02ed0f Bug 1262671 - Use BufferList for Pickle (r=froydnj) 2016-05-27 09:57:41 -07:00
Bill McCloskey 291c555f34 Bug 1262671 - void** -> PickleIterator (r=froydnj) 2016-05-27 09:57:38 -07:00
Xidorn Quan 5678a23c37 Bug 931445 part 4 - Ensure pointer is moved into the window for APZ mouseevent test. r=kats
MozReview-Commit-ID: HiRf1qHjSL9

--HG--
extra : source : 86f4daa98b83f088af4835c855901725ee64fe1b
extra : amend_source : 31b14f114e7435a0872023e107cebebce7871229
2016-05-27 17:13:05 +10:00
Xidorn Quan adf9f94c38 Backed out 4 changesets (bug 931445) for e10s mochitest failures
Backed out changeset 5a92875424b0
Backed out changeset 79ba5815f9aa
Backed out changeset b084784405ef
Backed out changeset 67bf9ee17564

--HG--
extra : rebase_source : 9604d138e1d333d7bcf6edc8b886340b8371524d
2016-05-27 16:08:41 +10:00
Xidorn Quan 7f45b2ae60 Bug 931445 part 4 - Ensure pointer is moved into the window for APZ mouseevent test. r=kats
MozReview-Commit-ID: HiRf1qHjSL9

--HG--
extra : rebase_source : 66d97f69176acd944e79c4fa92d60747892a7aec
extra : source : 86f4daa98b83f088af4835c855901725ee64fe1b
2016-05-27 11:09:58 +10:00