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
Lee Salzman
00ecddfffc
Bug 1191609 - Always stroke CSS border sides separately from corner fills. r=mstange
2015-08-06 00:33:44 -04:00
Lee Salzman
057618ae94
Bug 1185636 - Part 4b - don't use a css border skirt when printing. r=mstange
2015-07-31 14:09:29 -04:00
Lee Salzman
d714dbbb97
Bug 1185636 - Part 4 - Implement CSS border corners by splitting geometry instead of gradients with hard stops. r=mstange
2015-07-31 14:27:19 -04:00
Nathan Froyd
92a8124fef
Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
...
This conversion was done with the script:
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
-e 's/TemporaryRef</already_AddRefed</g'
Manual fixups were performed in the following instances:
- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
into already_AddRefed.
- The following files had explicit Move() calls added to make up for the lack
of a copy constructor on already_AddRefed:
dom/base/ImageEncoder.cpp
dom/media/MediaTaskQueue.{h,cpp}
dom/media/webaudio/PannerNode.cpp
- A redundant overload for MediaTaskQueue::Dispatch was deleted.
- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.
- Comments, using declarations, and forward declarations relating to
TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
already_AddRefed.
2015-06-17 10:00:52 -04:00
Lee Salzman
b78f5a81ff
Bug 1033375 - Nudge simple linear gradients with hard stops to half-pixel gradient. r=nical
2015-06-23 20:50:36 -04:00
Nathan Froyd
43cddcfc0d
Bug 1160485 - remove implicit conversion from RefPtr<T> to TemporaryRef<T>; r=ehsan
...
Having this implicit conversion means that we can silently do extra
refcounting when it's completely unnecessary. It's also an obstacle to
making RefPtr more nsRefPtr-like, so let's get rid of it.
2015-05-01 09:14:16 -04:00
Jonathan Watt
71065ea7e5
Bug 1097438 - Restore the use of AntialiasMode::NONE in nsCSSBorderRenderer::DrawBorders(). r=roc
2014-11-12 02:56:12 +00:00
Jonathan Watt
fb14f9cdf5
Bug 1094063, part 1 - Stop nsCSSBorderRenderer::DrawBorders from sometimes drawing the border twice. r=mattwoodrow
2014-11-06 22:07:36 +00:00
Jonathan Watt
4c4f785445
Bug 1094480 - Fix rendering of CSS borders when only some of the corners have a border-radius and the border-radius is greater than the sum of the border width and the element's content area width/height. r=mattwoodrow
2014-11-06 22:07:36 +00:00
Jonathan Watt
9c919cb19c
Bug 1092392 - Finish porting nsCSSBorderRenderer to Moz2D. r=roc
2014-11-04 09:53:05 +00:00
Jonathan Watt
2fb3c4a6aa
Bug 1092222, part 4 - Port nsCSSRenderingBorders fill painting to use Moz2D directly. r=roc
2014-11-03 10:03:11 +00:00
Jonathan Watt
2780afe182
Bug 1092222, part 3 - Convert nsCSSRenderingBorders from Thebes to Moz2D basic types. r=roc
2014-11-03 10:03:09 +00:00
Jonathan Watt
18347351d2
Bug 1092222, part 1 - Get rid of gfxContext::GraphicsLineCap and gfxContext::GraphicsLineJoin. r=roc
2014-11-03 10:01:57 +00:00
Jonathan Watt
15d7ed16d7
Bug 1091787, part 1 - Port the nsCSSRenderingBorders code that uses gfxContext::RoundedRectangle and gfxRGBA to Moz2D. r=mattwoodrow
2014-11-02 15:41:08 +00: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
35cc1b1869
Bug 1087930 - Remove the gfxPattern returning variant of nsCSSBorderRenderer::CreateCornerGradient. r=mstange
2014-10-24 08:26:27 +01:00
Jonathan Watt
012086d51e
Bug 1084093, part 3 - Use the new ToDeviceColor() function to undo the breakage to gfx.color_management.mode=1 (eCMSMode_All) caused by the Moz2D porting work. r=Bas
2014-10-17 12:53:16 +01:00
Jonathan Watt
4e11b5293f
Bug 1067093 - Get rid of gfxContext::AntialiasMode in favor of Moz2D AntialiasMode. r=Bas
2014-09-15 12:10:30 +01:00
Ting-Yu Lin
853221cb7b
Bug 1064790 - Give S/SN/SF/SN meaningful names. r=bz
...
Also fix gfxRect usage in "PrintAsString" as Bug 641426 part 2 did.
2014-09-09 21:08:00 -04:00
Jonathan Watt
cd6ba4db18
Bug 933019, part 7 - Remove code for handling Thebes backed gfxContext from various files under layout/. r=Bas
2014-07-10 10:58:07 +01:00
Jonathan Watt
438237ecfc
Bug 1025553, part 1 - Change the names of the members of gfxMatrix to match the names of the members of Moz2D's Matrix. r=Bas
2014-06-17 18:35:51 +01:00
Victor Porof
298ca2ed1b
Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj
2014-05-23 17:12:29 -04:00
Mats Palmgren
8a3b696788
Bug 613659 - Implement box-decoration-break layout for border/box-shadow and paddding/margin for inlines. r=cam
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
8526711dd0
Bug 613659 - Implement box-decoration-break layout for border/box-shadow and paddding/margin for inlines. r=cam
2014-04-18 23:01:23 +00:00
Benoit Jacob
2bd34eb690
Bug 959380 - 3/5 - Make gfxSurfaceType a typed enum - r=jrmuizel
...
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxSurfaceType\(Image\|PDF\|PS\|Xlib\|Xcb\|Glitz\|Quartz\|Win32\|BeOS\|DirectFB\|SVG\|OS2\|Win32Printing\|QuartzImage\|Script\|QPainter\|Recording\|VG\|GL\|DRM\|Tee\|XML\|Skia\|Subsurface\|D2D\|Max\)\($\|[^A-Za-z0-9_]\)/\1gfxSurfaceType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
61c6bc7c4e
Bug 958375 - 8/9 - Make remaining Moz2D enums typed - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:17 -05:00
Josh Aas
45ecde29fa
Bug 944259 - initialize variable to quelch compiler warning. r=dbaron
2013-12-06 12:47:46 +09:00
Andreas Gal
429d7e72a8
Bug 930451 - Part 2: Use the new Rendering gradient cache for CSS border gradients as well. r=roc
2013-11-08 17:50:39 +13:00
Birunthan Mohanathas
e30d39fc7a
Bug 784739 - Switch from NULL to nullptr in layout/; r=ehsan
2013-10-08 14:47:21 -04:00
Benoit Jacob
f6f57bbbb4
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
Matt Woodrow
5533037297
Bug 907926 - Try avoid having multiple path objects around since this is slow with DrawTargetCairo. r=Bas
2013-09-19 17:23:30 +12:00
Wes Kocher
4f27ce4389
Backed out 5 changesets (bug 907926, bug 911393, bug 917703) due to OSX reftest bustage during an unrelated CLOSED TREE
...
Backed out changeset 94a6733b01dc (bug 907926)
Backed out changeset 44108fb6f7cc (bug 917703)
Backed out changeset f2dd2a27af69 (bug 911393)
Backed out changeset fdb0d1053128 (bug 907926)
Backed out changeset b3616b786e8f (bug 907926)
2013-09-19 17:56:18 -07:00
Matt Woodrow
f6b23d6718
Bug 907926 - Try avoid having multiple path objects around since this is slow with DrawTargetCairo. r=Bas
2013-09-19 17:23:30 +12:00
Robert O'Callahan
51222bdd45
Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
2013-09-02 20:41:57 +12:00
Ehsan Akhgari
45b9b9b617
Bug 906790 - Minimize layout/base #includes; r=roc
2013-08-19 18:55:18 -04:00
Benoit Girard
f4b3710284
Bug 851611 - Part 3: Rename headers. r=jrmuizel
2013-03-18 15:25:50 +01:00
Benoit Girard
4146042cfd
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
2013-03-16 00:47:02 -04:00
Ed Morley
90c9bf415e
Backed out changeset c75481a07302 (bug 851611)
2013-03-18 14:10:35 +00:00
Ed Morley
627fcd7895
Backed out changeset d195190adc48 (bug 851611)
2013-03-18 14:10:30 +00:00
Benoit Girard
0b880319f3
Bug 851611 - Part 3: Rename headers. r=jrmuizel
2013-03-18 14:41:02 +01:00
Benoit Girard
6d0dfa5b89
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
2013-03-16 00:47:02 -04:00
Daniel Holbert
723a4f151a
Bug 843719: Reorder params in Margin constructors and SizeTo() methods to match CSS's top,right,bottom,left ordering. r=seth
2013-03-06 00:05:55 -08:00
Mats Palmgren
7532b4e736
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Robert O'Callahan
67b24645e1
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
2013-01-05 16:12:24 +13:00
Phil Ringnalda
f40517090e
Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
...
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
b20214218e
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
2013-01-05 16:12:24 +13:00
Jeff Muizelaar
dc02503795
Bug 809603. Simplify border radius drawing. r=roc
...
This adds a RoundedRect class that we use to do the offsetting. This class can
probably also be used elsewhere. With this patch we handle the Gmail checkboxes
in a single draw instead of in pieces like we currently do.
2012-11-12 17:55:26 -08:00