Commit Graph
204 Commits
Author SHA1 Message Date
Kevin Chen 7c04d5c985 Bug 1363677 - Skip Flush() and EndDraw() if the ID2D1DeviceContext is stale; r=dvander
MozReview-Commit-ID: 6KnryMZE8Qj
2017-05-10 16:22:08 +08:00
Lee Salzman 2d11a68827 Bug 1355931 - move font serialization from ScaledFont to UnscaledFont. r=jrmuizel
MozReview-Commit-ID: 3d1XMoe2BKj
2017-04-14 14:11:00 -04:00
Lee Salzman 4193b0bc43 Bug 1348980 - implement UnscaledFont API for Moz2D and thebes. r=jfkthame 2017-04-06 17:41:02 -04:00
Lee Salzman 22d2a7eff1 Bug 738343 - part 6 - Use Moz2d swizzles in Moz2d. r=jrmuizel
MozReview-Commit-ID: 6jyBCD5EAz2
2017-02-12 09:28:12 -05:00
Bas Schouten dc71ab3ad3 Bug 1325743: Cache Moz2D ClearType usage information in a way similar to Thebes. r=mchang
This patch makes sure content processes update their cleartype settings, as well as making sure Moz2D's idea of the ClearType settings are in sync with those of Thebes. If the two differ this can cause graphical glitches.

MozReview-Commit-ID: 94arUnBWoUy
2017-01-04 20:26:17 +01:00
Wes Kocher cc8ac87196 Backed out changeset 84f4a96a130b (bug 1325743) for incredibly frequent Windows 7 VM reftest crashes in variable-supports-23.html a=backout
MozReview-Commit-ID: C1qQVYWpUUV
2017-01-10 13:52:23 -08:00
Bas Schouten 2cf48e97e2 Bug 1325743: Cache Moz2D ClearType usage information in a way similar to Thebes. r=mchang
This patch makes sure content processes update their cleartype settings, as well as making sure Moz2D's idea of the ClearType settings are in sync with those of Thebes. If the two differ this can cause graphical glitches.

MozReview-Commit-ID: 94arUnBWoUy
2017-01-04 20:26:17 +01:00
Jonathan Kew 75cd79cb3c Bug 1321031 pt 6 - Include variation settings in moz2d recording stream when using the native Mac font backend. r=bas,jrmuizel 2017-01-06 16:35:12 +00:00
Ryan VanderMeulen 4a6f2b1773 Backed out 6 changesets (bug 1321031) for bustage.
Backed out changeset e0be4f5390fb (bug 1321031)
Backed out changeset ba071046f8ab (bug 1321031)
Backed out changeset 7cb4242dc636 (bug 1321031)
Backed out changeset bc58e479eb58 (bug 1321031)
Backed out changeset c551913ae892 (bug 1321031)
Backed out changeset f4ae57d5358f (bug 1321031)

CLOSED TREE
2017-01-06 12:46:27 -05:00
Jonathan Kew 38427d89f3 Bug 1321031 pt 6 - Include variation settings in moz2d recording stream when using the native Mac font backend. r=bas,jrmuizel 2017-01-06 16:35:12 +00:00
Lee Salzman a75c08150b Bug 1309205 - part 2 - provide NativeFontResourceFontconfig so that print_via_parent works on Linux. r=jfkthame
MozReview-Commit-ID: 94XcLKgwTPq
2017-01-04 14:01:12 -05:00
Lee Salzman 76a36eb027 Bug 1309205 - part 1 - allow querying FT_Library from gfxPlatform so that Moz2d Factory can use it. r=jfkthame
MozReview-Commit-ID: 7kxseOOVvWi
2017-01-04 14:00:17 -05:00
Milan Sreckovic da06a58ad6 Bug 1323625: The callers are using Factory::CheckSurfaceSize to guard against zero sized surfaces, so we'll remove the warning. r=rhunt
MozReview-Commit-ID: DzFUjTlXfeT
2016-12-15 10:32:10 -05:00
George Wright 5ad561e583 Bug 1318845 - Ensure we support DWrite fonts in the parent process when the GPU process is enabled r=Bas 2016-12-15 17:24:58 -05:00
Milan Sreckovic 7b4a528921 Bug 1313212 - Show the pointer value, not the string behind it in the debug statement. r=mchang 2016-11-29 17:04:59 -05:00
Ethan Lin 058101c26e Bug 1274692 - Remove CG limitation since the backend is skia. r=mstange 2016-10-20 02:14:00 +02:00
Milan Sreckovic c354fbb3eb Bug 1318007: When the surface is already allocated, just check for non-positive dimensions. r=aosmond
MozReview-Commit-ID: C0Fkq1SVO3s
2016-11-21 12:48:40 -05:00
Jonathan Watt 7b84d67178 Bug 1316322 - Make Factory::CreateNativeFontResource work for Skia. r=lsalzman 2016-10-31 16:27:19 +00:00
Jonathan Watt 49b88cdfb3 Bug 1309272, part 2 - Support the creation of a DrawTargetSkia for an SkCanvas. r=lsalzman 2016-10-26 19:23:07 +01:00
Wes Kocher 873ce6c0af Backed out 2 changesets (bug 1309200) for build bustage on a CLOSED TREE a=backout
Backed out changeset b5ad7d04ed43 (bug 1309200)
Backed out changeset 1563a66b64d8 (bug 1309200)
2016-10-28 10:22:47 -07:00
Nicolas Silva e8f67051c7 Bug 1309200 - Add gfx::Factory::GetDefaultSoftwareBackend. r=Bas 2016-10-28 18:27:37 +02:00
Lee Salzman 573ad867b8 Bug 1299435 - part 2 - fix Moz2d for Skia m55 update. r=mchang
MozReview-Commit-ID: 8jRzOaS5vqy
2016-10-24 22:40:59 -04:00
Wes Kocher 32cf0c6e78 Backed out 6 changesets (bug 1299435) for windows reftest failures a=backout
Backed out changeset 0d587a1cab8f (bug 1299435)
Backed out changeset 3ab9d3cb13aa (bug 1299435)
Backed out changeset 1ed742f88f49 (bug 1299435)
Backed out changeset 51ad497c7ac2 (bug 1299435)
Backed out changeset 06ca6acef0a2 (bug 1299435)
Backed out changeset ebd4625e101a (bug 1299435)
2016-10-24 16:45:46 -07:00
Lee Salzman 9cb5712f09 Bug 1299435 - part 2 - fix Moz2d for Skia m55 update. r=mchang
MozReview-Commit-ID: 8jRzOaS5vqy
2016-10-24 15:22:20 -04:00
Mason Chang f88b60fb0f Bug 1258751: Delete the CoreGraphics backend. r=mstange 2016-10-18 23:22:44 -04:00
David Anderson 92eaa84c7b Move ownership of LogForwarder to Moz2D. (bug 1310397, r=mattwoodrow) 2016-10-15 13:04:00 -07:00
Mason Chang 57d426dfb5 Bug 1309917 - Stop defaulting to system wide default fonts if no IDWriteFont exists. r=jfkthame 2016-10-12 15:53:04 -07:00
Mason Chang 1bcb585cf7 Bug 1299903. Force GDI Classic rendering for specific fonts with skia on windows. r=lsalzman 2016-09-16 12:25:42 -07:00
Haik Aftandilian 9ce574b913 Bug 1228022 - part 1 - Support replay of Mac print stream, adds NativeFontResourceMac, ScaledFontMac::GetCairoFontFace; r=jfkthame
Adds the necessary plumbing to allow Mac font creation and
referencing during replay of a remote print stream.

MozReview-Commit-ID: 18jpeImPwCI
2016-09-15 14:13:57 -07:00
Milan Sreckovic 1240930501 Bug 1299164: Part 2. Use BufferSizeFromDimensions method, as well as some of the others that check for valid size. r=bas 2016-09-15 10:36:21 -04:00
Mason Chang d3521a3ac5 Bug 1300025. Use embedded bitmaps in CJK fonts with skia on Windows. r=lsalzman 2016-09-08 09:34:10 -07:00
Wes Kocher 8fc42c8ae3 Backed out 2 changesets (bug 1299164) for win vm bc4 bustage a=backout
Backed out changeset 53dc795121e1 (bug 1299164)
Backed out changeset c39ec15e7e21 (bug 1299164)
2016-09-02 11:38:22 -07:00
Milan Sreckovic 0fa3761f67 Bug 1299164: Part 2. Use BufferSizeFromDimensions method, as well as some of the others that check for valid size. r=bas
MozReview-Commit-ID: FLBV5Aex3ga
2016-09-01 15:31:16 -04:00
Milan Sreckovic e871a21d1e Bug 1296731: Add parameter to GetAlignedStride and check for overflow. r=bas
MozReview-Commit-ID: 5Ptm0bxwKdG
2016-08-25 13:57:39 -04:00
David Anderson 94ab79aaf4 Add the 2D content backend to gfxVars. (bug 1288259 part 4, r=jrmuizel) 2016-08-04 11:33:44 -07:00
Mason Chang 899577a719 Bug 1279063. Part 3: Memset RGBX surfaces to 0xFF in Factory::CreateDataSourceSurface. r=lsalzman 2016-07-25 16:36:36 -07:00
Lee Salzman c97ea2caa9 Bug 1287552 - part 4 - add ScaledFontFontconfig to remember generating FcPattern. r=jrmuizel
MozReview-Commit-ID: AbWjvL5IWCN
2016-07-20 15:07:11 -04:00
David Anderson 8521bf7fa0 Remove PreferenceAccess. (bug 1280822 part 3, r=milan) 2016-06-26 23:33:18 -07:00
Wes Kocher e8a95e7b8e Backed out 4 changesets (bug 1280822) for leaking nsTArray_base
Backed out changeset b9a0567cd7c1 (bug 1280822)
Backed out changeset 93d483583ffa (bug 1280822)
Backed out changeset 91715d8e468f (bug 1280822)
Backed out changeset 3db77f57cef4 (bug 1280822)
2016-06-24 14:43:41 -07:00
David Anderson 11da78df04 Remove PreferenceAccess. (bug 1280822 part 3, r=milan) 2016-06-24 16:16:34 -07:00
Jonathan Watt c9ecb4bafc Bug 1279628, part 1 - Add the CoreGraphics check from gfxASurface::CheckSurfaceSize to Factory::CheckSurfaceSize. r=mstange 2016-06-10 13:32:01 +01:00
Phil Ringnalda 8c9ca22137 Back out 2 changesets (bug 1279628) for reftest bustage
CLOSED TREE

Backed out changeset 07e4432bd6b3 (bug 1279628)
Backed out changeset 416fa9aeec55 (bug 1279628)
2016-06-11 00:44:51 -07:00
Jonathan Watt 0e281e262a Bug 1279628, part 1 - Add the CoreGraphics check from gfxASurface::CheckSurfaceSize to Factory::CheckSurfaceSize. r=mstange 2016-06-09 15:31:24 +01:00
Jeff Muizelaar 05ca57d5a7 Bug 1113828: Returning null is an expected property of this function and gfxPlatform::CreateDrawTargetForData() uses this. Removing this message prevents us from printing a bunch of messages during the normal usage of a debug build. r=bschouten 2016-05-19 10:10:55 -04:00
JerryShih 5d084a7534 Bug 1256572 - setup custom deallocator for SourceSurfaceRawData. r=bas 2016-05-10 20:44:00 +02:00
Chris Peterson f2c6fc2786 Bug 1266292 - Remove unnecessary compiler checks for MSVS 2010 in gfx/2d/. r=bas 2016-04-18 22:48:31 -07:00
Lee Salzman 36a4d72c93 Bug 1259810 - check that D2D1 device creation succeeds and otherwise fall to software backend. r=bas.schouten 2016-03-28 12:53:42 -04:00
Lee Salzman b59321e42b Bug 1257939 - initialize BGRX alpha channel to opaque when clearing and ignore uninitialized alpha in texture clients. r=mchang 2016-03-18 16:58:55 -04:00
Bas Schouten 658c1983c6 Bug 1247775 - Part 3: Remove Moz2D code to support Direct2D 1.0. r=dvander
MozReview-Commit-ID: KBZSqIdx0OC
2016-02-13 14:33:28 +01:00
Carsten "Tomcat" Book e9a0a9a41c Backed out changeset 8e13ba75bccf (bug 1247775) 2016-02-12 08:49:28 +01:00