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

331 Коммитов

Автор SHA1 Сообщение Дата
Jeff Gilbert 1cae699f31 Bug 1442791 - Build _linux files on BSDs in ANGLE. - r=jrmuizel
MozReview-Commit-ID: DWgXTnUtyrp
2018-03-21 23:47:58 -07:00
Jeff Gilbert 094e34e37c Bug 1431560 - Cherry pick ANGLE b3b177d: Update driver constants on program change. - r=kvark
MozReview-Commit-ID: J3aIAszM5RO
2018-03-14 13:41:44 -07:00
Makoto Kato 4ee4cdc55a Bug 1443088 - Don't use SSE2 flag on non-Intel platform. r=jgilbert
gcc for arm/aarch64 target doesn't allow -msse2 command line option and it
causes option error, not warning.  So it should not add this option for
non-Intel platform.

MozReview-Commit-ID: 9E6SGBMkT94

--HG--
extra : rebase_source : 3bd8d2f11d108c7463134c34f679244e6f4f3531
2018-03-06 14:46:12 +09:00
Jeff Gilbert 92795185ee Bug 1440849 - Update ANGLE to firefox-60 branch.
MozReview-Commit-ID: lF5zaIWzjP
2018-03-02 13:42:31 -08:00
Jeff Gilbert b7a6fddcc3 Bug 1440849 - Nuke old ANGLE.
MozReview-Commit-ID: G0uEx2efEKe
2018-03-02 13:42:24 -08:00
Jeff Gilbert 6d4ebfc2a5 Bug 1440849 - Add update-angle.py to facilitate updating Angle. - r=jrmuizel
MozReview-Commit-ID: 4aWcnb2UCmB
2018-03-02 13:42:17 -08:00
Chris Peterson 37efe4d0e6 Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj
MozReview-Commit-ID: DCPTnyBooIe

--HG--
extra : rebase_source : cfec2d96faeb11656d86d760a34e0a04cacddb13
extra : intermediate-source : 6176724d63788b0fe8caa3f91607c2d93dbaa7ec
extra : source : eebbb0600447f9b64aae3bcd47b4be66c02a51ea
2017-11-05 19:37:28 -08:00
sotaro f8c3842c38 Bug 1395107 - Create GL context for WebRender with CompositorDevice applied r=jgilbert 2018-01-09 19:07:50 +09:00
Jeff Gilbert d328c4a35f Bug 1426289 - Cherry-pick angle issue 1155. - r=lenzak
ANGLE cherry-pick: 9088557fe47e0ce1487b248b60acbc740acd7801

    D3D11: Fix dirty current value updates.

    Fixes a bug where subsequent updates to a "current value" (disabled)
    Vertex Attribute would not trigger the state change to D3D11 such that
    the updated buffer handle would be applied to D3D11. Also adds a test
    to cover the problem case.

    This bug was introduced in 2bc947334cad:
    "D3D11: Minor optimizations to vertex attribute application."

    BUG=chromium:779675
    BUG=angleproject:1155

MozReview-Commit-ID: CywgVRYwaKL
2017-12-19 22:56:22 -08:00
Sylvestre Ledru a9961096c0 Bug 1394734 - Simplify various corner cases r=glandium
MozReview-Commit-ID: 4s4JdXZPvmv

--HG--
extra : rebase_source : c8f663c99442d41db5f81ac5fe1aa1f47fd5ed82
2017-12-07 22:10:19 +01:00
Sylvestre Ledru 4591d82b23 Bug 1394734 - Replace CONFIG['CLANG*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: HbF5oT5HW6f

--HG--
extra : rebase_source : eca479b6ae4bff7f600d1cdb39e11ac2057e4e79
2017-12-07 22:09:38 +01:00
Sylvestre Ledru 5de63ef061 Bug 1394734 - Replace CONFIG['MSVC'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 5orfnoude7h

--HG--
extra : rebase_source : 1ed9a6b56e1d27221a07624767a7fb0e6147117f
2017-12-08 13:46:13 +01:00
Sylvestre Ledru 9bfe27d903 Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 7duJk2gSd4m

--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
sotaro 5c61ce035d Bug 1421199 - Use EGL_EXPERIMENTAL_PRESENT_PATH_FAST_ANGLE for WebRender r=jgilbert 2017-11-29 13:13:40 +09:00
JerryShih 81f7ebd06b Bug 1415754 - try to use egl stream instead of CreatePbufferFromClientBuffer() for d3d rgb format texture. r=jgilbert
MozReview-Commit-ID: Bydbxtx3oGU
2017-11-28 20:04:00 +08:00
JerryShih 01092dde40 Bug 1415754 - make OpenSharedResource() call become fallible in SwapChain11::resetOffscreenColorBuffer(). r=jgilbert
MozReview-Commit-ID: 8jr9ls3jx7D
2017-11-28 20:04:00 +08:00
Daosheng Mu 03cbcf3594 Bug 1405600 - Part 1: Initialize uniform blocks before detaching shaders; r=jgilbert
ANLGE has resolved this issue at 753521

MozReview-Commit-ID: 4fQ1XuGxWLn

--HG--
extra : rebase_source : f82449ebce036a646a0e9281f9cfec4d1b5a9a47
2017-10-30 17:34:37 +08:00
Chris Peterson 768b96f58b Bug 1415470 - build: Enable VS2017 C5038 initializer list order warnings (like gcc -Wreorder). r=glandium
C5038 is a new warning in VS2017, similar to gcc and clang's -Wreorder, which is enabled by -Wall. We should enable C5038 so Windows developers can see these warnings locally instead of when gcc and clang fail with warnings-as-errors on Try.

https://blogs.msdn.microsoft.com/vcblog/2017/07/21/diagnostic-improvements-in-vs2017-15-3-0/

We need to suppress C5038 warnings from Windows Runtime Library header files (wrl.h) included in ANGLE and widget/windows:

z:\build\build\src\vs2017_15.4.2\SDK\Include\10.0.15063.0\winrt\wrl\wrappers\corewrappers.h(515): error C5038: data member 'Microsoft::WRL::Wrappers::Details::SyncLockWithStatusT<Microsoft::WRL::Wrappers::HandleTraits::SemaphoreTraits>::sync_' will be initialized after data member 'Microsoft::WRL::Wrappers::Details::SyncLockWithStatusT<Microsoft::WRL::Wrappers::HandleTraits::SemaphoreTraits>::status_'
...

And suppress C5038 warnings in upstream webrtc code:

media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseFilter.cpp(176): error C5038: data member 'mozilla::media::BaseFilter::mClsId' will be initialized after data member 'mozilla::media::BaseFilter::mState'
media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp(169): error C5038: data member 'mozilla::media::BasePin::mFilter' will be initialized after data member 'mozilla::media::BasePin::mLock'
media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp(170): error C5038: data member 'mozilla::media::BasePin::mLock' will be initialized after data member 'mozilla::media::BasePin::mName'
media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp(172): error C5038: data member 'mozilla::media::BasePin::mDirection' will be initialized after data member 'mozilla::media::BasePin::mQualitySink'

MozReview-Commit-ID: BMDVkvQXNoq

--HG--
extra : rebase_source : 0d5ede9530d0d0750b8fffdc1cdfdc646ec8f22a
2017-11-07 19:52:10 -08:00
Chih-Yi Leu 80c342950f Bug 1412554 - Return GL_OOM if memory counter in ResourceManager11 overflow r=jgilbert
MozReview-Commit-ID: AgDd95NlNZq

--HG--
extra : rebase_source : 8e5818d186aa151f9ba0cb1a6569de8f9211b049
2017-11-08 10:36:18 +08:00
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