Commit Graph
244 Commits
Author SHA1 Message Date
Nathan Froyd 2e279347ba 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 f39ba6bcc3 Bug 1232902. Update ANGLE to chromium/2592 2015-12-16 10:13:56 -05:00
Jeff Muizelaar 5d4cfcc42d 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 6e3003d676 Bug 1225280 - mingw fixup. r=upstream 2015-12-03 11:38:24 +01:00
Jeff Muizelaar e49b76201f Bug 1225280. Update ANGLE to chromium/2572. 2015-12-01 14:49:06 -05:00
Mike Hommey 062126ad36 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 d658f53faf Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz 2015-11-24 20:15:29 -08:00
Phil Ringnalda 80310b6e5c 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 8e72348cfc Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz 2015-11-23 19:27:13 -08:00
Jeff Muizelaar 11c208b7e9 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 a7e40c1e81 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 a15ff04630 Bug 1215901 - Suppress more clang and gcc warnings in gfx/angle. r=jgilbert 2015-10-17 13:29:16 -07:00
Mike Hommey ab8566e7f7 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 b9c33b1c31 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.
2015-10-19 18:05:20 -07:00
Jeff Muizelaar 5b8d78020d Bug 1214917. Update ANGLE to 2535 2015-10-15 00:07:30 -04:00
Jeff Muizelaar cba32a5577 Bug 1211774. Update to ANGLE 2522. 2015-10-05 13:48:44 -04:00
Jeff Muizelaar cc747df469 Bug 1179280. Update ANGLE from chromium/2214 to chromium/2466. 2015-09-29 19:04:17 -04:00
Nicholas Nethercote 12fec02dfb 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.
2015-08-27 20:44:53 -07:00
Kyle 09bd7a29cf 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 49cf5f2673 Bug 1190526 - Check for overflow in vertex allocation. r=jrmuizel 2015-08-17 11:31:17 -04:00
Makoto Kato 9932a771f3 Bug 830801 - Part 2. Remove NOMINMAX define from moz.build. r=mshal 2015-08-03 10:07:09 +09:00
Jeff Muizelaar 624f249172 Bug 1186431. Backout "Recreate the RenderTargetView on demand" r=jgilbert
This reverts commit 8d5da151b0df
2015-07-29 10:44:05 -04:00
Kyle 52144377fa 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 0f374d3614 Bug 1178426. Add GfxInfo to ServicesList.h. r=nfroyd 2015-07-08 16:51:09 -04:00
Lee Salzman 138af69e0d Bug 1167332 - Pass failures out of SetBufferData. r=jgilbert 2015-06-09 14:41:03 -04:00
Dan Glastonbury 5f87e02ab9 Bug 1147447 - Enable STL wrapping for libGLESv2 and libEGL. r=jmuizelaar r=glandium 2015-04-28 20:41:00 +02:00
David Major de0cdb20c0 Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium 2015-04-27 19:59:27 -04:00
Brian Smith 1dbf830f4a Bug 1119776, Part 8: Avoid defining snprintf when MSVC provides it (angle), r=jgilbert 2015-03-31 09:51:27 -10:00
Jeff Muizelaar e83409bf03 Bug 1146034. Cherry pick "Fix struct uniform packing."
This comes from ANGLE commit 2857f489f32372310014888342c6f9c97fac5995
2015-03-25 10:13:31 -04:00
Jeff Muizelaar 37a4ae03fe 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
2015-03-10 10:59:17 -04:00
Jeff Gilbert 6d0bffcb21 Bug 1130616 - Support EXT_color_buffer_half_float on ANGLE. - r=jrmuizel,khuey 2015-02-24 14:09:09 -08:00
Mike Hommey 8eca727195 Bug 1134565 - Remove DISABLE_STL_WRAPPING in gfx/angle. r=gps 2015-02-24 11:28:26 +09:00
Gregory Szorc 5795f1a460 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.
2015-02-21 07:26:30 -05:00
Jeff Muizelaar 4c2c51db18 Bug 1128264 - Update ANGLE to chromium/2214. r=jgilbert 2015-02-05 14:39:18 -05:00
Jeff Muizelaar 09c6ead876 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.
2014-12-28 00:01:02 -05:00
Jeff Muizelaar a3e23e29dd 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.
2014-12-17 15:10:18 -05:00
Jeff Muizelaar d6ca1780a8 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.
2014-12-09 18:24:27 -05:00
Jeff Muizelaar 58c0d000c8 Bug 1079400. Limit the maximum render target size to avoid crashes. r=jgilbert
This avoids crashes with certain NVIDIA drivers.
2014-12-08 19:53:26 -05:00
Jeff Muizelaar f261dbf156 Bug 1094097. Fix building ANGLE without D3D11. r=jrmuizel 2014-12-02 17:46:32 -08:00
Jeff Gilbert 7f9dd3708b Bug 1096634 - Treat ANGLE default FB as RGB(A). - r=kamidphish 2014-11-05 15:04:55 -08:00
Jeff Muizelaar 49d622fc65 Bug 1092582. Add support to ANGLE for using IDXGIKeyedMutex. 2014-11-01 14:11:02 -04:00
Mike Hommey 632dbaeb90 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 5a5d66616e 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 79c678aa2d Bug 1085046. Update ANGLE to get Intel D3D11 texture upload performance work around. 2014-10-28 23:04:32 -04:00
Jeff Gilbert a5b7bf2204 Bug 912196 - (ANGLE) Fix CopyTexImage. - r=kamidphish 2014-10-08 16:35:05 -07:00
Jeff Muizelaar 404d3a10f6 Bug 1089199. Fix ANGLE mingw build again 2014-10-25 15:28:57 -04:00
Jeff Muizelaar 804acafadd Bug 1083931. Remove pedantic filtering that snuck back in.
The ANGLE update from bug 801158 accidentally added this back.
2014-10-16 13:54:35 -04:00
Jeff Muizelaar 14761869c3 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 dbedb7c54e Bug 1076743 - Fixed angle compilation with mingw. (moz.build part) r=gps 2014-10-06 18:03:16 +02:00
Jacek Caban 1bce09da3e Bug 1076743 - Fixed angle compilation with mingw. (upstream part) 2014-10-06 18:02:43 +02:00