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

343 Коммитов

Автор SHA1 Сообщение Дата
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
Milan Sreckovic b376ea6fca Bug 1307257: Check for getColorAttachment returning null before using it. r=jgilbert,mtseng
MozReview-Commit-ID: C1C4RCKhjfH

--HG--
extra : rebase_source : aab99f4b8ccbd619e76ffa01cab6a8cc4c3c53f6
2016-10-03 17:36:27 -04:00
Edwin Flores a07d259ed7 Bug 1245747 - Handle ANGLE device reset failure. r=jgilbert
--HG--
extra : rebase_source : 83845ab4aae7ad10afdd9343cbbc134d1b049774
2016-09-28 06:24:00 -04:00
Morris Tseng c2a42c52bd Bug 1297924 - Update ANGLE to chromium/2845. r=jgilbert
MozReview-Commit-ID: 2H0PBFFgmDp

--HG--
rename : gfx/angle/src/libANGLE/renderer/copyimage.cpp => gfx/angle/src/image_util/copyimage.cpp
rename : gfx/angle/src/libANGLE/renderer/copyimage.h => gfx/angle/src/image_util/copyimage.h
rename : gfx/angle/src/libANGLE/renderer/copyimage.inl => gfx/angle/src/image_util/copyimage.inl
rename : gfx/angle/src/libANGLE/renderer/d3d/generatemip.inl => gfx/angle/src/image_util/generatemip.inl
rename : gfx/angle/src/libANGLE/renderer/d3d/loadimage.inl => gfx/angle/src/image_util/loadimage.inl
rename : gfx/angle/src/libANGLE/renderer/d3d/loadimage_etc.cpp => gfx/angle/src/image_util/loadimage_etc.cpp
rename : gfx/angle/src/tests/gl_tests/CompressedTextureTest.cpp => gfx/angle/src/tests/gl_tests/DXT1CompressedTextureTest.cpp
2016-09-08 16:28:30 +08:00
Iris Hsiao 4667ca7c1b Backed out changeset 64a77898c426 (bug 1297924)
--HG--
rename : gfx/angle/src/image_util/copyimage.cpp => gfx/angle/src/libANGLE/renderer/copyimage.cpp
rename : gfx/angle/src/image_util/copyimage.h => gfx/angle/src/libANGLE/renderer/copyimage.h
rename : gfx/angle/src/image_util/copyimage.inl => gfx/angle/src/libANGLE/renderer/copyimage.inl
rename : gfx/angle/src/image_util/generatemip.inl => gfx/angle/src/libANGLE/renderer/d3d/generatemip.inl
rename : gfx/angle/src/image_util/loadimage.inl => gfx/angle/src/libANGLE/renderer/d3d/loadimage.inl
rename : gfx/angle/src/image_util/loadimage_etc.cpp => gfx/angle/src/libANGLE/renderer/d3d/loadimage_etc.cpp
rename : gfx/angle/src/tests/gl_tests/DXT1CompressedTextureTest.cpp => gfx/angle/src/tests/gl_tests/CompressedTextureTest.cpp
2016-09-07 16:44:36 +08:00
Morris Tseng f9a213d946 Bug 1297924 - Update ANGLE to chromium/2845. r=jgilbert
MozReview-Commit-ID: 2H0PBFFgmDp

--HG--
rename : gfx/angle/src/libANGLE/renderer/copyimage.cpp => gfx/angle/src/image_util/copyimage.cpp
rename : gfx/angle/src/libANGLE/renderer/copyimage.h => gfx/angle/src/image_util/copyimage.h
rename : gfx/angle/src/libANGLE/renderer/copyimage.inl => gfx/angle/src/image_util/copyimage.inl
rename : gfx/angle/src/libANGLE/renderer/d3d/generatemip.inl => gfx/angle/src/image_util/generatemip.inl
rename : gfx/angle/src/libANGLE/renderer/d3d/loadimage.inl => gfx/angle/src/image_util/loadimage.inl
rename : gfx/angle/src/libANGLE/renderer/d3d/loadimage_etc.cpp => gfx/angle/src/image_util/loadimage_etc.cpp
rename : gfx/angle/src/tests/gl_tests/CompressedTextureTest.cpp => gfx/angle/src/tests/gl_tests/DXT1CompressedTextureTest.cpp
2016-09-07 14:09:08 +08:00
Jeff Gilbert 843dfc0dea Bug 1290634 - Handle out-of-bounds copyTexImage on D3D9 ANGLE. - r=jerry
MozReview-Commit-ID: DLqI714FBuv
2016-08-12 17:48:17 -07:00
Edwin Flores 6a26412016 Bug 1245747 - Handle ANGLE device reset failure - r=jgilbert 2016-07-28 11:45:27 +01: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
Morris Tseng 819c8eb1a0 Bug 1281687 - Update ANGLE to chromium/2776. r=jrmuizel
MozReview-Commit-ID: DfAaesaHiWx

--HG--
rename : gfx/angle/src/libANGLE/renderer/ImplFactory.h => gfx/angle/src/libANGLE/renderer/GLImplFactory.h
rename : gfx/angle/src/libANGLE/renderer/d3d/copyimage.h => gfx/angle/src/libANGLE/renderer/copyimage.h
rename : gfx/angle/src/libANGLE/renderer/d3d/copyimage.inl => gfx/angle/src/libANGLE/renderer/copyimage.inl
rename : gfx/angle/src/libANGLE/renderer/gl/RendererGL.h => gfx/angle/src/libANGLE/renderer/d3d/d3d11/Context11.h
rename : gfx/angle/src/libANGLE/renderer/d3d/d3d11/win32/NativeWindow.cpp => gfx/angle/src/libANGLE/renderer/d3d/d3d11/win32/NativeWindow11Win32.cpp
rename : gfx/angle/src/libANGLE/renderer/gl/RendererGL.h => gfx/angle/src/libANGLE/renderer/d3d/d3d9/Context9.h
rename : gfx/angle/src/libANGLE/renderer/d3d/DisplayD3D.h => gfx/angle/src/libANGLE/renderer/gl/egl/android/DisplayAndroid.h
rename : gfx/angle/src/libANGLE/renderer/gl/wgl/WindowSurfaceWGL.h => gfx/angle/src/libANGLE/renderer/gl/egl/ozone/SurfaceOzone.h
rename : gfx/angle/src/libANGLE/renderer/d3d/imageformats.h => gfx/angle/src/libANGLE/renderer/imageformats.h
rename : gfx/angle/src/libANGLE/renderer/d3d/formatutilsD3D.cpp => gfx/angle/src/libANGLE/renderer/renderer_utils.cpp
rename : gfx/angle/src/libANGLE/renderer/gl/RendererGL.h => gfx/angle/src/libANGLE/renderer/vulkan/ContextVk.h
rename : gfx/angle/src/libANGLE/renderer/d3d/DisplayD3D.h => gfx/angle/src/libANGLE/renderer/vulkan/DisplayVk.h
rename : gfx/angle/src/tests/gl_tests/FramebufferFormatsTest.cpp => gfx/angle/src/tests/gl_tests/FramebufferTest.cpp
2016-06-28 15:41:24 +08:00
Jeff Gilbert 7fad0075ea Bug 1276096 - ANGLE should check for NONE readbuffer. - r=jrmuizel 2016-05-26 17:22:08 -07:00
Jeff Muizelaar 6c2297a047 Bug 1271784. Allow WARP WebGL on Windows 7 without SP 1 r=jgilbert
ANGLE doesn't allow WARP on DXGI < 1.2 by default, but it will work fine
for us.
2016-05-12 10:39:43 -04:00
Phil Ringnalda 5c2d03855b Back out 24d2a5003aa4 (bug 1271784) for Win7 mochitest-gl unexpected passes on opt and timeouts on debug
CLOSED TREE
2016-05-10 20:42:13 -07:00
Jeff Muizelaar 03cb039b4e Bug 1271784. Allow WARP WebGL on Windows 7 without SP 1 r=jgilbert
ANGLE doesn't allow WARP on DXGI < 1.2 by default, but it will work fine
for us.
2016-05-10 19:59:43 -04:00
Jeff Muizelaar 27171b1c59 Bug 1268096. Sync the D3D11 rasterizer state if pointDrawMode or multisample changes.
Cherry-picked from upstream commit b9ada71de8d00052c9922107383ef3e86c4b23d8
2016-04-28 13:21:48 -04:00
Jacek Caban f9f4840853 Bug 1251375 - Cross compilation fixup. r=upstream 2016-03-29 15:05:23 +02:00
Jeff Muizelaar c848b98d3e Bug 1251375. Update to ANGLE/2653 2016-03-15 17:28:40 -07:00
Wes Kocher bb35aa5eb1 Backed out changeset 857617eac45b (bug 1251375) for breaking test_EXT_disjoint_timer_query.html on Windows mochitest-gl tests
MozReview-Commit-ID: 5pcNBxk4JO5
2016-03-15 17:14:13 -07:00
Jeff Muizelaar 745acee9fd Bug 1251375. Update to ANGLE/2653 2016-03-15 12:02:47 -07:00
Nathan Froyd b83566b4a1 Bug 1222166 - use gcc/clang warning flags for clang-cl in moz.build files; r=glandium
This patch turns off a number of gcc/clang-specific warnings for
clang-cl as well, as clang-cl understands all the warning flags that
clang understands.  We currently don't turn on all the gcc/clang
warnings for clang-cl in configure, but that can be done separately, and
this patch addresses some pain points (particularly for cairo).
2015-11-05 16:05:26 -05:00
Jeff Muizelaar 13e85d0c92 Bug 1232902. Update ANGLE to chromium/2592 2015-12-16 10:13:56 -05:00
Jeff Muizelaar 2b32c585ee Bug 1229152. Expose unsized GL_FLOAT formats required by GL_OES_texture_float
BUG=angleproject:1209
2015-12-03 16:40:51 -05:00
Jacek Caban 5f1aa8ed06 Bug 1225280 - mingw fixup. r=upstream
--HG--
extra : rebase_source : f3a1dbbb4fcab73aca7b3622113123428f37ea03
2015-12-03 11:38:24 +01:00
Jeff Muizelaar 32869414c2 Bug 1225280. Update ANGLE to chromium/2572. 2015-12-01 14:49:06 -05:00
Mike Hommey 6a40d83fb7 Bug 1224452 - Straighten up a couple things in some moz.builds. r=gps
We're going to change how e.g. CFLAGS are printed out in backend.mk, and
to fit that model, the data in the corresponding moz.build variables
need to be straightened up.
2015-11-26 08:50:52 +09:00
Jeff Gilbert 19d84fb0fe Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz 2015-11-24 20:15:29 -08:00
Phil Ringnalda 71a6f5da62 Back out changeset 2f614bcd9405 (bug 1221822) for test_conformance__extensions__ext-sRGB.html and test_webgl2_alpha_luminance.html failures 2015-11-23 21:55:59 -08:00
Jeff Gilbert 87397c265b Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz 2015-11-23 19:27:13 -08:00
Jeff Muizelaar 1627fa6867 Bug 1222496. Avoid having ANGLE default to D3D11.
This fixes a regression where we would not be able to ask
ANGLE not to use D3D11.
2015-11-09 16:33:53 -05:00
Mike Hommey 4d40edea15 Bug 1221453 - Use AbsolutePaths with LOCAL_INCLUDES instead of manual -I in CXXFLAGS. r=gps 2015-11-06 09:59:21 +09:00
Chris Peterson 8300ac181a Bug 1215901 - Suppress more clang and gcc warnings in gfx/angle. r=jgilbert 2015-10-17 13:29:16 -07:00
Mike Hommey 3de00b45dd Bug 1216444 - Remove GKMEDIAS_SHARED_LIBRARY. r=mshal
In bug 922912, we folded back gkmedias.dll info xul.dll, so in practice, there
is no default configuration left that exercises GKMEDIAS_SHARED_LIBRARY. And
sure enough, it's been broken for months in many different ways.

The gkmedias intermediate library is however kept for webrtc signaling tests.
2015-10-21 14:47:22 +09:00
Nicholas Nethercote 5b34a25af2 Bug 1216020 - Comment all ALLOW_COMPILER_WARNINGS lines. r=glandium.
DONTBUILD because it only changes comments.

This will hopefully prevent confusion like that in bug 1215903.

--HG--
extra : rebase_source : f0a601d77b5f42b4fbe090693234f934e3becc42
2015-10-19 18:05:20 -07:00
Jeff Muizelaar 239cde6079 Bug 1214917. Update ANGLE to 2535
--HG--
extra : rebase_source : 3dc40250a76d0cb9b7a9914bb04a01edc16e4d69
2015-10-15 00:07:30 -04:00
Jeff Muizelaar 48d057951d Bug 1211774. Update to ANGLE 2522.
--HG--
extra : rebase_source : 61b730037c24fc6d4ce6cd47a7bc176a6336d477
2015-10-05 13:48:44 -04:00
Jeff Muizelaar 43a087cc38 Bug 1179280. Update ANGLE from chromium/2214 to chromium/2466. 2015-09-29 19:04:17 -04:00
Nicholas Nethercote f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Kyle afdefa3f10 Bug 1189860 - Check if the passed in shader attributes exceeds the maximum. r=jrmuizel
CLOSED TREE
2015-08-05 14:29:16 -04:00
Kyle f67c9b28e3 Bug 1190526 - Check for overflow in vertex allocation. r=jrmuizel 2015-08-17 11:31:17 -04:00
Makoto Kato 50e851b877 Bug 830801 - Part 2. Remove NOMINMAX define from moz.build. r=mshal 2015-08-03 10:07:09 +09:00
Jeff Muizelaar 5a4d300b4c Bug 1186431. Backout "Recreate the RenderTargetView on demand" r=jgilbert
This reverts commit 8d5da151b0df

--HG--
extra : rebase_source : 4925147d4793e2e1b4ce968a073af6791e732212
2015-07-29 10:44:05 -04:00
Kyle 08faa7ea9f Bug 1167651 - Made EGL initialize its ANGLE display using WARP if the system is blacklisted from using HW acceleration for WebGL ANGLE or if WebGL WARP is forced through a pref. ClientCanvasLayer is changed so that it will use shared surfaces only if the compositing device and the WebGL device are both WARP or both not WARP. Added a mIsWARP field to GLLibraryEGL so that this condition can be checked. r=jgilbert 2015-07-23 13:11:04 -04:00
Jeff Muizelaar 7bc6837af6 Bug 1178426. Add GfxInfo to ServicesList.h. r=nfroyd
--HG--
extra : rebase_source : b18fb78fa6b7d86fbb9496861938bfde21b3c6e6
2015-07-08 16:51:09 -04:00
Lee Salzman 10c03b2c62 Bug 1167332 - Pass failures out of SetBufferData. r=jgilbert
--HG--
extra : rebase_source : adaa0371b6bac0902a3cdbd946acc42791f823bf
2015-06-09 14:41:03 -04:00
Dan Glastonbury 666876115e Bug 1147447 - Enable STL wrapping for libGLESv2 and libEGL. r=jmuizelaar r=glandium 2015-04-28 20:41:00 +02:00
David Major ebde6b9f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Brian Smith f277e7a606 Bug 1119776, Part 8: Avoid defining snprintf when MSVC provides it (angle), r=jgilbert
--HG--
extra : rebase_source : 062079fcb42c4c101ac2fc3669aa7a09d6126324
2015-03-31 09:51:27 -10:00
Jeff Muizelaar 470a5f318f Bug 1146034. Cherry pick "Fix struct uniform packing."
This comes from ANGLE commit 2857f489f32372310014888342c6f9c97fac5995

--HG--
extra : rebase_source : 0a950753cbe67051ad1fa99dfe3d3b8c53f0d062
2015-03-25 10:13:31 -04:00
Jeff Muizelaar 94d5a406a9 Bug 1131965. Cherry pick ANGLE fix for conformance crash
This cherrypicks 21c1e4566726c9397a840dc5331e40a8d0ca9511
from upstream ANGLE which fixes a crash when running:
/conformance/glsl/bugs/undefined-index-should-not-crash.html

--HG--
extra : rebase_source : d1801b3ac1ab5e8d364ea7de024187a4d8ff221e
2015-03-10 10:59:17 -04:00
Jeff Gilbert 75d555e953 Bug 1130616 - Support EXT_color_buffer_half_float on ANGLE. - r=jrmuizel,khuey 2015-02-24 14:09:09 -08:00
Mike Hommey 19ec96fa61 Bug 1134565 - Remove DISABLE_STL_WRAPPING in gfx/angle. r=gps 2015-02-24 11:28:26 +09:00
Gregory Szorc 3833c920cf Bug 1134028 - Don't assign flags to file that may not be defined
The renderer/d3d/d3d11/SwapChain11.cpp source file is only defined if
building on Windows. The generated moz.build was adjusting the .flags
of this file unconditionally. This worked up until now because the
moz.build was only being evaluated on Windows. However, this assumption
no longer holds true after work in bug 1132771 is complete.

Patch the generation script to put .flags adjustment for the file
in question behind the same conditional as the SOURCES assignment.

--HG--
extra : rebase_source : 77becf0be99b5ade809a90ecf7954345d693d81e
2015-02-21 07:26:30 -05:00
Jeff Muizelaar 86feeec278 Bug 1128264 - Update ANGLE to chromium/2214. r=jgilbert
--HG--
extra : rebase_source : 2a8e6bdd19f95ada11aa6b3c58165b91d1f5eea2
2015-02-05 14:39:18 -05:00
Jeff Muizelaar 7401eee88e Bug 1112780. Recreate the RenderTargetView on demand. r=jgilbert
This avoids reusing the RenderTargetView across AcquireSync/ReleaseSync pairs
and fixes bug 1109718. It adds a ReleaseSync call to ANGLE
that causes it to invalidate the RenderTargetView.

--HG--
extra : rebase_source : 993a437f5d1e1bfda32ef995b09f216930f174e1
2014-12-28 00:01:02 -05:00
Jeff Muizelaar f9df48fece Bug 1112728. Temporarily disable keyedmutex usage with ANGLE until we can make it work better.
We can turn this back on once we have a proper fix for bug 1109718.

--HG--
extra : rebase_source : c7302c4e268edc0ef4aa7ab87e06b8f9a55d2462
2014-12-17 15:10:18 -05:00
Jeff Muizelaar 34c7a0d45c Bug 1109339. Fixup some ANGLE format stuff. r=jgilbert
This fixes the classic BGRA/RGBA mismatch with D3D11 by making Renderer11.cpp
do the same thing as Renderer9.cpp from bug 1096634

It also fixes an assertion failure that happens when building the stencil
map caused by Bug 1088345.

--HG--
extra : rebase_source : 0fbe2902ede19a5fdb4898c7d27c62e6f59e954a
2014-12-09 18:24:27 -05:00
Jeff Muizelaar e963e4b5d7 Bug 1079400. Limit the maximum render target size to avoid crashes. r=jgilbert
This avoids crashes with certain NVIDIA drivers.

--HG--
extra : rebase_source : 38eb492063e29a23c3278bbef73020d90204d607
2014-12-08 19:53:26 -05:00
Jeff Muizelaar c3a9dd35ed Bug 1094097. Fix building ANGLE without D3D11. r=jrmuizel
--HG--
extra : rebase_source : 0a1bfad2cdd76ddf26565d664f3b0e1c5a208cba
2014-12-02 17:46:32 -08:00
Jeff Gilbert d024308a8d Bug 1096634 - Treat ANGLE default FB as RGB(A). - r=kamidphish 2014-11-05 15:04:55 -08:00
Jeff Muizelaar a0f8fa61fd Bug 1092582. Add support to ANGLE for using IDXGIKeyedMutex. 2014-11-01 14:11:02 -04:00
Mike Hommey 47c853314f Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.

Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.

Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Jeff Gilbert 0802e22d9f Bug 1088345 - (ANGLE) Don't treat STENCIL_INDEX8 as INT for MSAA reasons. - r=kamidphish 2014-10-27 13:06:14 -07:00
Jeff Muizelaar c7503566b2 Bug 1085046. Update ANGLE to get Intel D3D11 texture upload performance work around.
--HG--
extra : rebase_source : a02e0a31b22dc189d3d2d49f7066d723f2231460
2014-10-28 23:04:32 -04:00
Jeff Gilbert 4776c9f56a Bug 912196 - (ANGLE) Fix CopyTexImage. - r=kamidphish 2014-10-08 16:35:05 -07:00
Jeff Muizelaar 94dae61499 Bug 1089199. Fix ANGLE mingw build again
--HG--
extra : rebase_source : 0c87b90882eb5f25a8402deb4f14a2563f6db10e
2014-10-25 15:28:57 -04:00
Jeff Muizelaar d8dd019790 Bug 1083931. Remove pedantic filtering that snuck back in.
The ANGLE update from bug 801158 accidentally added this back.

--HG--
extra : rebase_source : 492105a4a518c0c4cb78e0ccc64efbe0ffc0d78e
2014-10-16 13:54:35 -04:00
Jeff Muizelaar 20abd56cbd Bug 1076020. Update to ANGLE 2182 + fixes.
This corresponds to ANGLE commit 9a2e6ac98a10907b1241bd5709597912e08f63fb

It vastly improves D3D11 performance on Intel GPUs by
avoiding write to multiple render targets when unneeded.
2014-10-09 15:08:59 -04:00
Jacek Caban 06f06edec1 Bug 1076743 - Fixed angle compilation with mingw. (moz.build part) r=gps
--HG--
extra : rebase_source : 5bff5b899c83796443c124dce0f5afbd16e611c2
2014-10-06 18:03:16 +02:00
Jacek Caban aae8678c90 Bug 1076743 - Fixed angle compilation with mingw. (upstream part)
--HG--
rename : gfx/angle/src/libGLESv2/constants.h => gfx/angle/src/libGLESv2/Constants.h
extra : rebase_source : 3147126bc9ccd9df61f4f27e91efe397a6538943
2014-10-06 18:02:43 +02:00
Jeff Muizelaar 20378f45cd Bug 1072930. Remove accidentally added .orig files. 2014-09-25 11:39:45 -04:00