Commit Graph

1229 Commits

Author SHA1 Message Date
Nicolas Silva
191b5c2762 Bug 1144147 - Warning fix in DrawTargetCairo.cpp. r=jrmuizel 2015-03-17 16:53:46 +01:00
Botond Ballo
8d9cb90803 Bug 1139675 - Add a couple of operator overloads to BaseSize. r=kats 2015-03-06 18:07:30 -05:00
Botond Ballo
7cf09165bb Bug 1036967 - Remove ScaleFactor::ScaleFactor(float, float). r=kats 2015-03-02 18:56:45 -05:00
Botond Ballo
46d1e4aa8c Bug 1036967 - Introduce ScaleFactors2D. r=kats,Bas 2015-03-06 13:53:47 -05:00
Nicolas Silva
86f6836f29 Bug 1123080 - Use cairo's image backend as canvas fallback on windows. r=Bas 2015-03-12 19:40:06 +01:00
Milan Sreckovic
50350de860 Bug 1140113 - Catch direct (and some indirect) callers of CreateDrawTarget* and deal with failure. r=mstange 2015-03-09 15:48:20 -04:00
James Willcox
ab87d1e76b Bug 1117338 - Blow up if we can't convert a cairo format to a gfx one r=milan 2015-03-09 08:35:11 -05:00
Milan Sreckovic
604c74b2a7 Bug 1135066 - Deal with failed CreateDrawTarget. r=mstange 2015-03-05 16:38:23 -05:00
Markus Stange
22102f166b Bug 1123019 - Actually use the clipped rect variable. r=jrmuizel 2015-03-06 13:04:05 -05:00
Kearwood (Kip) Gilbert
2879261784 Bug 945584: Part 5 - Implement ScrollVelocityQueue (v4 Patch), r=roc
- Implemented ScrollVelocityQueue class to calculate the velocity of a scroll
  when given periodic samples of scroll position.
- Added BasePoint::Clamp to simplify code.
2015-02-19 15:51:08 -08:00
Milan Sreckovic
9fb38f1fb7 Bug 1133119 - ::Map should fail if the data is null, and add more null pointer checks. r=mattwoodrow 2015-03-03 11:17:55 -05:00
Jan Jongboom
b7543e2b73 Bug 1134599 - Fix rpi build target. r=jrmuizel, r=shuang 2015-02-25 03:20:00 -05:00
Milan Sreckovic
a5c26ca04e Bug 1130195: Report the failed bitmap creation, but still crash. r=bschouten 2015-02-25 17:44:56 -05:00
Benoit Girard
8e7100fac4 Bug 1135677 - Deal with overflowing rects. r=bas 2015-02-23 14:09:56 -05:00
David Anderson
8e87a2bd33 Fix build bustage on CLOSED TREE. No bug 2015-02-24 14:16:27 -08:00
David Anderson
cf720c0a8e Implement GetMaxTextureSize in the basic compositor. (bug 1135883, r=mattwoodrow) 2015-02-24 13:39:01 -08:00
Markus Stange
392275a56d Bug 1123019 - Shrink clipped stroked rectangles and stroked lines. r=jrmuizel 2015-02-23 18:15:14 -05:00
Markus Stange
2faf3988b3 Bug 1123019 - In DrawTargetTiled::StrokeRect and StrokeLine, skip tiles that don't intersect the stroke. r=jrmuizel 2015-02-23 16:20:35 -05:00
Ms2ger
23beb3bfbf Bug 1135138 - Remove UNICODE from DEFINES in moz.build rather than Makefile.in; r=mshal
This was made possible by bug 928709.
2015-02-23 18:46:55 +01:00
Daniel Holbert
a4b9f40ba9 Bug 1134931: Add some missing MOZ_OVERRIDE annotations in ServiceWorkerManager.cpp, nsFrameMessageManager.cpp, and 2D.h. r=ehsan 2015-02-20 09:25:07 -08:00
Trevor Saunders
8dedc8cddc bug 1133075 - add more MOZ_OVERRIDE r=froydnj, waldo, jrmuizel 2015-02-18 17:03:30 -05:00
Markus Stange
f6e80715ad Bug 1092634 - Let feColorMatrix and feComponentTransfer generate output outside their input's bounds. r=Bas
This makes the color matrix and component transfer Moz2D filters generate
an infinite output, which is then cropped to the primitive's filter
primitive subregion by a subsequent crop filter node. This still gives us
different behavior than other browser when the primitive subregion is
overridden using the x/y/width/height attributes - other browsers either
ignore those completely (IE) or only let them crop the default subregion
(which is defined to be the same as the input subregion) and not enlargen
it - but I'll fix that in a separate bug.
2015-02-09 14:04:11 -05:00
Nicolas Silva
6cedce66f1 Bug 1129467 - Apply the tile offset to tiles when initializing DrawTargetTiled. r=Bas 2015-02-05 11:09:57 +01:00
Chris Double
6ae887f253 Bug 1129718 - Fix build error when using enable-debug and disable-logging - r=Bas 2015-02-05 16:25:38 +13:00
Bas Schouten
ce170cb3f3 Bug 1083245: Pop all clips before copying to the destination blending surface. r=jrmuizel
We need to pop the clips from the decide context before flushing and copying to the destination blending surface, otherwise drawing commands executed on a pushed layer for clipping will not be realized on the destination surface for blending.

Note that this fixes most situation, but in the case of doing custom blending to an area of a surface which is not opaque while having a complex clip pushed this will still lead to some artifacts. I haven't seen this be a problem in practice though.
2015-02-04 22:03:21 +01:00
Jonathan Watt
27cf336d06 Bug 1085312 - Document why ColorPattern ctor is marked explicit. r=Bas 2015-01-23 09:45:32 +00:00
Bas Schouten
e7a45f235f Bug 1089454: Prevent usage of incompatible graphics objects after device reset. r=jrmuizel 2015-01-28 00:54:19 +00:00
Ethan Lin
2bbea6c40e Bug 753010 - Part 2 - Refactor some neon intrinsic functions for blur. r=mstange 2015-01-22 18:57:00 +01:00
Ethan Lin
af7d85c741 Bug 753010 - Add a NEON optimized blur method. r=mstange 2015-01-18 22:08:00 +01:00
Masatoshi Kimura
0676786e20 Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo 2015-01-26 07:22:11 +09:00
Masatoshi Kimura
2490dcfe04 Bug 1111290 - Part 1: Remove MOZ_(BEGIN|END)_ENUM_CLASS. r=waldo 2015-01-26 07:22:07 +09:00
Markus Stange
8780bcc049 Bug 1117304 - Make sure the tile filter doesn't call CopyRect on surfaces with different formats. r=Bas 2015-01-05 18:40:27 +01:00
Markus Stange
b7823af622 Bug 1117304 - Also do the checks at the start of CopyRect in release builds. r=Bas 2015-01-06 12:08:39 +01:00
Milan Sreckovic
67354457c3 Bug 1088833 - A bit of a clean up of warnings, and catch bad draw target in the d3d11 canvas case. r=bschouten 2015-01-20 12:47:29 -05:00
Milan Sreckovic
a1bdbcfff9 Bug 1121835: Deal with non-finite values in Path calls. r=bschouten 2015-01-19 14:19:25 -05:00
Robert Longson
02c054d045 Bug 1122761 - Avoid dividing by zero when calculating turbulence gradients. r=mstange 2015-01-21 13:01:00 +00:00
Brian Smith
f239d701ac Bug 1119072, Part 16: Replace uses of hash_set with unodered_set (gfx), r=bas
--HG--
extra : rebase_source : 6fe532f999372f71b7e544231b4727c86aa34d70
2015-01-08 15:42:38 -08:00
Heiher
cb3ed562b9 Bug 1122383 - Optimize Moz2D's ConvertBGRXToBGRA. r=jwatt
From 4c67bb1f0d9378831559983ccf53f63ad104974e Mon Sep 17 00:00:00 2001
---
 gfx/2d/DataSurfaceHelpers.cpp | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
2015-01-20 11:16:08 +00:00
Jonathan Watt
cfd1ecfb13 Bug 1122578, part 1 - Make DrawTargetCG::StrokeRect stroke from the same corner and in the same direction as older OS X and other Moz2D backends. r=Bas 2015-01-18 11:30:32 +00:00
Seth Fowler
7b3eb49cc5 Bug 1120050 - Expose Skia scaler internals for use by downscale-during-decode. r=tn 2015-01-20 03:06:37 -08:00
David Major
5ea7fa8ef7 Bug 1122367: Null check the result of D2DFactory(). r=Bas 2015-01-20 10:56:59 +13:00
Botond Ballo
c888ca7137 Bug 1120609 - Printing support for gfx::Matrix. r=Bas
--HG--
extra : rebase_source : 38e46208c14df09dc49c73c7fddfc3b5534efd4c
2015-01-19 11:29:16 -05:00
Nicolas Silva
19f3ef2778 Bug 1122631 - Fix wrong logic in DrawTargetTiled::CopySurface. r=jrmuizel 2015-01-19 12:36:43 +01:00
Milan Sreckovic
2a5ffb8d23 Bug 1112828 - Have GfxInfo::LogFailure use gfxCriticalLog and entries from gfxCriticalLog be available in about:support graphics section. r=jmuizelaar 2015-01-13 21:19:25 -05:00
Benoit Girard
f97773fb06 Bug 1068190 - Part 1: Add foundation for compositor unit tests. r=mstange 2015-01-14 17:24:09 -05:00
Tejas Srinivasan
7d0fbd8d2d Bug 1120060 - Remove the workaround code for the gcc PGO crash in ConvolveHorizontally() now that support for version 4.5 has been removed. r=tn 2015-01-13 08:14:00 -05:00
Masatoshi Kimura
f70d08c5aa Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
Bas Schouten
a04eac5441 Bug 1118328 - Part 1: Expose DoesBackendSupportDataDrawTarget function to test backend capabilities. r=jrmuizel 2015-01-07 22:58:20 +01:00
Wes Kocher
e0a70c89f3 Backout 0d091f3311b4 (bug 1118328) for build bustage on a CLOSED TREE 2015-01-07 16:54:14 -08:00
Bas Schouten
cd5fcfeb14 Bug 1107718: Properly deal with a D3D11 device reset. r=nical 2015-01-08 00:10:49 +00:00