Matt Woodrow
a6c0c60716
Bug 1284672 - Try use an exsiting D3D11 device for video rather than creating new ones. r=dvander
...
--HG--
extra : rebase_source : 0e9b01742f1726bf385bf28257392415a09360bd
2016-08-02 18:46:27 +12:00
Nicholas Nethercote
0917ac7c50
No bug. Add a short but helpful comment to nsXULAppInfo::Callback. r=me.
...
DONTBUILD because it's a comment-only change.
2016-08-02 16:30:11 +10:00
Matt Woodrow
8a4439734f
Bug 1289640 - Fix non-Windows build bustage
2016-08-02 18:15:01 +12:00
Matt Woodrow
f1c314c175
Bug 1289640 - Part 5: Delete the D3D11 image bridge device since it no longer has any callers. r=dvander
2016-08-02 17:58:17 +12:00
Matt Woodrow
8a78323b3b
Bug 1289640 - Part 4: Make SourceSurfaceImage::GetTextureClient use the threadsafe upload with D3D11 so that we no longer rely on having a separate device. r=nical
2016-08-02 17:57:41 +12:00
Matt Woodrow
c4533b81ff
Bug 1289640 - Part 3: Add a new constructor for D3D11TextureData that does threadsafe uploading. r=Bas
2016-08-02 17:55:44 +12:00
Matt Woodrow
a9cb9eb75a
Bug 1289640 - Part 2: Stop using the D3D11 immediate context to upload texture data in IMFYCbCrImage and stick to threadsafe APIs so that we can use the content device. r=Bas
2016-08-02 17:53:06 +12:00
Matt Woodrow
8917dc3ec5
Bug 1289640 - Part 1: Make SharedSurfaceANGLE code use the content D3D11 device since we should only ever run on the main thread and would have used this device already. r=jgilbert
2016-08-02 17:52:29 +12:00
Cameron McCormack
df79678440
Bug 1281081 - Convert image request setting macros into a function with a callback. r=xidorn
...
MozReview-Commit-ID: 91uN8S8nEgp
2016-06-22 19:49:04 +10:00
Mike Hommey
51236564fa
Bug 1290040 - Find link.exe from python configure. r=gps
...
This ensures we have a full path to link.exe from MSVC in LD, avoiding
to use /usr/bin/link on msys2.
2016-08-02 13:20:53 +09:00
Mike Hommey
3ec6a69c49
Bug 1290040 - Use full path for mt.exe. r=gps
...
Now that check_prog, through find_program, returns paths that the build
system can handle, we don't need MT to just be "mt.exe".
However, we still need the PATH to be altered for the other tools we're
not checking in python configure yet (e.g. midl). We also still need
PATH altered for the compiler itself, because for e.g. the amd_x86
version, a necessary DLL is in the amd directory, which means PATH
always needs to be altered for cl.exe.
2016-08-02 13:20:48 +09:00
Mike Hommey
da40819e21
Bug 1290040 - Make find_program return short paths automatically when paths contain spaces on Windows. r=gps
...
Also fake enough of ctypes to keep the configure unit tests passing
after these changes.
2016-08-02 13:20:44 +09:00
Mike Hommey
c2df8cd611
Bug 1290026 - Automatically set LIB from configure. r=chmanchester
2016-08-02 13:17:19 +09:00
Mike Hommey
c6b7fab94b
Bug 1290026 - Automatically set INCLUDE from configure. r=chmanchester
2016-08-02 13:17:17 +09:00
Mike Hommey
ba7c817059
Bug 1289638 - Update the MSVC tooltool package. r=gps
...
- Update the tooltool manifests to use the new package.
- Update mozconfig paths to reflect MSVC tooltool package changes.
2016-08-02 13:17:15 +09:00
Mike Hommey
8ccc63df11
Bug 1289638 - Don't remove the SDK version from the SDK paths in the MSVC tooltool package. r=gps
...
While we're here changing the MSVC tooltool package, and since we're
going to remove the INCLUDE and LIB lines from mozconfigs that contain
the SDK version, we might as well make the SDK in the tooltool package
closer to an actual SDK, so that automation and local build more or
less follow the same (upcoming) configure code path.
2016-08-02 13:17:14 +09:00
Mike Hommey
843c82eecf
Bug 1289638 - Don't rename the DIA SDK directory in the MSVC tooltool package. r=gps
2016-08-02 13:17:12 +09:00
Mike Hommey
620b77568c
Bug 1289638 - Set WINDOWSSDKDIR for "autospider" builds. r=gps
...
autospider builds set VSPATH before sourcing
build/win*/mozconfig.vs-latest, so VSWINPATH was never set. Furthermore,
the way it sets variables for the build system relies on the variable
going through and export from mk_add_options, which
mk_export_correct_style conveniently does for us.
2016-08-02 13:17:08 +09:00
Nicholas Nethercote
dfd6bcad07
Bug 1288985 - Fix a leak in an error path in makeTypedArrayWithTemplate. r=bbouvier.
...
--HG--
extra : rebase_source : 78d8ad516c566eb259f4896fb070e9db12f32229
2016-08-02 11:21:22 +10:00
Heiher
496c5babac
Bug 1290811 - Baldr: MIPS64: Fix CodeGenerator::visitAsmSelectI64. r=h4writer
...
---
js/src/jit/mips64/CodeGenerator-mips64.cpp | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
2016-08-02 10:44:36 +08:00
Nick Fitzgerald
3193a87fdb
Bug 1290317
- Switch the SharedImmutableStringsCache jsapi-test over to js::Thread instead of PRThread; r=terrence
2016-08-01 18:39:44 -07:00
Nick Fitzgerald
d0802e7ec1
Bug 1290287 - Make js::HelperThread::thread a js::Thread instead of a PRThread; r=terrence
...
This ended up boiling more of the ocean than I'd hoped for, but the resulting
code is much nicer.
2016-08-01 18:39:44 -07:00
Nick Fitzgerald
50bd012aa3
Bug 1290240 - Switch GCHelperState::thread to js::Thread::Id instead of PRThread*; r=terrence
2016-08-01 18:39:44 -07:00
Nick Fitzgerald
395b1382d7
Bug 1290220 - Switch the simulators over to js::Thread instead of PRThread; r=terrence
2016-08-01 18:39:44 -07:00
Nick Fitzgerald
7c44548415
Bug 1290156 - Remove the DEBUG-only lockOwner member from vixl::Simulator; r=terrence
...
The checks that the `lockOwner` member was used for are redundant now that
`js::Mutex` uses `PTHREAD_MUTEX_ERRORCHECK` in `DEBUG` builds.
2016-08-01 18:39:44 -07:00
Nick Fitzgerald
9f15a50ddf
Bug 1290156 - Remove the DEBUG-only lockOwner member from GlobalHelperThreadState; r=terrence
...
The checks that the `lockOwner` member was used for are now redundant given that
`js::Mutex` uses `PTHREAD_MUTEX_ERRORCHECK` in `DEBUG` builds.
In methods where we asserted `isLocked()`, we now pass in an
`AutoLockHelperThreadState` reference for compile-time proof of lock
holding. This is mostly a mechanical change.
2016-08-01 18:39:44 -07:00
Nick Fitzgerald
7862c33d73
Bug 1290156 - Remove the GCRuntime DEBUG-only lockOwner field; r=terrence
...
The checks that the `lockOwner` member was used for are redundant now that
`js::Mutex` uses `PTHREAD_MUTEX_ERRORCHECK` in `DEBUG` builds.
2016-08-01 18:39:43 -07:00
Seth Fowler
2799864a33
Bug 1290682 (Part 3) - Remove RasterImage::CopyFrame(). r=edwin
2016-08-01 17:51:20 -07:00
Seth Fowler
f09a1b3d95
Bug 1290682 (Part 2) - Clean up imgFrame::Draw() and related code now that we know no non-trivial frame rects will occur. r=edwin
2016-08-01 17:51:18 -07:00
Seth Fowler
94cd474a67
Bug 1290682 (Part 1) - Explicitly forbid non-trivial frame rects in imgFrame::Draw() except for paletted frames. r=edwin
2016-08-01 17:51:16 -07:00
Seth Fowler
c379e3a8ce
Bug 1290681 (Part 3) - Remove the single color optimization pref. r=edwin
2016-08-01 17:51:15 -07:00
Seth Fowler
e36fc95869
Bug 1290681 (Part 2) - Remove the single color optimization from imgFrame. r=edwin
2016-08-01 17:51:13 -07:00
Seth Fowler
b704f1ab3d
Bug 1290681 (Part 1) - Remove telemetry for the single color optimization. r=edwin
2016-08-01 17:51:11 -07:00
Seth Fowler
4d73b5b868
(No bug) - Improve comment in IDecodingTask.cpp. r=me
2016-08-01 17:51:04 -07:00
Seth Fowler
5748c4da8c
Bug 1291019 - Take the value of |aDoomed| in NS_ReleaseOnMainThread() if we're going to leak anyway. r=froydnj
2016-08-01 17:51:01 -07:00
Wes Kocher
17c48eda33
Merge m-c to inbound, a=merge
2016-08-01 17:49:07 -07:00
Seth Fowler
16cff1aefa
Bug 1290759 - Convert frame number check in Decoder::AllocateFrame() into an assert. r=edwin
2016-08-01 17:40:05 -07:00
Seth Fowler
9371310b88
Bug 1290747 - Fix bad assert in RasterImage::NotifyProgress(). r=edwin
2016-08-01 17:40:03 -07:00
Jeff Gilbert
e7ad10dadf
Bug 1290987 - #version needs to be on the first line. CLOSED TREE
...
MozReview-Commit-ID: D5FMDOKiSLY
2016-08-01 15:38:49 -07:00
Wes Kocher
fcd23d9afe
Backed out 2 changesets (bug 1289847) for OSX static build bustage CLOSED TREE
...
Backed out changeset 74922f9ce5c6 (bug 1289847)
Backed out changeset f22763859aae (bug 1289847)
2016-08-01 14:56:53 -07:00
Wes Kocher
72e10cf5a6
Backed out 3 changesets (bug 1290156) for 10.10 debug cpp test failures CLOSED TREE
...
Backed out changeset 41096329fbed (bug 1290156)
Backed out changeset 1bc0a14de00a (bug 1290156)
Backed out changeset 573529c879ad (bug 1290156)
--HG--
extra : amend_source : 94942e2cb4247e7adfd7f447b4c7ebd7857b183d
2016-08-01 14:45:43 -07:00
Wes Kocher
669f56ca65
Backed out changeset e834808ca14b (bug 1290220) for 10.10 debug cpp test failures CLOSED TREE
2016-08-01 14:45:07 -07:00
Wes Kocher
1909229bf2
Backed out changeset 072392a96295 (bug 1290240) for 10.10 debug cpp test failures CLOSED TREE
2016-08-01 14:45:00 -07:00
Wes Kocher
e4da1cddc9
Backed out changeset 14c1777276fe (bug 1290287) for 10.10 debug cpp test failures CLOSED TREE
2016-08-01 14:44:55 -07:00
Wes Kocher
69aa0df793
Backed out changeset effd2a452de9 (bug 1290317
) for 10.10 debug cpp test failures CLOSED TREE
2016-08-01 14:44:48 -07:00
Jeff Gilbert
1f38e7b76d
Bug 1290987 - Don't skip shader validation or disable-angle in webgl-mochitest. - r=jrmuizel CLOSED TREE
...
MozReview-Commit-ID: FSqr4W5xOak
2016-08-01 14:13:29 -07:00
Jeff Gilbert
8ada226207
Bug 1290987 - s/enable-prototype-webgl2/enable-webgl/ - r=jrmuizel,mrbkap CLOSED TREE
...
MozReview-Commit-ID: 3EArs8BLTpK
2016-08-01 14:13:01 -07:00
Randell Jesup
8fd43553fd
Bug 1290866: Ensure MediaDevices::Allocate's *aOutHandle is properly set to null r=jib
2016-08-01 16:26:13 -04:00
Nathan Froyd
02d538afcb
Bug 1289847 - part 2 - work around Mac linking failures when Rust is enabled; r=mshal
...
Current stable versions of Rust use two Rust-specific personality
routines to perform exception handling, which empirically does not play
well with the Mac linker's optimizations for using compact unwind
formats. Nightly Rust has solved this issue, but for now, we'll have to
use -no_compact_unwind to disable the linker optimization. The size
impact is negligible (0.02%) and will be going away once nightly Rust
becomes stable.
2016-08-01 22:49:01 -04:00
Nathan Froyd
bac3709dc1
Bug 1289847 - part 1 - use a newer ld for Mac builds; r=mshal
...
The ld that we use for Mac builds is old (Xcode circa OS X 10.7), and
also crashes in various ways when we try to use newer Rust versions
and/or pass options to make the linker work with newer Rust versions.
To mitigate this, let's build with a newer linker, compiled from:
https://github.com/tpoechtrager/cctools-port
We use this port, rather than the packages from opensource.apple.com,
because the packages from Apple have decidely non-intuitive build
systems, and require some hacking to get to build. This port, in
contrast, is simply built with:
CFLAGS='-mcpu=generic -mtune=generic' ./configure --target=x86_64-apple-darwin11
env MACOSX_DEPLOYMENT_TARGET=10.7 make
and the resulting x86_64-apple-darwin11-ld is renamed as 'ld' and
packaged up for automation's purposes.
However, since this linker is newer, it also produces bits of Mach-O
that our older build tools don't understand. Fortunately, we can pass
appropriate options to the linker to turn off generation of those Mach-O
bits.
2016-08-01 22:49:02 -04:00