Commit Graph

768 Commits

Author SHA1 Message Date
Ehsan Akhgari
28abae783b Bug 944209 - Build gfx/src in unified mode; r=BenWa 2013-11-27 21:11:07 -05:00
Markus Stange
5f2fccf8a8 Bug 924103 - Add a FilterDescription data structure and code that can create FilterNodes from it. r=roc 2013-11-27 12:25:28 +01:00
John Daggett
595e66c8e0 Bug 934710 - add various text performance metrics and a log to handle these. r=jfkthame 2013-11-25 13:59:56 +09:00
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
John Daggett
f66ccc7e96 Bug 913264 - add none value to font-variant-ligatures. r=dbaron 2013-11-19 13:30:25 +09: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
db9e5129bc Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +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
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
Gijs Kruitbosch
174d4160d6 Merge m-c to ux 2013-11-06 14:36:26 +01:00
Cameron McCormack
065833c196 Bug 934866 - Make nsFont::systemFont a bool. r=jdaggett 2013-11-06 10:15:59 +11:00
Gijs Kruitbosch
a880139178 Merge mozilla-central and ux 2013-11-01 09:20:15 +01:00
Jonathan Watt
92ec80bc85 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
f1c0c07862 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Gijs Kruitbosch
a6c5684a9d Merge mozilla-central and ux 2013-10-25 10:23:03 +02:00
Gijs Kruitbosch
0bd2821674 Merge mozilla-central and ux 2013-10-20 12:33:18 +02:00
Ms2ger
39b292cc30 Merge inbound to m-c. 2013-10-20 10:40:40 +02:00
Ms2ger
7d21e3cacb Bug 923249 - Remove some prtypes use in gfx/; r=roc 2013-10-20 09:25:20 +02:00
Ehsan Akhgari
0d9df20b90 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
7be20d910a Merge mozilla-central and ux 2013-10-09 13:39:14 +02:00
Gijs Kruitbosch
a1a793b67a Merge m-c to ux 2013-10-03 17:20:04 +02:00
Ms2ger
df62fb8b0f 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
4f742931a0 Merge mozilla-central and ux 2013-10-02 09:48:41 +02:00
Gijs Kruitbosch
28d6f95f87 Merge mozilla-central and ux 2013-09-28 09:59:15 +02:00
Gijs Kruitbosch
68b05691e5 Merge mozilla-central and ux 2013-09-25 10:16:54 +02:00
Gijs Kruitbosch
e4b7441f3e Merge mozilla-central and ux 2013-09-24 14:55:03 +02:00
Benoit Jacob
0f90257361 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
7ae4cf3afc 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
dee6c12c6f 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
18f10e54d8 Merge mozilla-central and ux 2013-09-18 14:54:29 +02:00
Gijs Kruitbosch
1ad320d951 Merge m-c to UX 2013-09-18 10:31:05 +02:00
Mina Almasry
c7a175bba8 Bug 912166 - Make nsIWidget::GetDefaultScale return a typed scale value. r=roc 2013-09-17 20:45:19 -04:00
Benoit Jacob
b2d0bb4c8b Bug 913603 - Re-inline SaturatingUnionEdges and remove the unused SaturatingInflate - r=mats 2013-09-17 17:53:37 -04:00
Ehsan Akhgari
1b1d5060f8 Remove an unused variable from nsFont.cpp, no bug 2013-09-17 09:10:51 -04:00
Gijs Kruitbosch
9030c8e31a Merge mozilla-central and ux 2013-09-10 16:46:22 +02:00
Gijs Kruitbosch
bebffa1788 Merge mozilla-central and ux 2013-09-08 14:26:44 +02:00
Matthew Noorenberghe
186f9be72f Merge mozilla-central to UX 2013-09-06 17:54:20 -07:00
Matthew Noorenberghe
f1569ff842 Backout 2255560d9b6c (bug 912054) for breaking PGO builds on the UX branch (bug 913251) 2013-09-06 17:38:03 -07:00
Mike Conley
cb9e730fc8 Automated merge with https://hg.mozilla.org/mozilla-central 2013-09-05 09:59:00 -04:00
Benoit Jacob
8dc80c7e0c Bug 913603 - Trim nsRect.h - r=jrmuizel 2013-09-06 22:14:27 -04:00
Matthew Noorenberghe
e0b7383ee9 Merge mozilla-central to UX 2013-09-03 23:17:06 -07:00
Matthew Noorenberghe
402e69d2bd Merge mozilla-central to UX 2013-09-02 16:49:09 -07:00
Nathan Froyd
d767fac335 Bug 912054 - don't re-initialize mBoundRect in nsRegion::Init; r=BenWa 2013-09-03 10:44:34 -04:00
Nicholas Cameron
a937f9cc25 BUg 910160. IWYU for gfx/src. r=roc 2013-09-02 10:21:01 +12:00
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Ehsan Akhgari
4f0b573862 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
a23cd291d5 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
018eb43241 Bug 532828 - Don't invalidate the whole window on window activation/deactivation. r=roc 2013-09-27 17:24:32 +02:00
Gijs Kruitbosch
17683e42dc Merge m-c to UX 2013-08-22 19:55:04 +02:00
Ms2ger
19f3e043e3 Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
8085d723ed Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg 2013-08-22 08:56:00 +02:00
Ms2ger
66214743ad Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Mike Conley
b6d48dba3f Automated merge with https://hg.mozilla.org/mozilla-central 2013-08-17 20:27:30 -04:00
Mike Conley
470f25355d Automated merge with https://hg.mozilla.org/mozilla-central 2013-08-15 10:54:32 -04:00
Mike Conley
9cde798a1f Automated merge with https://hg.mozilla.org/mozilla-central 2013-08-12 17:07:53 -04:00
Botond Ballo
2d0568a624 Bug 895905 - Document that ns[Int]Point stores coordinates in app units. r=tn 2013-08-08 15:56:09 -04:00
Gijs Kruitbosch
1ac39936f0 Merge m-c to UX 2013-08-05 11:57:12 +02:00
Gijs Kruitbosch
e5220a0c68 Merge m-c to ux 2013-08-02 17:21:19 +02:00
Ms2ger
65b9d384bf Bug 897540 - Reduce includes in nsDeviceContext.h; r=roc 2013-08-02 09:04:22 +02:00
Matthew Noorenberghe
b14d8fd39b Merge mozilla-central to UX 2013-07-30 19:16:50 -07:00
Timothy Nikkel
32789e313a Bug 899730. Part 1. Add nsIntRegion::Area (it just uses nsRegion::Area). r=mats 2013-07-30 16:10:29 -05:00
Gijs Kruitbosch
c191dc6dc3 Merge m-c to UX 2013-07-30 20:27:46 +02:00
Mike Conley
1c13381de2 Automated merge with https://hg.mozilla.org/mozilla-central 2013-07-27 15:01:05 -04:00
Gijs Kruitbosch
adb8115534 Merge m-c to UX 2013-07-25 12:10:08 +02:00
Gijs Kruitbosch
118088b794 Merge m-c to ux 2013-07-23 11:04:55 +02:00
Birunthan Mohanathas
40dd09f1f6 Bug 784739 - Switch from NULL to nullptr in gfx/src/; r=ehsan
--HG--
extra : rebase_source : 28d7747c0a41a87ee064129b4f06ee23f1731c12
2013-07-20 11:48:56 +03:00
Jeff Muizelaar
c18eea3d30 Bug 908726. Add AppUnits.h so we don't need nsDeviceContext.h for AppUnitsPerCSSPixel(). r=ehsan 2013-09-06 16:15:04 -04:00
Markus Stange
ca3ed71e54 Bug 904538 - Don't #include nsITheme.h in nsIWidget.h. r=roc 2013-08-14 13:19:55 +02:00
Gijs Kruitbosch
f08c892054 Merge m-c to ux 2013-07-16 14:19:40 +02:00
Matthew Noorenberghe
131a8cc6d6 Merge mozilla-central to UX 2013-07-12 22:14:28 -07:00
Gijs Kruitbosch
67f692e20d Merge mozilla-central and ux 2013-07-10 23:53:05 +02:00
John Daggett
a9de42a1ec Bug 857142 - change name and switch to grayscale value. r=dbaron 2013-07-30 05:01:14 +09:00
John Daggett
bed3fbfbd2 Bug 857142 - implement -moz-font-smoothing. r=dbaron 2013-07-30 05:00:41 +09:00
Trevor Saunders
64dbc43c4d backout bug 886526 because it probably made us use a lot more memory to link on windows 2013-07-29 11:03:21 -04:00
Jonathan Kew
b1b3046119 bug 900975 - include font-smoothing setting in the nsFont::BaseEquals comparison. r=dbaron 2013-08-03 08:58:53 +01:00
Gijs Kruitbosch
e26df1f85a Merge m-c to UX 2013-07-09 13:09:02 +02:00
Trevor Saunders
ace23958ea bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg 2013-06-25 11:15:21 -04:00
Mina Almasry
92ac0178f1 Bug 877690 - Implement an API for getting CSS property values to be used in auto-completion. r=bz 2013-07-15 17:28:49 -04:00
Ed Morley
a8bb0da359 Backed out changeset 9897835271b5 (bug 877690) for crashes on a CLOSED TREE 2013-07-15 16:36:17 +01:00
Mina Almasry
32e79db6d6 Bug 877690 - Implement an API for getting CSS property values to be used in auto-completion. r=bz 2013-07-15 09:59:57 -04:00
Ehsan Akhgari
39c223b372 Bug 919355 - Part 2: Don't #include nsDeviceContext.h in Units.h; r=roc 2013-09-23 07:55:35 -04:00
Ehsan Akhgari
5dc78a019a Bug 919355 - Part 1: Don't #include nsDeviceContext.h in nsPresContext.h; r=roc 2013-09-23 07:52:25 -04:00
Arnaud Bienner
e9ec0f66a3 Bug 875753 - Color input: Gtk widget. r=karlt 2013-06-22 15:39:43 +02:00
Timothy Nikkel
14c31d8c29 Bug 837242. Part 2. Add a function to calculate the area of an nsRegion. r=roc 2013-07-30 11:22:43 -05:00
Benoit Girard
103cc87697 Bug 892861 - Remove useless -D flags 'IMPL_THEBES,_IMPL_NS_GFX,...'. r=glandium 2013-07-12 08:56:54 -04:00
Jeff Muizelaar
443792d1cc Bug 880255. Add an implicit conversion from nsIntSize to IntSize. r=bgirard
--HG--
extra : rebase_source : ac59852b1bf458d181ab8223bc3255ebc0052620
2013-07-09 23:52:26 -04:00
Gijs Kruitbosch
c246a46f08 Merge from m-c to ux 2013-06-26 10:44:39 -04:00
Jared Wein
20e28337a5 Automated merge with https://hg.mozilla.org/mozilla-central 2013-06-21 19:22:56 -04:00
Benoit Girard
64525ebd6f Bug 864441 - Add APZC tests. r=kats 2013-06-24 15:24:42 -04:00
Jared Wein
a6efdbc5ef Automated merge with https://hg.mozilla.org/mozilla-central 2013-06-12 23:12:42 -04:00
Phil Ringnalda
8e825b148c Merge m-c to a CLOSED TREE ux 2013-05-27 11:48:20 -07:00
Martin Stransky
577cf4c6d4 Bug 877626 - Port GTK2 to GTK3 - build config, gfx dir. r=karlt 2013-06-11 13:40:27 -04:00
Mike Conley
f2768f6df2 Automated merge with https://hg.mozilla.org/mozilla-central
--HG--
rename : toolkit/content/LightweightThemeConsumer.jsm => toolkit/modules/LightweightThemeConsumer.jsm
2013-05-17 11:48:25 -04:00
Mike Conley
7f9d2174a6 Automated merge with https://hg.mozilla.org/mozilla-central 2013-05-15 17:14:08 -04:00
Jared Wein
b8479c19c3 Automated merge with https://hg.mozilla.org/mozilla-central 2013-05-03 09:08:52 -04:00
Mike Conley
98014cbdb5 Bug 865374 - Position tabs in the OSX titlebar. Cocoa Widget work by Steven Michaud. r=dao,bgirard. 2013-05-02 14:15:29 -04:00
David Zbarsky
ced3b81df9 Bug 867459 - Fix gfx rooting hazards r=terrence 2013-05-02 22:02:40 -04:00
Mike Shal
6f32ddf61c Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Stephen Pohl
7546829bc2 Bug 869314: Fix missing dropmarkers in non-native styled combobox controls when overlay scrollbars are used. r=roc 2013-05-26 15:05:10 -07:00
Stephen Pohl
0e3edb584a Back out bug 869314 for missing r='s. 2013-05-26 15:00:17 -07:00