Commit Graph

152 Commits

Author SHA1 Message Date
awake
58280aba48 Bug 1100632 - Remove --disable-opus option and MOZ_OPUS #define macros. r=rillian,ted 2014-11-28 01:20:00 -08:00
Mike Hommey
47c853314f 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
Jonathan Kew
21fd93a194 Bug 1064737 pt 3 - Read metadata from a WOFF2 font if present. r=jdaggett 2014-10-04 11:46:54 +01:00
Jonathan Kew
b2c88c5dfe Bug 902762 pt 1 - Pass a 'vertical' flag to font shapers, and support vertical shaping through harfbuzz. r=jdaggett 2014-10-01 20:25:48 +01:00
Mike Hommey
4b99580194 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
ed70c5f377 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Matt Woodrow
a021626551 Bug 1051592 - Clip DrawTargetCairo's context to the surface bound to prevent massive mask allocations within cairo. r=jrmuizel 2014-08-15 14:23:22 +12:00
Mike Hommey
89777800f9 Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps
* * *
Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"
2014-08-07 14:21:03 +09:00
Mike Hommey
d9443ec932 Bug 1045783 - Move most OS_LIBS to moz.build and do some related cleanup. r=mshal 2014-08-06 07:25:33 +09:00
Paul Adenot
bd465041df Bug 1023947 - Part 2 - Allow getting the current input device in cubeb. r=kinetik 2014-07-18 19:21:27 +02:00
Paul Adenot
9e1cbcca7a Bug 1027713 - Part 3 - Add a cubeb API to signal that the output device changed. r=kinetik
The reentrant mutex is needed so that users can call back into cubeb's API from
the callback.
2014-07-29 18:45:03 +02:00
Paul Adenot
859027a5ec Bug 1027713 - Part 2 - Add a cubeb API to query the name of the audio output device in use. r=kinetik 2014-07-29 18:45:03 +02:00
Paul Adenot
90c7b668ff Bug 1027713 - Part 1 - Add a volume API in cubeb and use it instead of doing our own soft gain. r=kinetik 2014-07-29 18:45:02 +02:00
Wes Kocher
04a9c3cb26 Backed out 8 changesets (bug 1023947, bug 1027713) for frequent Cppunit test failures
Backed out changeset 03edb1ab3182 (bug 1027713)
Backed out changeset ad05dc816fa0 (bug 1023947)
Backed out changeset a56aad94c7c9 (bug 1023947)
Backed out changeset 63af4528bd9c (bug 1023947)
Backed out changeset b6bb38846333 (bug 1027713)
Backed out changeset c0045bb1849e (bug 1027713)
Backed out changeset 274b2b25d167 (bug 1027713)
Backed out changeset e0bba6f4966f (bug 1027713)
2014-07-24 13:57:03 -07:00
Paul Adenot
751a5dd7cf Bug 1023947 - Part 2 - Allow getting the current input device in cubeb. r=kinetik
--HG--
extra : rebase_source : bc273a2f790b2fa09e8c50c95091f5db9856d42b
2014-07-18 19:21:27 +02:00
Paul Adenot
d6ab097bdd Bug 1027713 - Part 3 - Add a cubeb API to signal that the output device changed. r=kinetik
The reentrant mutex is needed so that users can call back into cubeb's API from
the callback.

--HG--
extra : rebase_source : 42e7c8f09d02b30b35a7f80418df5e722b52faae
2014-07-24 17:05:23 +02:00
Paul Adenot
208b4e5f48 Bug 1027713 - Part 2 - Add a cubeb API to query the name of the audio output device in use. r=kinetik
--HG--
extra : rebase_source : fed39350db9e7c56c003a288e040fd6f901088d2
2014-07-24 17:05:23 +02:00
Paul Adenot
876688d0d4 Bug 1027713 - Part 1 - Add a volume API in cubeb and use it instead of doing our own soft gain. r=kinetik
--HG--
extra : rebase_source : c94c9f6792c002d515f2fee0cf708928e76f91a8
2014-07-24 17:05:23 +02:00
Mike Hommey
95063176fa Bug 1036894 part 9 - Replace all EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS with EXTRA_LIBS, OS_LIBS or OS_LDFLAGS, appropriately. r=gps
OS_LIBS for libraries that are not part of the gecko tree, EXTRA_LIBS for
libraries, such as NSPR, that are in the tree, but are not handled by
moz.build just yet. Those EXTRA_LIBS may also come from a system library.
However, in cases where the expanded variables are always empty for the
in-tree case, OS_LIBS is used (as for, e.g. MOZ_ZLIB_LIBS). OS_LDFLAGS is
used exclusively for non-library linker flags.

Always pass EXTRA_LIBS before OS_LIBS on linker command lines.

Forbid EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS in Makefiles.
2014-07-23 13:31:02 +09:00
Mike Hommey
5fab42fcaf 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
John Daggett
94caf2851e Bug 1024804 p2 - scan scriptrun for characters lacking variant glyphs. r=jfkthame 2014-07-22 09:02:48 +09:00
Mike Hommey
70a5917917 Bug 1036864 - Remove EXPORT_LIBRARY. r=mshal 2014-07-11 19:06:55 +09:00
Karl Tomlinson
af2b2bd42d b=1033140 make speex_resampler declarations consistent with OUTSIDE_SPEEX implementation r=padenot
Instead of defining OUTSIDE_SPEEX and RANDOM_PREFIX everywhere
speex_resampler.h is included, it is easier to patch the header.

Symbol names in gkmedias symbols.def are updated now that RANDOM_PREFIX is
taking effect, and unused symbols are no longer exported.

--HG--
extra : transplant_source : sx%C9%ED%EB%E7%D8P%09%18%87%D4Oj%85%D5%25%C8%A5%01
2014-07-02 20:22:45 +12:00
Vladimir Vukicevic
ec9d6acb85 b=1010371, code fixes for new ANGLE version; r=jrmuizel 2014-05-13 17:15:19 -07:00
Jonathan Kew
142a69933c bug 458634 part 1 - use OpenType 'smcp' feature to implement small-caps if available in the font. r=jdaggett 2014-05-28 11:35:12 +01:00
Nathan Froyd
d9a19b0c69 Bug 682216 - add a memory reporter for libnestegg's memory; r=njn,kinetik 2014-04-08 10:36:30 -04:00
Paul Adenot
1a74c7bf11 Bug 946618 - Add native tests for cubeb. r=kinetik
--HG--
extra : rebase_source : 9b2e8e702ce5f8ea4d5416f3b45c91bc4cd94432
2014-02-25 14:21:59 +01:00
Nathan Froyd
4125ef34c6 Bug 682215 - add a memory reporter for memory from libvpx; r=ted,njn 2014-02-25 16:35:13 -05:00
Nathan Froyd
e9a673f8db Bug 677653 - part 1 - indirect libogg memory allocations through variables; r=glandium,rillian 2014-03-05 10:58:29 -05:00
Ehsan Akhgari
2b37c097ed Bug 979816 - Backout bug 977701 because of a Talos regression
Landed on a CLOSED TREE
2014-03-05 15:18:09 -05:00
Ehsan Akhgari
079e0583e9 Bug 977701 - Move skia, cairo and pixman to libxul; r=jrmuizel 2014-02-27 21:14:54 -05:00
Karl Tomlinson
d5e8ef47f8 b=913854 add speex_resampler_set_skip_frac_num r=jmspeex
This allows a client to align output samples consistently for independent
resampling of contiguous input buffers.

--HG--
extra : rebase_source : 58caba11ac7f78418b173a98556276d3b4644603
2014-02-27 11:44:40 +13:00
Ehsan Akhgari
54e12e450a Bug 976392 - Move moz2d to libxul; r=jrmuizel 2014-02-25 15:42:23 -05:00
Ralph Giles
24597e8179 Bug 964559 - Remove MOZ_OGG. r=doublec,ted
We are unable to maintain all the --disable-foo build-time options
for the media code. Just support ogg unconditionally.
2014-02-20 18:01:00 -08:00
Ehsan Akhgari
e4f4a283cc Bug 970727 - Move DEFFILE to moz.build; r=mshal 2014-02-11 11:28:54 -05:00
James Kitchener
719046a9e6 Bug 953385 - Set math script where applicable in /gfx. r=jfkthame 2014-01-30 10:59:16 -05:00
Randy Lin
8179f228c6 Bug 891705 - [MediaEncoder] Implement WebM 1.0 container writer. r=giles, r=gps, r=rillian
This is an integrated patch which includes:
1. Bug 891705: [MediaEncoder] Implement WebM 1.0 container writer. r=giles, r=gps
2. Bug 950567: [MediaEncoder] Phase-in libmkv library. r=giles
3. bug 883749: Implement Vorbis encoding. r=rillian
4. bug 881840: Implement VP8 track encoder. r=rillian
2014-01-15 14:21:14 +08:00
guozhu cheng
cf3277421c Bug 907196 - Split CreateCMSOutputProfile profile loading into GetCMSOutputProfileData. r=BenWa, r=jmuizelaar 2013-11-07 18:20:08 +08:00
Mike Hommey
34b94bf852 Bug 949334 - Use FINAL_LIBRARY for webrtc. r=gps 2013-12-14 11:38:53 +09:00
Jan Gerber
e6a102d4db Bug 947160 remove MOZ_VP8_ENCODER. r=kinetik
- Encoder is always built, remove MOZ_VP8_ENCODER.
  - Rename MOZ_VP8* to MOZ_VPX*
  - Enable multi-res encoding via libvpx configure.
2013-12-06 05:16:00 -08:00
Jan Gerber
ceaf334c45 Bug 833023 - Enable VP9 playback in HTML media elements. r=kinetik 2013-12-03 16:21:00 -08:00
Mike Hommey
e9440a479c Bug 938686 - Add nestegg_packet_discard_padding to layout/media/symbols.def.in, attempting to unbust windows build on a CLOSED TREE 2013-12-03 10:53:00 +09:00
Matthew Gregan
2ca1434c82 Bug 942657 - Devirtualize AudioStream. r=doublec,gps 2013-11-28 18:09:08 +13:00
Benjamin Peterson
02f058e57a backout dc9ebdf27e98 (bug 942657) for bustage 2013-11-28 20:50:16 -06:00
Matthew Gregan
93237d768e Bug 942657 - Devirtualize AudioStream. r=doublec,gps 2013-11-28 18:09:08 +13:00
Matthew Gregan
ded7b4c4c5 Bug 943159 - Remove MOZ_SPEEX_RESAMPLER/MOZ_SOUNDTOUCH defines since we don't support building without them anyway. r=doublec,gps 2013-11-28 17:06:59 +13:00
Mike Hommey
a1486ce449 Bug 942043 - Straighten up zlib linkage wrt shared js and system zlib. r=gps,r=ted 2013-11-22 23:03:21 +09:00
Mike Hommey
b32a4ed166 Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey
0a1fb8d11c Bug 942043 - Straighten up zlib linkage wrt shared js and system zlib. r=gps,r=ted 2013-11-28 12:49:43 +09:00
Jeff Muizelaar
0471905a26 Bug 845874. Switch to Y-X banded regions. r=roc
Previously our region code was just a simple y,x sorted list of
non-intersecting rectangles. This can cause us to have simple regions
represented in a complex unoptimizable way.

Switching to pixman regions gives us a canonical region implementation.

There are some cases when this can cause performance regressions.

For example, with the old region code we end up with this region:
http://people.mozilla.org/~jmuizelaar/region-pre.html
which is represented like this:
http://people.mozilla.org/~jmuizelaar/region-post.html
with the new code.

We call SimplifyOutward(4) on this. With old regions we can't simplify it so we
end up taking the bounds and get 1 rect. With the new regions we have only 3
rects to start and so we do nothing. The difference between 3 rects and 1 rect
cause D2D to do a PushLayer() instead of a ClipRect() and that seems to be the
causes for the regression.

--HG--
extra : rebase_source : 65e0d29d67b51a3780448eaecfde33dbcb6b99b1
2013-11-18 13:01:54 -05:00