Commit Graph

216 Commits

Author SHA1 Message Date
Jeff Muizelaar
3488081064 Bug 1146034. Cherry pick "Fix struct uniform packing."
This comes from ANGLE commit 2857f489f32372310014888342c6f9c97fac5995
2015-03-25 10:13:31 -04:00
Jeff Muizelaar
5c4981bdde 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
e1f2c0e6ed Bug 1130616 - Support EXT_color_buffer_half_float on ANGLE. - r=jrmuizel,khuey 2015-02-24 14:09:09 -08:00
Mike Hommey
77c7ab37e7 Bug 1134565 - Remove DISABLE_STL_WRAPPING in gfx/angle. r=gps 2015-02-24 11:28:26 +09:00
Gregory Szorc
6bad3a35ba 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
0b776d104d Bug 1128264 - Update ANGLE to chromium/2214. r=jgilbert
--HG--
extra : rebase_source : 2a8e6bdd19f95ada11aa6b3c58165b91d1f5eea2
2015-02-05 14:39:18 -05:00
Jeff Muizelaar
99f342546e 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
69b0cb623b 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
58dfe055bb 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
1f1f6deb6b 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
2b1a74ce01 Bug 1094097. Fix building ANGLE without D3D11. r=jrmuizel
--HG--
extra : rebase_source : 0a1bfad2cdd76ddf26565d664f3b0e1c5a208cba
2014-12-02 17:46:32 -08:00
Jeff Gilbert
8288e5dae0 Bug 1096634 - Treat ANGLE default FB as RGB(A). - r=kamidphish 2014-11-05 15:04:55 -08:00
Jeff Muizelaar
a56a85f6a3 Bug 1092582. Add support to ANGLE for using IDXGIKeyedMutex. 2014-11-01 14:11:02 -04:00
Mike Hommey
d667f4bb59 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
162550395a 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
f06bc6078f 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
5cf3de6f8c Bug 912196 - (ANGLE) Fix CopyTexImage. - r=kamidphish 2014-10-08 16:35:05 -07:00
Jeff Muizelaar
446082e044 Bug 1089199. Fix ANGLE mingw build again
--HG--
extra : rebase_source : 0c87b90882eb5f25a8402deb4f14a2563f6db10e
2014-10-25 15:28:57 -04:00
Jeff Muizelaar
c44618a5b6 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
581b00842e 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
a2382d0089 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
be51a9ea68 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
805235c469 Bug 1072930. Remove accidentally added .orig files. 2014-09-25 11:39:45 -04:00
Walter Litwinczyk
a1006b63cf Bug 1036068 - Update ANGLE to chromium/2151. r=jrmuizel 2014-09-19 16:35:54 -07:00
Ehsan Akhgari
30fc29ee77 Bug 1034930 - Improve the const correctness of BinaryOutputStream::writeBytes; r=upstream 2014-09-04 16:17:19 -04:00
Mike Hommey
a653121671 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
fc99c53ae5 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
6d1eaccc33 Bug 996266 - E_INVALIDARG sometimes means OOM. - r=kamidphish 2014-08-27 16:18:50 -07:00
Carsten "Tomcat" Book
c6842af3e1 Backed out changeset 2984228b8fb1 (bug 996266) 2014-08-27 11:15:19 +02:00
Jeff Gilbert
75af5617b6 Bug 996266 - E_INVALIDARG sometimes means OOM. - r=kamidphish 2014-08-27 01:31:15 -07:00
Mike Hommey
e5c43ef995 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
7398aa2d37 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
4d73c7e4a1 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
7676a50542 Bug 1025576 - Fix crash in TSymbolTableLevel::~TSymbolTableLevel with GCC 4.9. r=bjacob 2014-06-17 07:15:36 +09:00
Jeff Gilbert
dbc5d236e7 Bug 999260 - Ship both d3dcompiler_43 and _46+. - r=mshal 2014-05-02 15:31:05 -07:00
Mike Hommey
b92eb28c0d 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
7d43e22a79 Bug 988271 - Fixed D3D SDK detection on mingw. r=mshal,jgilbert 2014-03-31 13:21:38 +02:00
Chris Peterson
898d620306 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)
6e30090928 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
17c8d2bddd Bug 979118 - Add global MMX_FLAGS, SSE_FLAGS and SSE2_FLAGS variables; r=glandium 2014-03-19 21:55:00 -04:00
Chris Peterson
539b553214 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
a3db614cf1 Bug 982973 - Add angle-d3dcc47.patch to our ANGLE patch list. - r=vlad 2014-03-12 19:47:08 -07:00
Jeff Gilbert
6df46d76b0 Bug 982973 - Tell ANGLE about d3dcompiler_47.dll. - r=vlad 2014-03-12 19:47:07 -07:00
Ehsan Akhgari
bf09c6f469 Bug 976896 - Port STL_FLAGS to moz.build; r=mshal 2014-03-04 19:39:06 -05:00
Ehsan Akhgari
b49ab8c371 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
4076764251 Bug 970727 - Move DEFFILE to moz.build; r=mshal 2014-02-11 11:28:54 -05:00
Ehsan Akhgari
fb23854e8f Bug 968642 - Port RCFILE and RESFILE to moz.build; r=gps 2014-02-10 09:03:53 -05:00
Jacek Caban
657d18d1b2 Bug 945292 - Fixed ANGLE compilation on mingw. r=jgilbert
--HG--
extra : rebase_source : 84a48e83aab4a71d7be05d38874942ec89721d4d
2014-01-27 19:37:56 +01:00
Xavier Fung
62e41fb326 Bug 892859 - Fix Angle to build on Visual Studio 2013. r=bjacob 2014-01-12 05:09:29 +09:00
Mike Shal
5a313588a2 Bug 875013 - Remove VPATH in gfx/; r=joey 2014-01-07 17:50:44 -05:00