Commit Graph
25 Commits
Author SHA1 Message Date
Nathan Froyd bf7f6dda03 Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
This commit was generated using the following script, executed at the
top level of a typical source code checkout.

 # Don't modify select files in mfbt/ because it's not worth trying to
 # tease out the dependencies currently.
 #
 # Don't modify anything in media/gmp-clearkey/0.1/ because those files
 # use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    grep -v 'mfbt/RefPtr.h' | \
    grep -v 'mfbt/nsRefPtr.h' | \
    grep -v 'mfbt/RefCounted.h' | \
    grep -v 'media/gmp-clearkey/0.1/' | \
    xargs perl -p -i -e '
 s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
 s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
 s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
 s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#;       # handle strange #includes
'

 # |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'

 # RefPtr.h used |byRef| for dealing with COM-style outparams.
 # nsRefPtr.h uses |getter_AddRefs|.
 # Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Eugen Sawin 6fb0e03c6f Bug 1190379 - Disable surface copying on emulators. r=snorp 2015-09-29 00:56:51 +02:00
Eugen Sawin 0de5909b08 Bug 1190379 - Use AndroidDecoderModule for VP8/9. r=jya 2015-09-29 00:56:51 +02:00
Jeff Gilbert f5e35d3064 Bug 1191042 - Use CreateOffscreen for WebGL instead of CreateHeadless. - r=jrmuizel 2015-09-24 12:21:05 -07:00
Jean-Yves Avenard 4ac7df5582 Bug 1206568: P2. Clean up header declarations. r=cpearce
Make it consistent across the use of virtual/override
2015-09-23 12:59:26 +10:00
Phil Ringnalda 978242ee5b Back out f84aedf7a62d (bug 1191042) for b2g emulator test failures
CLOSED TREE
2015-09-22 19:26:13 -07:00
Jeff Gilbert 87aac68e44 Bug 1191042 - Use CreateOffscreen for WebGL instead of CreateHeadless. - r=jrmuizel 2015-09-22 16:49:25 -07:00
Wes Kocher d421df0712 Backed out changeset 49a711e67d8b (bug 1190379) for various android crashes CLOSED TREE 2015-09-21 09:09:29 -07:00
Eugen Sawin 6b74e0d8d5 Bug 1190379: Use AndroidDecoderModule for VP8/9. r=jya 2015-09-21 16:39:12 +02:00
Jean-Yves Avenard f2ab83f26f Bug 1188871: P2. Call DrainComplete should an error occurs while draining. r=snorp
Part 1 prevented draining when an error occurred first. This handles the case where an error occurs during draining.
2015-08-14 10:20:32 +10:00
Jim Chen dfcf5a84c5 Bug 1192077 - Convert AndroidBridge JNIEnv calls; r=esawin 2015-08-13 00:53:39 -04:00
Alfredo Yang 8c72dda1e5 Bug 1146086: use promise to Init() in PlatformDecoderModule. r=jya,r=cpearce 2015-08-11 14:09:12 +10:00
Jean-Yves Avenard aecf635ed3 Bug 1188870: Properly release decoder before destruction. r=snorp
The comment in android's source code is rather explicit:
    // Client MUST call release before releasing final reference to this
    // object.
2015-08-09 11:04:49 +10:00
Ryan VanderMeulen 8e28ab51a4 Backed out changeset 0a7ec92071a5 (bug 1190379) for Android bustage.
CLOSED TREE
2015-08-07 11:14:05 -04:00
Jan Gerber f9fdb8d03f Bug 1190379: Use AndroidDecoderModule for VP8/9. r=jya 2015-08-07 21:48:01 +10:00
Jan Gerber d4a9c1358c Bug 1185792: [webm] P2. AndroidDecoderModule requires API 16 or later. r=snorp 2015-08-07 19:31:42 +10:00
Jean-Yves Avenard 9a36f20191 Bug 1190258: P1. Use getter to access MediaRawData mData and mSize member. r=cpearce 2015-08-06 18:48:44 +10:00
Matt Woodrow f2668193dc Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert 2015-07-29 16:35:55 -04:00
Wes Kocher 47eb6fb630 Backed out 6 changesets (bug 1150944, bug 1034370) for build failures in WebGLContext.cpp CLOSED TREE
Backed out changeset e2a6160242e5 (bug 1150944)
Backed out changeset 1c510537d20b (bug 1150944)
Backed out changeset 7ae813666ed5 (bug 1150944)
Backed out changeset 2f29ac2e31cd (bug 1150944)
Backed out changeset bf7681b1567e (bug 1150944)
Backed out changeset 79c6b8d014d2 (bug 1034370)
2015-07-29 14:16:17 -07:00
Matt Woodrow ade701f6b4 Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert 2015-07-29 16:35:55 -04:00
Bobby Holley 8fcb9d8c7b Bug 1184634 - Rename MediaTaskQueue to TaskQueue. r=gerald 2015-07-16 22:23:06 -07:00
Jean-Yves Avenard f12f1d4d95 Bug 1179094: Use TimeUnit in PlatformDecoderModule. r=cpearce 2015-07-08 10:56:16 +10:00
James Willcox 7dad4ac638 Bug 1167647 - Pass all of the content specific data to decoder, not just two bytes r=jya 2015-06-30 11:20:32 -05:00
Eugen Sawin 266b591063 Bug 1164453 - Assert that decoder callback is set before using it. r=snorp
---
 .../platforms/android/AndroidDecoderModule.cpp      | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)
2015-05-18 20:15:22 +02:00
Jean-Yves Avenard bad2057a45 Bug 1163458: Part1. Move PlatformDecoderModule outside fmp4. r=kentukyfriedtakahe 2015-05-18 15:42:32 +10:00