Commit Graph

103 Commits

Author SHA1 Message Date
Jeff Muizelaar
6da588e57d 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
Mike Hommey
636b672657 Bug 914245 - Move FORCE_SHARED_LIB to moz.build. r=mshal 2013-11-19 11:47:45 +09:00
Mike Hommey
f0d1cd1e10 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
f81885e53b Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Ralph Giles
2143fa47c1 Bug 931060 - Add encoder files to in-tree libvorbis. r=xiphmont
Add vorbisenc.c and its dependent headers to the libvorbis build
and export the relevant symbols. Based on a patch by Benjamin Chen.
2013-11-12 09:30:16 +13:00
Mike Hommey
91af4c88d7 Bug 935305 - Move preprocessor to mozbuild.action. r=gps
--HG--
rename : config/Preprocessor.py => python/mozbuild/mozbuild/preprocessor.py
rename : config/tests/unit-Expression.py => python/mozbuild/mozbuild/test/test_expression.py
rename : config/tests/unit-LineEndings.py => python/mozbuild/mozbuild/test/test_line_endings.py
rename : config/tests/unit-Preprocessor.py => python/mozbuild/mozbuild/test/test_preprocessor.py
2013-11-09 10:35:44 +09:00
Randell Jesup
871a4d68f2 Bug 932112: Rollup of changes previously applied to media/webrtc/trunk/webrtc rs=jesup
* * *
* * *
Add AndroidAudioManager to the moz.build files.
2013-11-07 20:07:47 -05:00
Ralph Giles
cabaa8e583 Bug 930228 - Consolidate vorbis build files. r=ted
Replace recursive build files with a single pair in the top
level source for better readability and parse time.
2013-10-23 14:52:00 -07:00
Ralph Giles
d7ceef6b09 Bug 930242 - Consolidate ogg moz.build files. r=ted
Replace recursive build files with a single pair in the top
level source for better readability and parse time.
2013-10-23 15:09:00 -07:00
Paul Adenot
20fdbb4c19 Bug 918861 - Add an API to get the native samplerate for a given audio backend. r=kinetik
--HG--
extra : rebase_source : 592445a01f00a89289d52c52d9c758e10b9d9a00
2013-10-17 15:44:52 +02:00
Paul Adenot
5aef43ebba Bug 907817 - Add a cubeb API to get a valid audio latency range per platform. r=kinetik
--HG--
extra : rebase_source : 06999c8009f2828ee0f6f49e0cdb5cbc86d785cc
2013-10-17 15:44:52 +02:00
Mike Hommey
9d7746f0c6 Bug 922460 followup - Don't build layout/media/webrtc in disable-webrtc builds. r=ted granted over IRC 2013-10-11 11:27:14 -07:00
Mike Hommey
6a714831b9 Bug 922460 - Kill media/webrtc/shared_libs.mk. r=ted
--HG--
rename : media/webrtc/shared_libs.mk => layout/media/webrtc/Makefile.in
2013-10-11 08:15:24 +09:00
Paul Adenot
0eb929dfa8 Bug 904617: Part 1 - Add a way to get cube latency, add wasapi latency functions r=kinetik 2013-09-17 02:39:30 -04:00
Ed Morley
9cb914acfc Backed out changeset acf80b86d630 (bug 904617) for compilation failures 2013-09-16 08:44:44 +01:00
Paul Adenot
f1a31372be Bug 904617: Part 1 - Add a way to get cube latency r=kinetik 2013-09-16 03:25:54 -04:00
Chris Pearce
74f4113dbf Bug 913974 - Don't export moz_cairo_win32_printing_surface_create when printing disabled, to fix build error with ac_add_options --disable-printing. r=ted 2013-09-10 12:09:51 +12:00
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Benoit Girard
68543ba60b Bug 907544 - Pass the D3DSurface9 down into Cairo for LockRect. r=jrmuizel
--HG--
extra : rebase_source : 71c0f776360435d242987ffd3e2cbab8a3535c67
2013-09-04 16:53:54 -04:00
Ralph Giles
2ec3570c84 Bug 887463 - remove webvtt parser library. r=cpearce. 2013-07-09 17:02:00 -07:00
Brian O'Keefe
ed17339221 Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Shelly Lin
370c645a9f Bug 842243 - Part 2: Add OggWriter.h/.cpp; Implementation of Ogg container. r=roc, r=tterribe 2013-05-17 19:13:01 +08:00
Ralph Giles
bb84b1dc65 Bug 881432 - Add webvtt_strerror to exports. r=bustage.
CLOSED TREE approval from RyanVM.
2013-06-10 13:09:01 -07:00
Rick Eyre
3800bbb044 Bug 833382 - Implement WebVTTLoadListener r=cpearce,bz
- Implemented WebVTTLoadListener to manage the webvtt parser.
- TextTrackCue now handles the conversion of webvtt nodes to
  anonymous content which will be displayed on the video div
  overlay.
- HTMLTrackElement manages the lifetime of the WebVTTLoadListener.
2013-06-10 08:30:00 -07:00
Paul Adenot
7fd0442c4d Bug 865244 - Add the new cubeb symbol to the symbol list (bustage fix again). 2013-06-10 20:39:29 +02:00
Ralph Giles
3d52d52549 Bug 833385 - Implement HTMLTrackElement and TextTrack. r=bz,Ms2ger
Add webidl interfaces and implementations of the HTML <track>
element and related TextTrack, TextTrackList, TextTrackCue,
and TextTrackCueList dom objects.

Visibility is controlled by the media.webvtt.enabled pref,
which defaults to false.

HTMLMediaElement:NewURIFromString() is hoisted to
nsGenericHTMLElement so it's available to the track
element as well.

This patch is primarily work by Dale Karp, David Humphrey
and others as Seneca College.
2013-05-22 00:14:00 +08:00
Jonathan Kew
1ecd77525b bug 847344 - refactor gfxFont/gfxFontEntry and associated classes for more efficient use of HarfBuzz and Graphite shaper APIs. r=roc 2013-05-16 17:29:20 +01:00
Ralph Giles
2d5bfa7015 Bug 860338 - Remove MOZ_WEBVTT. r=khuey, r=ted
The webvtt dom implementation and parser are a small amount of code.
Given the tendency of build-time switches to bitrot, it's not worth
keeping this one.
2013-04-10 16:37:00 -07:00
Phil Ringnalda
d5678418dc Back out f21835504604 (bug 860338) for build bustage
CLOSED TREE
2013-04-13 19:09:05 -07:00
Ralph Giles
62fe9d4041 Bug 860338 - remove MOZ_WEBVTT. r=ted
The webvtt dom implementation and parser are a small amount of code.
Given the tendency of build-time switches to bitrot, it's not worth
keeping this one.

The webvtt dom implementation and parser are a small amount of code.
Given the tendency of build-time switches to bitrot, it's not worth
keeping this one.
2013-04-10 16:37:00 -07:00
Ralph Giles
d0df74d728 Backed out changeset d757eeebcc43. r=bustage CLOSED TREE
Philor suggests I need to clobber.
2013-04-12 15:42:24 -07:00
Ralph Giles
8f8bcd84e1 Bug 860338 - remove MOZ_WEBVTT. r=ted
The webvtt dom implementation and parser are a small amount of code.
Given the tendency of build-time switches to bitrot, it's not worth
keeping this one.

The webvtt dom implementation and parser are a small amount of code.
Given the tendency of build-time switches to bitrot, it's not worth
keeping this one.
2013-04-10 16:37:00 -07:00
John Daggett
3671aea0ee Bug 761442 - treat substitution and positioning lookups involving <space> differently. r=jkew 2013-04-11 22:49:58 +09:00
Jonathan Kew
8ac82223b3 Bug 761442 - don't use per-word shaping with fonts that use <space> in opentype lookups. r=jdaggett 2013-01-08 14:38:48 +00:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Makoto Kato
dca225d764 Bug 843984 - msdmo should be delay loaded dll w/ MOZ_WEBRTC_IN_LIBXUL. r=ted 2013-03-25 11:41:21 +09:00
Joe Drew
7d514165ce Bug 716140 - Make animated image formats (PNG and GIF) explicitly pause decoding and ask for a new image frame when they need new frames.
--HG--
extra : rebase_source : 3a4148d8d144784075ec88668359c333420c3d4a
2013-01-28 12:27:35 -05:00
Matthew Gregan
56f37c387c Bug 852401 - Remove sydneyaudio. r=doublec
--HG--
rename : media/libsydneyaudio/src/gonk/AudioSystem.h => dom/system/gonk/android_audio/AudioSystem.h
rename : media/libsydneyaudio/src/gonk/AudioTrack.h => dom/system/gonk/android_audio/AudioTrack.h
rename : media/libsydneyaudio/src/gonk/EffectApi.h => dom/system/gonk/android_audio/EffectApi.h
rename : media/libsydneyaudio/src/gonk/IAudioFlinger.h => dom/system/gonk/android_audio/IAudioFlinger.h
rename : media/libsydneyaudio/src/gonk/IAudioFlingerClient.h => dom/system/gonk/android_audio/IAudioFlingerClient.h
rename : media/libsydneyaudio/src/gonk/IAudioRecord.h => dom/system/gonk/android_audio/IAudioRecord.h
rename : media/libsydneyaudio/src/gonk/IAudioTrack.h => dom/system/gonk/android_audio/IAudioTrack.h
rename : media/libsydneyaudio/src/gonk/IEffect.h => dom/system/gonk/android_audio/IEffect.h
rename : media/libsydneyaudio/src/gonk/IEffectClient.h => dom/system/gonk/android_audio/IEffectClient.h
2013-03-19 17:12:36 +13:00
Mike Shal
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Jacek Caban
98db3116eb Bug 849207 - Use __declspec(dllexport) for exporting skia C++ symbols. r=gwright
--HG--
extra : rebase_source : 333c7fcc334db6f6969995f0ff5fac8bb9607e74
2013-03-12 11:33:36 +01:00
Vladimir Vukicevic
5ac1a2d90c b=751418; unbreak Win64 builds after SkiaGL landing; r=flames 2013-03-07 13:43:26 -05:00
George Wright
84976a0a1e [PATCH 6/9] Bug 751418 - Add a GrGLInterface for Mozilla's GLContext r=mattwoodrow
From cfd2ab8845e4f1ae7e93d293662b9519346694d2 Mon Sep 17 00:00:00 2001
---
 gfx/gl/GLContextSkia.cpp    | 802 ++++++++++++++++++++++++++++++++++++++++++++
 gfx/gl/GLContextSkia.h      |  14 +
 gfx/gl/Makefile.in          |   5 +
 layout/media/symbols.def.in |   7 +
 4 files changed, 828 insertions(+)
 create mode 100644 gfx/gl/GLContextSkia.cpp
 create mode 100644 gfx/gl/GLContextSkia.h
2012-10-27 16:47:58 -04:00
Caitlin Potter
729c6397f0 Bug 833403 - Integrate libwebvtt into Mozilla. r=ted
- Updated for new build system (2/28/2013)
 - declaration-after-statement no longer breaking MSVC build
 - Source files and scripts now contain appropriate license info
 - media/webvtt/update.sh no longer hiding unexpected/significant
   errors.
2013-03-01 19:25:19 -05:00
Makoto Kato
2c144420df Bug 842918 - Update symbols.def if autoconf is changed. r=ted 2013-03-01 10:13:30 +09:00
Gregory Szorc
4f23f29382 Bug 784841 - Part 18t: Convert /layout; f=Ms2ger rs=ted 2013-02-25 12:47:22 -08:00
Jonathan Kew
941b182708 bug 844133 - eliminate the MOZ_GRAPHITE configure option. r=ted 2013-02-22 16:52:20 +00:00
Paul Adenot
9bc376198e Bug 835381 - Add the new symbol to the symbol list for libnestegg. 2013-02-19 14:45:41 +01:00
Randell Jesup
61ea66ea37 Bug 830247: rollup of changes to media/webrtc/trunk, and backouts of some temp patches r=ted,derf
--HG--
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BaseFilter.cpp => media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseFilter.cpp
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BaseFilter.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseFilter.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BaseInputPin.cpp => media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseInputPin.cpp
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BaseInputPin.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseInputPin.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BasePin.cpp => media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BasePin.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/DShowTools.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/DShowTools.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/MediaType.cpp => media/webrtc/trunk/webrtc/modules/video_capture/windows/MediaType.cpp
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/MediaType.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/MediaType.h
2013-02-09 23:16:10 -05:00