Nicholas Nethercote
10141da023
Bug 1208345 - Remove gfxContext::GraphicsOperator. r=jwatt.
...
Also...
- Rename various "operator" identifiers as "op" to match |CompositionOp|.
- Rename |nsBackgroundLayerState::mCompositingOp| as |mCompositionOp| to match
|CompositionOp|.
- Remove some deprecated functions that are no longer needed.
2015-09-24 22:38:58 -07:00
Nicholas Nethercote
b6d112b67e
Bug 1207944 (part 7) - Use gfx::Color instead of gfxRGBA in BlurCache. r=jwatt.
...
This avoids several gfxRBGA-to-Color conversions.
2015-09-24 00:43:32 -07:00
Nicholas Nethercote
0929981996
Bug 1207741 - Remove gfxIntSize. r=nical.
...
gfxIntSize is just a typedef of gfx::IntSize, so this is very mechanical. The
only tricky part is deciding for each occurrence whether to replace it with
IntSize, gfx::IntSize or mozilla::gfx::IntSize; in all cases I went with the
shortest one that worked given the existing "using namespace" declarations.
2015-09-23 11:49:05 -07:00
Mason Chang
28146d569d
Bug 1188075 - Speed up inner box-shadow drawing by using a border-image style approach. r=mstange
2015-09-24 09:50:29 -07:00
Mason Chang
6626046fc9
Backout bug 1188075 for graphical artifacts. r=me
2015-09-21 08:14:05 -07:00
Mason Chang
c2fa2ac466
Bug 1188075 - Speed up inner box-shadow drawing by using a border-image style approach. r=mstange
2015-09-18 11:23:55 -07:00
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