gecko/uriloader/exthandler
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
..
android Backed out changeset 0904d8d19947 (bug 913985) 2013-09-30 11:05:35 +01:00
gonk Bug 934677 - Make the the various download jsm work in b2g r=paolo 2013-11-12 13:17:28 -08:00
mac Bug 924019 - Do not assume that PRUnichar and UniChar/unichar are the same type; r=smichaud 2013-10-10 12:59:40 -04:00
os2
tests Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
unix
win Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan 2013-10-23 16:36:09 -04:00
ExternalHelperAppChild.cpp
ExternalHelperAppChild.h
ExternalHelperAppParent.cpp Bug 923151 - Part 2: Don't #include nsIDocument.h in mozilla/dom/Element.h; r=jst 2013-10-02 16:09:18 -04:00
ExternalHelperAppParent.h
Makefile.in Bug 845874. Switch to Y-X banded regions. r=roc 2013-11-18 13:01:54 -05:00
moz.build Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps 2013-11-19 11:50:54 +09:00
nsCExternalHandlerService.idl
nsContentHandlerApp.cpp Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan 2013-10-23 16:36:09 -04:00
nsContentHandlerApp.h
nsDBusHandlerApp.cpp Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan 2013-10-23 16:36:09 -04:00
nsDBusHandlerApp.h
nsExternalHelperAppService.cpp Bug 936342 - Make downloads end up in the default storage area on b2g r=dhylands,paolo 2013-11-12 13:17:24 -08:00
nsExternalHelperAppService.h
nsExternalProtocolHandler.cpp
nsExternalProtocolHandler.h
nsHandlerService.js
nsHandlerService.manifest
nsIContentDispatchChooser.idl
nsIExternalHelperAppService.idl
nsIExternalProtocolService.idl
nsIExternalSharingAppService.idl
nsIExternalURLHandlerService.idl
nsIHandlerService.idl
nsIHelperAppLauncherDialog.idl
nsLocalHandlerApp.cpp
nsLocalHandlerApp.h
nsMIMEInfoImpl.cpp
nsMIMEInfoImpl.h
nsWebHandlerApp.js
nsWebHandlerApp.manifest
PExternalHelperApp.ipdl