Commit Graph

22823 Commits

Author SHA1 Message Date
Andi-Bogdan Postelnicu
790a748311 Bug 1282408 - add ignore initialization check flag for variables from TestNodeBase. r=jrmuizel
MozReview-Commit-ID: BZC7SnvmOKl
2016-07-27 10:43:46 +03:00
Randall Barker
4f9ca91292 Bug 1289322 - Link clicking is detected in the wrong location r=kats 2016-07-26 19:12:29 -07: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
Nicolas Silva
40a96c03f2 Bug 1284837 - Add conversions methods from Point and Size to IntPoint and IntSize for consistency. r=botond 2016-07-26 16:48:34 +02:00
Nicolas Silva
48805c9b3e Bug 1284837 - Disallow implicit conversions from float to integer when creating IntPoint and IntSize objects. r=botond 2016-07-26 16:48:30 +02:00
Carsten "Tomcat" Book
80686f0c22 Backed out changeset c5b0b62fc39e (bug 1245747) for bustage 2016-07-26 14:36:56 +02:00
Edwin Flores
6de3bae6e3 Bug 1245747 - Terminate the EGL display on context loss - r=jgilbert 2016-07-26 13:31:22 +01:00
Nicolas Silva
bb3d4526fe Bug 1289105 - Don't use use PersistentBufferProviderShared if the canvas layer is unlikely to be chared with the compositor process. r=jnicol 2016-07-26 12:57:03 +02:00
Nicolas Silva
b62eea13f0 Bug 1284384 - Don't crash if TextureClient::Destroy is called between Lock and Unlock. r=sotaro 2016-07-26 12:56:38 +02:00
Jamie Nicol
87c6d84379 Bug 1289005 - Handle GL_BGRA_EXT in GetBytesPerTexel; r=snorp
Also, do not MOZ_CRASH for unknown types and formats. The
gfxCriticalError will assert in debug builds and provide the values of
unknown types or formats.

MozReview-Commit-ID: 46sWBdOdqiE

--HG--
extra : transplant_source : %1CP%D9%AD%27%B25%7F%88jir%AD%CD%0A%C1%FF3A%9D
2016-07-25 14:24:34 +01:00
Carsten "Tomcat" Book
aa2bc77d7f Merge mozilla-central to mozilla-inbound 2016-07-26 11:57:38 +02:00
Carsten "Tomcat" Book
574d0d452b merge mozilla-inbound to mozilla-central a=merge 2016-07-26 11:55:54 +02:00
David Anderson
d3cb1d23af Send vsync rates to the compositor to avoid querying gfxPlatform. (bug 1288822, r=mchang) 2016-07-26 01:57:11 -07:00
David Anderson
438a11aa5a Fix typo in GPUChild::Init. (bug 1289205, r=rhunt) 2016-07-25 23:18:01 -07:00
Lee Salzman
bd57e359b9 Bug 1269960 - only enable Skia as an available backend when it is compiled in. r=mchang
MozReview-Commit-ID: 9W2ba5cd1cX
2016-07-25 20:42:09 -04:00
Kartikaya Gupta
166816e4b0 Bug 1287576 - Update the touch-behavior notification code to behave like the set-target-apzc notification code. r=botond
In particular, this change uses the root frame of the touch target document,
so that the correct presShell resolution is used when doing the touch-action
hit test.

MozReview-Commit-ID: 2bra6PIRqkR
2016-07-25 20:35:03 -04:00
Kartikaya Gupta
4ba7371861 Bug 1287576 - Extract a helper method to update a frame to the touch target document's root frame. No functional changes. r=botond
MozReview-Commit-ID: 3SRxAfTeMR
2016-07-25 20:35:03 -04:00
Kartikaya Gupta
2ce1dbdf14 Bug 1287576 - Change namespace and do some formatting cleanup for TouchActionHelper. r=botond
MozReview-Commit-ID: 5Ih5NipLKwI
2016-07-25 20:35:03 -04:00
Kartikaya Gupta
70f1d5a41e Bug 1288187 - Enable touch tests on OS X. r=botond
Also remove a bunch of superfluous window.TouchEvent checks, because the test
harness forces the touch events enabled so the checks are never false.

MozReview-Commit-ID: FQcQiuo1sQ9
2016-07-25 17:33:10 -07:00
Kartikaya Gupta
0c64d2705e Bug 1278009 - After changing the touch-action property, ensure we flush layout before waiting for the paint. r=botond
MozReview-Commit-ID: IVhg3FoPsW9
2016-07-25 17:27:05 -07:00
Mason Chang
4b1b00a0f7 Bug 1279063. Part 3: Memset RGBX surfaces to 0xFF in Factory::CreateDataSourceSurface. r=lsalzman 2016-07-25 16:36:36 -07:00
Mason Chang
259933fb0b Bug 1279063. Part 2: Use RGBA instead of RGBX surface format for DXVA video. r=bas 2016-07-25 16:36:36 -07:00
Mason Chang
74f3ee9f9b Bug 1279063 - Part 1: Don't assume cairo is the default software backend. r=lsalzman 2016-07-25 16:36:35 -07:00
Jeff Gilbert
6790ba91a7 Bug 1288649 - Remove NextPowerOfTwo. - r=jrmuizel
MozReview-Commit-ID: 9CR6lscs3d2
2016-07-25 14:46:28 -07:00
Jeff Gilbert
017f27acce Bug 1288649 - Use mfbt IsPowerOfTwo funcs in gfx/. - r=jrmuizel
While fixing non-unified-build errors in dom/canvas, I started hitting a
static_assert that we were calling IsPowerOfTwo with a signed type. It
turns out we have at least three copies of IsPowerOfTwo() in the tree.
Let's drop the non-mfbt ones.

MozReview-Commit-ID: 1fwQw0CrgiE
2016-07-25 14:46:23 -07:00
Andrew Comminos
1c43032b0b Bug 1286847 - Only enable scissor testing where required in the GL compositor. r=nical
MozReview-Commit-ID: 5mxlDtY1YgK

--HG--
extra : rebase_source : 9c9662fd6a43ece2b34b4468213e7f5bf98145a3
2016-07-18 14:34:40 -04:00
Andrew Comminos
6fa3ed32ec Bug 1286847 - Remove calls to XGetGeometry from the compositor thread. r=jgilbert,jrmuizel
MozReview-Commit-ID: IAd2y1FgiFn

--HG--
extra : rebase_source : 48bab0df53c02a0abc8bf65927882526aa54e0bf
2016-07-12 15:01:21 -04:00
Carsten "Tomcat" Book
b9a6c687fa merge mozilla-inbound to mozilla-central a=merge 2016-07-25 15:50:41 +02:00
Benoit Girard
90c16684c7 Bug 1288954 - Only log error if failureId is set. r=jrmuizel
MozReview-Commit-ID: HsjNnHTqaya

--HG--
extra : rebase_source : 17858078f32ecb34146453441bb4f6405c30fcd9
2016-07-24 11:11:09 -04:00
Botond Ballo
be99d4ba83 Bug 1214151 - If a sticky element does not consume all of the un-adjustment for an async transform, allow a descendant fixed or sticky element to consume it. r=mstange
MozReview-Commit-ID: HHGjs4GZGNX

--HG--
extra : rebase_source : 9e31e1135e7be90006529ce205d575b2dcd67c27
2016-06-29 18:25:31 -04:00
Lee Salzman
1e8ad08b0b Bug 1287552 - only set FC_PIXEL_SIZE in pattern if not already supplied. r=me
MozReview-Commit-ID: 9IVzZA4oohZ
2016-07-25 15:00:06 -04:00
Lee Salzman
db08b356a2 Bug 1288872 - verify cairo_scaled_font creation succeeds in SkFontHost_cairo. r=mchang
MozReview-Commit-ID: JKRiyQgi9Y2
2016-07-22 21:23:56 -04:00
Sotaro Ikeda
2c8122c501 Bug 1250914 - Create gl texture for each video frame drawing to SkiaGL canvas r=jrmuizel 2016-07-22 18:10:13 -07:00
Lee Salzman
53ccdb5268 Bug 1288762 - Fix gfxFontconfigFontBase constructor. r=me 2016-07-22 14:11:59 -04:00
Jamie Nicol
4c00494425 Bug 1164027 - Use MAP_ANONYMOUS instead of opening /dev/zero. r=jrmuizel
MozReview-Commit-ID: 5GeNG5Tm1GS

--HG--
extra : histedit_source : 31e30d68fce2f97015c6e84da953e1b6f04fca50
2016-07-22 14:16:22 +01:00
George Wright
01040de30f Bug 1288474 - Don't accept TextureClient returns if the pool has been destroyed r=nical 2016-07-22 12:17:21 -04:00
Carsten "Tomcat" Book
8b6316ec5f Merge mozilla-central to mozilla-inbound 2016-07-22 11:59:06 +02:00
Carsten "Tomcat" Book
336105a0de merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Sotaro Ikeda
8bd3135b4d Bug 1288569 - Add more mCanSend checks r=nical 2016-07-22 02:42:22 -07:00
Jonathan Kew
ecccb4c485 Bug 1276829 - Don't add fonts to mFontsUsingSVGGlyphs if they did not actually have an SVG table. r=karlt 2016-07-22 06:54:12 +01:00
eyim
4f99ba6e03 Bug 1288829 - Early return from bad bracket in CompositorOGL.cpp#l355 r=BenWa
MozReview-Commit-ID: 31rNnuNzFmE

--HG--
extra : rebase_source : 70cefa79c9ebb04d659e77170508eed525514a44
2016-07-22 16:53:07 -04:00
Benoit Girard
24566951d0 Bug 1251615 - Add poison values to Layer to check for errors. r=mstange
MozReview-Commit-ID: l22oL5b9oB

--HG--
extra : rebase_source : 376ba3a71ee2b3d8384878b0e0273d2df580ea64
2016-04-27 18:57:44 -04:00
Jim Chen
ce45a595ab Bug 1287946 - Update existing code to use mozilla::java; r=me 2016-07-21 13:49:04 -04:00
Tom Tromey
5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Lee Salzman
1bc7c6bf66 Bug 1287552 - part 4 - add ScaledFontFontconfig to remember generating FcPattern. r=jrmuizel
MozReview-Commit-ID: AbWjvL5IWCN

--HG--
extra : rebase_source : 9ac07bee30de7b2cdcca84b31c1fb00d9f529c56
2016-07-20 15:07:11 -04:00
Lee Salzman
0956c335eb Bug 1287552 - part 3 - revise SkFontHost_cairo to properly parse Fontconfig options. r=gw280
MozReview-Commit-ID: 40REybKbB6P

--HG--
extra : rebase_source : 95b270ebf8a186f341ef4b6322b6c2296bc73742
2016-07-20 15:06:29 -04:00