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

88 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Mike Hommey 70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Benoit Jacob 303ebaa4a8 Bug 774755 - 7/8 - ANGLE r1242: update README and local patches - no review 2012-07-25 12:13:45 -04:00
Benoit Jacob f74e4d8eb7 Bug 774755 - 5/8 - ANGLE r1242: rename one of the two DirectiveHandler.cpp to avoid conflict - r=jgilbert
--HG--
rename : gfx/angle/src/compiler/preprocessor/new/DirectiveHandler.cpp => gfx/angle/src/compiler/preprocessor/new/PreprocessorDirectiveHandler.cpp
2012-07-25 12:13:45 -04:00
Benoit Jacob 464b39c0fb Bug 774755 - 4/8 - ANGLE r1242: rename one of the two Diagnostics.cpp to avoid conflict - r=jgilbert
--HG--
rename : gfx/angle/src/compiler/preprocessor/new/Diagnostics.cpp => gfx/angle/src/compiler/preprocessor/new/PreprocessorDiagnostics.cpp
2012-07-25 12:13:45 -04:00
Benoit Jacob 81a2926391 Bug 774755 - 3/8 - ANGLE r1242: reapply/update existing patches - no review
--HG--
rename : gfx/angle/src/compiler/debug.cpp => gfx/angle/src/compiler/compilerdebug.cpp
rename : gfx/angle/src/compiler/debug.h => gfx/angle/src/compiler/compilerdebug.h
2012-07-25 12:13:45 -04:00
Benoit Jacob 32588ccc59 Bug 774755 - 2/8 - ANGLE r1242: update our makefiles - r=jgilbert
In particular:
 - ANGLE_USE_NSPR goes away
 - many useless source files removed from libEGL
2012-07-25 12:13:45 -04:00
Benoit Jacob a2052bb20a Bug 774755 - 1/8 - Update ANGLE to r1242 - no review
--HG--
rename : gfx/angle/src/compiler/compilerdebug.h => gfx/angle/src/compiler/debug.h
2012-07-25 12:13:45 -04:00
foo 139e75a64d Bug 772457 - add --disable-webgl, remove --disable-angle, clean up configure.in - r=vladv
Note that MOZ_ANGLE is renamed to MOZ_ANGLE_RENDERER
2012-07-10 22:33:03 -04:00
Gervase Markham 68d38d677f Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Benoit Jacob 4b973ad9e6 Bug 751643 - ensure that strings produced by ANGLE's getVariableInfo function are null-terminated - r=bz,upstream
Checked in upstream ANGLE as r1070.
2012-05-06 22:20:03 -04:00
Benoit Jacob 8252eb1d00 Bug 748654 - manually abort on allocation failure - r=jgilbert 2012-04-30 17:43:12 -04:00
Benoit Jacob 3e01d03f6d Bug 748654 - drop patch making us use mozalloc in angle - r=jgilbert 2012-04-30 17:43:12 -04:00
Benoit Jacob a41f9f50e8 Bug 748112 - WebGL Water demo broken by long identifier mapping - r=jgilbert 2012-04-24 16:05:11 -04:00
Benoit Jacob b7aa678078 Bug 734657 - Upgrade ANGLE to r1042 - no review
The upstream is at:
  http://code.google.com/p/angleproject/

This update allows to pass all conformance tests on Windows with ANGLE renderer; also fixes 2 crashes (see dependent bugs).
2012-04-15 15:05:00 -04:00
Oleg Romashin 1be319b666 Bug 732764 - gfx/angle/src/compiler/Types.h:211: error: 'abort' was not declared in this scope. r=bjacob 2012-03-04 20:50:44 -05:00
Benoit Jacob 4f88efc2ce Bug 676071 - drop ANGLE patch limiting identifiers to 250 chars - r=jgilbert 2012-03-02 15:42:49 -05:00
Benoit Jacob bbd0e02750 Bug 676071 - ANGLE patch: use SpookyHash to generate mapped ids, instead of a monotonic identifier - r=jgilbert 2012-03-02 15:42:49 -05:00
Jeff Gilbert fb651909f4 Bug 724476 - Add ANGLE patch file for impl. readpixel format BGRA - r=bjacob 2012-02-24 14:37:06 -08:00
Jeff Gilbert e36d517115 Bug 724476 - ANGLE Bug 294 - Use BGRA/UBYTE as exposed fast format/type for readPixels - r=bjacob 2012-02-24 14:37:06 -08:00
Jeff Gilbert 83f23d825d Bug 724476 - Add patch for strict ANGLE readpixels behavior - r=bjacob 2012-02-24 14:37:06 -08:00
Jeff Gilbert 964d6807a5 Bug 724476 - ANGLE Bug 293 - Enforce readPixels format/type semantics - r=bjacob 2012-02-24 14:37:05 -08:00
Benoit Jacob edff588b92 Bug 699033 - tame a crash in ANGLE compiler - r=jst 2012-02-23 17:49:55 -05:00
Benoit Jacob b9c5df43a5 Bug 720438 - Update ANGLE to r963 - no review
No review because this is just syncing us with upstream:
  http://code.google.com/p/angleproject/

This is also doing some cleanup, removing stale/empty files and updating patches.

The main benefit from this update is that long-identifier-shortening has been fixed.
2012-01-26 12:04:15 -05:00
Benoit Jacob 144cf1a6f1 Bug 713266 - Update ANGLE to r930 - no review
No review because this is just syncing us with the upstream
  http://code.google.com/p/angleproject/
2012-01-03 05:01:43 -05:00
Benoit Jacob 43a3045735 Bug 711592 - Update ANGLE to r924 - no review
Upstream is at http://code.google.com/p/angleproject/
2011-12-18 18:20:45 -05:00
Mike Hommey 08ab6292b8 Bug 709914 - Slice out the ANGLE compiler from libxul on Windows. r=khuey,a=philor 2011-12-15 06:40:23 +01:00
Benoit Jacob f236d1743f Bug 707555 - Update ANGLE to r901 (v1.0) to grab correctness fixes - no review
This is just syncing us with the upstream http://code.google.com/p/angleproject
2011-12-04 17:24:41 -05:00
Benoit Jacob 88b1ae83c6 Bug 703917 - Upgrade ANGLE to r885 - no review
This is syncing us with the upstream http://code.google.com/p/angleproject
2011-11-19 18:18:59 -05:00
Benoit Jacob 37f9e79d9c Bug 697333 - Update ANGLE to r809 - no review
This is just syncing us with the upstream,

  http://code.google.com/p/angleproject/

This gets us two important fixes, for bug 676071 and bug 694495.
2011-11-02 00:56:35 -04:00
Ehsan Akhgari 6e94a9bc51 Bug 696889 followup - Remove the two patches which are no longer needed from the tree; rs=bjacob
DONTBUILD
2011-10-25 11:24:04 -04:00
Benoit Jacob d33d9d4b45 Bug 696889 - Upgrade ANGLE to r802 - no review
This is syncing us with the ANGLE project at

   http://code.google.com/p/angleproject/

Also, with this new ANGLE revision, two WebGL conformance tests are now passing on windows so this patch removes them from failing_tests_windows.txt.

--HG--
rename : gfx/angle/angle-instrinsic-msvc2005.patch => gfx/angle/angle-intrinsic-msvc2005.patch
2011-10-25 08:58:43 -04:00
Ehsan Akhgari 0805b48459 Bug 694801 - VC11 fails to compile angle because pool_allocator<T> doesn't have operator =; r=bjacob 2011-10-19 10:17:02 -04:00
Jeff Walden b632193bc0 Bug 694709 - Remove $DXSDK_DIR/include from LOCAL_INCLUDES two places in ANGLE code. It's redundant with a sibling $MOZ_DIRECTX_SDK_PATH/include, at best, and at worst if the two conflict (as happens if the more-recently-installed DirectX SDK is not the most recent SDK), building breaks in the middle of ANGLE. r=bjacob
--HG--
extra : rebase_source : 909fa5cd8c1042fab7d2e95693541784d83bd23d
2011-10-14 16:28:14 -07:00
Benoit Jacob ce9fd81cfc Bug 658826 - disable optimization in D3DCompiler to avoid freeze bugs - r=jrmuizel
ANGLE's own buildsystem, which Chrome uses, has been doing this for a long time. This aligns us with them.
2011-10-03 23:09:03 -04:00
Benoit Jacob 3bea5d21c4 Bug 690735 - upgrade ANGLE to r774 - no review, just syncing with upstream
This doesn't involve any Makefile change so should be relatively safe.

This is needed for:
  * BUILTIN_FUNCTION_EMULATION (r773,774), blocker for 665578
  * extensions validation in shaders (r745), blocker for 684853
  * major performance improvements and bug fixes
2011-10-01 00:03:10 -04:00
Benoit Jacob e55df18b60 Bug 680840 - Use infallible allocations in GrowAtomTable() - r=dveditz 2011-09-09 18:00:21 -04:00
Benoit Jacob a7fc0ecbca Bug 682506 - Upgrade ANGLE to r740 - r=upstream
I need this now especially as it gets us the shader modification mechanisms to work around Mac GL crashes, see bug 665578

The relevant ANGLE revisions are 734, 738, and 740 fixes a bug in 738.

This also allows us to reset our set of cherrypicked ANGLE revisions which was starting to be very big.
2011-08-30 18:50:05 -04:00
Benoit Jacob 872f549d6a Bug 681400 - import ANGLE r739 - r=upstream 2011-08-24 11:32:17 -04:00
Benoit Jacob 0b62dd917b Bug 673075 - import ANGLE r711 - r=upstream
This lets ANGLE reject shaders that have recursive functions.
2011-08-15 15:54:25 -04:00
Benoit Jacob 99563a9c0f Bug 676918 - import ANGLE r719 - r=upstream
This fixes a crash in glReadPixels in some unusual circumstances like after locking and unlocking the screen.
2011-08-15 15:53:46 -04:00
Mounir Lamouri 416f33776c Merging mozilla-central into mozilla-inbound. 2011-08-11 13:09:54 +02:00
Makoto Kato 7facbae91f Bug 616918 - Turn on ANGLE on Win64. r=bjacob 2011-08-11 19:17:54 +09:00
Benoit Jacob e343a8afa2 Bug 676315 - ANGLE build problem: d3dx9.h not found unless $DXSDK_DIR points to it - r=joe
In configure, we detect the DXSDK using the windows registry and set MOZ_DIRECTX_SDK_PATH accordingly. This patch fixes a bug whereby we weren't using that to actually find headers, and were relying on the half-universal DXSDK_DIR variable instead, which is not always defined and in case of multiple versions installed may not point to the most recent one.
2011-08-10 18:25:23 -04:00
Benoit Jacob 6b663cacbc Bug 675634 - import ANGLE r712 - r=upstream 2011-08-02 18:06:25 -04:00
Benoit Jacob b8f605479f Bug 675625 - limit GLSL identifiers to 250 characters to work around a NVIDIA bug - r=jrmuizel 2011-08-02 18:06:25 -04:00
Benoit Jacob 3495fb4249 Bug 668743 - ANGLE fails to load on WinXP after upgrade from r653 to r686 - r=jrmuizel
This patch implements delay-loading of DWMAPI.DLL to prevent ANGLE's libEGL.dll from failing to load on WinXP where DWMAPI.DLL is not present.
2011-07-27 14:46:14 -04:00
Benoit Jacob b1e34442ee Bug 646825 - import ANGLE r702 - r=upstream 2011-07-26 11:53:47 -04:00
Benoit Jacob 9884944aa7 Bug 665934 - fix bug: arev was meant instead of amap - r=upstream
This patch has been taken in ANGLE upstream as r699.
2011-06-27 13:27:04 -04:00
Makoto Kato 6635f50f90 Bug 662726 - Remove unused ANGLE source. r=bjacob 2011-06-13 10:32:34 +09:00