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
Bas Schouten
5396c56489
Bug 1114398 - Part 1: Make Direct2D paths specifically typed to a backend type. r=jrmuizel
2015-01-08 00:10:48 +00:00
Bas Schouten
7622c3a766
Bug 1115819: Deal with failure to create a realized bitmap in SourceSurfaceD2D1::DrawTargetWillChange. r=jrmuizel
2015-01-08 00:10:48 +00:00
Bas Schouten
145f27376b
Bug 1118328 - Part 1: Expose DoesBackendSupportDataDrawTarget function to test backend capabilities. r=jrmuizel
2015-01-07 22:58:20 +01:00
Ryan VanderMeulen
47a9f5c2f5
Bug 1114577 - GFX cleanups now that Windows SDK 8.1 is the minimum supported version. r=jmuizelaar, r=glandium
2015-01-07 11:32:07 -05:00
Ehsan Akhgari
69814cc06d
Bug 1118419 - Mark virtual overridden functions as MOZ_OVERRIDE in graphics; r=jrmuizel
2015-01-07 10:09:17 -05:00
Ehsan Akhgari
ef6963bd58
Bug 1116622 - Give TemporaryRef a take() method semantically equivalent to already_AddRefed::take(); r=froydnj
...
This is in preparation of removing TemporaryRef. It should help make
already_AddRefed a drop-in replacement for it.
2015-01-05 11:32:37 -05:00
Daniel Holbert
5da4b98e9d
Bug 1068603: Extend FlattenBezier to handle case where full path can be approximated by a linear segment. r=Bas
2015-01-02 14:46:53 -08:00
Milan Sreckovic
dcdba4d25d
Bug 1095510 - See if ClearRect has weird data. r=jmuizelaar
2014-12-19 16:06:15 -05:00
Nicholas Nethercote
54aa31c3fb
Bug 1113037 - Use stack allocation in DrawTargetCG::FillGlyphs() in the common case. r=mattwoodrow.
...
When viewing about:memory in verbose mode this reduces the number of heap
allocations by over 10%.
--HG--
extra : rebase_source : 954962295dcd90d66d0e02f782998884de879f17
2014-12-18 21:23:30 -08:00
Nicholas Nethercote
9719fd2fcc
Bug 1113037 - Use stack allocation in DrawTargetCairo::FillGlyphs() in the common case. r=mattwoodrow.
...
--HG--
extra : rebase_source : f6270322664121cec3c82a7448c80963df6b0e5f
2014-12-18 21:23:28 -08:00
Milan Sreckovic
24a732e527
Bug 1101685 - Optionally assert in loggers, default to true on gfxCriticalError. Clean up the calls where large texture sizes were triggering the asserts in tests. r=nical
2014-12-17 17:54:04 -05:00
James Willcox
25c96c2585
Bug 1049138 - Use the cairo surface format to determine gfx format when able r=jmuizelaar
...
--HG--
extra : histedit_source : 9027bee76ab792d29a920bffb6443f40e6a35e13
2014-12-17 15:49:57 -06:00
Carsten "Tomcat" Book
4c225d7e54
Backed out changeset 8b751f12a3ad (bug 1101685) for windows 7 debug crashtest/reftest crashes
2014-12-17 12:56:04 +01:00
Jonathan Watt
ac2953ec7d
Bug 854296, part 2 - Document Moz2D's JoinStyle::MITER to note that its behavior is backend dependant. r=Bas
2014-12-16 15:40:59 +00:00
Milan Sreckovic
46b29f1150
Bug 1101685 - Optionally assert in loggers, default to true on gfxCriticalError. Clean up the calls where large texture sizes were triggering the asserts in tests. r=nical
2014-12-16 13:22:26 -05:00
Ehsan Akhgari
a5bea27491
Bug 1111227 - Remove the MSVC2005 special casing in gfx/2d/moz.build; r=glandium
...
--HG--
extra : rebase_source : 0d86c3cff1f3775c0994a9f2f71762f77641ca18
2014-12-16 12:53:13 -05:00
Milan Sreckovic
6830a939b5
Bug 946069 - Assert/critical error if the CG contexts are invalid. Also, deal with the empty path when asking for the current point. r=mstange
2014-12-12 15:35:48 -05:00
Benoit Girard
57dd780f8a
Bug 1105834 - Part 1: Add CreateDataSourceSurfaceByCloning to moz2d. r=mstange,bas
2014-11-28 18:11:03 -05:00
Ehsan Akhgari
278b49e363
Bug 1109699 - Fix more bad implicit constructors in gfx and image; r=jrmuizel
2014-12-10 17:48:11 -05:00
John Daggett
9662cfeab4
Bug 1109403 - trim out unused Azure FontOptions struct. r=m_kato
2014-12-10 13:09:30 +09:00
Wes Kocher
28af05a0e8
Backed out 3 changesets (bug 1105834) for non-unified b2g bustage
...
Backed out changeset 7aca65122115 (bug 1105834)
Backed out changeset 47ba9f1d4762 (bug 1105834)
Backed out changeset f0226c3be051 (bug 1105834)
2014-12-09 17:15:42 -08:00
Benoit Girard
80a2ab9b75
Bug 1105834 - Part 1: Add CreateDataSourceSurfaceByCloning to moz2d. r=mstange,bas
...
--HG--
extra : rebase_source : 361ea428e03d80c31d9041809afcdab7ae3a32e6
2014-11-28 18:11:03 -05:00
Julian Seward
0ee09bead0
Bug 1078211 - Uninitialised value use in DoUnpremultiplicationCalculation_SIMD. r=mstange.
...
--HG--
extra : rebase_source : f6c2050339ff24c2e067f0533fe0e7a1589288e5
2014-12-09 13:12:34 +01:00
Wes Kocher
ab0d0ffd2b
Backed out 3 changesets (bug 1105834) for non-unified bustage
...
Backed out changeset 33592fd41f1f (bug 1105834)
Backed out changeset c3e505887e9f (bug 1105834)
Backed out changeset 6aad17f431d1 (bug 1105834)
2014-12-08 17:15:46 -08:00
Benoit Girard
b323d54c57
Bug 1105834 - Part 1: Add CreateDataSourceSurfaceByCloning to moz2d. r=mstange,bas
2014-11-28 18:11:03 -05:00
Jonathan Watt
c3a1f810cf
Bug 1083079 - Prevent the size of TiledDrawTarget from being zero due to its tiles having negative offsets. r=mattwoodrow
2014-12-05 03:00:24 -08:00
Jeff Muizelaar
d7d45a14cb
Bug 1105015. Make the UnboundnessFixer more readable. r=milan
...
--HG--
extra : rebase_source : f584762adbf2afbbdccc563f2a198ac069ef0106
2014-11-25 17:20:33 -05:00
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
Chris Jones
e3d70da1dd
Bug 1082997 - Add an option to explicitly disable skia-gpu and fix the build when it's disabled. r=mattwoodrow
2014-10-14 20:55:37 -07:00
Markus Stange
52c38f9c90
Bug 1078262 - Only use the fixed epsilon for the translation components. r=roc
2014-10-16 12:37:09 +02:00
Markus Stange
793ada8457
Bug 1076695 - Don't convert alpha surfaces into RGBA surfaces for FilterNodeTransformSoftware. r=Bas
2014-10-16 12:35:58 +02:00
Jonathan Watt
5393a15cd7
Bug 1083215, part 1 - Add a Moz2D helper for snapping lines to device pixels. r=mattwoodrow
2014-10-16 10:51:14 +01:00
Jonathan Watt
6a3ab8569c
Bug 1082483, part 3 - Remove the temporary Matrix4x4::Translate/Scale methods. r=Bas
2014-10-16 10:51:13 +01:00
Jonathan Watt
b588fc89c4
Bug 1082483, part 1 - Rename Matrix4x4::Translate/Scale to Matrix4x4::PreTranslate/PreScale, leaving temporary inlines for the old names. r=Bas
2014-10-16 10:51:12 +01:00
Jonathan Watt
85fa838422
Bug 1082477, part 2 - Remove the Matrix4x4::TranslatePost/ScalePost methods. r=Bas
2014-10-16 10:51:12 +01:00
Michael Wu
b0975a6e33
Bug 1082745 - Avoid reoptimizing optimized SourceSurfaceCairos, r=bas
2014-10-15 17:13:14 -04:00
jdashg
aca62a5311
Bug 1066280 - Review fixes. - r=kamidphish,mattwoodrow
2014-10-08 13:04:19 -07:00
jdashg
4edee9ac4c
Bug 1066280 - Fixes for SurfaceStream removal. - r=kamidphish,mattwoodrow
2014-10-07 21:16:14 -07:00
jdashg
a8a4d97f00
Bug 1066280 - Add TexClient for ShSurf. - r=kamidphish,mattwoodrow
...
From a7c09c0f17e19fd2254cb1d7a8ddd07b327151ad Mon Sep 17 00:00:00 2001
---
gfx/2d/HelpersCairo.h | 2 +
gfx/gl/GLContext.cpp | 3 +-
gfx/gl/GLContext.h | 2 -
gfx/gl/GLReadTexImageHelper.cpp | 21 +--
gfx/gl/GLReadTexImageHelper.h | 6 +
gfx/gl/GLScreenBuffer.h | 6 +-
gfx/gl/ScopedGLHelpers.cpp | 40 +++++
gfx/gl/ScopedGLHelpers.h | 26 ++-
gfx/gl/SharedSurface.cpp | 94 +++++++++++
gfx/gl/SharedSurface.h | 19 +++
gfx/gl/SharedSurfaceIO.h | 4 +
gfx/layers/CopyableCanvasLayer.cpp | 3 +-
gfx/layers/client/CanvasClient.cpp | 276 +++++++++++++++++++++++++++++---
gfx/layers/client/CanvasClient.h | 34 ++++
gfx/layers/client/ClientCanvasLayer.cpp | 21 ++-
gfx/layers/client/ClientCanvasLayer.h | 9 +-
gfx/layers/client/TextureClient.cpp | 35 ++++
gfx/layers/client/TextureClient.h | 85 +++++++++-
gfx/layers/composite/TextureHost.cpp | 131 ++++++++++++++-
gfx/layers/composite/TextureHost.h | 64 ++++++++
gfx/layers/d3d10/CanvasLayerD3D10.cpp | 5 +-
gfx/layers/ipc/LayersSurfaces.ipdlh | 5 +
22 files changed, 828 insertions(+), 63 deletions(-)
2014-10-07 21:01:51 -07:00
Bas Schouten
7dcacf511a
Bug 1078693: Correctly indicate validity of a SourceSurfaceD2D1 and deal with failed surface creation. r=jrmuizel
2014-10-10 17:04:26 +02:00
Ehsan Akhgari
fdf237f791
Bug 1079321 - Fix some more bad implicit constructors in gfx; r=jrmuizel
2014-09-24 09:16:53 -04:00
Jonathan Kew
db9717b303
Bug 902799 - Support textruns with vertical writing modes when drawing Canvas2D text. r=bas
2014-10-06 16:19:36 +01:00
Carsten "Tomcat" Book
9f05a55e58
merge mozilla-inbound to mozilla-central a=merge
2014-10-08 15:45:22 +02:00
Carsten "Tomcat" Book
6e220c15f2
Backed out changeset 88bb2a142e10 (bug 902799) on smaugs requests for regressions/crashes
2014-10-08 15:41:35 +02:00
Markus Stange
8a27e8adbc
Bug 1076695 - Don't convert alpha surfaces into RGBA surfaces for FilterNodeTransformSoftware. r=Bas
2014-10-07 16:18:01 +02:00
Jonathan Watt
b323c6702b
Bug 1077961, part 1 - Add various methods to Moz2D Matrix4x4 to allow us to minimize multiplications. r=Bas
2014-10-08 04:40:44 +01:00
Wes Kocher
3905dbdf57
Backed out changeset bb80c2b08bc0 (bug 1076695) for being the likely cause of the ASAN reftest permafail
2014-10-07 17:30:54 -07:00
Eric Rahm
18d59d1e8f
Bug 1072605 - Just use PR_LOGGING to determine if logging is enabled. r=Bas
2014-10-06 09:33:06 -07:00
Jonathan Kew
0e2e1539b5
Bug 902799 - Support textruns with vertical writing modes when drawing Canvas2D text. r=bas
2014-10-06 16:19:36 +01:00
Ed Morley
4704b64337
Backed out changeset a3250bad7f3c (bug 902799) for build failures on Windows
2014-10-06 15:55:56 +01:00
Jonathan Kew
8b51ec974b
Bug 902799 - Support textruns with vertical writing modes when drawing Canvas2D text. r=bas
2014-10-06 15:14:54 +01:00
Jonathan Watt
f3887b0340
Bug 1077544 - Add a GetBackendType() method to PathBuilder. r=Bas
2014-10-04 12:13:29 +01:00
Matt Woodrow
588349bc87
Bug 1075616 - Do partial uploads of non-D2D SourceSurfaces when we have a sampling rect. r=Bas
...
--HG--
extra : rebase_source : d08b5d3d515484ebc0f8a3be774d66c3b881a8d4
2014-09-24 13:23:15 -04:00
Matt Woodrow
97ffb8ffb7
Bug 1070722 - Remove DrawTargetCG::OptimizeSourceSurface since we don't get any benefit without quartz high-quality downscaling enabled. r=jrmuizel
2014-10-02 21:14:46 +13:00
Bas Schouten
91f5c62793
Bug 1075615: Pretranslate the pattern matrix when the pattern specifies a sampling rect. r=jrmuizel
2014-10-01 19:50:24 +02:00
Bas Schouten
8f2a3963e4
Bug 1075621: Support Direct2D 1.1 for ScaledFontDWrite::CopyGlyphsToBuilder. r=jrmuizel
2014-10-01 19:50:24 +02:00
Kartikaya Gupta
ed98d7c059
Bug 1074944 - Add Inverse functions on Matrix and Matrix4x4. r=Bas
2014-10-01 13:13:02 -04:00
Jonathan Watt
b7f8573ab0
Bug 1074974 - Make HelpersD2D.h's CreateStrokeStyleForOptions more robust. r=Bas
2014-09-30 18:07:49 +01:00
Matt Woodrow
0b55343996
Bug 1070722 - Use the imagelib high quality downscaler on OSX instead of the quartz one. r=jrmuizel
2014-09-26 15:05:14 -04:00
Jonathan Watt
7770d52343
Bug 1074128, part 2 - Rename Moz2D's AutoSaveTransform to AutoRestoreTransform. r=Bas
2014-09-29 18:26:56 +01:00
Jonathan Watt
45d2459587
Bug 1074128, part 1 - Add support to Moz2D's AutoSaveTransform for setting the DrawTarget lazily. r=Bas
2014-09-29 18:26:49 +01:00
Jonathan Watt
d33b953b3f
Bug 1073960 - Mark DrawTarget::GetFormat() as const. r=Bas
2014-09-29 14:15:18 +01:00
Jonathan Watt
bfcf3238cc
Bug 1073363, part 2 - Add a GeneralPattern class to Moz2D to solve the problem of writing general pattern creating functions. r=Bas
2014-09-29 14:12:06 +01:00
Daniel Holbert
fa4545efef
Bug 1073716: Use C++ std::abs() instead of C abs(), for non-'int'-typed values, to address clang warning. r=ehsan
2014-09-28 09:59:46 -07:00
Wes Kocher
64e89669a6
Backed out changeset b5705fbed44f (bug 1070722) for reftest orange on a CLOSED TREE
2014-09-26 14:29:46 -07:00
Matt Woodrow
fa88132850
Bug 1070722 - Use the imagelib high quality downscaler on OSX instead of the quartz one. r=jrmuizel
...
--HG--
extra : rebase_source : 53c205cfc8af95be28d0878248b04e9872910651
2014-09-26 15:05:14 -04:00
Markus Stange
b5ca8fb0bb
Bug 983241 - Allow filterNodeSoftware->SetInput(*, nullptr) in order to drop reference to input surface / filter. r=Bas
2014-09-25 15:19:28 -04:00
Markus Stange
bc25984738
Bug 983574 - When setting a SourceSurface input on a FilterNodeD2D1, delay the conversion to ID2D1Image until the actual DrawFilter call. r=Bas
2014-09-25 15:18:29 -04:00