Commit Graph

4274 Commits

Author SHA1 Message Date
Chris Jones
cc1383c2fc Bug 1082902 - Make it possible to have GL debugging in release builds. r=jgilbert 2014-10-14 18:24:53 -07:00
Chris Jones
54281ff17a 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
23c257776c 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
0e773b6fc0 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
953853c7bd 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
cd9122458b Bug 1078262 - Only use the fixed epsilon for the translation components. r=roc 2014-10-16 12:37:09 +02:00
Jonathan Watt
b411165881 Bug 1082553 - Remove gfxContext::OriginalSurface. r=Bas 2014-10-16 10:51:13 +01:00
Jonathan Watt
c5b87ba504 Bug 1082518 - Get rid of some unused gfxContext flags. r=Bas 2014-10-16 10:51:13 +01:00
Carsten "Tomcat" Book
a20685ff2b Backed out changeset 1abddb50ed34 (bug 1081867) for bustage on a CLOSED TREE 2014-10-16 11:42:11 +02:00
Jonathan Kew
1428512193 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
067dd6c32b Bug 1082167 - don't leak featurelookups within InputsForOpenTypeFeature. r=jfkthame 2014-10-15 08:38:03 +09:00
Jonathan Kew
6fea005a92 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
ca024fe34c 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
b2782ecfb8 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
9f13f71594 Bug 1079321 - Fix some more bad implicit constructors in gfx; r=jrmuizel 2014-09-24 09:16:53 -04:00
Eric Rahm
7fffd05532 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
8d715a7fe4 Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan 2014-10-08 13:17:32 -07:00
Jonathan Kew
c765f6c3f8 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
0c5e86e0fc Backed out changeset 1632a36342d4 (bug 1074735) 2014-10-08 13:06:56 +02:00
Jonathan Kew
5194872bdc 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
ba5793c229 Bug 1077805 - Remove the gfxContext methods PointInFill and PointInStroke. r=Bas 2014-10-08 04:43:03 +01:00
Vladimir Vukicevic
a5902d45bc 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
445e1466e9 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
53a247fb00 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
80d2b8bba6 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
bb8507bc95 Bug 1077120 - Remove gfxContext::HasError(). r=Bas 2014-10-04 12:13:29 +01:00
Jonathan Watt
b67826333d 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
21fd93a194 Bug 1064737 pt 3 - Read metadata from a WOFF2 font if present. r=jdaggett 2014-10-04 11:46:54 +01:00
Jonathan Kew
0d2cfaf334 Bug 1064737 pt 2 - Support for WOFF2 as a webfont format. r=jdaggett 2014-10-04 11:36:05 +01:00
Jonathan Watt
3790732f9a 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
409fe287eb 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
103bb77e68 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
d045185df5 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
f5bcec5617 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
4649da6d47 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
f5f01b6fc2 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
934e56f8da 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
e46d88166d Bug 902762 pt 3 - Make DrawPartialLigature aware of vertical runs. r=jdaggett 2014-10-01 20:25:49 +01:00
Jonathan Kew
7e8dfb9a44 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
b2c88c5dfe 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
0bba571624 Bug 1057331 - mingw fixup (const char16_t*/char16ptr_t mismatch). 2014-10-01 10:58:57 +02:00
Bas Schouten
20ab143e76 Bug 1074272: Use exception mode 0 for our D3D11 devices. r=jrmuizel 2014-09-30 17:51:09 +02:00
Jeff Muizelaar
673f3a21d4 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
c5e1a54d59 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
af4fdc577c 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
55f3a61af3 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
87cc3a2642 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
05fe9a0d0c Bug 1070722 - Backout accidental inclusions in a4ae53da4fe6 2014-09-30 16:12:28 +13:00
Matt Woodrow
492e380aa7 Bug 1070722 - Fix reftest annotation for OSX 10.6 2014-09-30 15:26:40 +13:00
Matt Woodrow
17d41ed59f Bug 1067588 - Don't use source clipping if the draw won't resample. r=Bas 2014-09-30 13:20:35 +13:00