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

312 Коммитов

Автор SHA1 Сообщение Дата
Tom Ritter 314d986699 Bug 1407513 Turn std:future back on for ANGLE in the MinGW build now that we have winpthreads r=jgilbert
MozReview-Commit-ID: 9K2Bqtvxemo

--HG--
extra : rebase_source : ab3e9e924734125d94a5460057c6b36f96c4b9a8
2017-10-26 16:02:03 -05:00
Chris Manchester c86173526a Bug 1403346 - Replace all uses of ALLOW_COMPILER_WARNINGS with a template, remove ALLOW_COMPILER_WARNINGS. r=glandium
MozReview-Commit-ID: 1G2o4fy74cf
2017-10-25 15:12:09 -07:00
sotaro 47ccccdcad Bug 1410304 - Do not compare depth in attachmentsHaveSameDimensions() r=jgilbert 2017-10-21 07:06:41 +09:00
Tom Ritter 06c3f19228 Bug 1407289 Move classes from renderer11_utils.h r=jgilbert,Lenzak
It's illegal to use a method of a forward declared class

libANGLE/renderer/d3d/d3d11/renderer11_utils.h:207:31: error: invalid use of incomplete type 'class rx::Renderer11'
               ANGLE_TRY(renderer->allocateResource(desc, initData, &mResource));

However we cannot simply include Renderer11.h because Renderer11.h includes renderer11_utils.h

If we put the LazyX classes into Renderer11.h however, we can
change the include on the few places they are used with minimal impact.

MozReview-Commit-ID: 8Wf4Xbi7vAP

--HG--
extra : rebase_source : 984601e08f88342c8f5b75f9d43af3e666598855
2017-10-11 10:08:05 -05:00
Chih-Yi Leu 89d9591fb8 Bug 1371190 - Part 9: Changes to make the static analysis job happy. r=jgilbert
MozReview-Commit-ID: 8cafjGFthfT
2017-10-09 13:42:06 +08:00
Chih-Yi Leu 6fb9cba985 Bug 1371190 - Part 8: Retry D3D11CreateDevice with feature level 11_0 if 11_1 is not supported. r=jgilbert
MozReview-Commit-ID: 1PGa6CuY7GZ

--HG--
extra : source : 3e5a825eac7d6b07cc6c56a414ab4087030d8ef7
2017-10-04 09:27:43 +08:00
Chih-Yi Leu c49e2d43c7 Bug 1371190 - Part 7: Re-apply various patches to the in-tree copy of ANGLE. r=jgilbert
Bug 1363216 - Turn off std::future for MinGW.
Bug 1331335 - Add SSE2 Flags to all of libANGLE.
Bug 1364169 - on ANGLE context creation asks for robustness but does not get it.
Bug 1370865 - Suppress more MSVC warnings in gfx/angle.
Bug 1373525 - gfx/angle: Suppress -Wimplicit-fallthrough warnings in third-party code.
Bug 1347866 - Part3: ANGLE patch uplift for bug1325733.
Bug 1347866 - Part4: ANGLE patch uplift for bug1325741.
Bug 1322746 - Add general ID3D11Texture2D to EGLStream support to ANGLE.
Bug 1366425 - Avoid losing context on out of memory error for ANGLE.

--HG--
extra : source : 9aa8f8c7fe616638dd496bdf771d158586732056
2017-10-04 17:27:53 +08:00
Chih-Yi Leu f8b23c5947 Bug 1371190 - Part 3: Fix moz.build. r=jgilbert
MozReview-Commit-ID: 9wrCBoVGcw7

--HG--
extra : source : b869b8355dddba310d96602b64c0404e68f054b6
2017-10-02 11:57:13 +08:00
Chih-Yi Leu 21e1fd5448 Bug 1371190 - Part 2: Update ANGLE to chromium/3229. r=jgilbert
MozReview-Commit-ID: 5RWR2rPf5DZ

--HG--
rename : gfx/angle/src/common/third_party/numerics/base/numerics/OWNERS => gfx/angle/src/common/third_party/base/anglebase/numerics/OWNERS
rename : gfx/angle/src/common/third_party/numerics/base/numerics/safe_numerics_unittest.cc => gfx/angle/src/common/third_party/base/anglebase/numerics/safe_numerics_unittest.cc
rename : gfx/angle/src/third_party/murmurhash/LICENSE => gfx/angle/src/common/third_party/murmurhash/LICENSE
extra : source : 88ddf39c0d793dc508c3083515e69bfe3eb4d420
2017-10-02 10:25:08 +08:00
Sebastian Hengst 4204ccc788 Backed out changeset 88ddf39c0d79 (bug 1371190)
--HG--
rename : gfx/angle/src/common/third_party/base/anglebase/numerics/OWNERS => gfx/angle/src/common/third_party/numerics/base/numerics/OWNERS
rename : gfx/angle/src/common/third_party/base/anglebase/numerics/safe_numerics_unittest.cc => gfx/angle/src/common/third_party/numerics/base/numerics/safe_numerics_unittest.cc
rename : gfx/angle/src/common/third_party/murmurhash/LICENSE => gfx/angle/src/third_party/murmurhash/LICENSE
2017-10-06 15:29:59 +02:00
Sebastian Hengst 248c98ca35 Backed out changeset b869b8355ddd (bug 1371190) 2017-10-06 15:29:45 +02:00
Sebastian Hengst 8b34d78be3 Backed out changeset 9aa8f8c7fe61 (bug 1371190) 2017-10-06 15:29:23 +02:00
Sebastian Hengst edae79ed0c Backed out changeset 3e5a825eac7d (bug 1371190) 2017-10-06 15:29:17 +02:00
Chih-Yi Leu 0508eff3fa Bug 1371190 - Part 8: Retry D3D11CreateDevice with feature level 11_0 if 11_1 is not supported. r=jgilbert
MozReview-Commit-ID: 1PGa6CuY7GZ

--HG--
extra : rebase_source : 95ccf5e530cb2efca7f85122eb674fbca2ff607a
2017-10-04 09:27:43 +08:00
Chih-Yi Leu 1ca4342864 Bug 1371190 - Part 7: Re-apply various patches to the in-tree copy of ANGLE. r=jgilbert
Bug 1363216 - Turn off std::future for MinGW.
Bug 1331335 - Add SSE2 Flags to all of libANGLE.
Bug 1364169 - on ANGLE context creation asks for robustness but does not get it.
Bug 1370865 - Suppress more MSVC warnings in gfx/angle.
Bug 1373525 - gfx/angle: Suppress -Wimplicit-fallthrough warnings in third-party code.
Bug 1347866 - Part3: ANGLE patch uplift for bug1325733.
Bug 1347866 - Part4: ANGLE patch uplift for bug1325741.
Bug 1322746 - Add general ID3D11Texture2D to EGLStream support to ANGLE.
Bug 1366425 - Avoid losing context on out of memory error for ANGLE.

--HG--
extra : rebase_source : 2d422e188797b07194b8df0f0f1f3fd435c710e4
2017-10-04 17:27:53 +08:00
Chih-Yi Leu 53db189014 Bug 1371190 - Part 3: Fix moz.build. r=jgilbert
MozReview-Commit-ID: 9wrCBoVGcw7

--HG--
extra : rebase_source : 727cc6718d25bd3028efa9a1ac6cb0833b19e130
2017-10-02 11:57:13 +08:00
Chih-Yi Leu 149bf32d37 Bug 1371190 - Part 2: Update ANGLE to chromium/3229. r=jgilbert
MozReview-Commit-ID: 5RWR2rPf5DZ

--HG--
rename : gfx/angle/src/common/third_party/numerics/base/numerics/OWNERS => gfx/angle/src/common/third_party/base/anglebase/numerics/OWNERS
rename : gfx/angle/src/common/third_party/numerics/base/numerics/safe_numerics_unittest.cc => gfx/angle/src/common/third_party/base/anglebase/numerics/safe_numerics_unittest.cc
rename : gfx/angle/src/third_party/murmurhash/LICENSE => gfx/angle/src/common/third_party/murmurhash/LICENSE
extra : rebase_source : 81d2a2904e748cfd9199a50cee311f7c5ec8fb5c
2017-10-02 10:25:08 +08:00
Nicholas Nethercote e3c9cbb969 Bug 1401813 - Rename Null[C]String() as Void[C]String(). r=erahm.
XPCOM's string API doesn't have the notion of a "null string". But it does have
the notion of a "void string" (or "voided string"), and that's what these
functions are returning. So the names should reflect that.

--HG--
extra : rebase_source : 4e3f982e0873877174a08a25413595ff66f7d20e
2017-09-22 14:35:46 +10:00
Jeff Gilbert 816740fb9e Bug 1322746 - Add general ID3D11Texture2D to EGLStream support to ANGLE. - r=jerry
Also expose NV12 support, selecting Y or UV planes with EGL_NATIVE_BUFFER_PLANE_OFFSET_IMG.

MozReview-Commit-ID: IYzPAFEc84d
2017-09-02 21:52:13 -07:00
sotaro 602705a552 Bug 1372083 - Do not compare depth in attachmentsHaveSameDimensions() r=jgilbert 2017-07-18 19:25:29 +09:00
Samuel Vargas 0e114d9e16 Bug 1376399 - Hard crash in FF 54 and Nightly 56 on Windows 7 - r=jgilbert 2017-07-10 18:31:00 +02:00
Chris Peterson c92e1eabc2 Bug 1373525 - gfx/angle: Suppress -Wimplicit-fallthrough warnings in third-party code. r=jgilbert
gfx/angle/src/compiler/translator/ASTMetadataHLSL.cpp:93:15 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
gfx/angle/src/compiler/translator/ParseContext.cpp:1123:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
gfx/angle/src/compiler/translator/ParseContext.cpp:3640:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
gfx/angle/src/compiler/translator/ParseContext.cpp:3808:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
gfx/angle/src/compiler/translator/util.cpp:216:15 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
gfx/angle/src/compiler/translator/util.cpp:225:15 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
gfx/angle/src/compiler/translator/util.cpp:234:15 [-Wimplicit-fallthrough] unannotated fall-through between switch labels

MozReview-Commit-ID: EExTKYUzXB

--HG--
extra : source : cb3ff4fc33a9282d5153933e86d943cb53d360dd
extra : intermediate-source : 075e2107d6003a909029881ddfbfa1ef00610eb7
extra : histedit_source : d56ed92f0f244b1e0130d02ab7d665b4f096ae10
2017-06-07 00:52:43 -07:00
Masatoshi Kimura 99bf272847 Bug 1370865 - Suppress more MSVC warnings in gfx/angle. r=jgilbert
MozReview-Commit-ID: D9HLvwCLRQn

--HG--
extra : rebase_source : ba334335a1f3278ae220720ede5b0f416bc2904a
2017-06-05 22:00:54 +09:00
Samuel Vargas 3f8de3214a Bug 1366425 - Avoid losing context on out of memory error for ANGLE - r=jgilbert 2017-05-25 16:11:40 -07:00
Samuel Vargas 67ca0e362c Bug 1364169 - on ANGLE context creation asks for robustness but does not get it - r=jgilbert 2017-05-25 16:11:25 -07:00
Samuel Vargas 861a75bd94 Bug 1364592 - Enable asserts in moz.build for ANGLE - r=jgilbert 2017-05-25 16:10:36 -07:00
Wes Kocher 3ef05a0645 Backed out changeset a7dc86b21aa5 (bug 1364169) for Windows mochitest-gl failures a=backout
MozReview-Commit-ID: LqRNHsMHfXv
2017-05-11 15:40:31 -07:00
Samuel Vargas e6e5dce84e Bug 1364169 - On ANGLE context creation asks for robustness but does not get it. r=jgilbert
--HG--
extra : rebase_source : a5233c815aa7e7b0f794c403e85d790478affee8
2017-05-11 12:48:00 -04:00
Tom Ritter df53f009c6 Bug 1331335 Add SSE2 Flags to all of libANGLE r=jgilbert
MozReview-Commit-ID: LjzlucR7sPx

--HG--
extra : rebase_source : ce0850feb57062abbab371ed89688546ac6af3e7
2017-05-09 13:00:58 -05:00
Tom Ritter 11d9ba0744 Bug 1363216 Turn off std::future for MinGW r=jgilbert
MinGW doesn't support std::thread without an emulation library (See Bug 1349912)
We haven't integrated that (yet) so disable std::future for Angle until we do.

MozReview-Commit-ID: 7hxDL3QURdW

--HG--
extra : rebase_source : 152d1b88e602b430a4eaf4e5212f90d756ca8a46
2017-05-08 16:52:15 -05:00
Chih-Yi Leu e3eeba7caf Bug 1355321 - Part1: Revert "Bug 1347866 - Part2: Revert "translator: remove code related to for-loop unrolling""; r=jgilbert
This reverts commit 21a87c994f849488d7d6a143b93de9892e04f435.

MozReview-Commit-ID: 8QKjAHW0vhq

--HG--
extra : rebase_source : 416f2072b2414d91e6924f3b608c5f92a1a24029
2017-04-13 18:11:44 +08:00
Chih-Yi Leu ab9fcfb7ee Bug 1347866 - Part4: ANGLE patch uplift for bug1325741; r=jgilbert
MozReview-Commit-ID: 7FNeSn5XGaZ

--HG--
extra : rebase_source : 754756827c1e245c20858223582dd8a0f7c4bc9e
2017-04-05 12:04:18 +08:00
Chih-Yi Leu 79a2c67587 Bug 1347866 - Part3: ANGLE patch uplift for bug1325733; r=jgilbert
MozReview-Commit-ID: F9QiJ3hDuoZ

--HG--
extra : rebase_source : bce9e62497c8699ac65d81e0cc2d101a36743d7a
2017-04-05 11:45:11 +08:00
Chih-Yi Leu 4fe7b922d9 Bug 1347866 - Part2: Revert "translator: remove code related to for-loop unrolling" r=jgilbert
This reverts commit 1b896c62934be40cf8a37dc28fabc15590c89a5d; r?jgilbert

MozReview-Commit-ID: BFypWbjiCVF

--HG--
extra : rebase_source : 64b9b9d387ece6adfa87c2c2395bb605cad5863b
2017-04-10 16:38:03 +08:00
Chih-Yi Leu 43aae04f44 Bug 1347866 - Part1: Update ANGLE to chromium/2950; r=jgilbert
MozReview-Commit-ID: 5vfdprnqLnA

--HG--
extra : rebase_source : 464573f9f8c76de0883334a5d636956baada9281
2017-04-10 16:26:52 +08:00
Petr Cerny 89ce732573 Bug 1292534 - Patch lexical parser files generated by flex. r=jgilbert
--HG--
extra : rebase_source : 75f659604b0dfbebe38e2d75912f00a171576439
2017-03-20 18:20:19 -04:00
Milan Sreckovic bfeae5948f Bug 1325511 - Mark as used sooner. r=mtseng 2017-02-06 19:30:54 -05:00
Joel Maher 64f1bc3955 Bug 1319801 - Move Linux64 mochitest-gl to Ubuntu 16.04. r=jgilbert
This patch has a few parts to make this work:
1) more tests pass on ubuntu 16, so remove old fail-if conditions
2) no support for GL_ARB_gpu_shader5, we cherry pick from updated ANGLE code
3) disable test_capture.html as it leaks on ASAN

MozReview-Commit-ID: BSSiTFvF9jN
2017-02-02 06:33:46 -05:00
Chih-Yi Leu a654b593b2 Bug 1324765 - Prevent infinite macro expansion by cherry-picking changeset from newer ANGLE version. r=jgilbert
--HG--
extra : rebase_source : 517fe97127229c02056e793ae6cc49e5caeff2f4
2017-01-10 01:22:00 +01:00
Edwin Flores 254a3c92b7 Bug 1301381 - Clean up VaryingPacking::packVarying - r=jrmuizel
--HG--
extra : rebase_source : 6610538c46dd57b40fbc8f5465be5854d0f7e85e
extra : source : a72de75573c855e675328d3ceba32ebd84fab983
2016-11-17 10:09:26 +00:00
Jeff Gilbert 59ad1b29d3 Bug 1325741 - Handle uploads from RED/FLOAT to R16F, and others. - r=daoshengmu
MozReview-Commit-ID: 1ef1essxTNV
2016-12-29 02:45:16 -08:00
Jeff Gilbert 6cff55278b Bug 1325733 (flattened) - Mark read/draw calls better. - r=daoshengmu
Includes:
* ANGLE needs to call clear twice even on larger targets. - r=daoshengmu
2016-12-29 02:45:13 -08:00
Jeff Gilbert 0cf1348d5e Bug 1324972 (flattened) - Disable unnecessary manual index validation for WebGL 2. - r=daoshengmu
Includes:
* Catch ANGLE's zealous index-out-of-bounds INVALID_OPs.
* ANGLE DrawElements validation is wrong.
2016-12-29 02:45:11 -08:00
Masatoshi Kimura a654e25d18 Bug 1317569 - Unship d3dcompiler_43.dll. r=glandium
MozReview-Commit-ID: DSOOKc94wNV

--HG--
extra : rebase_source : 007a4c974ba16f2dc6e77e4b78e919769e0af8d1
extra : source : b448674d91482b214fb2a6c4e83d2e86638f28ef
2016-11-15 06:56:01 +09:00
Ethan Lin 578f7d5987 Bug 1319004 - Update to ANGLE/2924. r=jgilbert 2016-11-23 02:15:00 +01:00
Edwin Flores aa842ec6c1 Bug 1301381 - Clean up VaryingPacking::packVarying - r=jrmuizel 2016-11-17 10:09:26 +00:00
Ethan Lin cc14e8f012 Bug 1303443 - Update ANGLE to chromium/2862. r=jgilbert
* * *
Bug 1303443 - Change option parameters for angle update.
2016-10-25 19:29:00 -04:00
Sebastian Hengst 9696da19f8 Backed out changeset 042d532e3d9e (bug 1303443) for build bustage in WebGLShaderValidator.cpp after SH_INIT_VARYINGS_WITHOUT_STATIC_USE etc. got removed. r=backout on a CLOSED TREE 2016-10-27 16:19:23 +02:00
Ethan Lin 1539628815 Bug 1303443 - Update ANGLE to chromium/2862. r=jgilbert
--HG--
extra : rebase_source : 9a1502c96f375c730bbee88248685eea0e4c184e
2016-10-25 19:29:00 +02:00
Ethan Lin 333fbb906d Bug 1298576 - Check int value to prevent EXC_ARITHMETIC error. r=jgilbert
--HG--
extra : rebase_source : 24e4ccb3615896b9f97aaa45b1833a9fc679393a
2016-10-20 15:05:08 +08:00