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

326 Коммитов

Автор SHA1 Сообщение Дата
Sylvestre Ledru aa37bde79b Bug 1489454 - Remove all trailing whitespaces (again) r=Ehsan
This also includes moving some files to the regular format.

Differential Revision: https://phabricator.services.mozilla.com/D5249

--HG--
extra : moz-landing-system : lando
2018-09-07 14:47:51 +00:00
Daosheng Mu 40b783b88f Bug 1489022 - Avoid be overwritten when WEBGL_MSAA is in the blacklist. r=jgilbert
MozReview-Commit-ID: 3HVTu2UQcFX

Differential Revision: https://phabricator.services.mozilla.com/D5126

--HG--
extra : moz-landing-system : lando
2018-09-06 20:17:26 +00:00
Imanol Fernandez 2072f84821 Bug 1482613 - Make WebVR work with multiprocess enabled on Android r=kip,rbarker,kvark
MozReview-Commit-ID: G9aHbp0G7DK

Differential Revision: https://phabricator.services.mozilla.com/D3152

--HG--
extra : moz-landing-system : lando
2018-08-24 15:32:12 +00:00
Cosmin Sabou 164891642a Backed out changeset 1eb34707779f (bug 1482613) for causing android crashes in test_vrDisplay_canvas2d.
--HG--
extra : amend_source : f97559dc9494fbe0120035381d8903cfc62d2830
2018-08-24 00:10:57 +03:00
Imanol Fernandez 4ee978a82d Bug 1482613 - Make WebVR work with multiprocess enabled on Android r=kip,rbarker,kvark
MozReview-Commit-ID: G9aHbp0G7DK

Differential Revision: https://phabricator.services.mozilla.com/D3152

--HG--
extra : moz-landing-system : lando
2018-08-23 18:35:15 +00:00
Jeff Gilbert b5299cdebb Bug 1478909 - Make funcName implicit for WebGL calls. - r=kvark
MozReview-Commit-ID: Gv77SnHZcGb
2018-08-09 14:35:01 -07:00
Dorel Luca 5ef9c6f716 Backed out changeset e8023a02b6c2 (bug 1478909) on dev's request 2018-08-09 04:58:04 +03:00
Jeff Gilbert 8e0436b208 Bug 1478909 - Make funcName implicit for WebGL calls. - r=kvark
MozReview-Commit-ID: Gv77SnHZcGb
2018-08-08 16:15:12 -07:00
Kearwood Gilbert 04e66eb0c1 Bug 1470348 - Enable gfxVRExternal for Android; r=kip
MozReview-Commit-ID: 4XMdLLoedIh

--HG--
extra : rebase_source : b71d5d73b832f1f16ae261463860b4f60b38c559
2018-07-10 17:41:58 -07:00
Cosmin Sabou 61c9ccc152 Backed out changeset 781e6389661e (bug 1399501) for assertion failures on gfx/gl/GLContext. CLOSED TREE 2018-07-06 01:49:06 +03:00
Jeff Gilbert 696257d1a6 Bug 1399501 - Don't allow glsl[130,400) unless we have gpu_shader5. - r=kvark
MozReview-Commit-ID: EUk2uc64Tok

--HG--
extra : rebase_source : 9f3617244cf42d24cdc4da4ac5a708fcdb5c1e57
2018-04-04 17:11:42 -07:00
Jeff Gilbert 52a050c9e3 Bug 1471991 - Remove PopulateCapFallbackQueue from WebGLContext creation. - r=kvark
MozReview-Commit-ID: GCYgU8IiFpi

--HG--
extra : rebase_source : 468bbd280e07c71d8d0d8727f1768dc8cdb2b2e4
2018-06-28 13:09:16 -07:00
Jeff Gilbert 3cdbe9fdb9 Bug 1349799 - Implement WebGLPowerPreference and gl::CreateContextFlags::HIGH_POWER. - r=kvark
Based on patches by :daoshengmu.

MozReview-Commit-ID: FSbJV8DLyJ4
2018-06-26 15:22:26 -07:00
Emilio Cobos Álvarez c7d35aa526 Bug 1470930: Use enums for passing arguments for event dispatch. r=smaug
MozReview-Commit-ID: DsNuF7GAflJ
2018-06-26 18:22:06 +02:00
Cosmin Sabou a2f9b1e3eb Backed out 2 changesets (bug 1349799) for build bustages on WebGLContext.cpp. CLOSED TREE
Backed out changeset ee86c06ef4cf (bug 1349799)
Backed out changeset c26fe9f3466f (bug 1349799)
2018-06-26 04:21:08 +03:00
Jeff Gilbert a98de2afca Bug 1349799 - Implement WebGLPowerPreference and gl::CreateContextFlags::HIGH_POWER. - r=kvark
Based on patches by :daoshengmu.

MozReview-Commit-ID: FSbJV8DLyJ4
2018-06-25 17:58:03 -07:00
Kearwood Gilbert 653742943d Bug 1462695 - Prevent crashing when context lost during WebVR presentation,r=jgilbert
--HG--
extra : rebase_source : c32d602256391866c7cbfc447d9e6f127a48313e
2018-05-25 14:10:47 -07:00
Boris Zbarsky 0ba35d199f Bug 1455052 part 8. Stop using nsIDOMEvent in docshell and dom. r=masayuki
MozReview-Commit-ID: ASkuyN3xSwB
2018-04-20 12:55:30 -04:00
Sebastian Hengst 0819f35e51 Backed out 4 changesets (bug 525063) on request from Andi. a=backout
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Tristan Bourvon a3a77c0312 Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan 2018-04-10 21:11:02 +02:00
Boris Zbarsky 4292bca4ee Bug 1449631 part 6. Remove nsIDOMEventTarget::DispatchEvent. r=smaug
MozReview-Commit-ID: 8YMgmMwZkAL
2018-04-05 13:42:41 -04:00
Jeff Gilbert ad64b41497 Bug 1450148 - Generic TF Buffer slot moved to Context from TFO. - r=kvark
MozReview-Commit-ID: C2YkjedeFTy
2018-04-03 16:25:21 -07:00
Jeff Gilbert f7054fb683 Bug 1442502 - Require event loop roundtrip for WebGLSync. - r=kvark
MozReview-Commit-ID: 6h6j2LvJdXm
2018-03-07 12:16:16 -08:00
Adrian Wielgosik c3a7bce436 Bug 1441270 - Remove nsIDOMWebGLRenderingContext. r=jgilbert
It's now empty and unused.

MozReview-Commit-ID: KvhdDp3dqU3

--HG--
extra : rebase_source : f017bb78250d62189105918dda2708ed01ca1aec
2018-02-26 20:36:04 +01:00
Adrian Wielgosik d61c7fbed5 Bug 1441270 - Remove unused WebGL parameter getters. r=jgilbert
MozReview-Commit-ID: 7PqaPG2STUs

--HG--
extra : rebase_source : e24d7534964d15c54c1f8706ad01e17a4e31dd8c
2018-02-26 20:35:12 +01:00
Edmund Wong 03877052c1 Bug 1428678 - Include MozFramebuffer.h instead of gfx/gl/MozFramebuffer.h to work around Thunderbird builtbot problem. r=jgilbert a=thunderbird-bustagefix 2018-01-07 19:35:00 +02:00
Jeff Gilbert db4f0399df Bug 1427668 - Fixes and spew. - r=daoshengmu
MozReview-Commit-ID: 9NPkWsh2rxE
2018-01-05 15:27:56 -08:00
Jeff Gilbert 8ab9a9aa21 Bug 1427668 - Assert that no-alpha backbuffers have 0xff alpha. - r=daoshengmu
MozReview-Commit-ID: 5UJdoud0f2C
2018-01-05 15:27:51 -08:00
Jeff Gilbert 7edc1cd1d7 Bug 1427668 - Lose context if EnsureDefaultFB fails. - r=daoshengmu
MozReview-Commit-ID: 8OqXYXpUv4I
2018-01-05 15:27:48 -08:00
Jeff Gilbert 9e26c20b7f Bug 1427668 - ColorMask(0xf) for backbuffer resolve. - r=daoshengmu
MozReview-Commit-ID: KZJZ0Lc0vbC
2018-01-05 15:27:36 -08:00
Jeff Gilbert df8e8db803 Bug 1427668 - Move the webgl backbuffer into webgl. - r=daoshengmu
MozReview-Commit-ID: 2WpG7mfMRQ8
2018-01-05 15:27:30 -08:00
Jamie Nicol 59e9b39045 Bug 1421481 - Post-review follow-up for webgl context initialization. r=jgilbert
MozReview-Commit-ID: Ja3t0gcWHZS
2018-01-04 13:38:47 +00:00
Jeff Gilbert ff584c03d1 Bug 1426280 - Remove explicit MakeCurrents from WebGL now that we use implicit MakeCurrent. - r=lenzak
MozReview-Commit-ID: HxWWPmD1Yzu
2017-12-19 22:28:49 -08:00
Jamie Nicol 501b6f7440 Bug 1421481 - Increase allowed number of webgl contexts on mobile. r=snorp
This was previously limited to 2 per principal and 4 total on
mobile. Mobile GPU drivers have progressed a lot since the limit was
put in place, and the strict limit is causing webcompat issues on
google maps.

Increase to 8 per principal and 16 in total, bringing us
closer in line with Chrome. Make these limits contrallable via a pref
so that if there are any problems it is easy to change.

MozReview-Commit-ID: 8Tsbrjr4KCE

--HG--
extra : rebase_source : 8efd43265a665237a8bfcb689f5fc758466bcd71
2017-11-30 11:40:57 +00:00
Jeff Gilbert 41f0a05667 Bug 1390386 - Add GLContext::mImplicitMakeCurrent. - r=jrmuizel
MozReview-Commit-ID: 5iyGHNzoCpd
2017-11-28 17:12:48 -08:00
Daosheng Mu e3f511fffd Bug 1413269 - Apply REQUIRE_COMPAT_PROFILE flag for WebGL 1 on Intel HD Grahpics 3000 on OSX. - r=jgilbert
MozReview-Commit-ID: FZzZpaU9uiv

--HG--
extra : rebase_source : 83dbb20a1106c6280793abedfa7520c198d3cafa
2017-11-24 16:51:37 +08:00
Sylvestre Ledru 9e8cac125b Bug 1408383 - Dead code in GetSurfaceSnapshot r=jgilbert
MozReview-Commit-ID: 2AS1OwFdiMq

--HG--
extra : rebase_source : 826f6da807f9f97a7e74cc8ba146d705ff1e3200
2017-10-13 15:32:22 +02:00
Jeff Gilbert d6af1e81ba Bug 1404196 - Simplify and repair vertex fetch. - r=daoshengmu
MozReview-Commit-ID: FL7uibuv4VY
2017-11-01 15:18:27 -07:00
sotaro 23069babc9 Bug 1401609 - Add UpdateWebRenderCanvasData() to handle CanvasRenderer re-creation r=jrmuizel,mstange 2017-10-28 19:07:27 +09:00
Chih-Yi Leu becc62cbde Bug 1371190 - Part 5: Force enable alpha channel to prevent ANGLE from using incompatible backbuffer format. r=jgilbert
MozReview-Commit-ID: JtbKebUiroM

--HG--
extra : source : 85a3dd1433e229e29b71b420913a2348e5d01978
2017-09-06 10:50:14 +08:00
Kyle Machulis 6a4d37f8bb Bug 1403819 - Remove nsIDOMHTMLCanvasElement; r=bz
Removes the XPCOM interface for nsIDOMHTMLCanvasElement, replacing it
with binding class usage.

MozReview-Commit-ID: DQJhqGlY8U6
2017-10-06 10:49:26 -07:00
Sebastian Hengst bc16594d0d Backed out changeset 85a3dd1433e2 (bug 1371190) 2017-10-06 15:29:34 +02:00
Chih-Yi Leu 4e70a461c8 Bug 1371190 - Part 5: Force enable alpha channel to prevent ANGLE from using incompatible backbuffer format. r=jgilbert
MozReview-Commit-ID: JtbKebUiroM

--HG--
extra : rebase_source : 1bd127749ae2e30b9526c319b49c51887f6cc3f8
2017-09-06 10:50:14 +08:00
Kearwood "Kip" Gilbert 6f85ed3a79 Bug 1400407 - Part 3: Remove IsMirror concept, as it is no longer used by WebVR,r=jgilbert
- This patch is the same as one from Bug 1382104 (Remove IsMirror concept
  in favor of checking forwarder).
- It is safe to uplift this patch without the rest of Bug 1382104 as long
  as the remaining Bug 1381084 is also uplifted.

MozReview-Commit-ID: 21YZObeSUa3

--HG--
extra : rebase_source : 8d543fe69f4ac9df5ccdc42d3ce47bb37eea4396
2017-08-28 14:50:14 -07:00
Kearwood "Kip" Gilbert c5a2279e20 Bug 1400457 - Isolate VR Rendering from Compositor r=daoshengmu,jgilbert
- WebVR is no longer dependent on PTexture, TextureParent,
  TextureHost, and TextureChild.  It continues to use TextureClient
  for pooling and coordinating locks with other Gecko code.
- PreserveDrawingBuffer now behaving correctly for 2d display mirroring
- Preparation for separating to VR process
MozReview-Commit-ID: 2RGOulCInSu

--HG--
extra : rebase_source : 3542b804c3def36fa74541be32d0e7cbc9698641
2017-07-21 17:30:34 -07:00
sotaro 8c6ed26316 Bug 1402767 - Enable accleleration of GLScreenBuffer when WebRender is enabled r=jgilbert 2017-09-26 13:15:36 +09:00
Jonathan Watt 341ea5e4f1 Bug 1401356, part 2 - Rename nsSVGEffects to SVGObserverUtils. r=longsonr 2017-08-30 15:58:31 +01:00
Jonathan Watt 0e4feb75d3 Bug 1401356, part 1 - Rename nsSVGEffects.h/.cpp to SVGObserverUtils.h/.cpp. r=longsonr
--HG--
rename : layout/svg/nsSVGEffects.cpp => layout/svg/SVGObserverUtils.cpp
rename : layout/svg/nsSVGEffects.h => layout/svg/SVGObserverUtils.h
2017-08-30 14:14:46 +01:00
Daosheng Mu 6eef084a6c Bug 1398404 - Make current context when updating max draw buffers; r=jgilbert
MozReview-Commit-ID: 1OSjjMwCpBb

--HG--
extra : rebase_source : 24f82404dcc4372f8b05e9778efa1d335ad786ad
2017-09-11 10:30:48 +08:00
Chung-Sheng Fu e99b682659 Bug 1217290 - Remove WebGLContext impl members r=daoshengmu,jgilbert
MozReview-Commit-ID: DPrjaf9QHfP

--HG--
extra : rebase_source : 903236ca4a0e0cf76a631188dfa58dc28d7641e4
2017-07-27 15:48:58 +08:00