Commit Graph

13185 Commits

Author SHA1 Message Date
Ethan Lin
af7d85c741 Bug 753010 - Add a NEON optimized blur method. r=mstange 2015-01-18 22:08:00 +01:00
Masatoshi Kimura
0676786e20 Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo 2015-01-26 07:22:11 +09:00
Masatoshi Kimura
ca6988b0d9 Bug 1111290 - Part 2: Non-mechanical changes. r=waldo 2015-01-26 07:22:08 +09:00
Masatoshi Kimura
2490dcfe04 Bug 1111290 - Part 1: Remove MOZ_(BEGIN|END)_ENUM_CLASS. r=waldo 2015-01-26 07:22:07 +09:00
Markus Stange
8780bcc049 Bug 1117304 - Make sure the tile filter doesn't call CopyRect on surfaces with different formats. r=Bas 2015-01-05 18:40:27 +01:00
Markus Stange
b7823af622 Bug 1117304 - Also do the checks at the start of CopyRect in release builds. r=Bas 2015-01-06 12:08:39 +01:00
Ryan VanderMeulen
8f41d89831 Bug 1042103 - Fix non-unified bustage. r=botond 2015-01-23 17:51:34 -05:00
Kartikaya Gupta
7fbb5b933d Bug 1124099 - Make sure that we skip over scrollinfo layers properly with event-regions disabled. r=botond 2015-01-23 15:12:10 -05:00
Mason Chang
05082a3276 Bug 1098701. Part 1: gtest framework and tests. r=kats 2015-01-23 11:19:54 -08:00
Nicolas Silva
c964f3cf52 Bug 1119019 - Avoid destroying a SharedSurface before its TextureClient/Host pair. r=sotaro 2015-01-23 15:35:16 +01:00
Nicholas Nethercote
3519d0640a Bug 1123527 - Fix syntax error when NS_COORD_IS_FLOAT is defined. r=dholbert.
cppcheck found this.

--HG--
extra : rebase_source : 6a83556a8baaa24546eeb28d35ad63f4ffd275bd
2015-01-21 19:23:28 -08:00
Bas Schouten
bf7969ed0e Bug 1097699 - Part 4: Remove LayerManagerD3D10 code. r=jrmuizel 2015-01-23 03:41:21 +00:00
Bas Schouten
dea47282db Bug 1097699 - Part 2: Remove LayerManagerD3D9 code. r=jrmuizel 2015-01-23 03:41:20 +00:00
Ryan VanderMeulen
cff23a3b2b Backed out changeset 8b3815de49f8 (bug 1123654) for talos xperf permafail.
CLOSED TREE
2015-01-22 20:00:24 -05:00
Nicholas Nethercote
7d9cc5ecf2 Bug 1124545 - Avoid creating the mergedFeatures hash table when possible. r=jdaggett.
When scrolling all the way through
https://bugzilla.mozilla.org/show_bug.cgi?id=MNG, |mergedFeatures| gets
initialized more than 50,000 times -- each one involving a heap allocation for
the entry storage -- but it never has anything put into it.

This patch refactors MergeFontFeatures to move |mergedFeatures| inside it. It
now doesn't get created in the common case.

--HG--
extra : rebase_source : 5a8d44b30f90169b70e5f50a5e38bbe57f02b12b
2015-01-21 22:41:02 -08:00
Jonathan Kew
1308275257 Bug 1123654 - Replace use of [deprecated] GetStockObject(DEFAULT_GUI_FONT) with newer API; results in use of Tahoma in place of Microsoft Sans Serif in various contexts. r=jimm 2015-01-22 22:52:26 +00:00
Nathan Froyd
d5e4654494 Bug 1122235 - set HAVE_UINT64_T for cairo compilation to improve codegen; r=mshal 2015-01-15 16:17:55 -05:00
Nathan Froyd
838298aaff Bug 967300 - enable cairo's atomic support on gcc-esque compilers; r=mshal
Cairo has a number of nifty features predicated on support for atomic
operations on integer types.  Normally, such support would be determined
by cairo's configure script.  But since we don't run cairo's configure
script, we need to manually define HAVE_INTEL_ATOMIC_PRIMITIVES during
cairo's build.  That macro enables codepaths that depend on certain
SIZEOF_* variables being defined by autoconf, so we also need to add the
necessary code in moz.build to set those.
2015-01-15 15:53:28 -05:00
Milan Sreckovic
67354457c3 Bug 1088833 - A bit of a clean up of warnings, and catch bad draw target in the d3d11 canvas case. r=bschouten 2015-01-20 12:47:29 -05:00
Milan Sreckovic
a1bdbcfff9 Bug 1121835: Deal with non-finite values in Path calls. r=bschouten 2015-01-19 14:19:25 -05:00
Mason Chang
b3246a1f83 Bug 1122943 - Ensure the Compositor Vsync Observer Shutsdown correctly. r=benwa 2015-01-21 16:13:15 -08:00
Botond Ballo
3a8c56fc2d Bug 1096513 - Follow up to fix an incorrect assertion. r=Cwiiis
--HG--
extra : rebase_source : bab8417ba9133c0f8039251cbc22f3b6d19541fc
2015-01-21 12:35:49 -05:00
Bas Schouten
866f97145d Bug 1117925: Make sure to invalidate the entire window when the size changes. r=jrmuizel 2015-01-21 18:00:31 +01:00
Seth Fowler
b92cad3917 Bug 1124072 - Flip on decode-on-draw on APZ platforms. r=tn 2015-01-21 05:07:46 -08:00
Robert Longson
02c054d045 Bug 1122761 - Avoid dividing by zero when calculating turbulence gradients. r=mstange 2015-01-21 13:01:00 +00:00
peter chang
49c42b50f9 Bug 1113524 - Fix the crash at nsDeviceContext::FindScreen() because mScreenManager is nullptr. r=tn 2015-01-20 17:52:00 -05:00
Boris Chiou
afe6cee3de Bug 1079755 - Send composer info to Layerscope viewer. r=kamidphish
Add a composition info, composedByHwc, in META packet to
notify users whether this frame is composed by Hardware composer.

--HG--
extra : rebase_source : b3883178f41acb92fa91b0cab5905d22fcf38553
2015-01-16 15:00:25 +08:00
Matt Woodrow
4c9fdd62ba Bug 1112331 - Disable DXVA when using WARP. r=cpearce,Bas 2015-01-21 16:36:01 +13:00
Brian Smith
f239d701ac Bug 1119072, Part 16: Replace uses of hash_set with unodered_set (gfx), r=bas
--HG--
extra : rebase_source : 6fe532f999372f71b7e544231b4727c86aa34d70
2015-01-08 15:42:38 -08:00
Daniel Holbert
47aad3f8c8 Bug 1123893: Add MOZ_OVERRIDE where appropriate, in some gfx/layers/*X11* headers. r=BenWa
DONTBUILD (just backing out & re-landing to fix bug number)
2015-01-20 13:39:45 -08:00
Daniel Holbert
5cda50df3b Backed out changeset e0ada286eea0 for landing with wrong bug number.
DONTBUILD because just backing out & re-landing to fix bug number.
2015-01-20 13:41:59 -08:00
Daniel Holbert
24fd6a4af2 Bug 1117034: Add MOZ_OVERRIDE where appropriate, in some gfx/layers/*X11* headers. r=BenWa 2015-01-20 13:39:45 -08:00
Daniel Holbert
890a89fc88 Bug 1123844: Add MOZ_OVERRIDE annotations (and a few 'virtual' annotations) where appropriate, for headers used in widget/gtk. r=karlt 2015-01-20 13:39:44 -08:00
Andrew McCreight
ae9c0ad9f2 back out bug 1065536 part 2 for maybe causing crashes. 2015-01-20 13:20:54 -08:00
Daniel Holbert
fd4d6496b2 Bug 1123878: Add MOZ_OVERRIDE annotations in TestCompositor.cpp. r=BenWa 2015-01-20 13:17:27 -08:00
Mats Palmgren
eaf2704913 Bug 1091709 - Make Transform() do calculations using gfxFloat (double) to avoid losing precision. r=matt.woodrow 2015-01-20 18:20:04 +00:00
Mason Chang
1dc7dc155d Bug 1095242. Part 4: Unobserve vsync in CompositorVsyncDispatcher. r=kats 2015-01-20 08:31:24 -08:00
Mason Chang
6c2e46ea24 Bug 1095242. Part 3 - Make enable/disable vsync noops if already enabled/disabled. r=kats 2015-01-20 08:31:22 -08:00
Mason Chang
a1e220ffe9 Bug 1095242. Part 2: Disable vsync on startup. r=kats 2015-01-20 08:31:21 -08:00
Kartikaya Gupta
b4cf97874e Bug 1119942 - Hoist nsDisplayScrollInfoLayer items out of inactive layermanagers into their parent. r=tnikkel,mattwoodrow 2015-01-20 09:49:30 -05:00
Kartikaya Gupta
4fcbe2aa73 Bug 1119942 - Stop generating scrollinfo layers if event-regions are enabled. r=tnikkel,botond 2015-01-20 09:49:30 -05:00
Heiher
cb3ed562b9 Bug 1122383 - Optimize Moz2D's ConvertBGRXToBGRA. r=jwatt
From 4c67bb1f0d9378831559983ccf53f63ad104974e Mon Sep 17 00:00:00 2001
---
 gfx/2d/DataSurfaceHelpers.cpp | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
2015-01-20 11:16:08 +00:00
Jonathan Watt
cfd1ecfb13 Bug 1122578, part 1 - Make DrawTargetCG::StrokeRect stroke from the same corner and in the same direction as older OS X and other Moz2D backends. r=Bas 2015-01-18 11:30:32 +00:00
Jonathan Watt
ca3a5af9f1 Bug 1123486 - Remove gfxContext::ResetClip and gfxContext::UpdateSurfaceClip. r=Bas 2015-01-14 20:30:27 +00:00
Jonathan Watt
37cff74b4c Bug 1123485 - Remove gfxContext::DrawSurface. r=Bas 2015-01-14 19:57:47 +00:00
Seth Fowler
7b3eb49cc5 Bug 1120050 - Expose Skia scaler internals for use by downscale-during-decode. r=tn 2015-01-20 03:06:37 -08:00
Nicholas Nethercote
c0a8a6e993 Bug 1123151 (part 2) - Add PLDHashTable::IsInitialized(). r=froydnj.
This encapsulates most of the uses of PLDHashTable::ops.

--HG--
extra : rebase_source : 7760ce8e46a37e87dcfe590e809a21df01fe510f
2015-01-19 16:11:34 -08:00
Chris Lord
b8d9440f3e Bug 1042103 - Allow overscroll to be retained between input blocks. r=botond 2015-01-20 00:04:07 +00:00
Chris Lord
4e9e7de4ac Bug 1042103 - Don't ignore events during overscroll. r=botond 2015-01-16 16:42:46 +00:00
Trevor Saunders
85fffc7c71 bug 1122065 - use MOZ_OVERRIDE more in gfxish things r=jrmuizel 2015-01-19 17:41:12 -05:00
David Major
5ea7fa8ef7 Bug 1122367: Null check the result of D2DFactory(). r=Bas 2015-01-20 10:56:59 +13:00
Chris Lord
9b761caf78 Bug 1096513 - Fix build error on a CLOSED TREE. r=me 2015-01-19 18:06:43 +00:00
Chris Lord
e933b7f324 Bug 1096513 - Disallow underscroll in APZC. r=botond 2015-01-19 17:39:20 +00:00
Botond Ballo
c888ca7137 Bug 1120609 - Printing support for gfx::Matrix. r=Bas
--HG--
extra : rebase_source : 38e46208c14df09dc49c73c7fddfc3b5534efd4c
2015-01-19 11:29:16 -05:00
Nicolas Silva
19f3ef2778 Bug 1122631 - Fix wrong logic in DrawTargetTiled::CopySurface. r=jrmuizel 2015-01-19 12:36:43 +01:00
Nicolas Silva
7e8bd1785a Bug 1122621 - Fix incorrect scaling of tile origins with low res paiting. r=BenWa 2015-01-19 12:36:38 +01:00
Jonathan Kew
6f26a44e59 Bug 1121448 - Ignore negative values in the OS/2 table sxHeight field. r=jdaggett 2015-01-19 10:03:54 +00:00
Seth Fowler
19ed026f5a Bug 1119774 (Part 1) - Add a pref and Image init flag for downscale-during-decode. r=tn 2015-01-18 14:02:13 -08:00
Phil Ringnalda
ff3434a37f Merge m-c to m-i 2015-01-17 13:11:55 -08:00
Wes Kocher
7c3409c078 Merge m-c to b2g-inbound a=merge 2015-01-16 18:07:28 -08:00
Kartikaya Gupta
7fb9197457 Bug 1122276 - Inline the BuildOverscrollHandoffChain callsite of GetTargetAPZC to avoid re-entering the tree lock and deadlocking. r=botond 2015-01-16 17:34:47 -05:00
Kartikaya Gupta
81c917028c Bug 1122276 - Move lock from GetTargetNode to call sites. r=botond 2015-01-16 17:34:47 -05:00
Nicholas Nethercote
5a62e7fcbf Bug 1121304 (part 2, attempt 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj.
--HG--
extra : rebase_source : bc119bd0d3b6944e8c5a000950e0c4052cb70aef
2015-01-14 14:35:56 -08:00
Jeff Gilbert
1540d7f105 Bug 1109945 - Rewrite shader/program handling. - r=kamidphish 2015-01-15 15:40:39 -08:00
Seth Fowler
0efe365c80 Bug 1079627 (Part 3) - Support multiple decoders for a single RasterImage. r=tn 2015-01-15 15:11:36 -08:00
Surabhi Anand
c2f9192a8a Bug 1120203 - Transitioning mPresShellResolution field of FrameMetrics to use getters/setters. r=kats 2015-01-16 16:15:52 -05:00
Kyle Huey
591c252165 Bug 1121673: Use move references in IPDL. r=bent 2015-01-16 11:58:52 -08:00
Bill McCloskey
0c3c75cea4 Bug 1121713 - [e10s] CompositorParent should clear itself out of LayerTreeState when destroyed (r=nical) 2015-01-16 10:06:11 -08:00
Mason Chang
388c580a7f Bug 1120753 - Fallback to software vsync if hardware vsync fails to initialize on b2g. r=kats,mwu 2015-01-15 07:56:12 -08:00
Kartikaya Gupta
48f389c563 Bug 1119497 - Rename the HitTestResult enum values in light of the new hit-test code. rs=botond 2015-01-15 10:37:54 -05:00
Kartikaya Gupta
fa75a65bf4 Bug 1119497 - Don't continue searching if we hit a layer that has no containing APZC. r=botond 2015-01-15 10:37:54 -05:00
Jonathan Kew
0a0585a9d7 Bug 1122020 - Account for position offset when collecting glyph bounding boxes. r=roc 2015-01-16 09:42:42 +00:00
Jonathan Kew
2f5de859dd Bug 1120101 - Calculate vertical glyph origin based on 'vmtx' table in TrueType fonts. r=jdaggett 2015-01-15 11:07:26 +00:00
Jonathan Kew
fe15e8ce66 Bug 1119253 - Font-selection code should use gfxFontEntry::HasCharacter in preference to TestCharacterMap. r=jdaggett 2015-01-15 11:07:24 +00:00
JerryShih
4c6f90c4fe Bug 1121331 - Part2: Vsync aligned refresh timer. r=roc r=mchang 2015-01-14 00:38:00 +01:00
Milan Sreckovic
2a5ffb8d23 Bug 1112828 - Have GfxInfo::LogFailure use gfxCriticalLog and entries from gfxCriticalLog be available in about:support graphics section. r=jmuizelaar 2015-01-13 21:19:25 -05:00
Phil Ringnalda
9a3738d626 Backed out 2 changesets (bug 1121304) for consistent b2g hangs in webgl-color-test.html?frame=1&__&preserve&premult&_____
Backed out changeset 20651ac19549 (bug 1121304)
Backed out changeset 758afec77c95 (bug 1121304)
2015-01-14 22:02:23 -08:00
John Daggett
a10fb8f146 Bug 1121793 - trim out unused FindFontFamily/FindFontEntry functions. r=m_kato 2015-01-15 13:22:32 +09:00
John Daggett
90597619b9 Bug 1118981 - initialize mSkipDrawing correctly for already loading fonts. r=jfkthame 2015-01-15 13:22:32 +09:00
Nicholas Nethercote
7e78186cb9 Bug 1121304 (part 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj. 2015-01-14 14:35:56 -08:00
Nicholas Nethercote
e7f3233097 Bug 1120476 (part 4) - Remove PLDHashTableOps::finalize. r=froydnj.
--HG--
extra : rebase_source : b14dda8cdd5cd896d1e32950e38b2a9f7da4d99e
2015-01-13 19:02:35 -08:00
Nicholas Nethercote
00b5865c2a Bug 1120476 (part 3) - Remove PLDHashTable::data. r=froydnj.
--HG--
extra : rebase_source : 24d10af3dbce3ada5252503bc80bb1a4e31bc1c9
2015-01-13 16:42:13 -08:00
Jeff Gilbert
bf46963b77 Bug 1089981 - Reftest both initial and steady-state frame. - r=kamidphish 2015-01-14 18:04:50 -08:00
Benoit Girard
f97773fb06 Bug 1068190 - Part 1: Add foundation for compositor unit tests. r=mstange 2015-01-14 17:24:09 -05:00
David Anderson
f8b5850175 Fix tiling computing the wrong displayport size when using containerless scrolling. (bug 1121108, r=botond)
--HG--
extra : rebase_source : a2c4071e13cd4c7917ee0876e9b1f2b61dd760d7
2015-01-14 14:19:59 -08:00
Andrew McCreight
9dfcb4451a Back out bug 1065536 part 3 for being a bad idea. 2015-01-14 11:23:06 -08:00
Kartikaya Gupta
063b15bc9c Bug 1117712 - Gtest. r=botond 2015-01-14 10:41:38 -05:00
Botond Ballo
bf5d010493 Bug 1117712 - Update the screen-to-local transform matrix for an input block if the target APZC changes. r=kats 2015-01-14 10:16:26 -05:00
Botond Ballo
a53babd8c4 Bug 1117712 - Defer application of screen-to-local transform matrix until AsyncPanZoomController::HandleInputEvent(). r=kats 2015-01-12 17:20:15 -05:00
Botond Ballo
c79aa01ce0 Bug 1117712 - Introduce AsyncPanZoomController::GetTransformToThis(). r=kats 2015-01-09 20:15:19 -05:00
Kartikaya Gupta
f2e69b3fbc Bug 1117712 - Refactor some code to transform input events. r=botond 2015-01-09 13:39:08 -05:00
Botond Ballo
386ec63dd4 Bug 1120400 - Adjust the code for aligning fixed and sticky layers to account for the transform changes in bug 1076241. r=kats 2015-01-12 16:51:04 -05:00
Carsten "Tomcat" Book
ea914adc3c merge b2g-inbound to mozilla-central a=merge 2015-01-14 14:29:27 +01:00
David Anderson
7ae9b13ba1 Fix classic scrollbars getting occluded with containerless scrolling. (bug 1100756, r=roc)
--HG--
extra : rebase_source : fcf95ab0c435d9c29a6a3552fe05d7f1ad3bc0ec
2015-01-13 23:55:17 -08:00
Kartikaya Gupta
4942ecc965 Back out bug 1119497 and one patch from bug 920036 for causing bug 1121033. r=me 2015-01-13 21:16:51 -05:00
Wes Kocher
948c30703f Merge fx-team to m-c a=merge 2015-01-13 17:44:56 -08:00
Wes Kocher
72d3b18c7f Merge b2g-inbound to m-c a=merge 2015-01-13 17:38:53 -08:00
Kartikaya Gupta
5ee8d5a694 Bug 1107009. r=BenWa 2015-01-13 13:26:26 -05:00
Mason Chang
53369d3040 Bug 1121065 - Ensure Software Vsync TimeStamp is never in the future. r=kats 2015-01-13 19:30:29 -08:00
Ryan VanderMeulen
b1751985d4 Backed out changeset 4c22e58f4398 (bug 1097321) for causing the Windows crash rate to spike.
--HG--
extra : rebase_source : 281f93bd5fa412ba0068b9d67cfef4ad1eafe985
2015-01-13 15:41:18 -05:00