Nicolas Silva
eccf760d11
Bug 1086670 - Add more gfxCriticalError logging in the D2D backend. r=jrmuizel
2014-11-26 21:05:01 +01:00
Bas Schouten
f08b2404b5
Bug 1101248: Properly check return values of creation functions in DrawTargetD2D1::Init. r=BenWa
2014-11-24 19:44:48 +00:00
Robert Longson
687a879b40
Bug 1099197 - Determine the bounds of unstroked polylines/polygons directly. r=jwatt
2014-11-24 14:28:58 +00:00
Jacek Caban
aaebfd8017
Bug 1102809 - Fixed -Wunused-function warnings found in mingw build. r=mattwoodrow
2014-11-24 11:19:36 +01:00
Neil Rashbrook
835839d298
Bug 1101130 Followup to add a missing #ifdef r=Bas
2014-11-23 23:53:00 +00:00
Bas Schouten
13df588328
Bug 892910: Deal with newSize becoming empty in CreatePartialBitmapForSurface. r=BenWa
...
This patch deals with the situation where newSize becomes empty and causes a division by 0 in the current code. It also ensures all the callers will abort any potential drawing when CreatePartialBitmapForSurface returns a nullptr.
2014-11-20 20:48:01 +00:00
Vladimir Vukicevic
c12136ff59
Bug 1036604 - Add VRDevice interfaces, navigator.getVRDevices call, and Oculus Rift gfxVR; r=bz,jrmuizel
2014-07-09 12:24:49 -07:00
Nicolas Silva
096edd5eaf
Bug 1086670 - Add some gfxCriticalError logs around DrawTarget creation. r=Bas
2014-11-20 15:48:07 +01:00
Tatiana Meshkova
ee4083a44f
Bug 1023156 - Cannot build Qt with errors in gfxQtPlatforms (with Qt 5.3)
2014-11-19 22:02:51 -08:00
Bas Schouten
218b3cfb39
Bug 1101130: Make Direct2D 1.1 clean up its resources on shutdown. r=jrmuizel
2014-11-20 00:16:48 +00:00
Milan Sreckovic
1ba7431253
Bug 1095925: Propagate the error up the chain. r=jmuizelaar
2014-11-14 16:11:02 -05:00
Jacek Caban
9dfcf478d3
Bug 1068195 - Fix an invalid MOZ_ASSERT in moz2d code, asserting the value of a constant string pointer. r=jrmuizel
2014-11-19 11:08:14 +01:00
Milan Sreckovic
5aa70325ca
Bug 1074952 - Part 7. Add a logging support for a couple of common Moz2d enums. r=bschouten
2014-11-11 16:09:35 -05:00
Milan Sreckovic
79fb503b37
Bug 1074952 - Part 6. Fully qualify the appropriate logs in the logging macros, otherwise we can't call these from other namespaces. An example in non-gfx/2d where it would not have worked without this change. r=botond
2014-11-18 10:51:39 -05:00
Milan Sreckovic
7ece31d5c9
Bug 1074952 - Part 3. Redo the const values and optimize for the case where we decide runtime not to log messages. Move the decision about newline to OutputMessage. Make [GFX#] the default automatic prefix. r=bschouten
2014-10-24 13:54:26 -04:00
Milan Sreckovic
d236c0f23f
Bug 1074952 - Part 2. gfxWarning() should be available in both debug and release builds. r=bas
2014-10-24 13:54:23 -04:00
Milan Sreckovic
69a2fba4b0
Bug 1074952 - Part 1. Expose the level of logging as a preference. r=bschouten
2014-10-24 13:54:20 -04:00
Wes Kocher
b90e1fb58c
Backed out changeset 41ecbb9a5fac (bug 1092634) for reftest bustage
2014-11-18 17:21:08 -08:00
Markus Stange
fee32b29b7
Bug 1097776 - Don't leak the SkBitmapDevice. r=jrmuizel
2014-11-18 17:22:01 -05:00
Markus Stange
8fab03417e
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.
2014-11-18 17:21:19 -05:00
Bas Schouten
d4181f7c5f
Bug 1099335: Base decision to use a complex clip on whether a DT supports regoin clipping. r=jrmuizel
...
DrawTargets that support region clipping are able to clip to regions effectively. Other DrawTargets go through expensive complex clip paths. When invalidating regions we have code that draws in multiple steps when using Direct2D to avoid this expense, we should base the decision to do this simply on whether the DrawTarget supports fast region clipping.
2014-11-16 19:17:40 +00:00
Robert O'Callahan
22b144ff56
Bug 1097437. Work around Quartz bug where corners of stroked rects don't get a solid color when they should. r=jrmuizel
...
--HG--
extra : rebase_source : deb88329b8948686119df73122032db999006cae
2014-11-12 20:52:57 +13:00
Bas Schouten
99628c3594
Bug 1097476: Fix typo in D2D 1.1 radial gradient code. r=jrmuizel
2014-11-12 15:05:13 +00:00
Bas Schouten
5b27300620
Bug 1097293: Do not draw radial gradients when centers and radii are identical. r=jrmuizel
...
When Cinner and Couter are equal, as well as Rinner and Router, the algorithm described in the canvas specification will hit a division by 0. As described in section 7 of the Canvas2D specification nothing should be drawn in this situation.
2014-11-12 15:05:13 +00:00
chiajung hung
6ea6654370
Bug 880114 - Enhance render video-to-SkiaGL performance by GPU-based color space conversioni, r=gw280
2014-11-11 21:14:00 +01:00
Bas Schouten
81d29cc4b4
Bug 1088235: Use DrawBitmap when we can. r=jrmuizel
2014-11-11 22:09:31 +00:00
Lioncash
9ab51879b0
Bug 1085051 - Fix mismatched new[]/delete in DrawTargetCG::FillGlyphs. r=jrmuizel
2014-11-11 11:02:43 +00:00
Carsten "Tomcat" Book
9dd12e4e93
Backed out changeset 56d4cef7ed00 (bug 880114) for m5 test failures
2014-11-07 10:47:08 +01:00
chiajung hung
b8b1de237f
Bug 880114 - Enhance render video-to-SkiaGL performance by GPU-based color space conversioni. r=gw280
2014-11-06 23:28:00 +01:00
Jonathan Watt
bc0d809b84
Bug 1083755 - Port the CAIRO_COORD_MAX code in nsRenderingContext::FillRect to DrawTargetCairo::FillRect. r=Bas, a=kwierso
2014-11-06 22:07:36 +00:00
Jonathan Watt
2b1b28af50
Bug 1092222, part 2 - Add CCWCorner, CCWCorner and CWCorner methods to BaseRect. r=roc
2014-11-03 10:01:58 +00:00
Robert O'Callahan
5eea447074
Bug 1073252. Part 0: Add IsOpaque(SurfaceFormat). r=bas
...
--HG--
extra : rebase_source : 8aa2b0203db462573cd60046985d03a10a402fc9
2014-10-30 15:31:54 +13:00
Jonathan Watt
c78d6be8dc
Bug 1090494, part 4 - Add AppendRectToPath() and MakePathForRect() helpers to Moz2D's PathHelpers.h. r=mattwoodrow
2014-10-30 09:34:10 +00:00
Jonathan Watt
9c33f47437
Bug 1090494, part 3 - Remove the old unused variants of AppendRoundedRectToPath and MakePathForRoundedRect. r=mattwoodrow
2014-10-30 09:34:10 +00:00
Jonathan Watt
14006b732d
Bug 1090494, part 1 - Add a RectCornerRadii struct to Moz2D's PathHelpers.h and add variants of AppendRoundedRectToPath and MakePathForRoundedRect that use it. r=mattwoodrow
2014-10-30 09:34:09 +00:00
Bas Schouten
62c763162c
Bug 1085187: Properly deal with sampling restriction when using DataSourceSurfaces. r=jrmuizel
2014-10-29 23:40:38 +01:00
Jonathan Watt
8834e7589f
Bug 1085529, part 1 - Add an AutoPopClips helper to Moz2D. r=mattwoodrow
2014-10-26 01:15:25 +01:00
Jonathan Watt
2a7e9c4671
Bug 949661 - Make PathBuilderCG::Arc use ArcToBezier instead of CGPathAddArc to work around a CG stroke dashing bug. r=jrmuizel
2014-10-29 01:59:36 +00:00
Jeff Muizelaar
d6bd4e18e3
Bug 1072847 - Initialize mSurface. r=BenWa
...
--HG--
extra : rebase_source : abd536b8cd2e91c28ea0cd09e21a12da1e8dcee1
2014-10-28 10:08:25 -04:00
Phil Ringnalda
a05388252a
Back out 2 changesets (bug 1085529) for win8 chrome reftest failures
...
Backed out changeset 758840ac2f47 (bug 1085529)
Backed out changeset 3fa71a8dc29c (bug 1085529)
2014-10-25 22:02:57 -07:00
Jonathan Watt
d9e92a51b6
Bug 1085529, part 1 - Add an AutoPopClips helper to Moz2D. r=mattwoodrow
2014-10-26 01:15:25 +01:00
Markus Stange
0f8ae00cdc
Bug 1055622 - Add support for specifying the font smoothing background color to Moz2D. r=Bas, r=jrmuizel
2014-10-24 18:32:23 +02:00
Markus Stange
199762c424
Bug 1074842 - Let SourceSurfaceCGBitmapContext take ownership of the data when DrawTargetCG is destroyed. r=jrmuizel
2014-10-24 18:32:22 +02:00
Jonathan Watt
b7b6a6062b
Bug 1085533, part 1 - Add MakePathForRoundedRect and MakePathForEllipse helpers to Moz2D. r=mattwoodrow
2014-10-24 08:26:28 +01:00
Robert O'Callahan
3bc8c5ea49
Bug 1081185. Traverse rect edges when searching for w=0 crossings instead of taking diagonals. r=mattwoodrow
...
--HG--
extra : rebase_source : c87d145abea750cf0d8b02f0ea387ec9148e6be1
2014-10-22 11:01:00 +13:00
Jonathan Watt
3e6191d07e
Bug 1082530, part 5 - remove the variant of Moz2D's UserToDevicePixelSnapped that takes a Matrix argument instead of a DrawTarget argument. r=mattwoodrow
2014-10-19 10:22:47 +01:00
Jonathan Watt
bf3e85e141
Bug 1082530, part 2 - Fix up Moz2D's UserToDevicePixelSnapped to be more like gfxContext::UserToDevicePixelSnapped, and add a temporary variant to aid in porting. r=mattwoodrow
2014-10-19 10:22:47 +01:00
Jonathan Watt
2d905a9fea
Bug 1082530, part 1 - Mark DrawTarget::GetUserData as const. r=mattwoodrow
2014-10-19 10:22:46 +01:00
Jonathan Watt
c2d29c64c9
Bug 1084093, part 1 - Add some helpers to Moz2D Color to convert to/from packed ARGB. r=Bas
2014-10-17 12:53:15 +01:00
Nicholas Nethercote
b23cd74bf3
Bug 1083624 - Fix assertion failure in Factory::GetDirect3D10Device(). r=bas.
...
--HG--
extra : rebase_source : e28b1575b8bd4706d7d203696a1280c76e103ef6
2014-10-16 19:02:51 -07:00