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

22619 Коммитов

Автор SHA1 Сообщение Дата
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
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
Matt Woodrow 4c51824c83 Bug 1265468 - Invalidate all layers when dragging a tab to a new window. r=nical
--HG--
extra : rebase_source : 2369072fafc1754be09346cc2cd63fabee29d190
2016-05-26 18:40:07 +12:00
Sebastian Hengst 0d90f54a8b Backed out changeset 4d417e2c21ff (bug 1265468) for asserting in LayerManagerComposite.cpp on OS X 10.10 debug with e10s. r=backout 2016-05-26 10:45:39 +02:00
Matt Woodrow de6a18cca7 Bug 1265468 - Invalidate all layers when dragging a tab to a new window. r=nical 2016-05-26 18:40:07 +12:00
Joel Maher 8e50d588fd Bug 1269872 - adjust manifests of all jobs that require a gpu. r=RyanVM,jgilbert
dom/media/tests/mochitests/test_peerConnection_captureStream_canvas_webgl.html has an issue on android as it is moved from mochitest-media -> mochitest-gpu.
dom/bindings/test/test_integer.html uses experimental-webgl, it might need to be picked up in a future cleanup.

MozReview-Commit-ID: GJKn7ubY7tL
2016-05-25 16:22:27 -04:00
Kartikaya Gupta f343609efb Bug 1273654 - Update a new test to use the new helpers. r=botond
MozReview-Commit-ID: Br5jlOQ12wy
2016-05-25 15:31:52 -04:00
Kartikaya Gupta 1dbcbb831c Bug 1273654 - Extract a helper function to run continuation-style tests. r=botond
MozReview-Commit-ID: 67WYQr1d7YO
2016-05-25 15:31:52 -04:00
Kartikaya Gupta 52b50801d8 Bug 1273654 - Reuse the apz test utils in a few more places. r=botond
MozReview-Commit-ID: 2mV0VzlrKh6
2016-05-25 15:31:52 -04:00
Kartikaya Gupta de9de05549 Bug 1273654 - Extract a helper to check if APZ is enabled or not. r=botond
MozReview-Commit-ID: EkhZpfT3UFs
2016-05-25 15:31:52 -04:00
Kartikaya Gupta 93e2c8a220 Bug 1273654 - Extract a pushPrefs helper function to simplify test setup. r=botond
The set of changes in this patch removes all waitForFocus calls in the test
folder, except for the one in apz_test_utils.js. This results in less
boilerplate and more consistent test state initialization.

MozReview-Commit-ID: IYlTKDx7Xx2
2016-05-25 15:31:52 -04:00
Kartikaya Gupta 18103f612f Bug 1273654 - Extract a waitUntilApzStable helper function for tests. r=botond
MozReview-Commit-ID: As6iFEPz7pA
2016-05-25 15:31:52 -04:00
Kartikaya Gupta 270761d77e Bug 1273654 - Remove redundant function wrapper. r=botond
MozReview-Commit-ID: BTC8oT5p4Uy
2016-05-25 15:31:52 -04:00
Kartikaya Gupta 01bfc7401c Bug 1273654 - Merge the subtests from test_basic_pan into test_group_touchevents. r=botond
MozReview-Commit-ID: Huc2bRaaW6p
2016-05-25 15:31:52 -04:00
peter chang 66d1a9ac76 Bug 1201874 - create core text font with correct size,r=lsalzman
MozReview-Commit-ID: GXH7ExjMI2m

--HG--
extra : rebase_source : 373db7088d6a82e0bd7ee94436617c6293d3aaa4
2016-05-24 10:48:07 +08:00
Jonathan Kew 1233cee71f Bug 1273154 - Re-land followup to handle word-initial NNBSP shaping in Mongolian, with its reftest. r=jrmuizel 2016-05-25 10:51:13 +01:00
Jonathan Kew 16fe787f15 Backout 51b1f2343ad9 and f24ab7184139 (bug 1273154 followups) for reftest crash on linux 2016-05-25 10:36:46 +01:00
Jonathan Kew 816b7b2fb6 Bug 1273154 followup - Rework NNBSP handling in FindFontForChar to make word-initial NNBSP adopt the font that will be used for the following letter. r=jrmuizel 2016-05-25 09:21:55 +01:00
Thomas Wisniewski 9b377bb0ef Bug 955857 - Replace CSS word-wrap with overflow-wrap, and add it back as a CSS_PROP_ALIAS. r=dbaron
MozReview-Commit-ID: FiZJvm25rNN

--HG--
extra : rebase_source : c7b16fc302e5c7905beea98353faa960db0a9248
2016-05-23 20:27:21 -04:00
Xidorn Quan 74d7d74ae8 Bug 1275059 followup - Use MOZ_ASSERT for methods of gfxTestRun. r=jfkthame
MozReview-Commit-ID: 9etLeUprAic

--HG--
extra : source : 109f6c2cdf31850a36f8c0cc251e9bbc2bb48606
2016-05-25 09:54:37 +10:00
Jonathan Watt c7d766dbc7 Bug 1275266 - Fix broken merge conflict. r=orange on CLOSED TREE 2016-05-19 14:01:31 +01:00
Jonathan Watt de83a13903 Bug 1275266 - Rename imgLoader::Singleton and imgLoader::PBSingleton to something less misleading, and document them. r=tnikkel 2016-05-19 13:31:15 +01:00
Jeff Muizelaar 2418bd8394 Bug 1271657. Redo gfxConfig support for HW D3D11 ANGLE. r=dvander 2016-05-24 14:24:03 -04:00
Mason Chang bd43ebe418 Bug 1249600. Fallback to arial fonts or draw nothing if typeface is unavailable. r=bas 2016-05-20 09:16:29 -07:00
Kartikaya Gupta 85db554935 Bug 1203140 - Test. r=smaug
MozReview-Commit-ID: 1XMpWLbF5KB
2016-05-24 11:24:31 -04:00
Mason Chang 5d51a78785 Bug 1273990. Use target backend rather than screen reference backend if compositor has a target set. r=jmuizelaar 2016-05-20 14:51:34 -07:00
Keith Yeung 28a4bc1e9e Bug 1274339 - Align resizerpanel and caret in -moz-appearance. r=bobbyholley
--HG--
extra : rebase_source : ce28fd34fd7738abf440d6ae6052059ff549f974
2016-05-19 10:58:00 +02:00
Nathan Froyd ff4717e53a Bug 1272398 - use UniquePtr instead of nsAutoPtr for {Layer,LayerData}::RemoveUserData return type; r=jrmuizel 2016-05-24 18:17:27 -04:00
David Anderson cc844f6053 Remove ContentParent use of CompositorBridgeParent. (bug 1274149 part 5, r=mattwoodrow) 2016-05-23 00:28:51 -07:00
David Anderson 3284628c95 Remove TabParent use of CompositorBridgeParent. (bug 1274149 part 4, r=mattwoodrow) 2016-05-23 00:28:03 -07:00
David Anderson 60ca648e99 Move Alloc/DeallocLayerTreeId calls to GPUProcessManager. (bug 1274149 part 3, r=mattwoodrow) 2016-05-23 00:27:57 -07:00
David Anderson 44e1ee52df Remove direct calls to CompositorBridgeParent::GetAPZCTreeManager. (bug 1274149 part 2, r=kats) 2016-05-23 00:27:51 -07:00
David Anderson ecf249bd9a Add GPUProcessManager to manage access to CompositorBridgeParent. (bug 1274149 part 1, r=mattwoodrow) 2016-05-23 00:27:01 -07:00
Wes Kocher 2299744a78 Backed out 5 changesets (bug 1274149) for intermittent failures in apz tests CLOSED TREE
Backed out changeset 1117598ac875 (bug 1274149)
Backed out changeset 540cb6d10745 (bug 1274149)
Backed out changeset 057223823e5d (bug 1274149)
Backed out changeset 9932689ab717 (bug 1274149)
Backed out changeset a22a53c503a6 (bug 1274149)
2016-05-23 13:01:22 -07:00
Andi-Bogdan Postelnicu 5ddeb9e636 Bug 1273409 - add assert for mFontEntry. r=jrmuizel
MozReview-Commit-ID: 645INbJtJFq

--HG--
extra : rebase_source : 6beea5fcd4ade24f7d45eb704334f6e0aa5f7f00
2016-05-17 12:05:23 +03:00
David Anderson 3afaab9b67 Remove ContentParent use of CompositorBridgeParent. (bug 1274149 part 5, r=mattwoodrow) 2016-05-23 00:28:51 -07:00
David Anderson 5a87aaf54e Remove TabParent use of CompositorBridgeParent. (bug 1274149 part 4, r=mattwoodrow) 2016-05-23 00:28:03 -07:00
David Anderson 25f45d71ec Move Alloc/DeallocLayerTreeId calls to GPUProcessManager. (bug 1274149 part 3, r=mattwoodrow) 2016-05-23 00:27:57 -07:00
David Anderson 0b299bbf23 Remove direct calls to CompositorBridgeParent::GetAPZCTreeManager. (bug 1274149 part 2, r=kats) 2016-05-23 00:27:51 -07:00
David Anderson ba1f071a23 Add GPUProcessManager to manage access to CompositorBridgeParent. (bug 1274149 part 1, r=mattwoodrow) 2016-05-23 00:27:01 -07:00
Heiher ff01ec7e05 Bug 1262066 - GFX: 2D: Use ConvolveHorizontally1_LS3. r=seth
---
 gfx/2d/convolver.cpp | 4 ++++
 1 file changed, 4 insertions(+)
2016-05-23 10:30:39 +08:00
Heiher d11126b662 Bug 1262066 - GFX: 2D: Implement skia::ConvolveHorizontally1 in LS3 MMI. r=huangwenjun06
---
 gfx/2d/convolverLS3.cpp | 88 +++++++++++++++++++++++++++++++++++++++++++++++++
 gfx/2d/convolverLS3.h   |  7 ++++
 2 files changed, 95 insertions(+)
2016-05-23 10:30:38 +08:00
Sotaro Ikeda 1412ddf507 Bug 1274178 - Deliver picture origin r=nical 2016-05-22 17:37:43 -07:00
Nicholas Nethercote c4c868a370 Bug 1139252 - Fix D3D texture memory reporters. r=jrmuizel.
This patch makes the names and reporter paths more consistent. It also removes
sD3D9MemoryUsed, which was unused.

--HG--
extra : rebase_source : f209636a938630e464d529078cfa116eb06339ba
2016-05-18 17:10:37 +10:00
Karl Tomlinson 2ed4bd01ae bug 1273701 don't reuse pixman images when not thread-safe r=jrmuizel
From
https://cgit.freedesktop.org/cairo/commit/?id=71e8a4c23019b01aa43b334fcb2784c70daae9b5
https://bugs.freedesktop.org/show_bug.cgi?id=34177

--HG--
extra : amend_source : f0d0f6d62a9c3c1dd00b803463b812db690f756e
extra : transplant_source : %A9v%1Cx4%24%C8i%E8%AF%97U%CB%E2%7C%D2%5E%EARe
2016-05-18 11:55:29 +12:00
Kyle Huey 231aeec2d9 Bug 1274435: Don't bother tracking the main thread in SharedBufferManagerParent. r=sotaro 2016-05-22 08:28:07 -04:00
bd339 c01768d2a8 Bug 1056381 - When a layer transaction comes in, only update the hit testing tree when necessary. r=botond
MozReview-Commit-ID: KdLNEMxqtDU

--HG--
extra : rebase_source : ca21e15eabacd8e50d002f53c4635887f173fac3
extra : amend_source : fcbfee71267c2b1db44f646409e480c1b31bf201
2016-05-16 20:53:44 +02:00
Jonathan Kew c985e0ecb5 Bug 1273154 - Avoid breaking a font run at U+202F (NNBSP) if possible, because Mongolian shaping depends on the text run continuing across it. r=jrmuizel 2016-05-21 12:28:21 +01:00
Kartikaya Gupta 9994166655 Bug 1274589 - Rename RegionBuilder::Or to RegionBuilder::OrWith for consistency with the region classes. r=jrmuizel
MozReview-Commit-ID: CIzTVKXUVSs
2016-05-21 00:06:51 -04:00
Botond Ballo 0ea56ba3e9 Bug 1272165 - Localize the use of #ifdefs to select the fling animation. r=kats
This patch also renames FlingOverScrollerAnimation to AndroidFlingAnimation,
and moves it to the newly added files AndroidAPZ.{h,cpp}.

MozReview-Commit-ID: LXADdGL4SKh

--HG--
rename : gfx/layers/apz/src/FlingOverScrollerAnimation.cpp => gfx/layers/apz/src/AndroidAPZ.cpp
extra : rebase_source : bdb87ef1cc3f955572d458f17525860caa3f2b6a
2016-05-16 18:53:23 -04:00
Botond Ballo 923e3daad0 Bug 1272165 - Move the logic for determining whether to accelerate a fling into FlingAnimation. r=kats
MozReview-Commit-ID: 41GGRtdlcAU

--HG--
extra : rebase_source : 131d84f7eab9b424ff30023db8db62a62c310abd
2016-05-16 18:23:55 -04:00
Botond Ballo 694a023498 Bug 1272165 - Move FlingAnimation into its own file and rename it to GenericFlingAnimation. r=kats
MozReview-Commit-ID: EAksmwgJdax

--HG--
extra : rebase_source : 2d12ef03b640d59f28717c815424ee09bfcc6db3
2016-05-16 18:08:24 -04:00
Botond Ballo 4fd78d8c79 Bug 1272165 - Localize the use of #ifdefs to select the overscroll effect. r=kats
MozReview-Commit-ID: IaIUhrlrhZS

--HG--
extra : rebase_source : 8ad12387dfc6ddb33f876439350ec7473bf9d077
2016-05-11 20:58:19 -04:00
Botond Ballo 6086e0f55a Bug 1272165 - Move OverscrollAnimation into a separate file Overscroll.h. r=kats
MozReview-Commit-ID: DaDJEZJ7EBJ

--HG--
extra : rebase_source : dc585521e917a2afbbace88ee3b6dc5f21346528
2016-05-11 20:40:46 -04:00
Benoit Girard e97acb68fb Bug 1002857 - stop disabling GL layers for 10.6.2 and below. r=mstange
MozReview-Commit-ID: ITqcQNdolQ

--HG--
extra : rebase_source : 82914a72a267e6aff7ac1234d92d813bb9efdc0b
2016-05-18 18:10:04 -04:00
Daniel Holbert ad862a27cb Backed out changeset 3d201ae294f8 (bug 1272398), on a hunch that it might have inadvertantly triggered a latent Win PGO crash in layers code
CLOSED TREE

MozReview-Commit-ID: 87w8DC3JEM8
2016-05-19 22:50:15 -07:00
Nathan Froyd 2431e47bfb Bug 1272398 - use UniquePtr instead of nsAutoPtr for {Layer,LayerData}::RemoveUserData return type; r=jrmuizel 2016-05-19 21:48:59 -04:00
Jeff Muizelaar 1b2a06e879 Bug 1113828: Returning null is an expected property of this function and gfxPlatform::CreateDrawTargetForData() uses this. Removing this message prevents us from printing a bunch of messages during the normal usage of a debug build. r=bschouten 2016-05-19 10:10:55 -04:00
Sotaro Ikeda 78e3f7a6a2 Bug 1274145 - Add HostIPCAllocator r=nical 2016-05-19 06:04:14 -07:00
Sebastian Hengst e5d11edbeb Backed out changeset 07c833b5d64d (bug 1273154) for reftest failure in 1273154-1.html on Windows 8. r=backout 2016-05-19 10:37:16 +02:00
Jonathan Kew 841ebee93a Bug 1273154 - Avoid breaking a font run at U+202F (NNBSP) if possible, because Mongolian shaping depends on the text run continuing across it. r=jrmuizel 2016-05-19 07:01:56 +01:00
vincentliu 4332e3a00e Bug 1167557 - Log for Null surface in SurfaceCache::Insert. r=milan
---
 gfx/2d/Logging.h       | 1 +
 image/SurfaceCache.cpp | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
2016-05-19 13:01:26 +08:00
Mason Chang 19ddb4f17c Bug 1268502 Part 2. Fix memory leak with CGColorSpace. r=lsalzman 2016-05-18 17:09:14 -07:00
Jonathan Kew 67ee2ed03b Bug 1260825 - Check for surrogate pairs when processing clusters in graphite-shaped text. r=jrmuizel 2016-03-31 09:48:01 -06:00
Jonathan Kew cd9e357adf Bug 1272647 - Exclude NameTable.cpp from unified compilation because #include <cmath> in other source files causes gcc6 compilation failure. r=bas 2016-05-18 15:22:54 +01:00
Keith Yeung 90a39873d8 Bug 1273424 - Rename -moz-appearance keyword constants to be more consistent with CSS keywords. r=bholley 2016-05-18 11:07:47 -07:00
Ryan VanderMeulen 54c922ca84 Merge inbound to m-c. a=merge
CLOSED TREE
2016-05-18 12:02:42 -04:00
Kartikaya Gupta 44f30a273b Bug 1273759 - Fix bad interaction between bug 1197310 and bug 1264017 by making the location-setting an absolute URL. rs=me on a CLOSED TREE
MozReview-Commit-ID: AAcIPDqPm9n
2016-05-18 07:10:47 -04:00
David Anderson c2a116cdd6 Hide top-level CompositorBridgeParents behind a new API. (bug 1272472 part 4, r=mattwoodrow,kats,gwagner) 2016-05-17 22:33:22 -07:00
David Anderson e34cf523cf Fix force-enabling Direct2D crashing when acceleration is disabled. (bug 1116540, r=milan) 2016-05-17 13:46:25 -07:00
Kartikaya Gupta 585307cd11 Bug 1271432 - Add a mochitest. r=tnikkel
MozReview-Commit-ID: DUzs7VzRUte
2016-05-17 11:05:46 -04:00
Milan Sreckovic 17dda1461b Bug 1272767: More graphics MOZ_CRASH-es getting GFX prefix. Also, follow up on bug 1270180 comments. r=mchang
MozReview-Commit-ID: 1rlHdDG4Cbw

--HG--
extra : rebase_source : 8bf84d2b1c4cc5bc48821b1eadbadf8edc6ce1ba
2016-05-13 16:34:41 -04:00
Ryan VanderMeulen 591aa16396 Backed out changeset cdb8f29d1ec7 (bug 1116540) for breaking WinXP hardware acceleration. 2016-05-17 21:36:12 -04:00
Mason Chang 787d48e2aa Bug 1268502 - Use a CGContext around a Skia Canvas to draw subpixel AA text on popup menus. r=mstange 2016-05-17 11:41:38 -07:00
David Anderson 6ad5c3d287 Fix force-enabling Direct2D crashing when acceleration is disabled. (bug 1116540, r?=milan) 2016-05-17 13:46:25 -07:00
Mason Chang 429347899e Bug 1270688. Use system host settings for skia dwrite font settings. r=lsalzman 2016-05-17 11:10:14 -07:00
Andi-Bogdan Postelnicu 3bb1e11276 Bug 1273095 - initialize |mStride|. r=jrmuizel
MozReview-Commit-ID: ElpMyYLcy0M

--HG--
extra : rebase_source : 5a3405d3bbf47f0f6d26071d25c2810c205da195
2016-05-16 13:58:52 +03:00
Lee Salzman eda0f910e1 Bug 1266209 - check if a figure is active in PathBuilderD2D before copying glyphs to it. r=bas 2016-05-17 12:47:22 -04:00
Sotaro Ikeda e4ecb6b6da Bug 1273417 - Update DataSourceSurfaceFromYCbCrDescriptor() r=nical 2016-05-17 02:14:54 -07:00
stefanh@inbox.com d76d8b9c90 Bug 1192053 - Native theming: Support for Mac OS X source lists (background part). r=gijs, mstange. 2016-05-17 07:37:05 +02:00
Sotaro Ikeda bf89cf3e57 Bug 1273056 - Remove redundant ConvertYCbCrToRGB() r=nical 2016-05-16 19:45:12 -07:00
peter chang 62a18529e5 Bug 1269892 - Dump the name of TextureSource when fails to cast it as TextureSourceOGL, r=nical
MozReview-Commit-ID: IAW98qk3987

--HG--
extra : rebase_source : ed5d2dc1901854cafb63478275e67d48f68ed25f
2016-05-16 17:29:57 +08:00
Milan Sreckovic fffc6307a8 Bug 1273148: Make name and default methods public, and remove gfxWindowsPlatform as gfxPref's friend. r=dvander
MozReview-Commit-ID: DNqGGDl1Fpy

--HG--
extra : rebase_source : 01ff42cc1a0335bba82b45eaf9018f1273f0e6d5
2016-05-16 10:22:20 -04:00
Kartikaya Gupta f922a5a903 Bug 1264017 - Rename the meta-tests to have more meaningful names. r=botond
MozReview-Commit-ID: 9fGFYrWTUGz

--HG--
rename : gfx/layers/apz/test/mochitest/test_click.html => gfx/layers/apz/test/mochitest/test_group_mouseevents.html
rename : gfx/layers/apz/test/mochitest/test_tap.html => gfx/layers/apz/test/mochitest/test_group_touchevents.html
rename : gfx/layers/apz/test/mochitest/test_scroll_window.html => gfx/layers/apz/test/mochitest/test_group_wheelevents.html
2016-05-16 12:17:17 -04:00
Kartikaya Gupta 9e6b45a056 Bug 1264017 - Refactor machinery to run tests serially in new windows into a helper function. r=botond
MozReview-Commit-ID: 1gBQh1tuinl
2016-05-16 12:17:17 -04:00