Commit Graph

155949 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
Benoit Girard
625be5b3b4 Bug 939950 - Build gfx/2d in unified mode. r=bjacob,ehsan,bas
--HG--
extra : rebase_source : 4776cc15a2de124149624b8297ae0c4953621eae
2013-11-18 16:45:14 -05:00
Benoit Girard
d2974b1b18 Bug 936566 - Print mask layers in layers dump. r=nrc
--HG--
extra : rebase_source : cb960d4f8880f9c3fd39fafc8a4c8a21f6a19596
2013-11-18 20:22:41 -05:00
Mark Finkle
f4dd29d30f Backout 86253e0141c8 to avoid cross-branch merge isses from fx-team and bug 913985 2013-11-18 23:52:01 -05:00
Mike Hommey
7efe3105fb Bug 938437 - Replace nsStaticXULComponents.cpp with smart use of sections. r=bsmedberg,irc-r=decoder 2013-11-19 13:45:31 +09:00
Mark Finkle
f516c210c6 Bug 939680 - Implement nsINetworkLinkService.linkType on Android r=blassey 2013-11-18 23:43:09 -05:00
Nicholas Cameron
598a82835d merge again 2013-11-19 17:40:32 +13:00
Jim Blandy
34f45f6bbf Bug 936143 - Part 2: Simplify and fix js_GetScriptLineExtent. (r=shu) 2013-11-18 20:39:57 -08:00
Nicholas Cameron
5e244c94b1 merge 2013-11-19 17:39:24 +13:00
Shu-yu Guo
33f7783818 Bug 936143 - Part 1: Add Debugger.Script.lineCount test where the script's source notes end in newline notes. (r=jimb) 2013-11-18 20:38:52 -08:00
Mike Conley
d07a108d77 Bug 457296 - Allow nsIPermissionManager to accept mailto URLs. r=jdm. 2013-11-18 23:34:00 -05:00
John Daggett
b18d80483b merge again 2013-11-19 13:32:34 +09:00
John Daggett
061a55265d merge 2013-11-19 13:31:47 +09:00
John Daggett
d8b0337fe2 Bug 913264 - add reftest for none value of font-variant-ligatures. r=jfkthame 2013-11-19 13:30:25 +09:00
John Daggett
f66ccc7e96 Bug 913264 - add none value to font-variant-ligatures. r=dbaron 2013-11-19 13:30:25 +09:00
Paul Adenot
06e81488b1 Bug 919215 - Start the AudioStream on creation when in low-latency mode, and let it underrun. r=roc
The BufferedAudioStream buffers the data it gets through the Write() calls and
what is consumed by the callback. This means that if the audio producer starts
Write()ing data right after Start()ing the stream, data will accumulate in this
buffer and won't be consumed. Eventually, the buffer will be of a certain size
before it begins to be consumed by the callback, and this means an
umcompressible latency (because the data will be written at more or less the
same rate as it is produced).

This patch start the BufferedAudioStream right away when it is created, dropping
the silent AudioSegment until it finds real data (and padding with silence is
then done at the beginning). The stream will underrun, but the callback will
synthetize silence, avoiding overbuffering in the BufferedAudioStream. This
ensures minimal latency cause by the buffering.

Note that the clock will still advance, so this will not change the behavior of
content that has leading silence.
2013-11-19 10:43:15 +13:00
Matthew Gregan
fdcb4e1cac Bug 939662 - Remove "using namespace mozilla::dom;" from MediaDecoder.h and fix fallout. r=cpearce
--HG--
extra : rebase_source : 922db8de8e9103e3001c26f23ed7402efa8237f5
2013-11-18 17:22:47 +13:00
Christian Holler
2ec98848e2 Bug 934641 - Switch ASan tests to using the low-memory config instead of the mid-memory config, to work around intermittent OOM failures, r=philor 2013-11-14 01:44:41 +01:00
Mike Hommey
931cb49886 Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
9c3682bcd9 Bug 939632 - Allow LIBRARY_NAME to be omitted when FINAL_LIBRARY is defined. r=gps 2013-11-19 11:48:13 +09:00
Mike Hommey
db9e5129bc Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
56b313a90d Bug 939074 - Infer LIBXUL_LIBRARY from FINAL_LIBRARY. r=gps 2013-11-19 11:47:52 +09:00
Mike Hommey
9ec00225de Bug 939622 - Remove LIBXUL_LIBRARY for intermediate libs that end up in gkmedias. r=gps
What LIBXUL_LIBRARY does is:
  - Imply FORCE_STATIC_LIB
  - Build with -DIMPL_LIBXUL
  - Build with -DMOZILLA_INTERNAL_API

Those intermediate libs that end up in gkmedias and have LIBXUL_LIBRARY defined
in their moz.build are all third party code (or handled like third party code).
Besides FORCE_STATIC_LIB, none of the side effects of LIBXUL_LIBRARY should be
needed.
2013-11-19 11:47:49 +09:00
Mike Hommey
f94778cdf9 Bug 939071 - Kill SHORT_LIBNAME. r=ted 2013-11-19 11:47:47 +09: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
3b185d79c9 Bug 939044 - Make the build frontend and backend forget about MODULE. r=gps 2013-11-19 11:47:44 +09:00
Mike Hommey
b18be7aacd Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal 2013-11-19 11:47:43 +09:00
Mike Hommey
f0d1cd1e10 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
094cb7c044 Bug 939044 - Remove the last uses of the MODULE variable in makefiles. r=gps 2013-11-19 11:47:30 +09:00
Mike Hommey
b73ed76683 Bug 939042 - Remove library building related variables in directories that build no C/C++ sources. r=mshal 2013-11-19 11:47:29 +09:00
Mike Hommey
9c5c5d8f00 Bug 939039 - Remove now useless FORCE_STATIC_LIB definitions. r=gps 2013-11-19 11:47:28 +09:00
Mike Hommey
f85ec564e8 Bug 939039 - Make FINAL_LIBRARY imply FORCE_STATIC_LIB. r=gps
This also moves the LIBXUL_LIBRARY implies FORCE_STATIC_LIB test in the emitter
instead of config.mk, since both variables are defined in moz.build exclusively.
backend.mk can end up with both LIBXUL_LIBRARY and FORCE_STATIC_LIB defined, but
it's just fine.
2013-11-19 11:47:26 +09:00
Mike Hommey
71b60fe95d Bug 935881 - Remove SHARED_LIBRARY_LIBS handling for moz.build. r=gps 2013-11-19 11:47:18 +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
Mike Hommey
015bd905d7 Bug 935881 - Add a FINAL_LIBRARY variable to use in moz.build. r=gps
This will be used to declare in what shared library or intermediate static
library objects are going to be linked into.
2013-11-19 11:46:42 +09:00
Mike Hommey
cf857e87f3 Bug 935881 - Make libxul's LIBRARY_NAME 'xul' on mac. r=gps 2013-11-19 11:46:40 +09:00
Wes Kocher
227b9b8a2c Merge inbound to m-c on a CLOSED TREE 2013-11-18 18:30:47 -08:00
Wes Kocher
d600490156 Merge fx-team to m-c on a CLOSED TREE 2013-11-18 18:25:57 -08:00
Wes Kocher
5dbb537c3e Backed out 2 changesets (bug 932783, bug 937750) for unrelated mochitest-metro test bustage on a CLOSED TREE
Backed out changeset 7acfc449097b (bug 937750)
Backed out changeset 3bde0e601ab8 (bug 932783)
2013-11-18 17:45:17 -08:00
Wes Kocher
cb635bb7ad Backed out changeset 71dc115fe230 (bug 929766) for other m-bc bustage on what I'm guessing is a CLOSED TREE 2013-11-18 16:03:13 -08:00
Jim Mathies
e532e9ae7b Bug 938685 - Tab tray peek should delay if there's mouse activity the tray. r=rsilveira 2013-11-18 17:29:00 -06:00
Wes Kocher
6f03d746be Backed out 3 changesets (bug 822898) for mochitest bustage on Windows on a CLOSED TREE
Backed out changeset 63c1f6716755 (bug 822898)
Backed out changeset 145150ef00a5 (bug 822898)
Backed out changeset a5e360e6d713 (bug 822898)
2013-11-18 15:27:53 -08:00
Benoit Jacob
32bc654a3e Bug 834243 - back out part 8/8 of bug 925608 on suspiscion that it may be causing EGLSurface creation failures causing crashes on bug 834243 - no review, backing out recent change 2013-11-18 17:57:59 -05:00
Benoit Jacob
78e1f33ca4 Bug 834243 - defer updateCompositor to a runnable on the LayerView in hope that it avoids subsequent EGLSurface creation failures - r=kats 2013-11-18 17:57:47 -05:00
Jim Mathies
e07ffe2c2d Bug 937750 - Size the initial display port appropriately for tabs. r=mbrubeck 2013-11-18 16:39:13 -06:00
Jim Mathies
ee62a34e0c Bug 932783 - hide selection handles when the apzc is panning. r=mbrubeck 2013-11-18 16:39:13 -06:00
Wes Kocher
abc52270f6 Backed out changeset 2887e3a300ed (bug 862558) for m-bc bustage 2013-11-18 14:25:59 -08:00
Anton Kovalyov
adcab1909a Bug 929766 - Remove Orion from the SourceEditor component. r=msucan 2013-11-18 14:05:07 -08:00
Wes Kocher
9330d8a3e2 Backed out changeset 1ac4f1a35bd8 (bug 923458) for xpcshell bustage on a CLOSED TREE 2013-11-18 13:50:56 -08:00
Wes Kocher
a70e0807aa Backed out changeset 1431d2e9c5f7 (bug 938803) 2013-11-18 13:49:49 -08:00