Jeff Muizelaar
8a2b69cc87
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
John Daggett
dfda06fba9
Bug 913264 - add none value to font-variant-ligatures. r=dbaron
2013-11-19 13:30:25 +09:00
Mike Hommey
a65383e1e9
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
8ceb917350
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
9fe772e7fd
Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal
2013-11-19 11:47:43 +09:00
Mike Hommey
d7b6f95761
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
Gijs Kruitbosch
37ba637e69
Merge m-c to ux
2013-11-06 14:36:26 +01:00
Cameron McCormack
85cc506e69
Bug 934866 - Make nsFont::systemFont a bool. r=jdaggett
2013-11-06 10:15:59 +11:00
Gijs Kruitbosch
a13ed4741f
Merge mozilla-central and ux
2013-11-01 09:20:15 +01:00
Jonathan Watt
07be23ee25
Bug 932096 - Add a GetDrawTarget method to nsRenderingContext to aid in Moz2D conversion. r=Bas
2013-10-29 08:14:40 +00:00
Mike Hommey
1d566f7586
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Gijs Kruitbosch
b05750dcee
Merge mozilla-central and ux
2013-10-25 10:23:03 +02:00
Gijs Kruitbosch
7d365a4961
Merge mozilla-central and ux
2013-10-20 12:33:18 +02:00
Ms2ger
3e9906c7f2
Merge inbound to m-c.
2013-10-20 10:40:40 +02:00
Ms2ger
4cf23c7adf
Bug 923249 - Remove some prtypes use in gfx/; r=roc
2013-10-20 09:25:20 +02:00
Ehsan Akhgari
05b2ce3c5e
Bug 928053 - Remove some prtypes.h inclusions from gfx/; rs=bsmedberg
...
--HG--
extra : rebase_source : 229c47dfa11d1b1d36663daf87285ccd40bcc856
2013-10-18 20:34:58 -04:00
Gijs Kruitbosch
291eea969e
Merge mozilla-central and ux
2013-10-09 13:39:14 +02:00
Gijs Kruitbosch
c18d784b3c
Merge m-c to ux
2013-10-03 17:20:04 +02:00
Ms2ger
7ffcd856c2
Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps
2013-10-03 09:11:13 +02:00
Gijs Kruitbosch
b3eb0d57af
Merge mozilla-central and ux
2013-10-02 09:48:41 +02:00
Gijs Kruitbosch
aa719d2b2d
Merge mozilla-central and ux
2013-09-28 09:59:15 +02:00
Gijs Kruitbosch
a3a29ecf94
Merge mozilla-central and ux
2013-09-25 10:16:54 +02:00
Gijs Kruitbosch
1a37a1de38
Merge mozilla-central and ux
2013-09-24 14:55:03 +02:00
Benoit Jacob
c1d7f88886
Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
...
Generated by these regexes:
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Benoit Jacob
c6f0a6bf09
Bug 919225 - Move the gfxIntSize typedef to nsSize.h to allow limiting the amount of useless #including that it forces - r=jrmuizel
2013-09-24 16:45:13 -04:00
Ehsan Akhgari
b4cc06df88
Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg
2013-09-23 13:25:00 -04:00
Gijs Kruitbosch
0170a75b83
Merge mozilla-central and ux
2013-09-18 14:54:29 +02:00
Gijs Kruitbosch
2d2aef1247
Merge m-c to UX
2013-09-18 10:31:05 +02:00
Mina Almasry
13448b790e
Bug 912166 - Make nsIWidget::GetDefaultScale return a typed scale value. r=roc
2013-09-17 20:45:19 -04:00
Benoit Jacob
a822a5e9ac
Bug 913603 - Re-inline SaturatingUnionEdges and remove the unused SaturatingInflate - r=mats
2013-09-17 17:53:37 -04:00
Ehsan Akhgari
28694095a5
Remove an unused variable from nsFont.cpp, no bug
2013-09-17 09:10:51 -04:00
Gijs Kruitbosch
eb7352abc3
Merge mozilla-central and ux
2013-09-10 16:46:22 +02:00
Gijs Kruitbosch
d954eba7ae
Merge mozilla-central and ux
2013-09-08 14:26:44 +02:00
Matthew Noorenberghe
1f8ae35067
Merge mozilla-central to UX
2013-09-06 17:54:20 -07:00
Matthew Noorenberghe
cfb9aa70c3
Backout 2255560d9b6c (bug 912054) for breaking PGO builds on the UX branch (bug 913251)
2013-09-06 17:38:03 -07:00
Mike Conley
717a6d0cec
Automated merge with https://hg.mozilla.org/mozilla-central
2013-09-05 09:59:00 -04:00
Benoit Jacob
d51a537ff4
Bug 913603 - Trim nsRect.h - r=jrmuizel
2013-09-06 22:14:27 -04:00
Matthew Noorenberghe
9035a2071b
Merge mozilla-central to UX
2013-09-03 23:17:06 -07:00
Matthew Noorenberghe
54018375ae
Merge mozilla-central to UX
2013-09-02 16:49:09 -07:00
Nathan Froyd
29d457891f
Bug 912054 - don't re-initialize mBoundRect in nsRegion::Init; r=BenWa
2013-09-03 10:44:34 -04:00
Nicholas Cameron
e4770365e0
BUg 910160. IWYU for gfx/src. r=roc
2013-09-02 10:21:01 +12:00
Mike Hommey
f1cf3b4238
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Ehsan Akhgari
7e5b2154cf
Bug 921753 - Part 4: Move DrawMode outside of gfxFont.h so that we won't need to #include that header everywhere DrawMode is needed; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1268 to 1208.
2013-10-01 17:02:16 -04:00
Ehsan Akhgari
b6bef348c1
Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
...
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Markus Stange
203d1cece9
Bug 532828 - Don't invalidate the whole window on window activation/deactivation. r=roc
2013-09-27 17:24:32 +02:00
Gijs Kruitbosch
c948d50278
Merge m-c to UX
2013-08-22 19:55:04 +02:00
Ms2ger
4922ccbc0a
Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps
2013-08-22 08:56:01 +02:00
Ms2ger
dba42e4001
Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg
2013-08-22 08:56:00 +02:00
Ms2ger
4d968c40e1
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
2013-08-22 08:55:59 +02:00
Mike Conley
2b52a4822e
Automated merge with https://hg.mozilla.org/mozilla-central
2013-08-17 20:27:30 -04:00