Commit Graph

17269 Commits

Author SHA1 Message Date
Sotaro Ikeda
9316615ce2 Bug 1075136 - backout the commit 2014-10-02 06:45:02 -07:00
Matt Woodrow
8a4adcbe04 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
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
Kartikaya Gupta
583aaba49b Bug 1043859 - Fix the code to remove the async transform from scrollbar layers that are descendants of their content. r=botond 2014-10-01 17:49:31 -04:00
Kartikaya Gupta
7f4534b1c1 Bug 1043859 - Expose the APZC overscroll transform as a separate function. r=botond 2014-10-01 17:49:31 -04:00
Kartikaya Gupta
bb0fbe8d1b Bug 1068571 - Clear velocity on touch-end even if in the NOTHING state. r=botond 2014-10-01 17:49:30 -04:00
Jeff Gilbert
6108ef9a33 Bug 1048108 - Don't require alpha on ANGLE. - r=kamidphish 2014-10-01 17:05:34 -07:00
Jeff Gilbert
162c30369f Bug 1048108 - Actually iterate through configs. - r=kamidphish 2014-10-01 17:05:33 -07: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
Botond Ballo
4fe50667ac Bug 1073618 - When starting a snap-back after a fling, only consider APZCs along the handoff chain from the flinging APZC onwards. r=kats 2014-10-01 13:26:37 -04:00
Bas Schouten
34e15d49a4 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
8c1ed00969 Bug 1075621: Support Direct2D 1.1 for ScaledFontDWrite::CopyGlyphsToBuilder. r=jrmuizel 2014-10-01 19:50:24 +02:00
Kartikaya Gupta
2a13eb6ad0 Bug 1074944 - Update APZ code to use Matrix4x4::Inverse() where possible. r=nical 2014-10-01 13:13:05 -04:00
Kartikaya Gupta
6636444d56 Bug 1074944 - Add Inverse functions on Matrix and Matrix4x4. r=Bas 2014-10-01 13:13:02 -04:00
Sotaro Ikeda
eacbaf0a37 Bug 1075136 - Initialize TileClient::mCompositableClient correctly r=nical 2014-10-01 07:16:32 -07:00
Jacek Caban
0bba571624 Bug 1057331 - mingw fixup (const char16_t*/char16ptr_t mismatch). 2014-10-01 10:58:57 +02:00
Jeff Muizelaar
a6e2d3180f Bug 1074615. Remove DRAW_SNAPPED. r=mwoodrow
This doesn't seem to be necessary and doesn't really make sense to me. This
will help us moving region clipping into Moz2D

--HG--
extra : rebase_source : 4a5987ce2a95eaba44a69233d1b7f461f5ec16ea
2014-10-01 01:25:25 -04:00
Wes Kocher
4d9a345155 Merge m-c to inbound a=merge 2014-09-30 17:10:24 -07:00
Wes Kocher
9e83c932d2 Merge b2g-inbound to m-c a=merge 2014-09-30 16:42:03 -07:00
Jeff Muizelaar
ef58f4304f Bug 1066664. Fix screenshot rotation. r=mwoodrow
This moves the screenshot (now-nonexistent) unrotation code from the opengl
compositor into ClientLayerManager.cpp
2014-09-30 16:20:48 -04:00
Jonathan Watt
f5f620a8d2 Bug 1074974 - Make HelpersD2D.h's CreateStrokeStyleForOptions more robust. r=Bas 2014-09-30 18:07:49 +01:00
Nicolas Silva
e381d1456d Bug 1072877 - Ensure OOP transactions can't use memory backed tile locks. r=bjacob 2014-09-30 18:30:23 +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
Jeff Muizelaar
b07d2488db Bug 1071241. Call ComputeRotation before TransformShadowTree. r=mwoodrow
This is need so that the rotation transform is available at
transform time. Without this rotation is delayed a frame.
2014-09-30 10:07:05 -04:00
Markus Stange
6bb9f1c44a Bug 1073727 - Fix bustage. 2014-09-30 14:08:18 +02:00
Markus Stange
ea666229c7 Bug 1073727 - Make OverscrollHandoffState::mPanDistance non-negative during OS X APZ panning. r=botond 2014-09-30 13:51:37 +02:00
Markus Stange
db1eb67770 Bug 1073230 - Address Jeff's review comments from bug 1011166 comment 60. r=jrmuizel 2014-09-30 13:51:09 +02:00
Jonathan Kew
4a06c41b0a Bug 1065002 pt 2 - Add an orientation field to nsFontMetrics. r=jdaggett 2014-09-30 07:38:35 +01: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
fcd996d937 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
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
Carsten "Tomcat" Book
4b13350a83 Merge m-c to b2g-inbound 2014-09-30 15:42:26 +02:00
Ryan VanderMeulen
b8a1aced00 Merge m-c to b2g-inbound. a=merge 2014-09-29 16:02:35 -04:00
Kartikaya Gupta
9a0197a401 Bug 1070993 - Allow for sub-app-unit rounding error when deciding if an APZ is checkerboarding or not. r=botond 2014-09-29 13:33:15 -04:00
Ed Morley
fad1e475af Backed out changeset 318fa507832d (bug 1073086) 2014-09-29 17:42:34 +01:00
Daniel Holbert
ec62208fdf 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
Jeff Muizelaar
5e0dbe7d22 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