Mason Chang
4d2515e824
Bug 1101974. Part 2: Initialize vsync source during compositor creation. r=mstange
2014-11-21 09:16:19 -08: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
Jonathan Watt
63ffb25058
Bug 1100448 - Protect against null cairo_surface_t when getting the underlying surface from DrawTargetCairo. r=Bas
2014-11-17 21:41:41 +00: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
Markus Stange
87a2c79250
Bug 1101195 - Update imgData vector length after reading into it. r=jwatt
2014-11-19 11:51:47 -05:00
Milan Sreckovic
867c20e622
Bug 1074952 - Part 5. Let the CrashReporter decide what threading combination is allowed. r=nsilva
2014-11-13 14:52:05 -05:00
Milan Sreckovic
d8d778d935
Bug 1074952 - Part 4. For the critical log, save the first, then circular buffer the rest into the crash annotations. r=bas
2014-11-17 17:16:55 -05: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
Jeff Muizelaar
2e91f43b73
Bug 1092260. Use PREVENT_INTERNAL_THREADING_OPTIMIZATIONS with D3D11. r=bas
...
Using this seems to avoid the AMD frame delay bug.
--HG--
extra : rebase_source : 1b867ebfef30d1c1a426c7510591770f362d2b28
2014-11-18 17:29:57 -05:00
Mason Chang
a549f6a91c
bug 552020 Part 1: Hook into CVDisplayLink to get vsync events on OSX. r=benwa,mstange
2014-11-18 13:28:42 -08:00
Sid Stamm
2189922ce8
Bug 704320 - Add referrer policy support to stylesheet and CSS loads and fonts. (r=bz)
2014-11-18 08:46:47 -05:00
Jeff Muizelaar
6514be6291
Bug 1088414. Backout "Use a single synchronized texture for d3d11"
...
https://hg.mozilla.org/mozilla-central/rev/e2efedec2d60
2014-11-17 14:20:05 -05:00
Jonathan Kew
0df56b5464
Bug 1097615 - Add MOZ_OVERRIDE annotations to subclasses of gfxFont. r=jdaggett
2014-11-17 09:59:50 +00:00
Jonathan Kew
8949117378
Bug 1089787 - Get glyph widths via Core Text for fonts with embedded color bitmaps. r=jdaggett
2014-11-17 09:59:49 +00:00
John Daggett
0bfe6c37e0
Bug 1100221 - eliminate unused GetOrMakeFont for Android. r=m_kato
2014-11-17 16:48:51 +09:00
George Wright
c1cc8c3af6
Bug 1042291 - Add a CanvasDrawObserver which observes the first few seconds/frames of a Canvas2D's lifetime to determine using a heuristic if it should be software or GPU backed. r=gw280, r=snorp
2014-09-10 16:15:43 -04:00
Matt Woodrow
a543eacc24
Bug 1088414. Use a single synchronized texture for d3d11. r=bas,f=jrmuizel
...
Calling AcquireSync on textures created with
D3D11_RESOURCE_MISC_SHARED_KEYEDMUTEX appears to be really slow, this really
bites us with the number of textures involved when tiling.
I've also tested using ID3D11Query to check when work is completed, this also
appears to be pretty slow.
This instead just uses a single texture with a keyedmutex, and makes sure we
draw to it last and lock it first. It's pretty hacky, but seems to work really
well so far.
--HG--
extra : rebase_source : bf5f56751f993e507fcd1e5c386fb1fc9a3f73af
2014-10-22 15:37:00 +13:00
Jeff Muizelaar
0579846e7e
Bug 1098389. Remove ClipToRegionSnapped. r=roc
...
We don't use this anymore.
--HG--
extra : rebase_source : 918eaa73f653962dccbfe6efdad69203ba041ef3
2014-11-14 10:46:02 -05:00
Mason Chang
1a25033767
Bug 1085512 - Improve touch resampling heuristics. r=mwu
2014-11-11 15:39:00 +01:00
Benoit Girard
48140f14fe
Bug 1094442 - Part 2: Adjust tile size to the stride of the gralloc buffers. r=kats
...
--HG--
extra : rebase_source : d3386ee007d6429b81aa6d3ffe6c518fb67c7d6a
2014-11-12 17:55:13 -05:00
Benoit Girard
8a1c4934f8
Bug 1094442 - Part 1: Refactor how tile w/h is queried r=kats
...
--HG--
extra : rebase_source : 70ef00318a718e2ce3149955d2908615d6125cf3
2014-11-12 17:54:29 -05:00
Jonathan Kew
05381c64c7
Bug 1093553 - Improve handling of line-height metrics, block ascent, etc., in vertical writing mode. r=smontagu
2014-11-13 08:58:06 +00:00
Jonathan Kew
70f0d0c0ca
Bug 1090168 - part 1 - Make textBaseline attribute in <canvas> work for vertical text. r=jdaggett
2014-11-13 08:58:04 +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
ffc65e20a8
Bug 1097803: Report succesful Direct2D 1.1 usage. r=jrmuizel
2014-11-12 18:44:31 +00:00
Benoit Jacob
fc6fa1ba2e
Bug 1095575 - DoesD3D11DeviceWork() should be overridable by force-enable prefs - r=bas
2014-11-12 11:48:01 -05:00
Michael Wu
b1eff34262
Bug 1082827: Allow D2D 1.1 to be selected for the canvas backend. r=bas
2014-11-12 15:05:14 +00:00
Seth Fowler
f72fd5c619
Bug 1071217 - Explicitly initialize the image module from gfxPlatform::Init. r=bas
...
--HG--
extra : rebase_source : c4c96ff051347dd85e053669533bd00d6120c75a
2014-11-11 17:28:50 -08:00
Jonathan Watt
788f36f152
Bug 1093811 - Convert the gfxFont::GetGlyphWidth() virtual method to take a Moz2D DrawTarget instead of a Thebes gfxContext. r=jfkthame
2014-11-10 21:41:41 +00:00
Jonathan Watt
34c0ce8374
Bug 1093813 - Remove the gfxContext argument from gfxHarfBuzzShaper's GetGlyphHAdvance, GetGlyphVAdvance and GetGlyphVOrigin methods. r=jfkthame
2014-11-10 21:41:41 +00:00
Jonathan Watt
60cc7c1240
Bug 1093806 - Convert DCFromContext to DCFromDrawTarget. r=Bas
2014-11-10 21:41:40 +00:00
Jeff Muizelaar
62c082d454
Bug 1021265. Fix DisplayLink version expansion code. r=Bas,a=lawrence
...
GFX_DRIVER_VERSION(8,6,..) expands to 8.0006....
but ParseVersion(8.6,...) gives 8.5000...
This was an unfortunate error. Having better static typing
of versions would have helped here.
--HG--
extra : rebase_source : 8eb9fc7d337a017b350e6ef1935f99fd4383114d
2014-11-10 16:11:42 -05:00
Wes Kocher
28083a633b
Backed out changeset dc2e15a7df8d (bug 1096535) for bustage on a CLOSED TREE
2014-11-10 12:53:34 -08:00
Jeff Muizelaar
30949640a4
Bug 1096535. Add more DisplayLink logging. r=bas
...
--HG--
extra : rebase_source : 6569641159d6e89abcbf677b38df449333714db3
2014-11-10 15:18:10 -05:00
John Daggett
5699ac21ba
Bug 1096140 - clean out unused Linux font code. r=m_kato
2014-11-10 15:18:33 +09:00
Xidorn Quan
94a70d28bc
Bug 1063857 - Improve selecting on justified characters. r=roc
2014-11-10 12:25:09 +11:00
Kartikaya Gupta
985540ecef
Bug 1072093 - Support progressive-paint on OS X 10.7 or later. r=BenWa
2014-11-07 14:17:14 -05:00
Chris Jones
7423b7af77
Bug 1082902 - Add mozilla_dump_image() helper exported from libxul. r=jrmuizel
2014-11-07 13:55:01 +01:00
John Daggett
2bf063af98
Bug 475891 - support unicode-range when matching userfonts (non-linux). r=jfkthame
2014-11-06 13:42:50 +09:00
Benoit Jacob
ace8bc5c38
Bug 1093863 - Blacklist D3D on dual Intel/AMD not advertised as such in the registry - r=jrmuizel CLOSED TREE
2014-11-05 17:43:33 -05:00
Jacek Caban
603ea385c9
Bug 1092151 - Don't use dllimport/dllexport for OTS in non-shared gkmedias builds. r=glandium
2014-11-05 11:27:13 +01:00
Jonathan Watt
4358a27d3c
Bug 1093066 - Get rid of gfxContext's Stroke() methods. r=mattwoodrow
2014-11-05 09:16:37 +00:00
Benoit Jacob
655a37a8b5
Bug 1021265 - Add AppNotes about blacklisting DisplayLink - r=jrmuizel
2014-11-04 18:17:11 -05:00
Benoit Jacob
83e8f4aa9c
Bug 1021265 - Fix bustage - no review on a CLOSED TREE
2014-11-04 14:47:15 -05:00
Benoit Jacob
1de8627850
Bug 1021265 - regard d3d11 as broken with displaylink on versions <= 8.6.1.36484, and fall back to basic layers - r=jrmuizel
2014-11-03 17:55:00 -05:00
Jonathan Watt
15a8e15ca2
Bug 1092222, part 1 - Get rid of gfxContext::GraphicsLineCap and gfxContext::GraphicsLineJoin. r=roc
2014-11-03 10:01:57 +00:00
Jonathan Watt
b6d9ac1ea0
Bug 1091787, part 3 - Remove gfxContext::RoundedRectangle. r=mattwoodrow
2014-11-02 15:41:08 +00:00
Jonathan Watt
d62793fbe9
Bug 1091794 - Replace gfxCornerSizes with Moz2D's RectCornerRadii. r=mattwoodrow
2014-11-01 10:45:10 +00:00
Botond Ballo
11bd5dec9f
Bug 1066888 - Overscroll physics improvements. r=kats
...
This patch unifies the physics governing the overscroll phase of a fling
with the snap-back animation. The unified physics are spring-based, like the
physics governing the snap-back animation before, except we allow for
oscillations.
2014-10-31 12:06:31 -04:00
Jonathan Watt
1900e01f89
Bug 1090614 follow-up to add back the Clip() change. r=mattwoodrow
2014-10-31 11:26:28 +00:00
Jonathan Watt
6c6fb725bd
Bug 1076910 - Add some error checks to gfxUtils::EncodeSourceSurface. r=Bas
2014-10-31 11:16:45 +00:00
Ryan VanderMeulen
0a8c23019a
Merge inbound to m-c. a=merge
2014-10-30 16:03:53 -04:00
Carsten "Tomcat" Book
e91fd8b26b
Merge mozilla-central to b2g-inbound
2014-10-30 15:51:48 +01:00
Kartikaya Gupta
b514d384b4
Bug 1091049 - Add fling curving to accelerate fast flicks. r=botond
2014-10-30 10:38:10 -04:00
Carsten "Tomcat" Book
e057d3d8be
merge mozilla-inbound to mozilla-central a=merge
2014-10-30 14:45:37 +01:00
Jonathan Watt
75e42e9882
Bug 1090494, part 2 - Convert the consumers of AppendRoundedRectToPath and MakePathForRoundedRect to use the new RectCornerRadii API. r=mattwoodrow
2014-10-30 09:34:10 +00:00
Mason Chang
2cc9b57012
bug 1083530. Part 2 Refactor GeckoTouchDispacher to use mozilla::Timestamp instead of nsecs_t. r=mwu
2014-10-29 13:37:06 -07:00
Jonathan Watt
57cd590733
Bug 1088753 - Remove gfxContext::NewSubPath(). r=Bas
2014-10-29 01:59:36 +00:00
Jonathan Watt
820a329e8a
Bug 1089397 - Port the code that uses gfxContextPathAutoSaveRestore to Moz2D. r=mattwoodrow
2014-10-28 14:40:51 +00:00
Jonathan Watt
5e7fdbe4f0
Bug 1089177, part 2 - Port gfxFontMissingGlyphs to Moz2D. r=mattwoodrow
2014-10-28 14:40:42 +00:00
Jonathan Watt
99eeb78806
Bug 1089177, part 1 - Expose PatternFromState to help with Moz2D porting. r=mattwoodrow
2014-10-28 14:40:39 +00:00
Benoit Jacob
afdef4dd16
Bug 1089413 - Only test resource sharing on d3d feature level >= 10. r=jmuizelaar, a=sledru
2014-10-27 10:36:00 -04:00
Benoit Jacob
f5615284a4
Bug 1083071 - Avoid touching D3D11 at all, even to test if it works, if D3D11 layers are blacklisted. r=Bas, r=jmuizelaar
2014-10-26 18:46:09 -04:00
Ryan VanderMeulen
a1c483ddd9
Backed out changeset 4d4abe4bee7f (bug 1083071) for bustage.
2014-10-26 18:44:40 -04:00
Benoit Jacob
718ce6f277
Bug 1083071 - Avoid touching D3D11 at all, even to test if it works, if D3D11 layers are blacklisted. r=Bas, r=jmuizelaar
2014-10-26 08:01:00 -04:00
Jonathan Watt
39d2df737b
Bug 1085321 - Remove gfxContext::Arc/NegativeArc. r=Bas
2014-10-26 17:57:49 +00:00
Carsten "Tomcat" Book
8c95f6f49f
Merge mozilla-central to mozilla-inbound
2014-10-30 15:13:45 +01:00
Jonathan Kew
5dcf74040e
Bug 1090869 - Don't collect output glyphs when checking for features involving <space>. r=jdaggett
2014-10-30 09:54:22 +00:00
Markus Stange
dc285f3c81
Bug 1055634 - Propagate font smoothing background colors to layers. r=roc
2014-10-24 18:32:23 +02:00
Jonathan Watt
fda24039d1
Bug 1087685 - Port gfxQuartzNativeDrawing to Moz2D. r=mattwoodrow
2014-10-24 08:26:27 +01:00
Jonathan Watt
91e2775110
Bug 1087568 - Port the code that uses gfxContext::PixelSnappedRectangleAndSetPattern to Moz2D. r=mattwoodrow
2014-10-24 08:26:27 +01:00
Jeff Muizelaar
ee753b9268
Bug 1083071 - Disable D3D11 and D3D9 layers on broken drivers. r=bjacob
...
This will hopefully prevent black screen problems that people are seeing.
2014-10-23 00:15:22 -04:00
Ryan VanderMeulen
fedaf93339
Backed out changeset 2b05d4e71d11 (bug 1083071) for Win7 mochitest-1 leaks.
2014-10-23 12:53:13 -04:00
Jeff Muizelaar
0712bcef0e
Bug 1083071. Disable D3D11 and D3D9 layers on broken drivers.
...
This will hopefully prevent black screen problems that people are seeing.
--HG--
extra : rebase_source : 8ba080a4a9a81a1124020cd5ed5395bf262c5d4a
2014-10-22 21:38:18 -04:00
Benoit Girard
1053b52442
Bug 1087848 - Fix bustage when building without MOZ_ENABLE_PROFILER_SPS. r=trivial
2014-10-23 00:18:21 -04:00
Benoit Girard
746681fb3d
Bug 737967 - Add simple platform GPU Profiling based on GL_TIME_ELAPSED_EXT. r=ehsan,jgilbert
2014-05-24 16:14:14 +00:00
Mason Chang
7ede915870
Bug 1048667. Skeleton vsync framework and vsync aligned compositor. r=benwa,roc
2014-10-21 15:40:54 -07:00
James Willcox
4ccc75ddae
Bug 1014614 - Rename nsSurfaceTexture to AndroidSurfaceTexture r=jgilbert
...
--HG--
extra : rebase_source : 4f148d8a0c2f9ec2d939f9d9939dab897b435bef
2014-10-21 08:53:00 -05:00
Jonathan Watt
ee86633d81
Bug 1085160 - Port the code that uses nsRenderingContext::IntersectClip() to Moz2D. r=mattwoodrow
...
--HG--
extra : rebase_source : 54226509a1b16efdc76f92f202cc2be07cf43ab4
2014-10-20 10:55:48 +01:00
Mason Chang
1357580d25
Bug 1069037 - Prevent touch events from piling up on the main thread. r=mwu
2014-10-16 14:02:00 +02:00
Jonathan Watt
11148b3ba7
Bug 1082530, part 3 - Get rid of gfxContext::FLAG_DISABLE_SNAPPING and use DrawTarget UserData to store information on whether to disable pixel snapping. r=mattwoodrow
2014-10-19 10:22:47 +01:00
Wes Kocher
7c26086f75
Backed out 9 changesets (bug 1014614) for Android mochitest bustage on a CLOSED TREE
...
Backed out changeset 40f99ba7f616 (bug 1014614)
Backed out changeset 8fbc3c85adfc (bug 1014614)
Backed out changeset 40dbd7c6ce65 (bug 1014614)
Backed out changeset f2b504bdd7c5 (bug 1014614)
Backed out changeset c878e29fbef9 (bug 1014614)
Backed out changeset 511dcc817f5d (bug 1014614)
Backed out changeset 2b72e71f1fdf (bug 1014614)
Backed out changeset 8b530a9a2f99 (bug 1014614)
Backed out changeset 7fa1b78de684 (bug 1014614)
2014-10-17 16:34:01 -07:00
James Willcox
a531707288
Bug 1014614 - Rename nsSurfaceTexture to AndroidSurfaceTexture r=jgilbert
...
--HG--
extra : rebase_source : 70d12286eb15808a4a540bae0d6785e560e97b29
2014-10-17 10:35:10 -05:00
Jonathan Watt
9c302586c3
Bug 1084093, part 3 - Use the new ToDeviceColor() function to undo the breakage to gfx.color_management.mode=1 (eCMSMode_All) caused by the Moz2D porting work. r=Bas
2014-10-17 12:53:16 +01:00
Jonathan Watt
5124645354
Bug 1084093, part 2 - Convert gfxPlatform::TransformPixel to Moz2D, and move gfxPlatform::MaybeTransformColor to ToDeviceColor in gfxUtils.h. r=Bas
2014-10-17 12:53:15 +01:00
John Daggett
0e18b0145b
Bug 1083599 - fixup small problem with userfont logging. r=m_kato
2014-10-17 09:15:29 +09:00
Christoph Kerschbaumer
ed75e86d14
Bug 1063197 - Callsites of NS_NewInputStreamChannel in /gfx/ (r=roc)
2014-10-16 11:15:40 -07:00
Chris Jones
de5f508ff3
Bug 1082902 - Make it possible to have GL debugging in release builds. r=jgilbert
2014-10-14 18:24:53 -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
Chris Jones
1715538fe3
Bug 1082895 - Don't use gralloc surfaces when layers.gralloc.disable is set. r=mattwoodrow
2014-10-14 18:30:13 -07:00
Jonathan Kew
acd271ded7
Bug 1081867 - Convert textrun metrics to physical coordinates before merging with visual-overflow region. r=smontagu
2014-10-16 09:40:19 +01:00
Jonathan Watt
438e3b7acc
Bug 1083221 - Port the code that uses nsRenderingContext::DrawEllipse/FillEllipse and gfxContext::Ellipse to Moz2D. r=mattwoodrow
2014-10-16 12:03:44 +01: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
Jonathan Watt
fcd7b735f1
Bug 1082553 - Remove gfxContext::OriginalSurface. r=Bas
2014-10-16 10:51:13 +01:00
Jonathan Watt
a5420c0df6
Bug 1082518 - Get rid of some unused gfxContext flags. r=Bas
2014-10-16 10:51:13 +01:00
Carsten "Tomcat" Book
e98d3a9fb7
Backed out changeset 1abddb50ed34 (bug 1081867) for bustage on a CLOSED TREE
2014-10-16 11:42:11 +02:00
Jonathan Kew
7630381bcf
Bug 1081867 - Convert textrun metrics to physical coordinates before merging with visual-overflow region. r=smontagu
2014-10-16 09:40:19 +01:00
John Daggett
220a0635dc
Bug 1082167 - don't leak featurelookups within InputsForOpenTypeFeature. r=jfkthame
2014-10-15 08:38:03 +09:00
Jonathan Kew
2ba2c95409
Bug 1082083 - Apply division to the y-coordinate only, not to the point as a whole. r=jdaggett
2014-10-14 20:56:08 +01:00
Jonathan Kew
defda3061f
Bug 1074809 - For OTS warning (rather than failure) messages, only log the first occurrence of any given message per font. r=jdaggett
2014-10-10 14:50:52 +01:00
Jonathan Kew
b9a1569585
Bug 1074223 - Update OTS to pick up fixes for upstream issues 35, 37. Current rev: c24a839b1c66c4de09e58fabaacb82bf3bd692a4. r=jdaggett
2014-10-09 08:43:30 +01:00
Ehsan Akhgari
fdf237f791
Bug 1079321 - Fix some more bad implicit constructors in gfx; r=jrmuizel
2014-09-24 09:16:53 -04:00
Eric Rahm
96050f224f
Bug 806819 - Part 4: Add files that were excluded from unified builds back in. r=ehsan
2014-10-08 13:19:14 -07:00
Eric Rahm
f6bb65afb3
Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan
2014-10-08 13:17:32 -07:00
Jonathan Kew
ace92f1b69
Bug 1074735 pt 1 - Use more sensible values for underline and strikeout position in vertical font metrics. r=smontagu
2014-10-08 10:32:53 +01:00
Carsten "Tomcat" Book
c87c4c518a
Backed out changeset 1632a36342d4 (bug 1074735)
2014-10-08 13:06:56 +02:00
Jonathan Kew
5d4361c177
Bug 1074735 pt 1 - Use more sensible values for underline and strikeout position in vertical font metrics. r=smontagu
2014-10-08 10:32:53 +01:00
Jonathan Watt
ca2db0fc5d
Bug 1077805 - Remove the gfxContext methods PointInFill and PointInStroke. r=Bas
2014-10-08 04:43:03 +01:00
Vladimir Vukicevic
6714de3f8e
Bug 912196. Add support for ANGLE D3D11 path. r=jgilbert
...
There are currently problems with the color format chosen
which breaks MSAA resolution. But we might as well land this
now.
--HG--
extra : rebase_source : 1287e5c059e263d03b0d612ce5cf17e93bc5b033
2014-04-03 13:29:22 +08:00
Wes Kocher
5d7f3c7007
Backed out 5 changesets (bug 806819) for WinXP test failures on a CLOSED TREE
...
Backed out changeset 009ae35b0c67 (bug 806819)
Backed out changeset 5a57f87f5061 (bug 806819)
Backed out changeset f06cd735b5b3 (bug 806819)
Backed out changeset e25a2a8d4af4 (bug 806819)
Backed out changeset 70a167982c3f (bug 806819)
2014-10-06 16:32:50 -07:00
Eric Rahm
e523216532
Bug 806819 - Part 4: Add files that were excluded from unified builds back in. r=ehsan
...
--HG--
extra : rebase_source : 49a3f57d94fc94702f1604175c4e206091b67197
2014-10-06 13:11:24 -07:00
Eric Rahm
baf96b6e07
Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan
...
--HG--
extra : rebase_source : c96eea1c12ea8c19314393f0e8b4b57a4316a61d
2014-10-06 13:08:20 -07:00
Jonathan Watt
2e51cb3a0f
Bug 1077120 - Remove gfxContext::HasError(). r=Bas
2014-10-04 12:13:29 +01:00
Jonathan Watt
c8a1b987fc
Bug 1077119 - Remove the gfxContext methods for getting various types of path extents. r=Bas
2014-10-04 12:13:29 +01:00
Jonathan Kew
afcc21f7fa
Bug 1064737 pt 3 - Read metadata from a WOFF2 font if present. r=jdaggett
2014-10-04 11:46:54 +01:00
Jonathan Kew
1b4072d000
Bug 1064737 pt 2 - Support for WOFF2 as a webfont format. r=jdaggett
2014-10-04 11:36:05 +01:00
Jonathan Watt
44557c7208
Bug 1074194 - Factor out gfxContext::SetColor()'s color management conversion into a gfxPlatform helper. r=Bas
2014-10-03 09:50:42 +01:00
Matt Woodrow
c22ac086c3
Bug 1067588 - Don't draw images with a sampling rect if the rect covers the entire image. r=Bas
...
--HG--
extra : rebase_source : 1c6aebe49a6168953413f60d97d8d53135298e77
2014-10-03 13:49:08 +13:00
Cameron McCormack
86a29bc786
Bug 1028497 - Part 25: Support loading of fonts from ArrayBuffer{,View}s. r=bzbarsky,jdaggett
2014-10-02 12:32:09 +10:00
Cameron McCormack
05b2c9ef9c
Bug 1028497 - Part 14: Rename some methods to talk about UserFontEntry instead of FontFace. r=jdaggett
...
How that we have a class named "FontFace", it's a bit confusing for some
of the gfxUserFontSet methods to have "FontFace" in their names, so I'm
renaming them to mention "UserFontEntry" instead.
2014-10-02 12:32:07 +10:00
Cameron McCormack
1449ebdb0a
Bug 1028497 - Part 9: Implement FontFace.status. r=jdaggett
...
We make gfxUserFontEntry::SetLoadState virtual so that we can hook into
changes and update FontFace::mStatus. We can't just reflect the
gfxUserFontEntry's value in FontFace::Status() since the spec has
requirements about when exactly the status is set.
2014-10-02 12:32:06 +10:00
Cameron McCormack
7b8f969720
Bug 1028497 - Part 6: Have a FontFace::Entry class extending gfxUserFontEntry that can inform the FontFaceSet about loading. r=jdaggett
...
We can't make FontFace inherit from gfxUserFontEntry, since the former
is cycle collected. So instead, we have a small class that inherits
from it that will override its virtual methods and forward things on to
the FontFace object.
We make gfxUserFontSet::CreateFontFace virtual so we can override it to
produce instances of our gfxUserFontEntry subclass.
2014-10-02 12:32:06 +10:00
Cameron McCormack
1ab9074459
Bug 1028497 - Part 4: Move the nsUserFontSet object into FontFaceSet. r=jdaggett
...
This (a) moves ownership of the gfxUserFontSet into FontFaceSet, (b) moves
nearly all of the functionality of nsUserFontSet into FontFaceSet, and (c)
adds a class that inherits from gfxUserFontSet so that we can override some
of its virtual functions and delegate them to the FontFaceSet.
2014-10-02 12:32:05 +10:00
Jonathan Kew
ab0dd64695
Bug 902762 pt 4 - Support for orientation:sideways-right when drawing vertical textruns. r=jdaggett
2014-10-01 20:25:49 +01:00
Jonathan Kew
3d50298059
Bug 902762 pt 3 - Make DrawPartialLigature aware of vertical runs. r=jdaggett
2014-10-01 20:25:49 +01:00
Jonathan Kew
de65ac10da
Bug 902762 pt 2 - Support for vertical textruns and fonts through gfxTextRun::Draw. r=jdaggett
2014-10-01 20:25:48 +01:00
Jonathan Kew
315fe696fe
Bug 902762 pt 1 - Pass a 'vertical' flag to font shapers, and support vertical shaping through harfbuzz. r=jdaggett
2014-10-01 20:25:48 +01:00
Jacek Caban
afaed46fb3
Bug 1057331 - mingw fixup (const char16_t*/char16ptr_t mismatch).
2014-10-01 10:58:57 +02:00
Bas Schouten
b7069da61a
Bug 1074272: Use exception mode 0 for our D3D11 devices. r=jrmuizel
2014-09-30 17:51:09 +02:00
Jeff Muizelaar
a21377d891
Bug 1073086. Remove broken snapping code. r=mwoodrow
...
We generate a Rect from integers and then round them to do the snapping.
- Rect rect(r->x, r->y, r->width, r->height);
-
- rect.Round();
This accomplishes nothing.
Just rip it out.
--HG--
extra : rebase_source : 3194652ca83f2e66ae1cbd02573ab86c444bd2fb
2014-09-25 14:01:10 -04:00
Jonathan Kew
9407713a2b
Bug 1065002 pt 1.3 - Add an Orientation parameter to gfxFont::GetMetrics and dispatch to horizontal or vertical as needed. r=jdaggett
2014-09-30 07:38:26 +01:00
Jonathan Kew
cbdf2b8244
Bug 1065002 pt 1.2 - Add CreateVerticalMetrics to gfxFont, to read/synthesize metrics for vertical layout. r=jdaggett
2014-09-30 07:38:06 +01:00
Jonathan Kew
08e2504e53
Bug 1065002 pt 1.1 - Rename gfxFont::GetMetrics to GetHorizontalMetrics, and add a GetMetrics wrapper to access it. r=jdaggett
2014-09-30 07:37:40 +01:00
Jonathan Kew
21d25f9507
Bug 727276 - Use emoji-style variation selector to help GetCommonFallbackFonts make an appropriate choice. r=roc
2014-09-30 07:27:55 +01:00
Matt Woodrow
8f4b4f5ec3
Bug 1070722 - Backout accidental inclusions in a4ae53da4fe6
2014-09-30 16:12:28 +13:00
Matt Woodrow
8b99f454e7
Bug 1070722 - Fix reftest annotation for OSX 10.6
2014-09-30 15:26:40 +13:00
Matt Woodrow
28bf18759d
Bug 1067588 - Don't use source clipping if the draw won't resample. r=Bas
2014-09-30 13:20:35 +13:00
Ed Morley
a6cf46ecc9
Backed out changeset 318fa507832d (bug 1073086)
2014-09-29 17:42:34 +01:00
Jeff Muizelaar
91bc7be99d
Bug 1073086. Remove broken snapping code. r=mwoodrow
...
We generate a Rect from integers and then round them to do the snapping.
- Rect rect(r->x, r->y, r->width, r->height);
-
- rect.Round();
This accomplishes nothing.
Just rip it out.
--HG--
extra : rebase_source : 620d4c9b4e6951e42441db336de2badb69c4a39c
2014-09-25 14:01:10 -04:00
Jonathan Watt
8345574117
Bug 1074012, part 2 - Mark gfxPattern::GetPattern's DrawTarget parameter as const. r=Bas
2014-09-29 14:26:15 +01:00
Jonathan Watt
5debeae954
Bug 1074012, part 1 - Temporarily expose some gfxContext fill/stroke API to help with porting to Moz2D. r=Bas
2014-09-29 14:26:15 +01:00
Jonathan Watt
5cc9353fbd
Bug 1073972
- Get rid of gfxContext's FillRule enum in favor of Moz2D's. r=Bas
2014-09-29 14:15:19 +01:00
Jonathan Watt
9ee5dc4050
Bug 1073964 - Pass a const DrawTarget* through to nsSVGPaintServerFrame::GetPaintServerPattern so that it can create a pattern of the appropriate type. r=Bas
2014-09-29 14:15:19 +01:00
Jonathan Watt
e6d7a3300f
Bug 1073363, part 3 - Convert some Mozilla code to use Moz2D's new GeneralPattern class. r=Bas
2014-09-29 14:12:06 +01:00
Jonathan Watt
bd299b4b21
Bug 1073363, part 1 - Rename gfxContext's GeneralPattern to PatternFromState. r=Bas
2014-09-29 14:12:05 +01:00
Henri Sivonen
2342d13717
Bug 964225 addendum - Adjust gfx to use Encoding Standard encoding names when decoding the names of legacy Chinese Mac fonts. r=emk.
2014-09-29 15:05:15 +03:00
Markus Stange
abdabfe784
Bug 1073103 - SReplace 'Thebes' with 'Painted' in some more places. r=roc
2014-09-26 13:07:06 -04:00
Jonathan Kew
d47bb541a6
Bug 923007 - Check for unexpected font substitution during Core Text shaping, and fall back to harfbuzz if this occurs. r=jdaggett
2014-09-26 09:20:20 +01:00
Kartikaya Gupta
6aea3474d4
Bug 1073024 - Make a pref to control building event regions. r=roc
2014-09-26 02:44:34 -04:00
John Daggett
6fb8e38803
Bug 998869 part 5 - lazily load userfonts (non-linux). r=jfkthame
2014-09-25 12:16:54 +09:00
John Daggett
b08eeaabee
Bug 998869 part 4 - rename fontgroup methods. r=heycam
2014-09-25 12:16:54 +09:00
John Daggett
ec86ee2a35
Bug 998869 part 3 - rename userfont class methods. r=heycam
2014-09-25 12:16:53 +09:00
John Daggett
8d40c31973
Bug 998869 part 2 - switch to GetFontAt(0) to GetFirstValidFont(). r=jfkthame
2014-09-25 12:16:53 +09:00
John Daggett
4346fec693
Bug 998869 part 1 - build fontlist more lazily (non-linux). r=jfkthame
2014-09-25 12:16:52 +09:00
Markus Stange
91bc96aa11
Bug 1072533 - Remove gfxASurface::GetDefaultContextFlags(). r=jwatt
2014-09-24 17:16:54 -04:00
Bas Schouten
e225e93649
Bug 1072404: Firefox may crash when the D3D device is removed while rendering. r=mattwoodrow
2014-09-24 17:12:10 +00:00
Milan Sreckovic
d7d75e21f2
Bug 1068784 - Since the tiling is now not a simple pref choices, but it depends on some platform specific criteria, stop using the pref directly, and always use gfxPlatform::UseTiling instead. r=mwoodrow
2014-09-17 13:55:23 -04:00
Milan Sreckovic
a5497821d4
Bug 980036 - Move image prefs to gfxPrefs. r=seth
2014-09-22 17:30:20 -04:00
Nicolas Silva
053427c423
Bug 1066139 - Put stereo video behind a pref (off by default). r=Bas
2014-09-23 17:57:14 -04:00
Nicolas Silva
d1b829ea88
Bug 1071825 - Remove simple tiling code. r=mattwoodrow
2014-09-23 17:44:48 -04:00
Georg Fritzsche
8bee7684a2
Bug 1067989 - Unify some more binary search uses. r=waldo
2014-09-17 15:46:24 +02:00
Botond Ballo
500737115d
Bug 1062483 - Make the overscroll effect harder to trigger accidentally. r=kats
...
--HG--
rename : gfx/layers/apz/src/OverscrollHandoffChain.cpp => gfx/layers/apz/src/OverscrollHandoffState.cpp
rename : gfx/layers/apz/src/OverscrollHandoffChain.h => gfx/layers/apz/src/OverscrollHandoffState.h
extra : rebase_source : 155c68fcd76c5f1e7a4e57818d238908bc8eb3c2
2014-09-23 11:38:05 -04:00
Matt Woodrow
c22a53a4ed
Bug 1067311 - Don't crash if a gfxSurfaceDrawable failed to allocate a SourceSurface. r=Bas
2014-09-22 16:49:40 -04:00
Henri Sivonen
80c69719d3
Bug 1069954 - Remove us-ascii as a Gecko-canonical encoding name. r=emk.
2014-09-22 16:15:34 +03:00
Christoph Kerschbaumer
0382bfbd36
Bug 1038756: Callsites creating a channel in /gfx/ (r=roc)
2014-09-21 09:45:49 -07:00
Jonathan Kew
353c631894
Bug 1067343 - Check that mAvailableFonts[i] is non-null before trying to use it. r=jdaggett
2014-09-18 10:48:00 +01:00
Bas Schouten
0fb1d83b18
Bug 1068613 - Addendum 4: Fix bustage due to stray character. r=bustage on a CLOSED TREE
2014-09-18 01:40:13 +02:00
Bas Schouten
50ffbf0899
Bug 1068613 - Addendum 3: Fix bustage due to stray character. r=bustage on a CLOSED TREE
2014-09-18 01:04:07 +02:00
Bas Schouten
2e768633ad
Bug 1068613 - Addendum: Fix bustage in ASAN builds. r=bustage on a CLOSED TREE
2014-09-18 00:25:23 +02:00
Ehsan Akhgari
6c76365ab1
Bug 1068193 - Use the correct return type for Factory::CreateWrappingDataSourceSurface; r=jrmuizel
2014-09-17 17:55:17 -04:00
Nicolas Silva
6c1d4fc37f
Bug 1068613 - Part 2: Add an ErrorReporter that appends the error to app notes in the crash report. r=bas
2014-09-17 23:23:08 +02:00
Robert Longson
919cdd6467
Bug 1068590 - gfxWindowsPlatform does not build on WinXP. r=bas
2014-09-17 18:35:00 +01:00
Jonathan Watt
1b3886f900
Bug 1067998 - Fix OOM crash in gfxAlphaBoxBlur::Init on large blur surface. r=Bas
2014-09-17 08:46:42 +01:00
Jonathan Kew
8a86870edc
bug 1057331 - add orientation flags to gfxShapedText/gfxTextRun and to glyph runs within the text run, and split glyph runs on orientation changes. r=jdaggett
2014-09-16 12:25:45 +01:00
Jonathan Kew
08babb6a11
bug 1066043 - split gfxFont.cpp and .h into more manageably-sized pieces. r=jdaggett
...
--HG--
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxFontEntry.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxFontEntry.h
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxGlyphExtents.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxGlyphExtents.h
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxTextRun.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxTextRun.h
2014-09-16 10:58:12 +01:00
Jonathan Watt
1457b8c01c
Bug 1067222 - Make the gfxPattern code much easier to understand (by giving variables meaningful names, adding comments, and integrating the mysterious AdjustTransformForPattern into gfxPattern::GetPattern). r=Bas
2014-09-15 16:24:03 +01:00
Jonathan Watt
7f41dd89c9
Bug 1067093 - Get rid of gfxContext::AntialiasMode in favor of Moz2D AntialiasMode. r=Bas
2014-09-15 12:10:30 +01:00
Seth Fowler
e215791292
Bug 1054079 (Part 1) - Add a way to check if it's safe to render content to data surfaces to gfxPlatform. r=mattwoodrow
2014-09-14 15:22:44 -07:00
Bas Schouten
2dcf343d5b
Bug 1066677: Pass on D2D 1.0 as a fallback when using D2D1.1. r=BenWa
2014-09-14 23:52:41 +02:00
Bas Schouten
733c7476d6
Bug 1066144: Accept D2D paths for D2D 1.1 backends. r=jrmuizel
2014-09-14 23:51:32 +02:00
Bas Schouten
32ec06172d
Bug 1060588: Use PushClipRect when possible in ClipToRegionInternal. r=jrmuizel
2014-09-14 23:51:30 +02:00
Matt Woodrow
b14244ee9a
Bug 1046550 - Part 3: Use Direct2D 1.1 when preffed on. r=bas
2014-09-14 23:51:27 +02:00
Bas Schouten
019c0468a9
Bug 1046550 - Part 1: Add content device to gfxWindowsPlatform. r=mattwoodrow
2014-09-14 23:51:27 +02:00
Matt Woodrow
a3b9ba5ec7
Bug 1054838, part 4 - Stop using the gfxASurface ctor for gfxPattern in gfxWindowsNativeDrawing. r=Bas
2014-09-14 10:58:56 +01:00
Matt Woodrow
2bc24e0445
Bug 1054838, part 3 - Convert gfxPattern to Moz2D. r=Bas
2014-09-14 10:58:56 +01:00
Matt Woodrow
e17c6e9c95
Bug 1054838, part 2 - Remove callers of DrawTarget::Mask. r=Bas,jwatt
2014-09-12 08:20:12 +01:00
Matt Woodrow
dfb3114c12
Bug 1054838, part 1 - Remove dead code supporting cairo_surface_t wrapping gfxPattern. r=Bas
2014-09-14 10:58:55 +01:00
Matt Woodrow
b981b9db8d
Bug 1044702 - Use Moz2D source clipping when we can. r=Bas
...
--HG--
extra : rebase_source : 24eb333909db5278ff1a8babf9b4b907650695fa
2014-09-12 17:18:21 +12:00
Sotaro Ikeda
806c030b54
Bug 1049251 - Partially disable SkiaGL on Low total system memory r=jrmuizel
2014-09-11 16:52:42 -07:00
Jonathan Watt
4c0a7bbbef
Bug 1064084, part 5 - Convert all consumers of gfxContext::NudgeCurrentMatrixToIntegers()/MultiplyAndNudgeToIntegers() to use gfxContext::SetMatrix(). r=Bas
2014-09-11 07:57:39 +01:00
Jonathan Watt
9bc0f0cdf3
Bug 1064084, part 4 - Convert all consumers of gfxContext::IdentityMatrix() to use gfxContext::SetMatrix(). r=Bas
2014-09-11 07:57:39 +01:00
Jonathan Watt
ba6a140a09
Bug 1064084, part 3 - Convert all consumers of gfxContext::Rotate() to use gfxContext::SetMatrix()/Multiply(). r=Bas
2014-09-11 07:57:38 +01:00
Jonathan Watt
1ae57ac8bf
Bug 1064084, part 2 - Convert all consumers of gfxContext::Scale() to use gfxContext::SetMatrix()/Multiply(). r=Bas
2014-09-11 07:57:38 +01:00
Jonathan Watt
fa8c7ec8a5
Bug 1064084, part 1 - Convert all consumers of gfxContext::Translate() to use gfxContext::SetMatrix()/Multiply(). r=Bas
2014-09-11 07:57:38 +01:00
Jonathan Watt
7d3142ed90
Bug 1065764, part 1 - Make gfxMatrix::NudgeToIntegers() return a reference. r=Bas
2014-09-11 01:46:19 +01:00
Jonathan Watt
3229c51d66
Bug 1065718 - Make gfxMatrix's Translate(), Scale() and Rotate() methods return a non-const reference. r=Bas
2014-09-11 01:45:04 +01:00
Jonathan Watt
68cd3d97ec
Bug 1065526, part 2 - Add a Copy() method to gfxMatrix. r=Bas
2014-09-10 21:41:51 +01:00
Felipe Gomes
3a6a843e37
Bug 1063848 - Disable e10s in safe mode. r=bsmedberg,ally.
2014-09-10 15:53:55 -03:00
Jonathan Watt
b3072839ca
Bug 1065031, part 2 - Changes to Moz2D consuming code to update callers of Moz2D Matrix's Translate, Scale and Rotate methods to use these methods' new names. r=Bas
2014-09-10 18:29:35 +01:00
Jonathan Watt
581078dcb7
Bug 1065127 - Avoid Matrix().Translate()/Scale()/Rotate() multiplication in lots of places. r=Bas
2014-09-10 14:26:12 +01:00