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
Sushil Chauhan
cbbdf4f1a5
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
93503c5410
Bug 1075136 - backout the commit
2014-10-02 06:45:02 -07:00
Kartikaya Gupta
3b2421c388
Bug 1076915 - Ensure that PostDelayedTask is always called on the controller thread. r=botond
2014-10-03 09:29:49 -04:00
Nick Lebedev
eb08238087
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
97ffb8ffb7
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
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
Kartikaya Gupta
0cfbaa97c5
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
77e82458f5
Bug 1043859 - Expose the APZC overscroll transform as a separate function. r=botond
2014-10-01 17:49:31 -04:00
Kartikaya Gupta
e9a17a651f
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
f4aae2ef5e
Bug 1048108 - Don't require alpha on ANGLE. - r=kamidphish
2014-10-01 17:05:34 -07:00
Jeff Gilbert
149d30b424
Bug 1048108 - Actually iterate through configs. - r=kamidphish
2014-10-01 17:05:33 -07: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
Botond Ballo
01c366bafc
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
91f5c62793
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
8f2a3963e4
Bug 1075621: Support Direct2D 1.1 for ScaledFontDWrite::CopyGlyphsToBuilder. r=jrmuizel
2014-10-01 19:50:24 +02:00
Kartikaya Gupta
937969f83c
Bug 1074944 - Update APZ code to use Matrix4x4::Inverse() where possible. r=nical
2014-10-01 13:13:05 -04:00
Kartikaya Gupta
ed98d7c059
Bug 1074944 - Add Inverse functions on Matrix and Matrix4x4. r=Bas
2014-10-01 13:13:02 -04:00
Sotaro Ikeda
3777979c62
Bug 1075136 - Initialize TileClient::mCompositableClient correctly r=nical
2014-10-01 07:16:32 -07:00
Jacek Caban
afaed46fb3
Bug 1057331 - mingw fixup (const char16_t*/char16ptr_t mismatch).
2014-10-01 10:58:57 +02:00
Jeff Muizelaar
05d4c288be
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
39403ad7cb
Merge m-c to inbound a=merge
2014-09-30 17:10:24 -07:00
Wes Kocher
69e56bd2f8
Merge b2g-inbound to m-c a=merge
2014-09-30 16:42:03 -07:00
Jeff Muizelaar
6e8d0fadde
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
b7f8573ab0
Bug 1074974 - Make HelpersD2D.h's CreateStrokeStyleForOptions more robust. r=Bas
2014-09-30 18:07:49 +01:00
Nicolas Silva
04226da85c
Bug 1072877 - Ensure OOP transactions can't use memory backed tile locks. r=bjacob
2014-09-30 18:30:23 +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
Jeff Muizelaar
52d76c7560
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
a598fa8ed3
Bug 1073727 - Fix bustage.
2014-09-30 14:08:18 +02:00
Markus Stange
9582f8800c
Bug 1073727 - Make OverscrollHandoffState::mPanDistance non-negative during OS X APZ panning. r=botond
2014-09-30 13:51:37 +02:00
Markus Stange
345bbcdd42
Bug 1073230 - Address Jeff's review comments from bug 1011166 comment 60. r=jrmuizel
2014-09-30 13:51:09 +02:00
Jonathan Kew
840d8b0fd5
Bug 1065002 pt 2 - Add an orientation field to nsFontMetrics. r=jdaggett
2014-09-30 07:38:35 +01: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
0b55343996
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
28bf18759d
Bug 1067588 - Don't use source clipping if the draw won't resample. r=Bas
2014-09-30 13:20:35 +13: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
Chris Lord
90f77b66fd
Bug 1006797 - Only apply the window render offset when actually rendering to the window. r=nical
...
--HG--
extra : rebase_source : 24f2d8c50e5c0ddfa6683291040a78574d631678
2014-10-03 13:22:32 +13:00
Matt Woodrow
588349bc87
Bug 1075616 - Do partial uploads of non-D2D SourceSurfaces when we have a sampling rect. r=Bas
...
--HG--
extra : rebase_source : d08b5d3d515484ebc0f8a3be774d66c3b881a8d4
2014-09-24 13:23:15 -04:00
Carsten "Tomcat" Book
50deec9dbd
Merge m-c to b2g-inbound
2014-09-30 15:42:26 +02:00
Ryan VanderMeulen
592c23fb6e
Merge m-c to b2g-inbound. a=merge
2014-09-29 16:02:35 -04:00
Kartikaya Gupta
c9ddb533f4
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
a6cf46ecc9
Backed out changeset 318fa507832d (bug 1073086)
2014-09-29 17:42:34 +01:00
Daniel Holbert
fa4545efef
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
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
Sotaro Ikeda
982854387c
Bug 1073862 - Remove RemoveTextureFromCompositableTracker usage for back buffer removal r=nical
2014-09-29 07:18:25 -07: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
d33b953b3f
Bug 1073960 - Mark DrawTarget::GetFormat() as const. r=Bas
2014-09-29 14:15:18 +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
bfcf3238cc
Bug 1073363, part 2 - Add a GeneralPattern class to Moz2D to solve the problem of writing general pattern creating functions. 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
Nicolas Silva
71b5f35d99
Bug 1061713 - Don't crash release builds if a D3D TextureClient is unlocked without being locked. r=Bas
2014-09-29 11:24:54 +02:00
Wes Kocher
64e89669a6
Backed out changeset b5705fbed44f (bug 1070722) for reftest orange on a CLOSED TREE
2014-09-26 14:29:46 -07:00
Matt Woodrow
fa88132850
Bug 1070722 - Use the imagelib high quality downscaler on OSX instead of the quartz one. r=jrmuizel
...
--HG--
extra : rebase_source : 53c205cfc8af95be28d0878248b04e9872910651
2014-09-26 15:05:14 -04:00
Nicolas Silva
e207fcc8fd
Bug 1054581 - Have all compositor backends behave consistently when creating a zero-sized intermediate render target. r=jrmuizel
2014-09-26 15:02:35 -04:00
Markus Stange
abdabfe784
Bug 1073103 - SReplace 'Thebes' with 'Painted' in some more places. r=roc
2014-09-26 13:07:06 -04:00
Markus Stange
131bfce4c5
Bug 1073103 - Rename ThebesLayer to PaintedLayer. r=roc
...
--HG--
rename : gfx/layers/basic/BasicThebesLayer.cpp => gfx/layers/basic/BasicPaintedLayer.cpp
rename : gfx/layers/basic/BasicThebesLayer.h => gfx/layers/basic/BasicPaintedLayer.h
rename : gfx/layers/client/ClientThebesLayer.cpp => gfx/layers/client/ClientPaintedLayer.cpp
rename : gfx/layers/client/ClientThebesLayer.h => gfx/layers/client/ClientPaintedLayer.h
rename : gfx/layers/client/ClientTiledThebesLayer.cpp => gfx/layers/client/ClientTiledPaintedLayer.cpp
rename : gfx/layers/client/ClientTiledThebesLayer.h => gfx/layers/client/ClientTiledPaintedLayer.h
rename : gfx/layers/composite/ThebesLayerComposite.cpp => gfx/layers/composite/PaintedLayerComposite.cpp
rename : gfx/layers/composite/ThebesLayerComposite.h => gfx/layers/composite/PaintedLayerComposite.h
rename : gfx/layers/d3d10/ThebesLayerD3D10.cpp => gfx/layers/d3d10/PaintedLayerD3D10.cpp
rename : gfx/layers/d3d10/ThebesLayerD3D10.h => gfx/layers/d3d10/PaintedLayerD3D10.h
rename : gfx/layers/d3d9/ThebesLayerD3D9.cpp => gfx/layers/d3d9/PaintedLayerD3D9.cpp
rename : gfx/layers/d3d9/ThebesLayerD3D9.h => gfx/layers/d3d9/PaintedLayerD3D9.h
2014-09-26 13:06:08 -04:00
Nicolas Silva
44f409cd2d
Bug 1072491 - Make GrallocTextureHost more robust against some invalid states. r=sotaro
2014-09-26 10:32:59 -04:00
Sotaro Ikeda
cef74266f4
Bug 1017351 - Handle Sharing GrallocTextureHostOGL among ImageHosts r=nical
2014-09-26 04:30:11 -07: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
Dan Glastonbury
3f6740fe9b
Bug 1048747 - WebGL2 - GL symbols for GetIntegeri_v and GetInteger64i_v.; r=jgilbert
...
--HG--
extra : rebase_source : d4c5a1a6e4a5c6f772a4f69c2ff3edab50d0d6e4
extra : source : 9929d6519682ca1b0dac4e7390349a2254d711c5
2014-05-27 20:21:30 +10:00
Wes Kocher
896634e61a
Backed out 2 changesets (bug 1048108) for b2g build bustage
...
Backed out changeset dc8fac10012d (bug 1048108)
Backed out changeset 5da1e1c4c706 (bug 1048108)
2014-09-25 16:33:28 -07:00
Jeff Gilbert
845ea8ac87
Bug 1048108 - ANGLE's BGRX should be like GL_BGR8. - r=kamidphish
2014-09-25 16:00:43 -07:00
Jeff Gilbert
c406262aef
Bug 1048108 - Actually iterate through configs. - r=kamidphish
2014-09-25 16:00:43 -07:00
Markus Stange
b5ca8fb0bb
Bug 983241 - Allow filterNodeSoftware->SetInput(*, nullptr) in order to drop reference to input surface / filter. r=Bas
2014-09-25 15:19:28 -04:00
Markus Stange
bc25984738
Bug 983574 - When setting a SourceSurface input on a FilterNodeD2D1, delay the conversion to ID2D1Image until the actual DrawFilter call. r=Bas
2014-09-25 15:18:29 -04:00
Kartikaya Gupta
7f4b94f99c
Bug 973105 - Add a test to verify that new input blocks flush APZ repaint requests. r=botond
2014-09-25 13:46:34 -04:00
Kartikaya Gupta
8192a0dd8b
Bug 973105 - Force flushing of repaint requests before processing touchstart events. r=botond
2014-09-25 13:46:33 -04:00
Jim Chen
cde51fcc7b
Bug 1067018 - Make sure calloc/malloc/free usages match in Tools.h; r=jwatt
2014-09-25 13:08:23 -04:00
Jeff Muizelaar
67573bc01e
Bug 1073039. Change uniform workaround to use raw gl. r=mstange
...
Bug 1073036 is changing the way we track shader state. Making
this use raw gl instead of Activate() allows CompositorOGL
to remain ignorant of it.
--HG--
extra : rebase_source : ed7e98b35b3fb7c7ea902ee921e09f9cf620b245
2014-09-24 15:06:09 -04:00
Jeff Muizelaar
805235c469
Bug 1072930. Remove accidentally added .orig files.
2014-09-25 11:39:45 -04:00
Dan Glastonbury
05f0ddca7a
Bug 1048741 - WebGL2 - GL symbols for texture storage.; r=jgilbert
2014-09-23 15:49:19 +10: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
Jeff Gilbert
0cfe76c68c
Bug 1048108 - Exclude RGBA configs when alpha:false. - r=kamidphish
2014-09-24 16:42:27 -07:00
Markus Stange
91bc96aa11
Bug 1072533 - Remove gfxASurface::GetDefaultContextFlags(). r=jwatt
2014-09-24 17:16:54 -04:00
Kartikaya Gupta
6f0e19fa99
Bug 1030181 - Follow-up to fix typo. r=me DONTBUILD
2014-09-24 13:57:44 -04:00
Nicolas Silva
5dc44835f0
Bug 1072411 - Remove useless format convertion code in ImageClient. r=jrmuizel
2014-09-24 13:50:28 -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
Sotaro Ikeda
8f29162a26
Bug 1061435 - Set timeout to fClientWaitSync() r=nical
2014-09-24 07:00:19 -07:00