Commit Graph

11231 Commits

Author SHA1 Message Date
Ehsan Akhgari
6fbf90c4a8 Bug 1034927 - Mention the size of the pointer explicitly in order to work around a clang-cl bug; r=jrmuizel
This works around http://llvm.org/PR20216.
2014-07-07 22:45:37 -04:00
Kartikaya Gupta
1aadf3f804 Bug 1035228 - Refactor FrameMetrics logging so that it's all in one place. r=BenWa 2014-07-07 15:48:16 -04:00
Nicolas Silva
cc8c53aa9b Bug 1019000 - Ensure that successfully write-locked D3D TextureClients provide a valid DrawTarget. r=mattwoodrow 2014-07-04 10:26:14 +02:00
Boris Chiou
48e3a702de Bug 975346 - Part 2: Support LayerScope for HwcComposer2D. r=dglastonbury
1. Retrieve buffer from GPU.
2. Refactor - use SenderHelper class to manage the Sender
   static function structure.
2014-07-03 01:17:00 +02:00
Boris Chiou
c900095227 Bug 975346 - Part 1: General functions for Effects. r=dglastonbury
1. Support GenEffectChain() for LayerComposite.
   Each layer can use this API to gen the
   EffectChain (only primary effect now)
2. Support GenEffect() for CompositableHost.
3. Move AutoLock to compositeHost.
2014-06-22 19:06:00 +02:00
Ryan VanderMeulen
7189c91e41 Backed out 10 changesets (bug 1033358, bug 774388, bug 1028383) for causing frequent shutdown crashes on a CLOSED TREE.
Backed out changeset a54b05c9e4a1 (bug 1028383)
Backed out changeset 37985f79e0c2 (bug 774388)
Backed out changeset d07521729077 (bug 774388)
Backed out changeset 9f14b17f358c (bug 774388)
Backed out changeset 2d347d6aa9bc (bug 774388)
Backed out changeset 99581dfb5ec4 (bug 774388)
Backed out changeset 2532e22d6135 (bug 774388)
Backed out changeset 719844108f1a (bug 774388)
Backed out changeset 7829c78348a4 (bug 1033358)
Backed out changeset c571df9a85de (bug 1033358)
2014-07-03 20:37:05 -04:00
Ryan VanderMeulen
a3ef412a3f Backed out changeset 3f079d36c620 (bug 1034257) for non-unified bustage. 2014-07-03 20:36:14 -04:00
George Wright
64261a1019 Bug 1034257 - Implement CreateSourceSurfaceForNativeSurface for Cairo surface types, to enable Xlib surfaces to be drawn properly when using Skia content rendering r=jrmuizel 2014-07-03 17:06:48 -04:00
Kartikaya Gupta
34aa55fd73 Bug 1033398 - Ensure we request composites while overscroll is being reduced by touch input. r=drs 2014-07-03 18:26:04 -04:00
Kartikaya Gupta
90a225a24d Bug 1027851 - Ensure the displayport size always includes the danger zone. r=Cwiiis 2014-07-03 18:26:03 -04:00
Kartikaya Gupta
7c84621594 Bug 1027851 - Add some more logging for when we abort paints. r=Cwiiis 2014-07-03 18:26:03 -04:00
Benoit Jacob
671c7873ea Bug 774388 - Patch 11: Use a plain RunnableFunction to release the ImageBridgeParent singleton - r=mattwoodrow 2014-07-03 14:53:34 -04:00
Benoit Jacob
f699a51e21 Bug 774388 - Patch 10: destroy the ImageBridgeChild singleton on the main thread (and sprinkle some assertions) - r=mattwoodrow 2014-07-03 14:53:32 -04:00
Benoit Jacob
9a085aa41f Bug 774388 - Patch 9: Introduce NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_MAIN_THREAD_DESTRUCTION - r=mattwoodrow 2014-07-03 14:53:31 -04:00
Benoit Jacob
a88b8b44ad Bug 774388 - Patch 8: Avoid a deadlock between shutdown of CompositorParent and of CompositorThreadHolder - r=mattwoodrow 2014-07-03 14:53:29 -04:00
Benoit Jacob
ada1f420aa Bug 774388 - Patch 7: Block the main thread on compositor shutdown - r=mattwoodrow 2014-07-03 14:53:28 -04:00
Benoit Jacob
f0b8964459 Bug 774388 - Patch 5: Wait for [CrossProcess]CompositorParent's to be gone before we tear down the compositor thread - r=mattwoodrow 2014-07-03 14:53:27 -04:00
Frédéric Wang
76e083af64 Bug 961365 - Part 1: Add helper functions to access MATH constants and use them to get the AxisHeight. r=jfkthame 2014-07-01 23:29:00 -04:00
Jeff Muizelaar
14e6ed99b5 Bug 1032328. cairo: Don't use __FUNCTION__ as a string literal.
This was upstreamed as 550385fb004e6064305518cf265adc03bd2d0c0b
2014-06-30 14:26:03 -04:00
Kartikaya Gupta
e2bb6330dc Bug 1030245 - When dumping the layers dump, ensure up to 1024 characters of each line in the dump is output. r=BenWa 2014-07-03 09:09:24 -04:00
Jeff Gilbert
d220b95c03 Bug 1033124 - Use correct and more precise coeffs for YCbCr->RGB conversion. - r=mattwoodrow,r=bas 2014-07-02 17:48:18 -07:00
Sotaro Ikeda
d5b07e3b7a Bug 1032364 - Change gralloc buffer's key to 64bit r=jmuizelaar 2014-07-02 14:45:59 -07:00
Walter Litwinczyk
f3a8550e6e Bug 1004375 - Removed use of legacy skia compatible device API - r=gw280 2014-06-24 15:35:07 -07:00
Benoit Girard
91578ecf84 Bug 1027362 - Remove the old basic frame counter. r=jrmuizel 2014-07-02 16:38:40 -04:00
Walter Litwinczyk
324cfd1c23 Bug 701948 - Rename nsIGfxInfo::FEATURE_NO_INFO to nsIGfxInfo::FEATURE_STATUS_OK. r=jgilbert 2014-07-01 14:44:09 -07:00
Mike Hommey
3ebd9bcf37 Bug 1031267 - Fix system cairo builds after bug 1027763. r=jwatt,a=kwierso 2014-07-02 09:15:51 +09:00
Carsten "Tomcat" Book
80e160fdca merge mozilla-inbound to mozilla-central a=merge 2014-07-01 14:01:21 +02:00
Matt Woodrow
7bbf06ccef Bug 997304 - Copy the image data if it's not a suitable size for cairo. r=Bas 2014-07-01 17:52:51 +12:00
Carsten "Tomcat" Book
60d3fd7a77 Backed out changeset c9c8c4ae8e0f (bug 997304) for bustage on a CLOSED TREE 2014-07-01 08:12:19 +02:00
Matt Woodrow
6ebed97672 Bug 997304 - Copy the image data if it's not a suitable size for cairo. r=Bas 2014-07-01 17:52:51 +12:00
Bas Schouten
77a9c3bb05 Bug 997304: Allow reading back A8 source surfaces. r=mattwoodrow 2014-07-01 17:52:49 +12:00
Sotaro Ikeda
b82cf1d388 Bug 1031527 - remove dup fd from ParamTraits<MagicGrallocBufferHandle>::Read() r=jrmuizel 2014-06-30 16:36:52 -07:00
Jeff Gilbert
b7315c889d Bug 1030934 - Handle a null-frame update. - r=bas 2014-06-30 15:09:55 -07:00
Sotaro Ikeda
8e0f02b8a0 Bug 1029856 - Call glClear() before blit composition r= Sushil 2014-06-30 13:01:24 -07:00
Jonathan Kew
bcc0b79d39 bug 1030829 part 2 - preload 'hidden' fonts on FirefoxOS into the user-font cache. r=roc 2014-06-30 19:05:29 +01:00
Jonathan Kew
e0858e3e74 bug 1030829 part 1 - support 'persistent' entries that will not be flushed from the user-font cache. r=roc 2014-06-30 19:05:28 +01:00
Boris Chiou
bdc1d1dc20 Bug 1029956 - Fix mLayerRef init for color layers. r=dglastonbury
We didn't initialize the mLayerRef in the constructor of
DebugGLColorData. Just fix it.
2014-06-24 21:42:00 +02:00
Matt Woodrow
e8c5cf4d6c Bug 1028237 - Account for device offset for thebes layer masks. r=roc 2014-06-30 16:26:09 +12:00
Cameron McCormack
43d964ec18 Bug 1031205 - Make gfxUserFontSet methods take already-parsed language override values. r=jdaggett 2014-06-30 14:25:21 +10:00
Cameron McCormack
00c23c9ad6 Bug 1031199 - Disallow aWeight = 0 when calling gfxUserFontSet::AddFontFace. r=jdaggett 2014-06-30 14:25:11 +10:00
Mats Palmgren
b5c267b13f Bug 1028460 - part 3, Change the return type for Get*SkipSides(). r=roc 2014-06-28 10:13:13 +00:00
Mats Palmgren
2a6ed61745 Bug 1028460 - part 1, Implement a mozilla::Sides type that represents a set of sides that can be used for the GetSkipSides() result among other things. r=roc 2014-06-28 10:13:13 +00:00
Phil Ringnalda
92fe6a5293 Back out 5 changesets (bug 1028460, bug 1031444) for somehow breaking asmjscache/test/test_cachingBasic.html on Android 2.2
Backed out changeset 0b5918ec6521 (bug 1031444)
Backed out changeset 663ff18cd4a1 (bug 1028460)
Backed out changeset ae01b3919c8c (bug 1028460)
Backed out changeset 316c8dfeca9b (bug 1028460)
Backed out changeset e237b2c61ea2 (bug 1028460)
2014-06-28 22:01:28 -07:00
Mats Palmgren
d11737c8ef Bug 1028460 - part 3, Change the return type for Get*SkipSides(). r=roc 2014-06-28 10:13:13 +00:00
Mats Palmgren
170ab90b08 Bug 1028460 - part 1, Implement a mozilla::Sides type that represents a set of sides that can be used for the GetSkipSides() result among other things. r=roc 2014-06-28 10:13:13 +00:00
Jonathan Kew
a66c917c69 bug 1018551 - clean up redundancy in the font/shaper code. r=jdaggett 2014-05-31 08:12:40 +01:00
Masatoshi Kimura
86e94e8d3e Bug 1018034 - Remove the "gfx.font_rendering.harfbuzz.scripts" pref. r=jfkthame 2014-05-31 15:11:29 +09:00
Michael Wu
488539893f Bug 987872 - Update Fira font name for Fira font update, r=jfkthame 2014-05-21 13:16:43 -04:00
John Daggett
9beb5203b2 Bug 1029307 - remove subscript/superscript metrics. r=heycam 2014-06-28 15:40:36 +09:00
John Daggett
c0310a0a41 Bug 1029307 - use fixed subscript/superscript offset ratio instead of font metric values. r=heycam 2014-06-28 15:40:35 +09:00
Chris Peterson
7490224f5d Bug 1031165 - Fix non-unified OS X build's warnings-as-errors in gfx/layers. r=bjacob 2014-06-26 23:36:27 -07:00
Kartikaya Gupta
aff6c2a168 Bug 1031024 - Add a test for canceling fling animations to ensure overscroll is cleared. r=drs 2014-06-27 16:39:27 -04:00
Kartikaya Gupta
1ab71deca1 Bug 1031024 - Fix up the OverScrollPanning gtest to actually test overscrolling. r=drs 2014-06-27 16:39:11 -04:00
Jeff Muizelaar
c98f23c7df Bug 1026596. Add ellipse to bezier helper and use it from SVG. r=bas
This is faster and more accurate. Specifically, the old code
would produce non-monontic segments which was causing rasterization
differences with skia
2014-06-26 16:42:12 -04:00
Jeff Muizelaar
fa81050442 Bug 1025133. Be more consistent about rounding colors with the skia backend. r=mwoodrow
--HG--
rename : toolkit/devtools/discovery/tests/moz.build => toolkit/devtools/moz.build
extra : rebase_source : 2db3c43532a30db90326c3903d8fe5c96d077d97
2014-06-18 10:16:30 -04:00
Jonathan Watt
d6c9d59f3b Backed out changeset a7ea536288e0 (bug 1031267) for bustage.. 2014-06-27 16:58:36 +01:00
Jan Beich
e16dc2ff0b Bug 1031267 - Fix --enable-system-cairo builds after they were broken by bug 1027763. r=jwatt 2014-06-27 16:29:17 +01:00
Jonathan Kew
39994542c7 bug 1030067 - ignore the principal when caching data-URI fonts, to allow sharing across pages with the same CSS. r=bzbarsky 2014-06-27 16:19:28 +01:00
Carsten "Tomcat" Book
6bec2c9775 Merge mozilla-central to mozilla-inbound 2014-06-27 15:51:09 +02:00
Carsten "Tomcat" Book
11b78eff19 merge mozilla-inbound to mozilla-central a=merge 2014-06-27 15:34:28 +02:00
Sotaro Ikeda
cf6f0b7435 Bug 1029719 - Release TextureClient on correct thread r=jmuizelaar 2014-06-27 06:26:51 -07:00
Kartikaya Gupta
b277900e52 Bug 1030221 - Make sure to clear overscroll if we cancel a fling. r=drs 2014-06-26 18:49:11 -04:00
Kartikaya Gupta
c83d11f80f Bug 1030221 - Move animation Sample functions into the class definition. r=drs 2014-06-26 18:49:11 -04:00
Kartikaya Gupta
fcf2a64e90 Bug 1022956 - When fling velocity is high, don't let tap gestures trigger clicks to content. r=drs r=Bas 2014-06-26 18:37:44 -04:00
Sotaro Ikeda
e8660d0951 Bug 1026562 - "Always create ImageBridge when OMTC is enabled on gonk". r=nical 2014-06-17 09:41:00 +02:00
Jonathan Watt
92dc7bdbd8 Bug 1031079 - Get rid of the Thebes backed gfxContexts in gfxASurface, removing gfxASurface::WriteAsPNG_internal and its consumers. r=mattwoodrow 2014-06-27 12:19:40 +01:00
Jonathan Watt
488b914f94 Bug 1031055 - Get rid of the Thebes backed gfxContexts in FrameLayerBuilder.cpp, and get rid of gfxASurface::DumpAsDataURL. r=mattwoodrow 2014-06-27 12:19:40 +01:00
Jonathan Watt
fa20dc97b8 Bug 986526 - Create helper functions to encode DrawTargets/SourceSurfaces to PNG/JPEG/BMP/ICO/etc. and save them, dump them, or copy them to the clipboard, either as binary or as data: URIs. r=mattwoodrow 2014-06-27 12:19:40 +01:00
Jonathan Watt
fad16fd3b4 Bug 1030843 - Fix crash in nsNativeThemeCocoa::GetMinimumWidgetSize. r=roc 2014-06-27 10:19:00 +01:00
Jonathan Watt
94f0aa39c2 Bug 1028794 - Remove the Thebes backed gfxContext creating version of nsRenderingContext::Init() (Moz2D conversion). r=Bas 2014-06-27 10:18:54 +01:00
Jonathan Watt
fbaa2770d4 Bug 1030894 - Stop abusing nsAutoPtr in gfxFT2FontList.cpp. r=jfkthame 2014-06-27 10:17:50 +01:00
Jonathan Watt
d103dd96a6 Bug 1027763, part 4 - Add a new DrawTarget::GetType() method and three generic type enum values for it to return. r=Bas, r=jrmuizel 2014-06-27 10:17:49 +01:00
George Wright
de02facf3c Bug 974900 - Add unified sources support to the mozbuild gyp generator for Skia, and regenerate the Skia build files with unified sources r=snorp 2014-03-12 01:06:29 -04:00
Carsten "Tomcat" Book
662392adb6 Merge mozilla-central to mozilla-inbound 2014-06-26 15:51:31 +02:00
Carsten "Tomcat" Book
f7be686002 merge mozilla-inbound to mozilla-central a=merge
--HG--
extra : amend_source : 8afac23e33906916e7e6297e2307417e09fa27ae
2014-06-26 14:11:00 +02:00
Wes Kocher
da0ec8e8aa Merge m-c to b2g-inbound a=merge 2014-06-25 18:41:59 -07:00
Kartikaya Gupta
ffb7a3d4db Bug 1030181 - Share code for dealing with WidgetTouchEvent and MultiTouchInput. r=drs r=smaug 2014-06-25 20:11:20 -04:00
Kartikaya Gupta
683a85494a Bug 1023506 - Don't fill the background color for overscrolled scrollinfo layers. r=mattwoodrow 2014-06-25 19:18:33 -04:00
kylma
80b1c2d236 Bug 1001582 - HasScrollgrab transitioned from private to public member, getter/setter added. r=kats 2014-06-25 19:16:27 -04:00
Kartikaya Gupta
3bcbe917e1 Bug 1027309 - When switching to a new APZC for a touch input block, cancel state in the old APZC. r=drs 2014-06-25 19:13:59 -04:00
Kartikaya Gupta
145596d033 Bug 1027309 - Ensure we build the overscroll handoff chain based on the APZC receiving input. r=drs 2014-06-25 19:13:53 -04:00
Kartikaya Gupta
d7af89df25 Bug 1027309 - Add some more logging in APZ code. r=drs 2014-06-25 19:13:26 -04:00
George Wright
909098e8b3 Bug 1028996 - Remove patches directory in Skia and clarify commit procedure r=snorp 2014-06-23 13:28:12 -04:00
Markus Stange
43ed36fc07 Bug 987497 - Force buggy drivers to pick up the TexturePass2 uniform change. r=bjacob
--HG--
extra : rebase_source : 8784c1240c5e538d95608e10a7b161b4373037cb
2014-06-26 14:40:11 +02:00
Markus Stange
843671a23a Bug 1024473 - Update canvas mask layer even when nothing in the canvas changed. r=mattwoodrow
* * *
Bug 1024473 - Fix the test. CLOSED TREE

--HG--
extra : rebase_source : ec81f6281d1651bbf1f2a1574bc6fd1a54dbdcf1
2014-06-25 10:37:58 +02:00
Markus Stange
44c6d1a259 Bug 1018522 - Move the call to ShadowLayersUpdated before EndTransaction so that EndTransaction can pick up layer tree changes caused by ShadowLayersUpdated. r=mattwoodrow
--HG--
extra : rebase_source : 640af9f3ef2488e8bf10315787a7ed389771568e
2014-06-26 14:40:10 +02:00
Gijs Kruitbosch
63563f9b5d Bug 1030115 - fix apz.printtree caching to use gfxPrefs. r=kats, bas 2014-06-25 16:12:32 +01:00
Walter Litwinczyk
5871469922 Bug 1004374 - Removed Moz2D usage of deprecated skia api: SK_SUPPORT_LEGACY_LAYERRASTERIZER_API. r=gw280 2014-06-20 11:47:27 -07:00
Rik Cabanier
5d9f208b1b Bug 1018497 - Implementation of DOMMatrix. r=roc,bz 2014-06-24 20:15:00 +02:00
Gijs Kruitbosch
de6227f636 Bug 1030090 - tests shouldn't destroy gfxPrefs, r=bjacob 2014-06-25 15:09:02 +01:00
Ed Morley
f70f501849 Backed out changeset 73c6b1fcd058 (bug 1024473) 2014-06-25 17:12:39 +01:00
Sotaro Ikeda
619ab290d7 Bug 1028532 - Remove Fence::merge() on gonk r=jmuizelaar 2014-06-25 06:13:34 -07:00
Carsten "Tomcat" Book
d6eca1576d Backed out changeset f1afdcec1927 (bug 1025553) for bustage on a CLOSED TREE 2014-06-25 14:21:34 +02:00
Jonathan Watt
41dd3d564a Bug 1025553, part 2 - Change gfxMatrix from a struct to a class. r=Bas 2014-06-25 12:59:46 +01:00
James Kitchener
efc609491e Bug 1018234 - Reference count fontFaces r=jfkthame 2014-06-25 10:12:31 +01:00
Markus Stange
6027de1f7c Bug 1024473 - Update canvas mask layer even when nothing in the canvas changed. r=mattwoodrow 2014-06-25 10:37:58 +02:00
Benoit Jacob
2b28b04041 Bug 1029673 - Correctly report OMTC compositing in crash reports - r=Bas 2014-06-24 22:09:14 -04:00
Mats Palmgren
09115940e1 Bug 1025669 - part 0, Add BaseMargin::ApplySkipSides, remove nsIFrame::Apply*SkipSides, and change call sites to use the former. r=roc 2014-06-24 17:52:19 +00:00
Sotaro Ikeda
a65c18d397 Bug 1022205 - disable sync fence on AdrenoTM200 r=jgilbert 2014-06-24 08:59:59 -07:00
Jonathan Watt
fe47bc40e9 Bug 1029211 - Get rid of a couple more Thebes backed gfxContexts by using gfxUtils::ClearThebesSurface instead. r=mattwoodrow
--HG--
extra : rebase_source : cc75965e0ba908b84a592e337af0429ddb9cc846
2014-06-24 10:02:10 +01:00