Commit Graph

201 Commits

Author SHA1 Message Date
Birunthan Mohanathas
a29151dc87 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Seth Fowler
69bd34af46 Bug 1163878 (Part 2) - Use IsImageContainerAvailable() when making layerization decisions and only call GetImageContainer() if we layerize. r=tn 2015-05-13 00:23:46 -07:00
Jonathan Watt
88f6fa366d Bug 1135913, part 1 - Simplify nsCSSRendering::DecorationLineToPath to not require a context. r=heycam 2015-02-03 14:34:14 +00:00
Seth Fowler
563e466746 Bug 1128769 (Part 6) - Remove imgIContainer::IsDecoded and all remaining callers. r=tn 2015-02-09 23:27:40 -08:00
Seth Fowler
bb5f3a5c8f Bug 1128769 (Part 1) - Propagate the imgIContainer::Draw result through the nsLayoutUtils::PaintBackground* functions. r=tn 2015-02-09 23:27:39 -08:00
Nicholas Nethercote
0247de46d8 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo. 2015-02-09 14:34:50 -08:00
Andrew McCreight
e048a7df33 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nicholas Nethercote
40ab0270d5 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo. 2015-02-04 20:05:36 -08:00
Jonathan Watt
eceb3099ee Bug 1091794 - Replace gfxCornerSizes with Moz2D's RectCornerRadii. r=mattwoodrow 2014-11-01 10:45:10 +00:00
Jonathan Watt
7603f0914d Bug 1090614 - Make nsCSSRendering::PaintBoxShadowOuter construct a Moz2D Path to do its clipping. r=mattwoodrow 2014-10-31 11:16:27 +00:00
Jonathan Watt
cde717f077 Bug 1085529, part 2 - Port nsCSSRendering::PaintDecorationLine() to Moz2D. r=mattwoodrow 2014-10-26 01:15:26 +01:00
Daniel Holbert
3735f602f0 Bug 1084500 part 3: Make documentation for ComputeObjectAnchorPoint cover non-background use cases. r=seth 2014-10-22 13:03:19 -07:00
Daniel Holbert
0211ff2eb1 Bug 1084500 part 2: Promote & rename ComputeBackgroundAnchorPoint to nsImageRenderer::ComputeObjectAnchorPoint. r=seth 2014-10-22 13:03:18 -07:00
Jonathan Watt
9aa7a6ddf9 Bug 1085167, part 1 - Feed the appUnitPerDevPixel value through to nsCSSRendering::DrawTableBorderSegment. r=mattwoodrow 2014-10-20 10:55:49 +01:00
Michael Wu
ed2099aaf4 Bug 1083393 - Remove unused thebes things in nsLayoutUtils, r=mattwoodrow 2014-10-15 17:13:14 -04:00
Jonathan Kew
1fb3cc52e6 Bug 1074735 pt 2 - Support drawing CSS text decorations (underline, overline, strikeout) on vertical text frames. r=smontagu 2014-10-08 10:32:55 +01:00
Carsten "Tomcat" Book
a20e1f5c44 Backed out changeset 32c4d5043b18 (bug 1074735) 2014-10-08 13:06:51 +02:00
Jonathan Kew
13f12b00ed Bug 1074735 pt 2 - Support drawing CSS text decorations (underline, overline, strikeout) on vertical text frames. r=smontagu 2014-10-08 10:32:55 +01:00
Jonathan Watt
a767b60ea2 Bug 1067977 - Rename nsContextBoxBlur's 'blur' member to make it possible to find and reason about the code. r=dholbert 2014-09-17 08:46:39 +01:00
Matt Woodrow
49dc5e8efb Bug 1042423 - Part 5: Remove PaintBackgroundColor. r=roc 2014-07-23 17:23:38 +12:00
Matt Woodrow
9b1b9f6f36 Bug 1042423 - Part 4: Clip background display items using DisplayItemClip. r=roc 2014-07-23 17:22:17 +12:00
Matt Woodrow
166eef9dac Bug 1042423 - Part 1: Clean up GetBackgroundClip and make it public. r=roc 2014-07-23 17:20:39 +12:00
Seth Fowler
da124bff39 Bug 1034209 (Part 2) - Make nsImageRenderer::Draw private. r=nrc 2014-07-21 17:59:24 -07:00
Seth Fowler
fe8ad97303 Bug 1034209 (Part 1) - Replace the dead Image case in nsImageRenderer::Draw with the code used in DrawBackground. r=nrc 2014-07-21 17:59:23 -07:00
Mats Palmgren
57f71caceb Bug 1028460 - part 3, Change the return type for Get*SkipSides(). r=roc 2014-06-28 10:13:13 +00:00
Phil Ringnalda
650df8d81e Back out 5 changesets (bug 1028460, bug 1031444) for somehow breaking asmjscache/test/test_cachingBasic.html on Android 2.2
Backed out changeset 0b5918ec6521 (bug 1031444)
Backed out changeset 663ff18cd4a1 (bug 1028460)
Backed out changeset ae01b3919c8c (bug 1028460)
Backed out changeset 316c8dfeca9b (bug 1028460)
Backed out changeset e237b2c61ea2 (bug 1028460)
2014-06-28 22:01:28 -07:00
Mats Palmgren
3949ce77fb Bug 1028460 - part 3, Change the return type for Get*SkipSides(). r=roc 2014-06-28 10:13:13 +00:00
Benoit Girard
07fd74736e Bug 1024148 - Part 2: Merge nsDisplayOpacity into nsDisplayBackgroundColor. r=mattwoodrow 2014-06-14 11:10:45 -04:00
Mats Palmgren
84ab21ee78 Bug 613659 - Implement box-decoration-break layout for backgrounds. r=cam,jmuizelaar 2014-05-05 17:55:54 +00:00
Mats Palmgren
d60800bd1b Back out bug 613659 (for regression bug 998792) 2014-04-20 19:39:24 +00:00
Mats Palmgren
29506ce168 Bug 613659 - Implement box-decoration-break layout for backgrounds. r=cam,jmuizelaar 2014-04-18 23:01:23 +00:00
Nicholas Cameron
f23ca26955 Bug 700926. Support -moz-element for border-image-source. r=roc 2014-01-31 16:36:42 +13:00
Nicholas Cameron
b50aa9df8a Bug 700926. Fix border-image-source gradient with slice. r=roc 2014-01-31 16:36:41 +13:00
Nicholas Cameron
6b051e893f Bug 700926. Use nsStyleImage and nsRenderingContext to draw border-images. r=roc 2014-01-31 16:36:41 +13:00
Matt Woodrow
22ca396a35 Bug 940845 - Follow-up to add comments that got missed when rebasing. 2013-11-26 12:29:20 +13:00
Matt Woodrow
87d5c25fa0 Bug 940845 - Part 2: Add a static BlurRectangle method to nsContextBoxBlur and use it when we're blurring a rectangle. r=roc 2013-11-26 12:06:17 +13:00
Matt Woodrow
759cabb4d9 Bug 939607 - Part 1: Make PaintBoxShadowOuter take an opacity value. r=roc 2013-11-18 22:32:09 +13:00
Ehsan Akhgari
64081aeb1c Bug 938114 - Build layout/base in unified mode; r=roc 2013-11-14 21:43:56 -05:00
Horia Iosif Olaru
c37cca2157 Bug 841601 - Add background-blend-mode implementation. r=roc 2013-11-08 10:08:03 -05:00
Ehsan Akhgari
7c63dd132d Bug 921753 - Part 1: Avoid #including nsStyleStructInlines.h in nsIFrame.h; r=roc
This patch reduces the number of files that transitively #include
gfx/2d.h from 1782 to 1582.
2013-10-01 17:00:38 -04:00
Ehsan Akhgari
6cf84bf2d9 Bug 921876 - Stop #including nsIFrame.h in nsLayoutUtils.h; r=roc
This patch does the following:
* Move nsIFrame::IntrinsicSize to mozilla::IntrinsicSize so that it can
  be forward-declared.
* Move a number of templated inline nsLayoutUtils methods to nsIFrame.
* Use mozilla::layout::FrameChildListID instead of the
  nsIFrame::ChildListID typedef in nsLayoutUtils.h.
* Move nsReflowFrameRunnable to its only user, nsProgressMeterFrame.cpp.
* Make a number of functions requiring nsIFrame.h out-of-line.
* Remove the nsIFrame.h #include from nsLayoutUtils.h and add it to the
  places which require it implicitly.
2013-09-30 17:26:04 -04:00
Ehsan Akhgari
45b9b9b617 Bug 906790 - Minimize layout/base #includes; r=roc 2013-08-19 18:55:18 -04:00
Timothy Nikkel
81ed726186 Bug 900214. Remove unused aFlags argument to nsImageRenderer::Draw. r=nrc
Instead use mFlags.
2013-07-31 17:09:30 -05:00
Nicholas Cameron
45bed62648 Bug 700926; reshuffle background image drawing. r=roc 2013-07-19 20:40:02 +12:00
Nicholas Cameron
7ad13a17b8 Bug 700926. Refactor image sizing to be closer to the spec and not tied to backgrounds. r=roc 2013-07-19 20:39:58 +12:00
Timothy Nikkel
cdc7881ecf Bug 695763. Part 5. Invalidate background images if they are not decoded and we are asked to do a sync decode. r=matt.woodrow 2013-06-26 11:43:27 -05:00
Timothy Nikkel
df8c23dab6 Bug 695763. Part 3. Invalidate the background images of buttons, fieldsets, and mathml chars if they are not decoded and we are asked to do a sync decode. r=matt.woodrow 2013-06-26 11:43:26 -05:00
Timothy Nikkel
b7a57570a3 Bug 878612. Make sure to pass through the background painting flags through in all cases. r=matt.woodrow 2013-06-03 23:49:03 -05:00
Joe Drew
fd705e0ee9 Bug 867770 - Layerize all animated images. r=mattwoodrow 2013-05-30 09:50:50 -04:00
Joe Drew
55c26fe19b Bug 832400 - Add an imgIContainer flag HIGH_QUALITY_SCALING that controls whether to use the high quality scaler, and only use it when we're drawing to a window. r=tn 2013-04-25 18:08:58 -04:00