Alexis Beingessner
4c657ebe03
Bug 1400382 - Replace explicit TextDrawTarget passing with cast-based system. r=mstange
...
MozReview-Commit-ID: EQtFvLQCT2U
2017-09-21 15:15:58 -04:00
Mason Chang
178af9710d
Bug 1381973 - Lazily create the reference DT in DrawTargetCapture. r=dvander
2017-07-26 15:43:00 -07:00
Lee Salzman
783fb8994d
Bug 1383767 - guarantee FreeType thread-safety by holding Cairo per-face lock and locking down rasterization. r=jrmuizel
...
MozReview-Commit-ID: DuPRIUBgw4W
2017-07-26 23:24:44 -04:00
Carsten "Tomcat" Book
613177437b
Backed out changeset 22947e9aa292 (bug 1383767) for bustage
2017-07-27 08:20:41 +02:00
Lee Salzman
56242347ac
Bug 1383767 - guarantee FreeType thread-safety by holding Cairo per-face lock and locking down rasterization. r=jrmuizel
...
MozReview-Commit-ID: DuPRIUBgw4W
2017-07-26 23:24:44 -04:00
David Anderson
2a170a5abc
Protect D2D singletons with a mutex. (bug 1380922 part 2, r=mchang)
2017-07-18 12:15:44 -07:00
David Anderson
c91876eebc
Store and return D2D singletons in RefPtrs. (bug 1380922 part 1, r=mchang)
2017-07-18 12:15:39 -07:00
Lee Salzman
9680c7e138
Bug 1376026 - fix plumbing of DWrite parameters for Skia fonts to not depend on gfxPlatform. r=jrmuizel
...
MozReview-Commit-ID: 5K9201eCSv
2017-06-30 14:09:05 -04:00
Kartikaya Gupta
aed7dc4aa5
Bug 1378355 - Extract gfxPlatform wrappers for MaxAllocSize and MaxTextureSize. r=bas
...
This allows us to reuse the minimum bound guards on the pref values in other
places that want to use the prefs.
MozReview-Commit-ID: 7XKuM5u1GB8
2017-07-10 10:15:24 -04:00
Jeff Muizelaar
53fab784f3
Bug 1362245. Stop running commands during recording for BlobImage. r=lsalzman
...
This keeps around mFinalDT but mostly doesn't use it (except for when creating
a PathBuilder). All playback is ripped out and we'll no longer hold references
to things to mFinalDT::GraidentStops or SourceSurfaces etc.
2017-06-12 17:53:21 -04:00
Jeff Muizelaar
fb2f684d18
Bug 1369552. Split out DrawTargetWrapAndRecord and DrawTargetRecording. r=Bas
...
DrawTargetRecording will stop playing back durin recording.
2017-06-12 16:52:29 -04:00
Lee Salzman
cea20a49e3
Bug 1365935 - add Moz2D Factory methods for making an FT_Library. r=jrmuizel
...
MozReview-Commit-ID: 7gQuVrl38aT
2017-05-18 13:16:06 -04:00
Lee Salzman
bf8af9e1bb
Bug 1364628 - give each webrender blob image renderer thread its own thread-local FT_Library to work around unsafe FT_Face rasterization/metrics calls. r=jrmuizel
...
MozReview-Commit-ID: 5sJznRRV3bq
2017-05-17 21:56:58 -04:00
Lee Salzman
eca3956cf5
Bug 1364628 - implement thread-safe variants of FT_New_Face/FT_Done_Face. r=jrmuizel
...
MozReview-Commit-ID: 6xbOm2nYhXo
2017-05-17 21:56:24 -04:00
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