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

23006 Коммитов

Автор SHA1 Сообщение Дата
Carsten "Tomcat" Book fc8e03f0d8 Merge mozilla-central to autoland 2016-07-30 16:49:41 +02:00
Carsten "Tomcat" Book 3c40ac6f0b merge mozilla-inbound to mozilla-central a=merge 2016-07-30 16:20:57 +02:00
George Wright cf7ed9ce47 Bug 1289525 - Grow the pool one at a time instead of in chunk of increment size r=jrmuizel 2016-07-30 00:20:28 -04:00
eyim 084d1d4163 Bug 1289873 - correction made for compositing failure ids in failure path not showing up r=BenWa
MozReview-Commit-ID: CRIJwplDBYS

--HG--
extra : rebase_source : 904fedf86ae1ed489138eb99a2b4c3f34967f369
2016-07-29 11:41:33 -04:00
Ethan Lin 3a8eda58a3 Bug 1289276 - Add gfxPlatform::CreateSimilarSoftwareDrawTarget to unify software fallback backend. r=mstange 2016-07-28 18:32:00 -04:00
Carsten "Tomcat" Book 37be51f16a merge mozilla-inbound to mozilla-central a=merge 2016-07-28 17:43:03 +02:00
Edwin Flores 6a26412016 Bug 1245747 - Handle ANGLE device reset failure - r=jgilbert 2016-07-28 11:45:27 +01:00
Andi-Bogdan Postelnicu af228209b4 Bug 1282408 - add ignore initialization check flag for mProcessToken from GPUProcessManager. r=jrmuizel@mozilla.com
MozReview-Commit-ID: DW4whzEYdbl
2016-07-28 11:33:17 +03:00
Andi-Bogdan Postelnicu a40e2399f2 Bug 1282408 - add ignore initialization check flag for variables from GlyphRunIterator. r=jrmuizel
MozReview-Commit-ID: 1KAlxDtZyMe
2016-07-28 11:30:09 +03:00
Benoit Girard 4b52de5ec9 Bug 1283594 - CANVAS_WEBGL_ACCL_FAILURE_ID reports success as empty string. r=jrmuizel
MozReview-Commit-ID: B8rzSG5wk83

--HG--
extra : rebase_source : 1a801f65fe8247d836e8e48f65f67954b4e82fad
2016-07-27 17:14:19 -04:00
Ryan Hunt 7467d1ee3f Bug 1288860 - Change GLContextProvider to use CompositorWidget. r=jrmuizel
--HG--
extra : rebase_source : 92e481ef6b499d773e6e98591f22675b05b71c69
2016-07-25 14:41:00 -04:00
Eric Rahm 9b63cf4f52 Bug 1289598 - Remove warning about software vsync. r=mchang 2016-07-27 11:46:39 -07:00
Lee Salzman 67a15db27a Bug 1283330 - take floating point inaccuracy into account for assertions in DecomposeIntoNoRepeatRects. r=nical 2016-07-27 12:23:34 -04:00
Mason Chang 1423b59715 Bug 1278408. Report a constant vsync interval diff on windows. r=jrmuizel 2016-07-26 11:12:24 -07:00
Nicolas Silva a4ee782267 Bug 1289380 - Simplify PersistentBufferProviderShared. r=edwin 2016-07-27 16:50:20 +02:00
Carsten "Tomcat" Book 7293066753 merge mozilla-inbound to mozilla-central a=merge 2016-07-27 16:35:44 +02:00
Carsten "Tomcat" Book c7daad6dfa Merge mozilla-central to autoland
--HG--
extra : rebase_source : d5055aadf892d3d33fa0712e1a67911db869e7d5
2016-07-27 08:18:13 +02:00
Daisuke Akatsuka 4f153efd27 Bug 1264865 - Part 3: Remove codes that are no longer in use. r=birtles
MozReview-Commit-ID: Dhrco8madlz

--HG--
extra : rebase_source : b26d9d25c2dd54f7ec0e12dd51127229cb085346
2016-07-27 10:13:17 +09:00
Nicolas Silva ff0e3782b1 Bug 1284837 - Build fix. We need to to unbreak m-c and other trees builds. a=tomcat 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
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
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
Kartikaya Gupta 85fd233d34 Bug 1250024 - Fix touch-tap event coordinate transformations when a fullzoom is applied. r=botond
There were a couple of problems when delivering tap gestures to content with
full zoom applied. One was that the ConverToGecko function converted the coords
into "CSS pixel" space by using the web content's CSS-to-LD scale, but also
applied that on the translation from the chrome area. Moving that conversion
to later in the process (after the coords got passed through TabParent::
AdjustTapToChildWidget) corrected that issue.

The other problem was that bits of code in APZEventState and APZCCallbackHelper
were using the widget->GetDefaultScale() value as the CSS-to-LD scale, but that
omitted the full zoom value. Getting the CSS-to-LD scale from the presShell and
propagating that through corrected that issue.

MozReview-Commit-ID: KdrkdEZslHo
2016-07-29 14:44:29 -04:00
Kartikaya Gupta 42160174c0 Bug 1288799 - Add a hook to run a custom onload function in APZ group subtests, and a helper to inject scripts into documents. r=botond
MozReview-Commit-ID: CpNBgSMRIgU
2016-07-29 14:27:39 -04:00
Kartikaya Gupta 0b82edecaf Bug 1290330 - Properly handle pan-x pan-y regions in the APZ hit test. r=botond
MozReview-Commit-ID: BqXVOsVeLEe
2016-07-29 14:26:24 -04:00
Nicolas Silva 1fdb65d654 Bug 1289816 - Simplify CopyableCanvasLayer::UpdateTarget and remove unnecessary copies. r=jnicol 2016-07-29 20:19:28 +02:00
Nicolas Silva 63733308d3 Bug 1290081 - Make canvas layer transactions asynchronous. r=sotaro 2016-07-29 20:19:23 +02:00
Wes Kocher 0291de30b7 Backed out changeset 7d6baa38a04c (bug 1288938) for reftest crashes 2016-07-28 22:43:49 -07:00
Emilio Cobos Álvarez 4e30f13399 Bug 1288938: layout: Move the GlyphObserver to the text run instead of the frame. r=jfkthame
MozReview-Commit-ID: KphTCkcZeid
2016-07-28 15:19:14 -07:00
Wes Kocher 9ed0f44087 Backed out changeset 67cb195b1b45 (bug 1290081) for canvas reftest failures 2016-07-28 13:09:07 -07:00
Wes Kocher f64e035802 Backed out changeset d51327ec371e (bug 1289816) for canvas reftest failures 2016-07-28 13:08:59 -07:00
Nicolas Silva ea108a93f6 Bug 1289816 - Simplify CopyableCanvasLayer::UpdateTarget and remove unnecessary copies. r=jnicol 2016-07-28 17:58:42 +02:00
Nicolas Silva 521fea7499 Bug 1290081 - Make canvas layer transactions asynchronous. r=sotaro 2016-07-28 17:58:33 +02: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
Lee Salzman 02261affef Bug 1287552 - part 2 - fix transformed bitmaps with Skia and FreeType. r=gw280
MozReview-Commit-ID: BqiLfOfZZwR

--HG--
extra : rebase_source : 634873d2cc3069e06e2f9c3ea3dfa9e6c3f66961
2016-07-18 15:27:44 -04:00
Lee Salzman 3c3b9525b6 Bug 1287552 - part 1 - backport upstream Cairo fix for computing transform of bitmap fonts. r=jrmuizel
MozReview-Commit-ID: GFHoPOJEaxG

--HG--
extra : rebase_source : a492293691b6ca08e9ae65a6abb19e575aa7afdd
2016-07-18 15:27:40 -04:00
Benoit Girard 9f3f096a00 Bug 1287182 - log angle failureid via ANGLEPlatformInitialize. r=jrmuizel
MozReview-Commit-ID: 7Cg8AOVij1z

--HG--
extra : rebase_source : 16b3f68041ca9beb65409a9b3d59f4ca0d5f41a6
2016-07-15 18:12:46 -04:00
Benoit Girard 7ae0782b02 Bug 1287066 - Restore Layer::SetVisibleRegion behavior to fix invalidation bug. r=mstange
MozReview-Commit-ID: HcstO0EhiWz

--HG--
extra : rebase_source : 9b9f28a5b39a469ad7959ff053334f014acbc1e3
2016-07-21 12:32:53 -04:00
Milan Sreckovic 7b6a6a19d3 Bug 635464: Diagnostic crash in nightly and aurora, to see if we are asking basic content client for alpha. r=bas
MozReview-Commit-ID: 2DBdJZs0hlh

--HG--
extra : rebase_source : dabafda100d50b8308e4dc008254a7a4c6d80549
2016-07-20 10:26:02 -04:00
Carsten "Tomcat" Book 4a64baa9d4 merge mozilla-inbound to mozilla-central a=merge 2016-07-21 16:24:36 +02:00
Carsten "Tomcat" Book ac018ea603 merge fx-team to mozilla-central a=merge 2016-07-21 16:23:11 +02:00
Jamie Nicol 64528a4fed Bug 1164027 - Do not call glTexImage2D if likely to fail on Adreno 3xx devices; r=jrmuizel,snorp
There is a bug in the graphics driver for Adreno 3xx GPUs on android
versions up to 4.4 which segfaults if a texture allocation fails due to
virtual memory exhaustion.

On affected devices, guess whether an allocation would succeed and avoid
calling glTexImage2D where we believe it would fail. As the texture will
not be allocated this will likely cause problems such as black
rectangles appearing on the screen, but that is preferable to crashing.

MozReview-Commit-ID: 7xVI22pAdwb

--HG--
extra : transplant_source : %12%2B%C9%E2%DC%10%BE%C9%A7%E4%2C%FF%27%80%5D7%E0%8B%A2U
2016-07-15 16:58:58 +01:00
Carsten "Tomcat" Book 021bec0a4e Merge mozilla-central to mozilla-inbound 2016-07-20 11:35:42 +02:00
Carsten "Tomcat" Book 8428cd56e3 merge mozilla-inbound to mozilla-central a=merge 2016-07-20 11:20:15 +02:00
David Anderson 471ed8630a Implement ImageBridge support for the GPU process. (bug 1287366 part 3, r=mattwoodrow,billm)
--HG--
extra : rebase_source : 0fc5f5bab52e6f49ed2c607e63c9a14d0509dd9a
2016-07-20 00:19:27 -07:00
David Anderson 6aca1d9865 Use Endpoints for content-process ImageBridges. (bug 1287366 part 2, r=billm)
--HG--
extra : rebase_source : 388c44e8df0ff45eb32e12d2b98c654cb0592bf0
2016-07-20 00:18:30 -07:00
David Anderson 20e7252a49 Move parent-process ImageBridgeChild startup to GPUProcessManager. (bug 1287366 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : c8c1ca6fdea8f4f87bd5da392e120834c3c27a24
2016-07-20 00:17:28 -07:00
Xidorn Quan 76db18facb Bug 1284406 part 3 - Export ICU headers in include/unicode. r=glandium
MozReview-Commit-ID: FuwAgEGjhxm

--HG--
extra : source : c07ceab42b47b18a1e8d436e7c888bdd113575fa
2016-07-20 15:00:13 +10:00
Xidorn Quan 17ee95ed83 Bug 1284406 part 1 - Move warning suppression of C4577 to global level. r=glandium
MozReview-Commit-ID: 66TD5A3L73D

--HG--
extra : source : e35f507952ccb081e77d5ba78c1b0d2ed566ac73
2016-07-20 15:00:13 +10:00
David Anderson fe699affc1 Remove CompositorLRU and associated code. (bug 1287362, r=mattwoodrow) 2016-07-19 21:12:54 -07:00
David Anderson 21a8ece643 Ensure GPU process initializes ScrollMetadata::sNullMetrics. (bug 1287917, r=kats) 2016-07-19 21:11:44 -07:00
Kartikaya Gupta 85a734ff8d Bug 1283826. r=mstange,Bas
MozReview-Commit-ID: HiwjHBlhmKk
2016-07-19 21:50:09 -04:00
David Anderson 0c44123fe6 Use normal refcounting for ISurfaceAllocator. (bug 1287232, r=billm) 2016-07-19 16:59:30 -07:00
Wes Kocher 08c17907d7 Backed out changeset 8b59e729f75e (bug 1287182) for webgl failures
--HG--
extra : histedit_source : 4f82442bd4a877623eaa3744c3ecdec42ec93449%2Cece28bdaa8427acb4fb00a5e2f7b1a45a21d3989
2016-07-19 11:58:26 -07:00
David Anderson 3855cd246d Don't use Preferences to get the vsync rate pref. (bug 1285625 part 4, r=mchang) 2016-07-19 11:56:07 -07:00
David Anderson 969d03ec34 Implement vsync notification for remote compositors. (bug 1285625 part 3, r=mchang) 2016-07-19 11:56:07 -07:00
David Anderson 0bdcce6956 Don't expose CompositorVsyncDispatcher from CompositorWidget. (bug 1285625 part 2, r=mchang) 2016-07-19 11:56:07 -07:00
David Anderson ad5abd7a72 Add a top-level protocol for sending vsync messages to the GPU process. (bug 1285625 part 1, r=billm) 2016-07-19 11:56:06 -07:00
Wes Kocher afdaddcff4 Backed out changeset c6d147ba37b5 (bug 1281259) for making windows vm mn-e10s permafail 2016-07-20 16:08:55 -07:00
Bob Owen ab7e8e7d7d Bug 1285942 Part 2: Check result of CreateGlyphRunAnalysis in _cairo_dwrite_scaled_show_glyphs. r=bas
MozReview-Commit-ID: 8D3HE5O1ZrJ

--HG--
extra : rebase_source : 1654bdd49bfa97a914400e2153ad37ea99302cfc
2016-07-18 12:13:18 +01:00
Bob Owen 0671a5539a Bug 1285942 Part 1: Make RecordedEvent::PlayEvent return a bool and null check DrawTarget creation. r=bas
MozReview-Commit-ID: 8tm7rjFEbw0

--HG--
extra : rebase_source : 5a85bec626644515ef5a261c4cba076bcddf136c
2016-07-18 12:13:04 +01:00
Kartikaya Gupta 0c72d9e20d Bug 1287155 - Fix build bustage when --disable-debug is combined with --enable-logrefcnt. r=froydnj
MozReview-Commit-ID: 9HZcYrsvvHX

--HG--
extra : rebase_source : 391b729d78e5cbeebba09b9a3255bd217169e9cb
2016-07-18 11:22:03 -04:00
eyim 70e55b9795 Bug 1271770 - Fallback to WARP if accelerated ANGLE fails r=BenWa,jrmuizel
MozReview-Commit-ID: LDJON8Vie5R

--HG--
extra : rebase_source : 9f1dda1f931b8b4ad91acda5a573587752e8017d
2016-07-13 13:51:40 -04:00
Chris Peterson d634a99cad Bug 1277106 - Part 4: Remove MOZ_UTF16() macro. r=Waldo 2016-07-19 21:07:53 -07:00
Chris Peterson b175c9fdd5 Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
David Anderson 0a5620132f Add VRManager support to the GPU process. (bug 1287597 part 3, r=billm) 2016-07-21 00:14:59 -07:00
David Anderson bb98e9f8d7 Move VRManagerChild initialization to GPUProcessManager. (bug 1287597 part 2, r=mattwoodrow) 2016-07-21 00:14:59 -07:00
David Anderson 38864a48be Open content VRManagers using endpoints. (bug 1287597 part 1, r=billm) 2016-07-21 00:14:59 -07:00
Carsten "Tomcat" Book e8bc59a87a Backed out changeset 684888aeee81 (bug 1287946) 2016-07-21 08:07:12 +02:00
Lee Salzman ec2233732d Bug 1287515 - fix android crashtest bustage. r=me 2016-07-21 02:02:08 -04:00
George Wright 5a33148fa2 Bug 1279341 - Keep track of unused tiles in determining TextureClientPool size instead of overall size r=jnicol 2016-07-21 00:52:24 -04:00
Jim Chen 78f67d1f6f Bug 1287946 - Update existing code to use mozilla::java; r=me 2016-07-21 00:42:26 -04:00
Carsten "Tomcat" Book 5b86ab83e3 Backed out changeset 3119db384fcc (bug 1281575) for bustage 2016-07-21 06:26:58 +02:00
Carsten "Tomcat" Book 361b6edfc1 Backed out changeset b95ebdb96050 (bug 1281575) 2016-07-21 06:26:47 +02:00
Ryan Hunt aa91ba815f Bug 1281575 - Create IPDL protocol implementation of IAPZCTreeManager. r=kats 2016-07-20 13:37:00 +02:00
Ryan Hunt de1e16b8e9 Bug 1281575 - Extract interface of APZCTreeManager for moving to GPUProcess. r=kats 2016-07-20 13:37:00 +02:00
Lee Salzman 6323d3129d Bug 1287515 - limit the number of points in SkDashPathEffect::asPoints. r=mchang
MozReview-Commit-ID: 4QI82EfsHh6
2016-07-20 23:35:35 -04:00
vincentliu 72a98e1946 Bug 1286458 - Check infinity before setResScale(). r=lsalzman
---
 gfx/skia/skia/src/gpu/GrDrawContext.cpp | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
2016-07-21 10:39:19 +08:00
Lee Salzman 3baf4f07b0 Bug 1279785 - check for Xft lcdfilter resource when creating fontconfig fonts. r=karlt 2016-07-20 14:18:21 -04:00
Markus Stange 68f675cdf9 Bug 1279962 - Fall back to getting the CGFontRef from NSFont to support hidden system fonts on 10.12. r=jfkthame
MozReview-Commit-ID: pp9WC3twsl

--HG--
extra : histedit_source : a340d5c7758760bdcb3d86ff4aab6950844a024d
2016-07-04 15:13:34 -04:00
Markus Stange 6bb3620330 Back out bug 1012752 for causing bug 1285532 and bug 1286674.
MozReview-Commit-ID: DYZ3D4yL1eZ

--HG--
extra : source : b98df554a6f0aa154275d363163ec618189503ed
2016-07-16 17:10:08 -04:00
Carsten "Tomcat" Book 2f711e5fd2 Merge mozilla-central to autoland 2016-07-20 16:57:33 +02:00
eyim 4446d595fa Bug 1281259 - Port DXVA to gfxConfig r=jrmuizel
MozReview-Commit-ID: 7Yp3ynxZoFE

--HG--
extra : rebase_source : 8fd65a364e3c8b2e539b47dd034e637a1324516e
2016-07-14 10:21:06 -04:00
Milan Sreckovic e22300de9e Bug 1281702: Report the actual error message, rather than a generic one from the graphics logger. r=mchang
MozReview-Commit-ID: BT4FjWJ03wF

--HG--
extra : rebase_source : 71fa23c8e3a0e346779a7618036d1408393de3d5
2016-07-18 16:35:35 -04:00
Kartikaya Gupta 2377a9ef2c Bug 1286957 - Add some more complex mochitests for touch-action testing. r=tnikkel
MozReview-Commit-ID: 4GZpnrBcaPu
2016-07-20 19:02:17 -04:00
Wes Kocher f868d85a4f Backed out changeset e749fcac8cb3 (bug 1279785) for build bustage CLOSED TREE 2016-07-20 10:59:58 -07:00
Lee Salzman 84787f181a Bug 1279785 - check for Xft lcdfilter resource when creating fontconfig fonts. r=karlt 2016-07-20 13:25:37 -04:00
Thomas Zimmermann 4bee1b2945 Bug 1288077: Forward declare arrays by including 'nsTArrayForwardDeclare.h', r=froydnj
MozReview-Commit-ID: 4RBeHDyhQgr
2016-07-20 17:29:36 +02:00
Thomas Zimmermann c9844397ea Bug 1288077: Whitespace fixes, r=froydnj
MozReview-Commit-ID: DpKAsid5O3k
2016-07-20 17:29:36 +02:00
Ethan Lin ac71a5c4d7 Bug 1287652 - Add error handling while colorstop is empty. r=mchang 2016-07-19 00:59:00 -04:00
Nathan Froyd 994eb3590a Bug 1287922 - part 2 - remove gfxPref::Get${PREF_NAME}PrefPtr() functions; r=milan
These functions are unused.
2016-07-20 16:55:07 -04:00
Nathan Froyd ad62e1ca9c Bug 1287922 - part 1 - re-sort DECL_GFX_PREF lines; r=milan
Supposedly these are supposedly to be in alphabetical order; reorder
them so they are closer to the desired reality.
2016-07-20 16:55:07 -04:00
Nathan Froyd 2f28c4b3a4 Bug 1287784 - micro-optimize GPUParent::RecvInit; r=milan
We can make GPUParent::RecvInit more efficient in two ways:

1. Using `auto&' for the type of the for-loop variable means that we're
   not copying each GfxPrefSetting value that we're iterating over,
   which is a win.

2. Pulling the `gfxPrefs::all()' call out of the loop means that we
   don't have to call it on each iteration.  You may think the compiler
   could do this for you, but the compiler can't be sure that
   sGfxPrefList isn't being modified by SetCachedValue.
2016-07-20 16:55:07 -04:00
George Wright a96364de86 Bug 1288211 - Add tile size information to about:support r=milan 2016-07-21 12:51:31 -04:00
Jeff Muizelaar 91dc2161f0 Bug 1287948. Use BufferMode::None for snapshots. r=nical
This avoids doing an unnecessary allocation and copy while snapshotting.

To make this work we need to memset the buffer that we use for snapshot drawing
so that we can draw on it directly. I could've avoided the memset for opaque
content formats but it didn't seem worth as the only place we use this seems to
be with content=COLOR_ALPHA
2016-07-21 10:38:34 -04:00
Carsten "Tomcat" Book b73990fc83 Merge mozilla-central to mozilla-inbound 2016-07-21 16:26:18 +02:00
Ryan Hunt 4e4f481bba Bug 1281575 - Create IPDL protocol implementation of IAPZCTreeManager. r=kats
MozReview-Commit-ID: BEgcbidyLjm
2016-07-20 13:37:00 +02:00
Ryan Hunt 5c1e3a17b8 Bug 1281575 - Extract interface of APZCTreeManager for moving to GPUProcess. r=kats
MozReview-Commit-ID: 7tO2kkTNFk2
2016-07-20 13:37:00 +02:00
Nathan Froyd 4efebf6d76 Bug 1287785 - avoid copying ScrollMetadata values in RenderLayers; r=botond
Using `auto' here means that we're copying each ScrollMetadata value as
we examine it.  Using `auto&' here means that we don't copy, which is
probably the intended behavior.
2016-07-21 16:45:24 -04:00
Jeff Muizelaar 2b6849e58e Bug 1287182. Fix static analysis build r=jrmuizel. 2016-07-19 12:55:34 -04:00
Benoit Girard 4537cb28f4 Bug 1287182 - log angle failureid via ANGLEPlatformInitialize. r=jrmuizel
MozReview-Commit-ID: 7Cg8AOVij1z
2016-07-19 11:48:08 -04:00
Sotaro Ikeda b1f63863e8 Bug 1287627 - Handle flush TextureHost without composition r=nical 2016-07-19 05:38:35 -07:00
Carsten "Tomcat" Book d9f4ddd364 Backed out changeset 1fbada95de3a (bug 1285692) to stop failing gl tests 2016-07-19 14:16:18 +02:00
Carsten "Tomcat" Book 75db33fcb6 Backed out changeset 9d0676755cf8 (bug 1285692) 2016-07-19 14:16:01 +02:00
Carsten "Tomcat" Book 7b77101203 Backed out changeset 45136034045a (bug 1285692) 2016-07-19 14:16:00 +02:00
Carsten "Tomcat" Book c5603f7fb6 Backed out changeset b3924432ba21 (bug 1287362) for xpcshell crashes
--HG--
extra : rebase_source : 8dfa939e7b65558695c805a658a74c4c6b9ee98d
2016-07-19 14:07:09 +02:00
Bob Owen 4ec3db3eec Bug 1252877 Part 7: Wait for plugin updates during active animations. r=dvander, r=jimm
Also, apply plugin updates when they arrive not just during composition.

MozReview-Commit-ID: FZJYiPqb5uZ
2016-07-18 09:54:02 +01:00
Bob Owen 8968cf8b48 Bug 1252877 Part 5: Fix use of gfx.e10s.hide-plugins-for-scroll. r=jimm 2016-07-18 09:54:02 +01:00
Bob Owen 25fe73cb68 Bug 1252877 Part 2: On Windows capture an image for windowed plugins to be displayed during APZ scroll. r=jimm, r=mattwoodrow
MozReview-Commit-ID: ElE0GD3tLah
2016-07-18 09:54:02 +01:00
Bob Owen b2b638175c Bug 1252877 Part 1: Allow ImageContainer to act as a proxy for another async ImageConatiner. r=mattwoodrow
MozReview-Commit-ID: BeUFWZOwkvh
2016-07-18 09:54:01 +01:00
Carsten "Tomcat" Book 89fdaae960 Backed out changeset fccc189b56d8 (bug 1284672) for Reftest failures
--HG--
extra : rebase_source : dd38242cd1769b980a11eb7d7f9fe269a0221ef5
2016-07-18 09:35:42 +02:00
Jeff Gilbert 95dd193042 Bug 1136494 - Try to pull <windows.h> include out of GLContext.h. - r=mtseng
MozReview-Commit-ID: 7LwGBIxUqxU
2016-07-18 00:19:19 -07:00
Jeff Gilbert c62e7f4e72 Bug 1250710 - Save and restore state, since this is used by WebGL. - r=ethlin
MozReview-Commit-ID: 3KZdIMpcRch
2016-07-17 21:44:59 -07:00
Jeff Gilbert 2029fa20f2 Bug 1250710 - User of ReadPixel should clear PBO to 0. - r=ethlin
MozReview-Commit-ID: JvXOfN6138g
2016-07-17 21:44:49 -07:00
Jeff Gilbert aba7d41e6f Bug 1250710 - Remove ScopedUnpackState due to unused. - r=ethlin
MozReview-Commit-ID: CO2ojolD6Lg
2016-07-17 21:44:37 -07:00
Jeff Gilbert a8f58c13ac Bug 1250710 - Update usages of ScopedPackAlignment. - r=jrmuizel
MozReview-Commit-ID: DgngFxBu8kn
2016-07-17 21:44:33 -07:00
Jeff Gilbert cb96b6df5d Bug 1250710 - Remove packAlign save/restore from ScopedGLDrawState. - r=jrmuizel
MozReview-Commit-ID: CESZzSfHbFj
2016-07-17 21:44:30 -07:00
Jeff Gilbert e60281fa97 Bug 1250710 - Remove redundant IsCurrent checks. - r=ethlin
MozReview-Commit-ID: GApYK5HC0EO
2016-07-17 21:44:21 -07:00
Jeff Gilbert 6a332496c2 Bug 1250710 - Update scoped pack/unpack helpers. - r=jrmuizel
MozReview-Commit-ID: 1WHVAAb4V00
2016-07-17 21:44:18 -07:00
Jeff Gilbert 93f65aed12 Bug 1250710 - Add PACK PBO support. - r=jrmuizel
MozReview-Commit-ID: DK7FgtE9ymm
2016-07-17 21:44:05 -07:00
David Anderson 8b62f958d0 Support compositor bridges from the content process to the GPU process. (bug 1282348 part 8, r=billm) 2016-07-17 21:24:28 -07:00
David Anderson cce407eb5f Send content compositor bridges using endpoints rather than Opens. (bug 1282348 part 7, r=billm) 2016-07-17 21:24:28 -07:00
David Anderson 1fc0d80f24 Don't call Close twice when the GPU process unexpectedly terminates. (bug 1282348 part 6, r=billm) 2016-07-17 21:24:28 -07:00
David Anderson 0339421b99 Add a remote implementation of CompositorSession. (bug 1282348 part 5, r=billm) 2016-07-17 21:24:28 -07:00
David Anderson adf653992b Allow top-level protocols the ability to notify GPUProcessManager when their actors are unexpectedly destroyed. (bug 1282348 part 4, r=billm) 2016-07-17 21:24:28 -07:00
David Anderson 2daec996e9 Move layers ID allocation to GPUProcessManager. (bug 1282348 part 3, r=mattwoodrow) 2016-07-17 21:24:27 -07:00
David Anderson 8760583973 Split InProcessCompositorBridge to its own file. (bug 1282348 part 2, r=mattwoodrow)
--HG--
rename : gfx/ipc/CompositorSession.cpp => gfx/ipc/InProcessCompositorSession.cpp
2016-07-17 21:24:27 -07:00
David Anderson 9e653f7da3 Split up CompositorBridgeParent initialization. (bug 1282348 part 1, r=mattwoodrow,billm) 2016-07-17 21:24:27 -07:00
Matt Woodrow 3a779cbddf Bug 1284672 - Only use a single D3D11 device for compositing and video decoding. r=jrmuizel 2016-07-18 15:41:11 +12:00
Sotaro Ikeda 1b58d53b0f Bug 1285238 - Add TextureClientRecycleAllocator::Destroy() r=nical 2016-07-17 19:23:12 -07:00
Nicholas Nethercote 69d24ba219 Bug 1286709 - Assert the non-nullness of an GetApzc() call's return value. r=kats.
--HG--
extra : rebase_source : 28310216275e7f919314e92559ea79cb0692b69e
2016-07-15 09:19:57 +10:00
Sotaro Ikeda b95b9e3df3 Bug 1284074 - Relax assertion check r=nical 2016-07-17 08:54:33 -07:00
Kevin Chen cac9daeb79 Bug 1275693 - Refactor <canvas> strokeText drawing to re-use gfxTextRun::Draw. r=jfkthame 2016-07-14 02:00:00 +02:00
George Wright 73eb07e665 Bug 1286218 - Do not clear our TextureClientPool when calling ClearCachedResources on a ClientLayerManager r=nical 2016-07-13 11:39:21 -04:00
Edwin Flores c8851b53f9 Bug 1264505 - Target EGLImage to GL_TEXTURE_2D if OES_EGL_image_external extension is not available - r=jgilbert 2016-07-13 11:16:54 +01:00
Edwin Flores 84b68e96ff Bug 1264505 - Remove unused method SharedSurface_EGLImage::AcquireConsumerTexture - r=jgilbert 2016-07-13 11:16:54 +01:00
Edwin Flores 5dbad5ff3a Bug 1264505 - Disable OES_EGL_image_external extension on Mali-400 MP - r=jgilbert 2016-07-13 11:16:54 +01:00
vincentliu 6a774f87dd Bug 1283113 - Add matrix checking before set matrix in Cairo. r=milan
---
 gfx/2d/Matrix.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
2016-07-13 16:47:32 +08:00
Bob Owen 286c4461e3 Bug 1285991: Improve ForEachNode use in Resolve/DetachRefLayers. r=mattwoodrow 2016-07-13 07:28:02 +01:00
Lee Salzman 16ca3223d9 Bug 1286317 - part 1 - remove Qt widget usage from gfx. r=jrmuizel 2016-07-12 20:27:57 -04:00
Wes Kocher 0dcab503c5 Merge m-c to inbound, a=merge CLOSED TREE 2016-07-12 17:16:47 -07:00
Andrew Comminos 4ecad4a8e4 Bug 1195359 - Use a new display on the compositor thread when using GLX and the GL compositor. r=lsalzman
MozReview-Commit-ID: G4Yd0p9R1fh
2016-07-12 14:05:17 -04:00
Andrew Comminos f7bfa30117 Bug 1284934 - Use gfxPrefs to check ASAP mode in GLContextProviderGLX. r=jgilbert
MozReview-Commit-ID: 8F2hP1gt65V

--HG--
extra : rebase_source : 6fc55c326c3d21dc270c0a5f245ec4952007cb26
2016-07-06 13:18:45 -04:00
Carsten "Tomcat" Book 02ea56d596 merge mozilla-inbound to mozilla-central a=merge 2016-07-12 10:58:33 +02:00
Wes Kocher 0bdaa84a39 Backed out changeset f7af9f4cf7ed (bug 1283826) for GTest failures CLOSED TREE 2016-07-11 16:37:14 -07:00
Kartikaya Gupta 68f6d2f529 Bug 1283826. r=mstange
MozReview-Commit-ID: HsAN1RYCFCP
2016-07-11 17:17:18 -04:00
Jonathan Kew 9c3f72ea61 Bug 1286011 - Allow system-wide font fallback to be attempted for characters with 'unknown' script. r=emk 2016-07-11 21:25:23 +01:00
Kevin Wern 0e41fdd181 Bug 1283236 - don't use ForEachNode() in ApplyDoubleBuffering() r=botond
We found that the use of TreeTraversal.h library here (where the root
node is treated as a special case) does not help readability, so revert
to the previous plain implementation

MozReview-Commit-ID: Dp7isl4lNvL

--HG--
extra : rebase_source : c8f77c59e5b81b32a8b4c0fc79e98e027fd432cf
2016-07-06 23:14:02 -04:00
eyim d9b9994119 Bug 1285629 - Incorrect feature check for ogl on windows r=BenWa
MozReview-Commit-ID: ABphm17YWnH

--HG--
extra : rebase_source : d82ff2813be434f9a5ed4e8f5b17aeba228548d8
2016-07-08 15:18:47 -04:00
Kartikaya Gupta 8c95549f67 Bug 1284940 - Increase the max number of tiles in a TiledRegion. r=mstange
MozReview-Commit-ID: 4ndRuvllDAr

--HG--
extra : rebase_source : 128da79a0a7afa87c2f80e3479564bc0fa09e3ce
2016-07-11 13:06:53 -04:00
stefanh@inbox.com 13348e25c7 Bug 1280827 - Remove some obsolete OS X version checks in gfx/. r=jrmuizel. 2016-07-10 13:11:33 +02:00
Kartikaya Gupta ef1f03df14 Bug 1029631 - Add a missing null check. r=botond
MozReview-Commit-ID: DkInA0lcx8d
2016-07-11 13:45:40 -04:00
Kartikaya Gupta 05015521b4 Bug 1029631 - Make a couple of gtests touch-action-friendly. r=botond
MozReview-Commit-ID: 8zCUkjtj3qt
2016-07-11 13:45:39 -04:00
Chris Peterson 43c2748f66 Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
Sotaro Ikeda 9a92018d0c Bug 1254011 - Avoid allocating RGB buffer for YUV data everytime r=nical 2016-07-08 18:59:59 -07:00
Wes Kocher 743746da45 Backed out changeset b966ababca8d (bug 1284721) for bustage CLOSED TREE
***
Backed out 3 changesets (bug 1284721, bug 1285207) for bustage CLOSED TREE

Backed out changeset 75f6c7e15d76 (bug 1284721)
Backed out changeset b7f2d54f3904 (bug 1285207)
Backed out changeset fceb3f145f91 (bug 1284721)

--HG--
extra : amend_source : b849891c44fd8704c0f601cf58ebeac13c88e2e6
extra : histedit_source : 54c8ef4b974c761a774260ec11e28d29013e0378%2C4d2cb79fbedcdabb4ea4fc52dcd26618bef2225e
2016-07-08 12:17:06 -07:00
Nicolas Silva 5a6fb6e9ec Bug 1284721 - Partially backout some changes that got incidentally folded into the wrong patch. r=me 2016-07-08 19:35:36 +02:00
Nicolas Silva b51ed22a3f Bug 1284721 - Flush CanvasRenderingContext2D's DrawTarget before handing it off to the BufferProvider. r=lsalzman 2016-07-08 19:26:48 +02:00
Nicolas Silva 0617cf9891 Bug 1284721 - Pref off PersistentBufferProviderShared due to various regressions. r=lsalzman 2016-07-08 19:26:42 +02:00