Commit Graph

443 Commits

Author SHA1 Message Date
Markus Stange
71f54a750f Bug 889085 - Don’t draw CSS background color for themes root frames. r=roc. 2014-01-18 12:51:03 +01:00
Horia Iosif Olaru
54d9623728 Bug 959674 - Check if any blend mode other than normal should be applied to the image and draw the background-color if so. r=roc 2014-01-14 22:57:49 +02:00
Benoit Jacob
873406e3f0 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
Mats Palmgren
71972fe5b8 Bug 955712 - Don't draw background color when not needed. r=roc 2014-01-05 23:31:14 +00:00
Matt Woodrow
e4903de547 Bug 950490 - Don't apply the transform twice when doing blurring in user-space. r=roc 2013-12-18 14:58:21 +13:00
Matt Woodrow
0c90ac3d7c Bug 948221 - Part 7: Convert SurfaceFromElement to Moz2D. r=roc,Bas,bjacob 2013-12-12 10:05:27 +13:00
Matt Woodrow
370c4bcb50 Bug 944571 - Part 1: Convert gfxAlphaBoxBlur to use Moz2D surfaces instead of Thebes. r=Bas 2013-10-02 17:20:47 +13:00
Matt Woodrow
5d9eb4fc08 Bug 940845 - Part 5: Propogate the blur standard deviation up instead of the blur radius. r=roc 2013-11-26 12:09:04 +13:00
Matt Woodrow
a44cfe34e6 Bug 940845 - Part 4: Add BlurRectangle to gfxAlphaBoxBlur and use it. r=roc 2013-11-26 12:08:29 +13:00
Matt Woodrow
549195d4ac Bug 940845 - Part 3: Inline code into nsContextBoxBlur::BlurRectangle so that we don't have to create one on the stack. r=roc 2013-11-26 12:07:03 +13:00
Matt Woodrow
35b0b54e60 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
f66c840e86 Bug 939607 - Part 1: Make PaintBoxShadowOuter take an opacity value. r=roc 2013-11-18 22:32:09 +13:00
Ehsan Akhgari
790750e904 Bug 938114 - Build layout/base in unified mode; r=roc 2013-11-14 21:43:56 -05:00
Horia Iosif Olaru
db2682823f Bug 841601 - Add background-blend-mode implementation. r=roc 2013-11-08 10:08:03 -05:00
Andreas Gal
ea2cb339b6 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
Andreas Gal
c5af5332e9 Bug 930451 - Part 1: Factor out CSS gradient cache into a new class gfxGradientCache. r=roc 2013-11-08 17:50:39 +13:00
Andreas Gal
9e0a603fe3 Bug 931305 - Avoid bailing out half way through a gradient fill. r=jmuizelaar 2013-10-30 15:29:22 -04:00
Birunthan Mohanathas
b823b8896b Bug 784739 - Switch from NULL to nullptr in layout/; r=ehsan
--HG--
extra : rebase_source : 0d0d9e11be9d39e4457bddd0bac7e19a50b91b0b
2013-10-08 14:47:21 -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
Ehsan Akhgari
18ef76b0d7 Bug 921753 - Part 2: Move GraphicsFilters outside of gfxPattern.h so that we won't need to #include that header everywhere GraphicsFilter is needed; r=roc
This patch reduces the number of files that transitively #include
gfx/2d.h from 1582 to 1362.
2013-10-01 17:01:19 -04:00
Mats Palmgren
ae50ca5ce4 Bug 919318 - Drop the Get prefix on the frame methods GetFirstContinuation, GetLastContinuation, GetFirstInFlow, GetLastInFlow and also on nsLayoutUtils::GetLastContinuationWithChild, because they never return null. r=dholbert 2013-09-25 11:42:34 +00:00
Jeff Muizelaar
035e883752 Bug 916535. Avoid using repeating gradients for tiling when it won't work. r=roc
Avoiding normalization introduced in bug 895135 caused gradientStart/Stop to
not correspond to the firstStop and lastStop. This can cause us to incorrectly
decide to use the repeat fast path. This patch switches takes us back to the
same condition as we had before the regression.

--HG--
extra : rebase_source : f335e1db9166213115354eb14dbe90b09127a68b
2013-09-24 00:04:36 -04:00
Robert O'Callahan
8ca63f18ef Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Ehsan Akhgari
c2ce7e67ab Bug 906790 - Minimize layout/base #includes; r=roc 2013-08-19 18:55:18 -04:00
Corey Ford
c1f2a8126d Bug 898794 - Store normal frame position before applying relative positioning. r=dbaron 2013-08-08 17:20:17 -07:00
Timothy Nikkel
9170934245 Bug 900662. Pass sync decode flags through moz-element painting so images inside moz-element work correctly with reftests. r=mstange 2013-08-01 15:42:34 -05:00
Nicholas Cameron
f0ce281635 Bug 897787. Use background-size in preference to background positioning area size for a background-image's preferered size. r=roc 2013-08-01 16:22:40 +12:00
Timothy Nikkel
156274f060 Bug 900214. Remove unused aFlags argument to nsImageRenderer::Draw. r=nrc
Instead use mFlags.
2013-07-31 17:09:30 -05:00
Simon Sapin
d6f3091b8f Bug 483446 - CSS3 'background-attachment: local' support. r=roc 2013-07-23 09:22:58 -04:00
Jeff Muizelaar
17a884ff0f Bug 895135. Avoid normalizing gradients to a smaller interval than 0..1. r=roc
Previously if we had all the stops at the same location, we'd end up putting
them all at 0. This makes things harder for backends that implement gradients
with a lookup table because they don't have room for multiples entries at the
zero location. If instead we leave the stops at the same location on the 0-1
line we'll have a better chance of drawing them correctly.

--HG--
extra : rebase_source : d57553d90e3eef288ca41576573f1c1def97da7e
2013-07-20 08:58:10 -04:00
Nicholas Cameron
efbfb06759 Bug 700926; reshuffle background image drawing. r=roc
--HG--
extra : rebase_source : 4e4786a75cfdccc47ffa524331792eab3a7a83ea
2013-07-19 20:40:02 +12:00
Nicholas Cameron
b313671f13 Bug 700926. Refactor image sizing to be closer to the spec and not tied to backgrounds. r=roc
--HG--
extra : rebase_source : b6fa8a526f8642089d9cd6af47948006f2673ab6
2013-07-19 20:39:58 +12:00
Timothy Nikkel
99526d4aa5 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
424910d9f9 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
2838778b53 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
ac3b24a51f Bug 867770 - Layerize all animated images. r=mattwoodrow 2013-05-30 09:50:50 -04:00
Joe Drew
730ac999c6 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
Mats Palmgren
c538e42a6e Bug 485149 - Using box-shadow on a <fieldset> with <legend> does not follow box shape. r=roc 2013-04-17 22:16:14 +02:00
Seth Fowler
a635c53879 Bug 826093 (Part 4) - Use ClippedImage instead of ExtractFrame for border-image. r=bz
--HG--
extra : rebase_source : 58e1b9169e5ca0b61066c04ebb587879458bd72f
2013-04-05 14:14:53 -07:00
Seth Fowler
030590cc40 Bug 826093 (Part 3) - Use ClippedImage instead of ExtractFrame for -moz-image-rect. r=bz
--HG--
extra : rebase_source : 7abecbcfcda5666e6b23895dbf6cd42991044914
2013-04-05 14:14:37 -07:00
Phil Ringnalda
171a6dc234 Backout 051cf1c1449c:521215a7b32e (bug 826093) for Android reftest failure 2013-04-04 21:06:58 -07:00
Seth Fowler
605c0911f3 Bug 826093 (Part 4) - Use ClippedImage instead of ExtractFrame for border-image. r=bz 2013-04-04 19:06:42 -07:00
Seth Fowler
abbdbad515 Bug 826093 (Part 3) - Use ClippedImage instead of ExtractFrame for -moz-image-rect. r=bz 2013-04-04 19:06:42 -07:00
Ryan VanderMeulen
268da07311 Backed out changesets 957f2b35ce83:1799cffbba63 (bug 826093) for Android reftest-2 failures (again) on a CLOSED TREE. 2013-03-26 21:56:03 -04:00
Seth Fowler
fdb409e5fa Bug 826093 (Part 4) - Use ClippedImage instead of ExtractFrame for border-image. r=bz 2013-03-26 16:29:13 -07:00
Seth Fowler
93ae9dc359 Bug 826093 (Part 3) - Use ClippedImage instead of ExtractFrame for -moz-image-rect. r=bz 2013-03-26 16:29:13 -07:00
Ryan VanderMeulen
70b9859a7a Backed out changesets 4b97cab51e59:5e573640e390 (bug 826093) for Android reftest-2 failures on a CLOSED TREE. 2013-03-26 16:52:17 -04:00
Seth Fowler
5b90185483 Bug 826093 (Part 4) - Use ClippedImage instead of ExtractFrame for border-image. r=bz 2013-03-26 11:56:46 -07:00
Seth Fowler
fdc10b87fb Bug 826093 (Part 3) - Use ClippedImage instead of ExtractFrame for -moz-image-rect. r=bz 2013-03-26 11:56:46 -07:00
Benoit Girard
6ed333dbb5 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00