Commit Graph

17289 Commits

Author SHA1 Message Date
Jonathan Watt
2e4b869e2e Bug 1077544 - Add a GetBackendType() method to PathBuilder. r=Bas 2014-10-04 12:13:29 +01: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 Kew
b8f41a1322 Bug 1064737 pt 1 - Enable WOFF2 support in OTS. r=jdaggett 2014-10-04 10:05:14 +01:00
Kartikaya Gupta
ab6a6fe5ab Bug 1063168 - Fix some incorrect debug printf format specifiers. r=botond 2014-10-03 13:39:38 -04:00
Kartikaya Gupta
cfd776f2f8 Bug 1063138 - Don't forward move events from the GEL to the APZC when two fingers are down but the pinch hasn't been activated. r=botond 2014-10-03 13:39:37 -04:00
Kartikaya Gupta
282f0f98b2 Bug 1074401 - Ensure that the repaint request is always dispatched from the APZ on the main thread. r=botond 2014-10-03 13:39:37 -04:00
Nicolas Silva
02b75fbdaf Bug 1073113 - make D3D11 image layers double buffered. r=mattwoodrow 2014-10-03 11:25:07 +02:00
Neil Rashbrook
1a05d7aaf8 Bug 1053652 - Cannot open include file: 'dwrite_1.h'. r=gw280
Imports/Transplants upstream https://codereview.chromium.org/552383002/
2014-10-03 01:54:23 -04:00
Ed Morley
8c0d5a673b Merge mozilla-central and inbound 2014-10-03 15:14:53 +01:00
Ed Morley
a5ebac277a Merge latest green b2g-inbound changeset and mozilla-central; a=merge 2014-10-03 14:29:24 +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
Sushil Chauhan
acab5ad5f9 Bug 1074099 - Use GetLocalTransform api in LayerTreeInvalidation class. r=mattwoodrow
--HG--
extra : rebase_source : 80970410b49552e61c0cf76d7953fdd825029bb4
2014-10-01 11:04:19 -07:00
Sotaro Ikeda
9316615ce2 Bug 1075136 - backout the commit 2014-10-02 06:45:02 -07:00
Kartikaya Gupta
86bc862d58 Bug 1076915 - Ensure that PostDelayedTask is always called on the controller thread. r=botond 2014-10-03 09:29:49 -04:00
Nick Lebedev
89be467df3 Bug 947892. Add dispatching of the tap event when the tap is followed by multiple touches. r=botond 2014-10-03 09:24:56 -04: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