Commit Graph

365 Commits

Author SHA1 Message Date
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
Walter Litwinczyk
bfbc3e3904 Bug 1036068 - Update ANGLE to chromium/2151. r=jrmuizel 2014-09-19 16:35:54 -07:00
Ehsan Akhgari
f86faf74b9 Bug 1034930 - Improve the const correctness of BinaryOutputStream::writeBytes; r=upstream 2014-09-04 16:17:19 -04:00
Mike Hommey
4b99580194 Bug 1059113 - Use templates for shared libraries and frameworks. r=gps
Also force to use the existing template for XPCOM components.
2014-09-04 09:04:45 +09:00
Mike Hommey
ed70c5f377 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Jeff Gilbert
26166a4b1d Bug 996266 - E_INVALIDARG sometimes means OOM. - r=kamidphish 2014-08-27 16:18:50 -07:00
Carsten "Tomcat" Book
bc9a11a684 Backed out changeset 2984228b8fb1 (bug 996266) 2014-08-27 11:15:19 +02:00
Jeff Gilbert
1509793fce Bug 996266 - E_INVALIDARG sometimes means OOM. - r=kamidphish 2014-08-27 01:31:15 -07:00
Mike Hommey
5fab42fcaf Bug 1036894 part 8 - Move most in-tree library linkage information to moz.build, as USE_LIBS. r=gps 2014-07-23 13:30:52 +09:00
Vladimir Vukicevic
e00eb0da89 b=1037667; Update generated ANGLE moz.build files to fix DX SDK build issues; r=jrmuizel 2014-07-22 21:38:23 -04:00
Vladimir Vukicevic
2eaad2192b b=1010371; Update ANGLE; r=upstream
--HG--
rename : gfx/angle/src/compiler/64bit-lexer-safety.patch => gfx/angle/src/compiler/translator/64bit-lexer-safety.patch
rename : gfx/angle/src/compiler/ExtensionBehavior.h => gfx/angle/src/compiler/translator/ExtensionBehavior.h
rename : gfx/angle/src/compiler/InitializeDll.h => gfx/angle/src/compiler/translator/InitializeDll.h
rename : gfx/angle/src/compiler/InitializeGlobals.h => gfx/angle/src/compiler/translator/InitializeGlobals.h
rename : gfx/angle/src/compiler/InitializeParseContext.h => gfx/angle/src/compiler/translator/InitializeParseContext.h
rename : gfx/angle/src/compiler/MMap.h => gfx/angle/src/compiler/translator/MMap.h
rename : gfx/angle/src/compiler/PoolAlloc.h => gfx/angle/src/compiler/translator/PoolAlloc.h
rename : gfx/angle/src/compiler/Pragma.h => gfx/angle/src/compiler/translator/Pragma.h
rename : gfx/angle/src/compiler/QualifierAlive.h => gfx/angle/src/compiler/translator/QualifierAlive.h
rename : gfx/angle/src/compiler/RemoveTree.h => gfx/angle/src/compiler/translator/RemoveTree.h
rename : gfx/angle/src/compiler/generate_parser.sh => gfx/angle/src/compiler/translator/generate_parser.sh
rename : gfx/angle/src/compiler/glslang.h => gfx/angle/src/compiler/translator/glslang.h
rename : gfx/angle/src/libGLESv2/renderer/IndexBuffer11.h => gfx/angle/src/libGLESv2/renderer/d3d11/IndexBuffer11.h
rename : gfx/angle/src/libGLESv2/renderer/IndexBuffer9.h => gfx/angle/src/libGLESv2/renderer/d3d9/IndexBuffer9.h
rename : gfx/angle/src/libGLESv2/renderer/ShaderExecutable9.h => gfx/angle/src/libGLESv2/renderer/d3d9/ShaderExecutable9.h
rename : gfx/angle/src/libGLESv2/renderer/SwapChain9.h => gfx/angle/src/libGLESv2/renderer/d3d9/SwapChain9.h
rename : gfx/angle/src/libGLESv2/renderer/VertexDeclarationCache.h => gfx/angle/src/libGLESv2/renderer/d3d9/VertexDeclarationCache.h
rename : gfx/angle/src/libGLESv2/renderer/shaders/Blit.vs => gfx/angle/src/libGLESv2/renderer/d3d9/shaders/Blit.vs
2014-07-04 11:49:25 -04:00
Mike Hommey
2ccaed991a Bug 1025576 - Fix crash in TSymbolTableLevel::~TSymbolTableLevel with GCC 4.9. r=bjacob 2014-06-17 07:15:36 +09:00
Jeff Gilbert
b21a7e2e9c Bug 999260 - Ship both d3dcompiler_43 and _46+. - r=mshal 2014-05-02 15:31:05 -07:00
Mike Hommey
d0cdea26af Bug 990333 - Fix DirectX SDK path handling when linking xul.dll after bug 988271. r=mshal 2014-04-02 11:52:21 +09:00
Jacek Caban
2af0aa900e Bug 988271 - Fixed D3D SDK detection on mingw. r=mshal,jgilbert 2014-03-31 13:21:38 +02:00
Chris Peterson
23140639d1 Bug 986788 - Suppress clang and gcc warnings in third-party code: MurmurHash3. r=bjacob 2014-03-20 21:39:32 -07:00
ABE Hiroki (hATrayflood)
23e9b38893 Bug 980697 - Add a configure option to pull newer versions of the d3dcompiler dll from installed Windows SDKs. r=mshal,vlad 2014-03-22 10:49:26 +09:00
Ehsan Akhgari
020f3fd4d8 Bug 979118 - Add global MMX_FLAGS, SSE_FLAGS and SSE2_FLAGS variables; r=glandium 2014-03-19 21:55:00 -04:00
Chris Peterson
51f754f8d6 Bug 666656 - Suppress clang and gcc warnings in third-party gfx code: angle, cairo, and pixman. r=BenWa 2014-02-28 23:16:37 -08:00
Jeff Gilbert
63fcfee6ad Bug 982973 - Add angle-d3dcc47.patch to our ANGLE patch list. - r=vlad 2014-03-12 19:47:08 -07:00
Jeff Gilbert
b76abe5673 Bug 982973 - Tell ANGLE about d3dcompiler_47.dll. - r=vlad 2014-03-12 19:47:07 -07:00
Ehsan Akhgari
17f4a32d8b Bug 976896 - Port STL_FLAGS to moz.build; r=mshal 2014-03-04 19:39:06 -05:00
Ehsan Akhgari
667b4bc049 Bug 978594 - Part 3: Port some of the per-source flags to moz.build; r=glandium
--HG--
extra : rebase_source : fe4cd059eddda221af420e1517250772816d7ee8
2014-03-02 15:41:32 -05:00
Ehsan Akhgari
e4f4a283cc Bug 970727 - Move DEFFILE to moz.build; r=mshal 2014-02-11 11:28:54 -05:00
Ehsan Akhgari
096d1fad98 Bug 968642 - Port RCFILE and RESFILE to moz.build; r=gps 2014-02-10 09:03:53 -05:00
Jacek Caban
c1f5ed3733 Bug 945292 - Fixed ANGLE compilation on mingw. r=jgilbert
--HG--
extra : rebase_source : 84a48e83aab4a71d7be05d38874942ec89721d4d
2014-01-27 19:37:56 +01:00
Xavier Fung
90533d72d3 Bug 892859 - Fix Angle to build on Visual Studio 2013. r=bjacob 2014-01-12 05:09:29 +09:00
Mike Shal
0247e78faf Bug 875013 - Remove VPATH in gfx/; r=joey 2014-01-07 17:50:44 -05:00
Jacek Caban
da391931de Bug 945292 - Makefile.in part. r=glandium 2013-12-17 12:06:08 +01:00
Mike Hommey
881a7c1554 Bug 943728 - Replace double quotes with single quotes in Makefiles (or remove them when it makes sense). r=mshal 2013-12-03 06:34:21 +09:00
Ms2ger
9d06a0c27f Merge mozilla-inbound to mozilla-central. 2013-11-29 09:54:12 +01:00
Ms2ger
4c502efb62 Bug 937224 - Part a: Move LOCAL_INCLUDES to moz.build in gfx/; r=mshal 2013-11-28 15:10:38 +01:00
Mike Hommey
8fd06cf41b Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Mike Hommey
b32a4ed166 Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey
a1486ce449 Bug 942043 - Straighten up zlib linkage wrt shared js and system zlib. r=gps,r=ted 2013-11-22 23:03:21 +09:00
Mike Hommey
682364d535 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00
Mike Hommey
0a1fb8d11c Bug 942043 - Straighten up zlib linkage wrt shared js and system zlib. r=gps,r=ted 2013-11-28 12:49:43 +09:00
Ehsan Akhgari
9d7e9ee2cc Add some comments about angle-build-unified.patch, no bug
DONTBUILD

--HG--
extra : rebase_source : 983dd29d0b8c254aeaa9dd8367accd34d0bd695d
2013-11-19 14:18:00 -05:00
Mike Hommey
2812d11fce Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
61b0bdbe18 Bug 939622 - Remove LIBXUL_LIBRARY for intermediate libs that end up in gkmedias. r=gps
What LIBXUL_LIBRARY does is:
  - Imply FORCE_STATIC_LIB
  - Build with -DIMPL_LIBXUL
  - Build with -DMOZILLA_INTERNAL_API

Those intermediate libs that end up in gkmedias and have LIBXUL_LIBRARY defined
in their moz.build are all third party code (or handled like third party code).
Besides FORCE_STATIC_LIB, none of the side effects of LIBXUL_LIBRARY should be
needed.
2013-11-19 11:47:49 +09:00
Mike Hommey
b2e90f6233 Bug 914245 - Move FORCE_SHARED_LIB to moz.build. r=mshal 2013-11-19 11:47:45 +09:00
Mike Hommey
e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
ffe0380912 Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Ehsan Akhgari
c4d30145cf Bug 939588 - Build angle in unified mode; r=bjacob
--HG--
extra : rebase_source : c6e8bd797c7b8e0a27d60e905deaed3f34d2ce39
2013-11-17 21:47:21 -05:00
Ted Mielczarek
673fd74516 Bug 930674 - convert VISIBILITY_FLAGS in Makefile.in to NO_VISIBILITY_FLAGS in moz.build. r=mshal 2013-10-24 15:06:19 -04:00
Mike Hommey
b000a846c2 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Mike Hommey
59a17d0f20 Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Mike Hommey
3fa7456cd6 Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 08:00:23 +09:00
Ms2ger
3d38d84965 Bug 912099 - Part c: Make sure CPP_SOURCES only points to existing files in gfx/angle; r=mshal 2013-10-03 09:10:00 +02:00
Neil Rashbrook
4fe46da40e Bug 914547 Ensure the DirectX headers can be found when necessary r=jgilbert 2013-09-11 19:18:53 +01:00
Jeff Gilbert
9c551bd436 Bug 883478 - Update ANGLE to pull from 13-08-02. r=upstream,bjacob,bas 2013-09-06 17:24:36 -07:00
Mike Hommey
f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Ms2ger
bdfaa84f5b Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
1c4d224f0e Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg 2013-08-22 08:56:00 +02:00
Ms2ger
af2c13c793 Bug 906412 - Cleanup some random parts of the build system; r=mshal 2013-08-22 08:55:59 +02:00
Guillaume Abadie
ccb42e0634 bug 890277 - ANGLE libGLESv2 Integer Overflow - r=bjacob 2013-07-24 17:57:41 -04:00
Brian O'Keefe
11bcc1cd9e Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Mike Shal
5169c0a913 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Jacek Caban
cfceaf2e9e Bug 840577 - Fix ANGLE cross compilation on case sensitive OSes, relanded
--HG--
extra : rebase_source : 5664ebb57dd0b60d352ce72f3f7b665e6d847189
2013-05-17 16:42:00 +02:00
Ted Mielczarek
3cfd62c3d2 bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
Jeff Gilbert
baa41416e7 Bug 861039 - Update ANGLE to r2042. - r=bjacob 2013-05-13 05:12:37 -07:00
Ed Morley
f518dad74a Backed out changeset fe104053f4f2 (bug 861039) for compilation failures 2013-05-13 12:44:41 +01:00
Jeff Gilbert
73314b178a Bug 861039 - Update ANGLE to r2042. - r=bjacob 2013-05-13 04:11:38 -07:00
Mike Shal
df7deac25b Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Kyle Machulis
72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Mike Shal
7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Gregory Szorc
6145f28e00 Bug 784841 - Part 18o: Convert /gfx; r=jrmuizel f=Ms2ger 2013-02-25 12:47:21 -08:00
Jacek Caban
4e62476cba Bug 840577 - Fixed ANGLE cross compilation on case sensitive OSes r=bjacob 2013-02-13 13:33:39 +01:00
Benoit Jacob
17599d2cd7 Bug 827106 - Cherry-pick ANGLE r1638 - r=jgilbert 2013-02-05 20:53:38 -05:00
Jeff Muizelaar
91cbf694b0 Bug 808785. Stop shipping d3dx9_43.dll. r=bjacob
Since ANGLE revision 1314 / issue 311:
http://code.google.com/p/angleproject/issues/detail?id=311 d3dx9_43.dll is no
longer needed.

--HG--
extra : rebase_source : cb02a61730f4a24f807662269693be2dde673ff0
2013-01-28 11:52:06 -05:00
Marco Bonardo
e2d4408699 Backout 65a26453f9a6 (bug 823109) cause it still breaks some Windows builds 2013-01-24 23:48:17 +01:00
Jeff Muizelaar
188de37445 Bug 823109. Only extract d3d dlls when necessary. r=ted
This adds proper dependencies so that make can do better.
We go to some length to handle possible spaces in the paths.

--HG--
extra : rebase_source : 7974bade5808a2cb0f4efb29bf46b0f298549659
2013-01-24 15:00:36 -05:00
Jeff Gilbert
c8c186ac5c Bug 801158 - Update ANGLE to r1561 - r=bjacob 2013-01-24 06:21:01 -08:00
Nicholas Nethercote
aac86acc69 Bug 394311 - Stop building with -pedantic. r=ted,dbaron.
--HG--
rename : content/svg/content/nsISVGPoint.cpp => content/svg/content/src/DOMSVGPoint.cpp
rename : docshell/test/browser/browser_bug234628-9.js => docshell/test/browser/browser_bug134911.js
rename : layout/reftests/w3c-css/submitted/values3/calc-background-image-gradient-1-ref.html => layout/reftests/css-calc/background-image-gradient-1-ref.html
rename : layout/reftests/w3c-css/submitted/values3/calc-background-image-gradient-1.html => layout/reftests/css-calc/background-image-gradient-1.html
rename : layout/reftests/w3c-css/submitted/values3/reftest.list => layout/reftests/css-calc/reftest.list
rename : layout/reftests/text/auto-hyphenation-10-ref.html => layout/reftests/text/auto-hyphenation-10.html
rename : layout/reftests/text/auto-hyphenation-8-ref.html => layout/reftests/text/auto-hyphenation-8.html
rename : layout/reftests/text/auto-hyphenation-9-ref.html => layout/reftests/text/auto-hyphenation-9.html
extra : rebase_source : 012df725d55b031ccc03d9bfcf785056d95a2ebe
2013-01-20 14:12:42 -08:00
Marco Bonardo
6790d1a75d Backout 0d33af2a2a75 (bug 823109) cause it breaks some Windows builds 2013-01-16 00:33:13 +01:00
Jeff Muizelaar
04046379bd Bug 823109. Only extract d3d dlls when necessary. r=ted
This adds proper dependencies so that make can do better.

--HG--
extra : rebase_source : 4878bf741f29d738603f090e914a1adf2e31732b
2013-01-15 11:14:04 -05:00
Benoit Jacob
72594565fa Bug 805814 - import ANGLE r1317 (only that revision) - r=jgilbert 2012-12-11 16:57:30 -05:00