Kevin Wern
7ae5cf1e52
Bug 1227231: Use generic tree traversal algorithms for loops over Layer trees. r=botond
...
Create an Iterator type with classes ForwardIterator and ReverseIterator,
having GetFirstChild/GetNextSibling and GetLastChild/GetPrevSibling
methods, respectively. Specify the iterator type for each call to
ForEachNode. With this, we can support trees with forward and reverse
sibling structures.
Additionally, apply these algorithms to all Layer recursive traversals,
where applicable. Update tests to ensure both directions yield expected
results.
MozReview-Commit-ID: iYpX22XHTa
--HG--
extra : rebase_source : 016d3c37e0679df7037dacd3366d3fa7748d0703
extra : amend_source : 089c4a62bd4716be087669742bb542c39a9f97c6
2016-03-10 01:20:40 -08:00
Ryan VanderMeulen
3b7fc0b68e
No bug - Enable some e10s that pass and add some more annotations to ones that don't.
2016-05-09 17:01:16 -04:00
L. David Baron
19d420e94b
Bug 567283 patch 3 - Make TestColorNames use the new alpha capabilities. r=xidorn
...
MozReview-Commit-ID: IdAewXMVZct
2016-05-08 22:16:41 -07:00
L. David Baron
9ee89fe42f
Bug 567283 patch 2 - Rename NS_HexToRGB to NS_HexToRGBA and add parameter saying whether 4 and 8 digit colors are allowed. r=xidorn
...
This patch tells all callers to use the existing behavior, so it is
intended not to change behavior. Callers that will be modified in later
patches are marked with "FIXME" comments that will be removed in those
later patches (patches 3 and 4).
MozReview-Commit-ID: FaLryfxaeHv
2016-05-08 22:16:41 -07:00
David Anderson
77e3700565
Move CompositorWidgetProxy inheritance out of nsIWidget. (bug 1264545 part 6, r=jimm)
2016-04-29 19:23:17 -04:00
Jonathan Kew
97936698fe
Bug 1265648 - Remove the global nsTextFrameTextRunCache, as it no longer serves any useful purpose. r=mats
2016-04-20 10:54:43 +01:00
Jonathan Kew
cb1c20b3c3
Bug 1265459 - Replace uses of nsAutoPtr<gfxTextRun> with UniquePtr, and let MakeTextRun and similar methods return a UniquePtr. r=jrmuizel
2016-04-19 17:13:28 +01:00
Markus Stange
733dca9123
Bug 1236043
- Add a TiledRegion class. r=jrmuizel
...
MozReview-Commit-ID: Fb0kBGo3yYo
--HG--
extra : rebase_source : 540035c7ac0598c55c433b25042997feb7da967b
2016-04-18 13:48:58 -04:00
Milan Sreckovic
e0b2b9e425
Bug 1259513: Make gfxContext constructor private, use a utility function that can return nullptr. r=bas,lsalzman
...
MozReview-Commit-ID: rHhLEDZEQt
--HG--
extra : rebase_source : 4988f3f488c19dd35a9979e96f78a5511ee8f3d2
2016-04-12 15:18:11 -04:00
Tom Klein
7b2edfae77
Bug 1134549 - Switch FlattenBezier from floats to doubles. r=bas
2016-04-12 11:44:23 -05:00
Botond Ballo
77cebd9dd2
Bug 1219296 - Make ScrollMetadata::sNullMetadata a StaticAutoPtr so that ScrollMetadata can admit nsTArray members. r=kats
...
MozReview-Commit-ID: LOZdnAhL5xH
--HG--
extra : rebase_source : 39b619a7945e9f3c867dbe67e700e8b83d7c3699
2016-03-30 17:04:10 -04:00
Botond Ballo
a74ec8c79b
Bug 1219296 - Split fields not needed for repaints out from FrameMetrics. r=kats
...
MozReview-Commit-ID: DymHOSI6yYK
--HG--
extra : rebase_source : 1996bcb7f005c02b94031fe1c73d5136814b0296
2016-03-28 19:14:52 -04:00
Nicholas Nethercote
d376f9f82e
Bug 1260871 - Remove do_GetAtom() and rename NS_NewAtom() as NS_Atomize(). r=erahm.
...
do_GetAtom() is currently just a synonym for NS_NewAtom().
--HG--
extra : rebase_source : f4409784f931616cbc300591e6b843d30805c273
2016-03-29 10:09:43 +11:00
David Anderson
82cec35be7
Block compositable updates from stale layers. (bug 1256517 part 4, r=mattwoodrow,nical)
...
--HG--
extra : rebase_source : a7a9bc431d528de6561a9e55a0ebbb675ce494c4
2016-03-25 01:38:55 -07:00
Nicholas Nethercote
bbfe3dbc14
Bug 1257402 - Remove NS_NewPermanentAtom() and nsIAtomService.getPermanentAtom(). r=froydnj,kmag.
...
The former is only used inconsequentially in tests. The second is not used at
all.
--HG--
extra : rebase_source : 4cfe11f933f1fe8f788e823c5107941085cef92c
2016-03-17 13:11:31 +11:00
Jeff Muizelaar
96d3663f32
Bug 1259248. Add an ArrayView class. r=botond
2016-03-23 21:20:41 -04:00
Benoit Girard
11ac802e54
Bug 1248044 - Add PingPongRegion for faster region operations for 2x memory usage. r=jrmuizel
...
MozReview-Commit-ID: KiIGiQYN33u
--HG--
extra : rebase_source : a6f0ccb03957cc68b70a18792edd636cebfc6d14
2015-08-27 16:06:38 -04:00
Benoit Girard
fa154c75a0
Bug 1258481 - Add a RegionBuilder for accumulating rects. r=jrmuizel
...
MozReview-Commit-ID: 6tI81iqj44V
--HG--
extra : rebase_source : 01e51566b9177e186cad41f0b369b57d35a0637e
2016-03-23 11:54:39 -04:00
Sebastian Hengst
cb73369e3b
Backed out changeset 27a8a01abf66 (bug 1256517)
2016-03-23 18:57:22 +01:00
David Anderson
db2e8ee11d
Block compositable updates from stale layers. (bug 1256517 part 4, r=mattwoodrow,nical)
2016-03-23 10:32:34 -07:00
Carsten "Tomcat" Book
3b9ddbf3a9
Backed out changeset 5e60a574fcec (bug 1258481) for bustage on a CLOSED TREE
2016-03-23 16:53:24 +01:00
Benoit Girard
5ff652a2ac
Bug 1258481 - Add a RegionBuilder for accumulating rects. r=jrmuizel
...
MozReview-Commit-ID: 6AO9q6Ru833
--HG--
extra : rebase_source : 64da769ea9d1f61a5ff191e39c3a8638ffc8cfe0
2016-03-21 16:22:37 -04:00
David Anderson
f3dc22db8d
Rename PCompositor to PCompositorBridge. (bug 1258479 part 2, r=mattwoodrow)
...
--HG--
rename : gfx/layers/ipc/CompositorChild.cpp => gfx/layers/ipc/CompositorBridgeChild.cpp
rename : gfx/layers/ipc/CompositorChild.h => gfx/layers/ipc/CompositorBridgeChild.h
rename : gfx/layers/ipc/CompositorParent.cpp => gfx/layers/ipc/CompositorBridgeParent.cpp
rename : gfx/layers/ipc/CompositorParent.h => gfx/layers/ipc/CompositorBridgeParent.h
2016-03-22 14:08:38 -04:00
Geoff Brown
fd1e09d12b
Bug 1251013 - Update AndroidVersion annotations in test manifests - reftests; r=jmaher
2016-03-17 10:00:47 -06:00
Benoit Girard
dec95787f8
Bug 1256408 - Add graphics microbenchmarking. r=mstange
...
MozReview-Commit-ID: H4IRZuLy7do
--HG--
extra : rebase_source : 8eed4669b59496370dbc47d32e2696de60ea43f2
2016-03-16 14:20:33 -04:00
Ryan VanderMeulen
0a3f8d816e
Bug 1253862 - Mark test_acceleration.html as an expected fail on WinXP e10s.
...
--HG--
extra : rebase_source : 519fcefd0d5ddf9689f3bb057b5798222dd5332d
2016-03-05 15:32:09 -05:00
David Anderson
d4db86d05e
Factor compositor initialization out of LayerManagerComposite. (bug 1245765 part 6, r=mattwoodrow)
2016-02-29 01:53:14 -05:00
Nicolas Silva
241addc752
Bug 1244234 - Simplify joining jobs with the gfx job scheduler. r=jrmuizel
2016-02-23 19:15:30 +01:00
Milan Sreckovic
2967cf9b23
Bug 1240160: Add the TimeStamp based uptime value to crash reports, tagging it as UptimeTS, to differentiate from an existing Uptime value. A bit of additional code, avoiding the usage of C libraries to format some strings and a way to gtest these. r=BenWa,ted.mielczarek carrying ted.mielczarek review for the exception handler changes.
...
MozReview-Commit-ID: 12pRuD7agIG
--HG--
extra : rebase_source : f4427c8a6fdc1054f0f74cdce8d42bbf470dd143
2016-02-17 17:44:21 -05:00
Mason Chang
b4c228baec
Bug 1246213 - Skia reftest fuzzing for Skia content on OS X. r=jmuizelaar
2016-02-16 09:07:52 -08:00
Kevin Wern
9a846abe86
Bug 1227224 - Further improvements to generic tree traversal algorithms. r=botond
...
- Introduce a more general version of ForEachNode that takes two actions
(pre-action and post-action).
- Express the one-action version of ForEachNode in terms of the two-action
version.
- Add TraversalFlag::Abort, which stops traversal immediately.
- Express DepthFirstSearch in terms of ForEachNode.
- Add ForEachNodePostOrder and DepthFirstSearchPostOrder.
- The new functions are all recursive, and traverse children in the order
provided by the node accessors. Adjust tests to reflect this.
- Refactor two APZCTreeManager functions, FindTargetNode and GetAPZCAtPoint,
to use the algorithms.
MozReview-Commit-ID: 83Y7psjkUWG
--HG--
extra : commitid : JSMoSuDetUL
extra : rebase_source : 6ef99b1d6dac841eb94d99feb605ca235d9086c9
extra : amend_source : 518a636ee5a5162bca83dde6b90cb1a3b5304a3b
2016-01-25 04:04:13 -08:00
Matt Woodrow
8532605cf4
Bug 1216832 - Add crashtest. r=roc
2016-02-12 00:19:19 +13:00
Nicholas Nethercote
79bfbfd42b
Bug 1239864 (part 8) - Use the new rect iterators in gfx/. r=nical.
...
--HG--
extra : rebase_source : 52187e5da197e961d533ef6eac2dc9dfe3c83827
2016-01-18 17:20:58 -08:00
Blake Kaplan
1ed01f4087
Bug 1241557 - Don't try to set prefs directly. r=wchen
2016-01-21 16:14:27 -08:00
Wes Kocher
2df1312cc1
Backed out 2 changesets (bug 1241557) for build failures CLOSED TREE
...
Backed out changeset aeb7f61db88b (bug 1241557)
Backed out changeset 8ed3a7be233e (bug 1241557)
--HG--
extra : commitid : BdotoXSX0ID
2016-01-21 15:41:18 -08:00
Blake Kaplan
7701da27e2
Bug 1241557 - Don't try to set prefs directly. r=wchen
...
--HG--
extra : transplant_source : %2A%E2%BEa%EB%93f%DA%8F%F5%CB%CF%3Ek%D15%A4x%D2%29
2016-01-21 15:15:42 -08:00
Mason Chang
b39f4b08b8
Bug 1165458. Raise vsync timeout limit for gtests. r=kats
2016-01-20 10:29:39 -08:00
Nicolas Silva
f3c7340599
Bug 1239288 - Add a shutdown test to the gfx job scheduler. r=jrmuizel
2016-01-14 13:34:46 +01:00
Kris Maglione
ccbc83560c
Bug 1239822: Part 2a - [webext] Explicitly destroy windowless browsers on unload. r=billm
...
--HG--
extra : commitid : JXAapKEd31v
extra : rebase_source : 729fa88d1d0e8c91a47745af00fb321866eb1063
2016-01-15 13:30:15 -08:00
Jonathan Kew
84b8c3a0a4
Bug 890156 - patch 0.3 - Create a version of nsIWidget::Create that takes Desktop pixels, because that's what we actually need to pass in some cases. r=mstange
2016-01-13 07:32:55 +00:00
Nicholas Nethercote
88696a303a
Bug 1209812 (part 6) - Convert all gfxImageFormat values to SurfaceFormat equivalents. r=jrmuizel.
...
This patch:
- Makes the following substitutions (plus necessary namespace qualifiers:
gfxImageFormat::ARGB32 --> SurfaceFormat::A8R8G8B8_UINT32
gfxImageFormat::RGB24 --> SurfaceFormat::X8R8G8B8_UINT32
gfxImageFormat::A8 --> SurfaceFormat::A8
gfxImageFormat::RGB16_565 --> SurfaceFormat::R5G6B5_UINT16
gfxImageFormat::Unknown --> SurfaceFormat::UNKNOWN
- Changes gfxImageFormat to be a typedef to gfx::SurfaceFormat. This will be
removed soon.
- Removes gfxCairoFormatToImageFormat() and gfxImageFormatToCairoFormat() and
replace calls to them with CairoFormatToGfxFormat() and
GfxFormatToCairoFormat().
- Removes ParamTraits<gfxImageFormat>.
- Add namespace qualifiers to SurfaceFormat instances where necessary.
--HG--
extra : rebase_source : f56e92b1593957a9e4e00171100bc7605816e696
2016-01-07 20:57:38 -08:00
Nicholas Nethercote
06e901cb9f
Bug 1231550 - Use DrawTarget instead of gfxContext and/or nsRenderingContext in many places in font/text code. r=jfkthame.
...
AutoTextRun now only needs a DrawTarget instead of an nsRenderingContext, and
similar nsRenderingContext/gfxContext-to-DrawTarget replacements can be
propagated a long way up the call graph. This patch replaces 93 occurrences of
nsRenderingContext and 135 occurrences of gfxContext with DrawTarget; that's
13% of them.
The patch is mostly plumbing changes. A couple of not-entirely-plumbing
changes:
- It adds a comment about the null check in
gfxGlyphExtents::GetTightGlyphExtentsAppUnits().
- A couple of functions simply had an unused gfxContext or nsRenderingContext
parameter removed, e.g. SetLineBreaks().
--HG--
extra : rebase_source : 8f56994bb4d254a86788b17ab2864ebc758a7e6b
2015-12-15 13:56:41 -08:00
Phil Ringnalda
46ab91d7db
Bug 1226751 - Remove 358732-* crashtests, since they only race between not testing anything and accidentally setting and leaving a non-default font zoom, breaking later tests
...
--HG--
extra : rebase_source : d8314dd0166f5217355fe1daafdcd85b77f7effb
2015-12-28 20:41:46 -08:00
Nicolas Silva
9bc4b1d4e6
Bug 1228952 - Move texture metadata out of the BufferTextureClient/Host's buffer. r=Sotaro
2015-12-16 19:50:58 +01:00
Phil Ringnalda
e8127f059d
Bug 1226751 - Skip gfx/tests/crashtests/358732-1.xhtml for causing assertion failures in later (much later) tests
2015-12-12 11:32:05 -08:00
Nicholas Nethercote
90bbac13cc
Bug 1229237 (part 3) - Make nsIWidget::Invalidate() take a LayoutDeviceIntRect. r=botond.
...
--HG--
extra : rebase_source : 1afe44a5ab2a3d5478010fc23ba1891ab297bde6
2015-11-16 21:18:31 -08:00
Nicholas Nethercote
1fb25d8609
Bug 1229237 (part 1) - Make nsIWidget::{Create,CreateChildren}() take a LayoutDeviceIntRect. r=botond.
...
--HG--
extra : rebase_source : 08407e76083534ad39dd34d2535ec09c95e506db
2015-11-16 00:35:18 -08:00
Nicolas Silva
ce2636044e
Bug 1200595 - Merge TextureClient and ClientTexture back into TextureClient. r=mattwoodrow
2015-11-20 14:25:00 +01:00
Nicolas Silva
53a1d987f4
Bug 1200595 - Buffer TextureData implementation. r=mattwoodrow
2015-10-15 17:53:33 +02:00
Sunny Sidhu
cfa8942015
Bug 1220873
- Make Layer::mVisibleRegion a LayerIntRegion. r=botond
...
--HG--
extra : source : dc46048f7a9e9cc008c97e2d9e0a100944743055
extra : amend_source : 63783bc076e5969ebacdc8c74f9b5194a1891d9e
2015-11-29 02:07:55 -05:00
Phil Ringnalda
a4b352528c
Bug 1218762
followup, annotate the assertion on Android since there's certainly no way to fix "an assertion failed, I'm not going to tell you which one"
...
--HG--
extra : rebase_source : fdb28c583a861185e9d1c1d280d90b4e47941a5d
2015-11-28 17:11:16 -08:00
Nicolas Silva
38f44b34ce
Bug 1228029 - Fix the usage of gtest assertion macros in TestJobScheduler.cpp. r=kats
2015-11-25 19:36:44 +01:00
Christoph Diehl
dc4cfa8aad
Bug 805760 - Crashtest.
2015-11-24 20:04:04 +01:00
Wes Kocher
72261b4523
Backed out 12 changesets (bug 1200595) for b2g mochitest crashes in SharedBufferManagerParent CLOSED TREE
...
Backed out changeset cf8cf1a039dd (bug 1200595)
Backed out changeset 65da564f952c (bug 1200595)
Backed out changeset 7663208f1582 (bug 1200595)
Backed out changeset fc1fbb97c8eb (bug 1200595)
Backed out changeset 3ad5a4c457fe (bug 1200595)
Backed out changeset add3fe9afc0c (bug 1200595)
Backed out changeset 68aba6b39588 (bug 1200595)
Backed out changeset ab326c34f1cf (bug 1200595)
Backed out changeset ed34bc528a1b (bug 1200595)
Backed out changeset 0dc93424546c (bug 1200595)
Backed out changeset 8cc12f12f3d1 (bug 1200595)
Backed out changeset bb84403701b7 (bug 1200595)
--HG--
extra : commitid : AMC6i05xyTh
2015-11-24 10:07:02 -08:00
Nicolas Silva
c1b94d01e8
Bug 1200595 - Merge TextureClient and ClientTexture back into TextureClient. r=mattwoodrow
2015-11-20 14:25:00 +01:00
Nicolas Silva
e2196598ae
Bug 1200595 - Buffer TextureData implementation. r=mattwoodrow
2015-10-15 17:53:33 +02:00
Kevin Wern
6b43e66943
Bug 1226920 - Allow calling ForEachNode() with an action returning void r=botond
...
--HG--
extra : rebase_source : e2d16580f20bd5dc154760803ec562fe0ed485c4
extra : source : 8e743b5913982ccd18d51544a5a93213fb700e5c
2015-11-23 13:06:01 -05:00
Carsten "Tomcat" Book
1a584aca79
Backed out 13 changesets (bug 1200595) for possibly breaking Reftest [TC] Crashtest tc-R on a CLOSED TREE
...
Backed out changeset e7278af0a484 (bug 1200595)
Backed out changeset c13228f84d85 (bug 1200595)
Backed out changeset 4b88e8a3d8af (bug 1200595)
Backed out changeset e55376bd2cf8 (bug 1200595)
Backed out changeset 9c27c8e2c021 (bug 1200595)
Backed out changeset a369a2983ceb (bug 1200595)
Backed out changeset 09e71ba15ea8 (bug 1200595)
Backed out changeset b555b130d439 (bug 1200595)
Backed out changeset 6819f6d82287 (bug 1200595)
Backed out changeset a8cdfbf443d8 (bug 1200595)
Backed out changeset 0092c9d7a86b (bug 1200595)
Backed out changeset 6dc38a1e6073 (bug 1200595)
Backed out changeset fe2164aa1468 (bug 1200595)
2015-11-20 16:55:26 +01:00
Trevor Saunders
24d6e6dd8d
bug 1225943
- remove QI to nsIMarkupDocumentViewer from gfx/tests/crashtests/358732-iframe.html r=smaug
2015-11-20 09:45:23 -05:00
Trevor Saunders
6ecf00de43
bug 1225943
- remove \rs from gfx/tests/crashtests/358732-iframe.html r=smaug
2015-11-20 09:45:23 -05:00
Nicolas Silva
25167273f1
Bug 1200595 - Merge TextureClient and ClientTexture back into TextureClient. r=mattwoodrow
2015-11-20 14:25:00 +01:00
Nicolas Silva
71d9215e93
Bug 1200595 - Buffer TextureData implementation. r=mattwoodrow
2015-10-15 17:53:33 +02:00
John Daggett
b788233f65
Bug 1213280 - fix OSX font selection under 10.11. r=jfkthame
2015-11-20 22:01:12 +09:00
Tom Klein
ca7b6331ec
Bug 1131264 - Extend the workaround for drawing D2D circles. r=bas
2015-11-19 13:57:32 -06:00
Bas Schouten
1d56bd9dc8
Bug 1225125 - Test: Check if we crash easily on a 0x0 clipped layer surface. r=jrmuizel
2015-11-17 18:38:46 +01:00
Carsten "Tomcat" Book
1cf9b8b2ab
merge mozilla-inbound to mozilla-central a=merge
2015-11-17 12:26:16 +01:00
Kevin Wern
02d8d69dc7
Bug 1199798 - Create tests for TreeTraversal.h r=botond
...
Move queue and stack includes outside of mozilla namespace.
Test the following for searches:
- Null root returns null.
- Needle is root returns root.
- No needle results in full traversal.
- Needle node in middle returns that needle, and stops traversing.
Test the following for ForEachNode:
- Null root still runs correctly.
- No skips results in traversal of entire tree.
- Root skip results in only changing the root.
- First skips are still included (whether leaf or parent).
--HG--
extra : source : 6d2572c274363c7544c4f96f0016fead098b157e
2015-11-16 13:54:12 -05:00
Wes Kocher
c0ece6bf0d
Merge m-c to fx-team, a=merge
...
--HG--
extra : commitid : 2bzybQqlwy0
2015-11-16 17:28:26 -08:00
Luca Greco
b6dcf4514a
Bug 1218364 - windowless browser windows should not crash on Troubleshoot. r=billm,jrmuizel
2015-11-11 07:08:00 +01:00
Carsten "Tomcat" Book
b82e1bbe8e
Backed out changeset e23d0660a042 (bug 1218364) for mulet bustage
2015-11-13 12:32:15 +01:00
Luca Greco
ec406c903b
Bug 1218364 - windowless browser windows should not crash on Troubleshoot. r=billm r=jrmuizel
2015-11-11 07:08:00 +01:00
Nicholas Nethercote
369f54f3a3
Bug 1224482 (part 1) - Tweak typed/untyped versions of Get{,Client,Screen}Bounds(). r=kats.
...
In nsIWidget, GetBoundsUntyped(), GetClientBoundsUntyped() and
GetScreenBoundsUntyped() are currently the primary implementations, and the
untyped versions are defined on top of them. This patch flips that around.
--HG--
extra : rebase_source : 15b2f08f90bf4d1e209c6cb885f6a6e3b8db6708
2015-11-12 16:04:52 -08:00
Nicholas Nethercote
ad0dd8414a
Bug 1223310
(part 2) - Use LayoutDeviceIntRect for bounds-related functions in nsIWidget. r=kats.
...
The patch renames the existing functions (GetBounds(), GetClientBounds(), etc)
by adding an |Untyped| suffix. It then adds typed equivalents, and uses those
typed equivalents in all the call sites where it's easy to do so. The trickier
remaining call sites are converted to use the Untyped-suffix version.
--HG--
extra : rebase_source : 6bfb15bfc4698e2eba7d4db55497299d3dffcd51
2015-11-09 21:37:32 -08:00
Mason Chang
189075b950
Bug 1223052 - Add a gtest to test that the vsync source supplies a proper vsync rate. r=kats
2015-11-09 19:10:26 -08:00
Ryan VanderMeulen
df7b938aec
Bug 691581 - Add crashtest.
2015-10-31 21:43:42 -04:00
Nigel Babu
85f5cfc5cf
Backed out changeset 5cf33dcba0d0 (bug 691581) for upcoming bustage
2015-11-02 16:13:36 +05:30
Ryan VanderMeulen
ce9e75cf5f
Bug 691581 - Add crashtest.
2015-10-31 21:43:42 -04:00
Robert O'Callahan
2d8cd33dc4
Bug 264412. Refactor nsIFrame::GetRenderedText API to be more sane. r=mats,marcoz
...
The test changes here are to adjust for the fact that
nsTextFrame::GetRenderedText can now trim whitespace from the end of lines
that end in a hard line break.
--HG--
extra : commitid : 42YjYQUaiwY
extra : rebase_source : 69d3a9c5086c116365a0488d1b4fc52fc6524196
2015-10-30 19:23:10 +13:00
Ryan VanderMeulen
870eec83f5
Bug 699563 - Add crashtest.
...
--HG--
extra : rebase_source : 7751d2e89933a19588523f400ff3bff291dad1e2
2015-11-01 07:23:24 -05:00
Ryan VanderMeulen
389957babc
Bug 696936 - Add crashtest.
...
--HG--
extra : rebase_source : 7b5a7d1c0413e9410c44f169c914e8b514ec741a
2015-11-01 07:23:24 -05:00
Ryan VanderMeulen
323b661160
Bug 675550 - Add crashtest.
...
--HG--
extra : rebase_source : 5bf99f8b88246e6f92a6cb45ef20e57f87985612
2015-11-01 07:23:23 -05:00
Ryan VanderMeulen
4368ca7af0
Bug 662467 - Add crashtest.
...
--HG--
extra : rebase_source : 62b93a04016843fdfeb46ee020e1c7dd991427cb
2015-11-01 07:23:23 -05:00
Ryan VanderMeulen
028dec7cc8
No bug - Various crashtest manifest cleanups.
...
--HG--
rename : dom/base/crashtests/713417.html => dom/base/crashtests/713417-1.html
rename : dom/workers/test/1158031.html => dom/workers/test/crashtests/1158031.html
rename : dom/workers/test/779707.html => dom/workers/test/crashtests/779707.html
rename : dom/workers/test/943516.html => dom/workers/test/crashtests/943516.html
rename : dom/workers/test/crashtests.list => dom/workers/test/crashtests/crashtests.list
rename : layout/generic/crashtests/812879.html => layout/generic/crashtests/812879-1.html
rename : layout/generic/crashtests/first-letter-638937.html => layout/generic/crashtests/first-letter-638937-1.html
extra : rebase_source : b9274dc6870030ed62bcee35350d566160502869
2015-10-31 19:35:27 -04:00
Ryan VanderMeulen
21f2ea8cd2
Bug 595042 - Add crashtest.
2015-10-27 10:03:38 -04:00
Ryan VanderMeulen
b937bbca1e
Bug 563740 - Add crashtest.
2015-10-27 10:03:38 -04:00
Ryan VanderMeulen
59d9eef23c
Bug 516512 - Add crashtest.
2015-10-27 10:03:38 -04:00
Ryan VanderMeulen
4706edf172
Bug 710149 - Add crashtest.
2015-10-25 00:06:23 -04:00
Ryan VanderMeulen
6454e0e49b
Bug 557348 - Add crashtest.
2015-10-25 00:06:23 -04:00
Robert O'Callahan
0e2b65352f
Revert incorrectly committed changes ab657569f554 and a396f4262479
...
--HG--
extra : commitid : IHQ60dccnSZ
extra : amend_source : 9302339fd951446a37909b31a1ccb56aff470325
2015-10-24 22:38:22 +13:00
Robert O'Callahan
ff38db98f3
Bug 264412. Refactor nsIFrame::GetRenderedText API to be more sane. r=mats,marcoz
...
The test changes here are to adjust for the fact that
nsTextFrame::GetRenderedText can now trim whitespace from the end of lines
that end in a hard line break.
--HG--
extra : commitid : Dn0U0KPLfbY
extra : rebase_source : 57a6ad2e3ba1f7ec6aef9b940d8facdbba7e9c91
2015-10-24 22:27:29 +13:00
Nathan Froyd
735e488da3
Bug 1217662 - part 2 - move mozilla::layers::LayerUserData to a separate header; r=mattwoodrow
...
Having to include all of Layers.h just to get at the definition of
LayerUserData is inconvenient, especially as most of the interesting
things in Layers.h can be forward-declared. Let's move LayerUserData to
its own header, so clients can include a small header for that,
forward-declare anything else they need from Layers.h, and reduce header
bloat.
2015-10-22 16:04:35 -04:00
Geoff Brown
138ed9d07e
Bug 1216304 - Skip gfx/tests/crashtests/815489.html on Android for frequent OOM failures; r=me
2015-10-20 08:17:15 -06:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd
583afa0965
Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
...
This commit was generated using the following script, executed at the
top level of a typical source code checkout.
# Don't modify select files in mfbt/ because it's not worth trying to
# tease out the dependencies currently.
#
# Don't modify anything in media/gmp-clearkey/0.1/ because those files
# use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
grep -v 'mfbt/RefPtr.h' | \
grep -v 'mfbt/nsRefPtr.h' | \
grep -v 'mfbt/RefCounted.h' | \
grep -v 'media/gmp-clearkey/0.1/' | \
xargs perl -p -i -e '
s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#; # handle strange #includes
'
# |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'
# RefPtr.h used |byRef| for dealing with COM-style outparams.
# nsRefPtr.h uses |getter_AddRefs|.
# Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Aniket Vyas
95a17ea52c
Bug 1197315 - remove PR_snprintf calls in gfx/; r=froydnj
2015-10-12 14:06:19 -07:00
Bas Schouten
55fc81be8b
Bug 1208465 - Part 2: Disable using Direct2D when 1.1 is unavailable. r=jrmuizel
2015-09-25 13:30:57 +00:00
James Willcox
f3e7b2c099
Bug 1148131 - Enable DrawTargetTiled on Android r=Bas
2015-09-28 09:37:00 -05:00
Nicolas Silva
6198b794c9
Bug 1083101 - rename gfx::Mutex into gfx::CriticalSection and move it to its own file. r=jrmuizel
2015-09-28 13:49:54 +02:00
Nicolas Silva
120cce1d84
Bug 1083101 - Win32 implementation of the JobScheduler. r=jrmuizel
2015-09-28 13:49:52 +02:00
Nicolas Silva
850e06aa00
Bug 1083101 - Add a task scheduler to Moz2D. r=jrmuizel
2015-09-28 13:49:43 +02:00
Nicolas Silva
ae47538b3f
Bug 1083101 - Add a memory arena to Moz2D. r=jrmuizel
2015-09-28 13:49:33 +02:00
Nicholas Nethercote
89189f2ced
Bug 1208283 (part 2) - Change ColorLayer::mColor, ColorLayerProperties::mColor, ReadbackLayer::mBackgroundColor from gfxRBGA to gfx::Color. r=jwatt.
...
This avoids some gfxRGBA-to-Color conversions.
--HG--
extra : rebase_source : ba62db5204301e4ab57f05b9f9901f986f5b09aa
2015-09-24 18:16:45 -07:00
Wes Kocher
d28eb4d8c9
Backed out bug 1083101 for build bustage CLOSED TREE
...
changesets backed out:
e39dfd9e05cb, cd54e93993b4, 61db1a51a7c4, c20fd7506bb7, b5e97b0facb7, cdf356cb817e, b058a918f443, d421e79326a2, 34a0be9af3f3, bba6f89ab775, 2fd5cfcea4e5
--HG--
extra : amend_source : 9dd084c69c78fd2248dfb1b9ba562b8a396ba205
extra : histedit_source : 7dc833e4d0e1656ed98f560b0bd8fec9e0aee3ef%2C1df84fdd3e0adae06356f9ffbafc49538ffb8729
2015-09-24 11:14:50 -07:00
Nicolas Silva
5c994c47a4
Bug 1083101 - Back 5 patches out due to windows build issues, CLOSED TREE.
2015-09-24 19:47:20 +02:00
Nicolas Silva
38f6ea4b47
Bug 1083101 - rename gfx::Mutex into gfx::CriticalSection and move it to its own file. r=jrmuizel
2015-09-24 17:35:37 +02:00
Nicolas Silva
0819b3e7d5
Bug 1083101 - Win32 implementation of the JobScheduler. r=jrmuizel
2015-09-24 17:35:30 +02:00
Nicolas Silva
dbac937791
Bug 1083101 - Add a task scheduler to Moz2D. r=jrmuizel
2015-09-24 17:35:10 +02:00
Nicolas Silva
d730a8ec5f
Bug 1083101 - Add a memory arena to Moz2D. r=jrmuizel
2015-09-24 17:34:43 +02:00
Kartikaya Gupta
2379bce8fa
Bug 1204076 - Remove workaround for making a test pass now that the underlying issue is fixed. r=botond
...
--HG--
extra : commitid : DrEEMPLFv95
2015-09-23 16:25:51 -04:00
Botond Ballo
0f6812acd5
Bug 1014691 - Move TestAsyncPanZoomController.cpp to gfx/layers/apz/test/gtest. r=kats,glandium
...
--HG--
rename : gfx/tests/gtest/TestAsyncPanZoomController.cpp => gfx/layers/apz/test/gtest/TestAsyncPanZoomController.cpp
extra : source : 18f51acd98206483573be0fcf636e6fcc76e89b0
2015-09-18 13:19:05 -04:00
Botond Ballo
7918cf6631
Bug 1014691 - Fix an include-what-you-use error in TestCompositor.cpp. r=kats
...
--HG--
extra : source : 561ac57efc474b5e7c4cad3c55ef24edb7c955b6
2015-09-16 19:45:14 -04:00
Botond Ballo
f6316bb39c
Bug 1200063
- Rename MakeAPZCInstance to NewAPZCInstance for consistency. r=kats
...
--HG--
extra : source : acc5f6c432b709cf3519508579ae7076c6836a1f
2015-09-16 19:10:24 -04:00
Botond Ballo
3ec0663f3b
Bug 1200063
- Share a paint throttler between APZCs in the same layers id. r=kats
...
In this process, TaskThrottler is made reference-counted.
--HG--
extra : source : 68295d4d1616e257732b8f2e8dd46c24debc8626
extra : intermediate-source : 2cd0c4caec06689c5325e23006d2cb14d40c5b5c
2015-09-16 14:45:07 -04:00
Botond Ballo
d84490b7db
Bug 1200063
- Make APZCTreeManager the place where GetFrameTime() can be overridden. r=kats
...
--HG--
extra : source : b9e4b80438234e98f9304a6e29f0f4b9b8eb58a8
extra : intermediate-source : 3c88311ea92fef66479c08cd6b160de82d393249
2015-09-16 14:58:16 -04:00
Nicholas Nethercote
6f036921dc
Bug 1203427 (part 1) - Add nsExpirationTracker::mName. r=froydnj.
...
There are many sub-classes of nsExpirationTracker. In order to distinguish them
nicely in the logging of timer firings, it's necessary to manually name each
one. (This wouldn't be necessary if there was a way to stringify template
parameters, but there isn't.)
--HG--
extra : rebase_source : 89b99e9dbb2a806bd21145d04a5e023794643b61
2015-09-09 21:07:07 -07:00
Kearwood (Kip) Gilbert
821ab79706
Bug 914457 - Part 2: Implement Crashtest
...
- Implemented a crashtest based on the testcase.
--HG--
extra : rebase_source : ed2d2cc1f8c526d2c5608f4273453ad6d6c8fdaf
2015-09-14 09:26:13 -07:00
Kartikaya Gupta
6630a65ba4
Bug 1201529 - Ensure that zoomable scrollframes return true from WantAsyncScroll(). r=botond
...
--HG--
extra : commitid : 29B0WVGYfId
2015-09-11 21:58:16 -04:00
James Willcox
1e69214491
Back out 69e7d484b749452e7c7ba2ab01f66f71c6339a6b due to Android 4.0 debug reftest failures
2015-09-11 11:27:24 -05:00
James Willcox
d06b91de48
Bug 1148131 - Enable DrawTargetTiled on Android r=Bas
2015-09-11 09:09:47 -05:00
John Daggett
06366cd453
Bug 1203809 - pass textperf obj into gfxFontGroup constructor. r=m_kato
...
--HG--
extra : rebase_source : c9e9f4765b710937b046941a15e82eaf83c86b03
2015-09-11 13:24:33 +09:00
Nicholas Nethercote
2c42ac7941
Bug 1203379 - Fix indentation of gfxWordCacheTest.cpp. r=jrmuizel.
...
This file has an intriguing mix of 1, 2, 3 and 4 space indentation, which this
patch fixes. The patch also fixes a small number of other style violations,
such as long lines.
--HG--
extra : rebase_source : 5a4668ddc2441c190a393f3a8519ad451918c4f0
2015-09-09 20:51:33 -07:00
Jeremy Chen
593cd9f969
Bug 1202316 - Ease the fuzzy threshold of reftest to fit all platform. r=roc
...
--HG--
extra : rebase_source : bec30d857f13d497fd590afed84749a00dfc5404
2015-09-08 18:16:00 +02:00
Jeremy Chen
68a1353ed5
Bug 1149923 - Add reftest to testify whether mask layer is rendered correctly. r=roc
2015-08-31 20:35:00 -04:00
Ryan VanderMeulen
606e8823ff
Backed out 11 changesets (bug 1083101) for causing mass Windows 7 test failures.
...
Backed out changeset 42d192dbf938 (bug 1083101)
Backed out changeset 0a6cc12c33d7 (bug 1083101)
Backed out changeset b82291c07e0e (bug 1083101)
Backed out changeset 2d32462f6c58 (bug 1083101)
Backed out changeset c234e70021a7 (bug 1083101)
Backed out changeset 23a3870672ae (bug 1083101)
Backed out changeset 78f3c70cf1cb (bug 1083101)
Backed out changeset 86f55d9695f0 (bug 1083101)
Backed out changeset 6b8940305079 (bug 1083101)
Backed out changeset 5efc1e52e4e9 (bug 1083101)
Backed out changeset dd266975e407 (bug 1083101)
CLOSED TREE
2015-09-01 11:35:02 -04:00
Nicolas Silva
4fd638c31e
Bug 1083101 - Yet another static analysis fix in a CLOSED TREE.
2015-09-01 14:34:37 +02:00
Nicolas Silva
febcb13de3
Bug 1083101 - Various build/test fixes to Moz2D's TaskScheduler. r=me
2015-09-01 13:50:47 +02:00
Nicolas Silva
b4f213dcc0
Bug 1083101 - rename gfx::Mutex into gfx::CriticalSection and move it to its own file. r=jrmuizel
2015-09-01 13:50:43 +02:00
Nicolas Silva
23971db64e
Bug 1083101 - Win32 implementation of the TaskScheduler. r=jrmuizel
2015-09-01 13:50:40 +02:00
Nicolas Silva
707ce75b9e
Bug 1083101 - Add a task scheduler to Moz2D. r=jrmuizel
2015-09-01 13:50:19 +02:00
Nicolas Silva
511e3cc49b
Bug 1083101 - Add a memory arena to Moz2D. r=jrmuizel
2015-09-01 13:50:15 +02:00
Nicholas Nethercote
f44287005f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Ryan VanderMeulen
4dd652887b
Backed out 7 changesets (bug 1083101) for static analysis bustage and debug gtest asserts.
...
Backed out changeset a277ab555649 (bug 1083101)
Backed out changeset 831ad34078f3 (bug 1083101)
Backed out changeset 42d622972b02 (bug 1083101)
Backed out changeset ff4b35d2f501 (bug 1083101)
Backed out changeset 00e568d08a1f (bug 1083101)
Backed out changeset d9448dc26a8a (bug 1083101)
Backed out changeset 8c943cd72144 (bug 1083101)
CLOSED TREE
2015-08-27 10:47:55 -04:00
Nicolas Silva
70f660d10a
Bug 1083101 - Win32 implementation of Moz2D's task scheduler. r=jrmuizel
2015-08-27 14:47:16 +02:00
Nicolas Silva
1cfc57a5dc
Bug 1083101 - Add a task scheduler to Moz2D. r=jrmuizel
2015-08-27 14:47:12 +02:00
Nicolas Silva
f6fc89b1d7
Bug 1083101 - Add a memory arena to Moz2D. r=jrmuizel
2015-08-27 14:47:07 +02:00
Kartikaya Gupta
c736111bee
Bug 1198900 - Add a gtest to ensure we don't crash when prevent-defaulting a wheel event. r=botond, a=topcrash
2015-08-26 15:08:00 -04:00
Mason Chang
1c24730f8d
Bug 1197898 - Delete vsync refresh driver preference. r=kats
2015-08-25 09:01:40 -04:00
Kartikaya Gupta
b9032e3705
Bug 1194876 - Add test. r=botond
...
--HG--
extra : commitid : Cg9fRSjAKgj
2015-08-25 07:50:01 -04:00
Mason Chang
696de26763
Bug 1197201. Delete hardware vsync and vsync compositor prefs. r=kats
2015-08-24 11:27:23 -04:00
Milan Sreckovic
2431defff4
Bug 1188105: Parse bad driver versions. r=botond
...
--HG--
extra : rebase_source : 36d4c5636604bd0ff860859cbc571644eacdf165
2015-08-19 15:14:59 -07:00
John Daggett
688cc90bfc
Bug 1176637 - annotate known assertion in pango font branch. r=m_kato
2015-08-10 13:29:04 +09:00
Matt Woodrow
741dbc133e
Bug 1191040 - Ensure that we only compute the tile size once. r=BenWa
...
--HG--
extra : rebase_source : 1f3024d724384955220b95db5d347d12df4d22a8
2015-08-07 15:37:56 -04:00
Ryan VanderMeulen
55a80b1971
Backed out changeset 4e63305fe592 (bug 1191040) for Linux gtest crashes.
...
CLOSED TREE
2015-08-07 16:24:59 -04:00
Matt Woodrow
1e2e762f3c
Bug 1191040 - Ensure that we only compute the tile size once. r=BenWa
...
--HG--
extra : rebase_source : ffe1817416bc678c4ea8a0a42d809afd4d3db86d
2015-08-07 15:37:56 -04:00
Matt Woodrow
d2d5e5b9a3
Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert
2015-07-29 16:35:55 -04:00
Matt Woodrow
3391470c4d
Bug 1150944 - Fix gfxPrefs unit test to not rely on skia-gl pref. r=mstange
2015-07-29 16:35:55 -04:00
Wes Kocher
ec1078c65a
Backed out 6 changesets (bug 1150944, bug 1034370) for build failures in WebGLContext.cpp CLOSED TREE
...
Backed out changeset e2a6160242e5 (bug 1150944)
Backed out changeset 1c510537d20b (bug 1150944)
Backed out changeset 7ae813666ed5 (bug 1150944)
Backed out changeset 2f29ac2e31cd (bug 1150944)
Backed out changeset bf7681b1567e (bug 1150944)
Backed out changeset 79c6b8d014d2 (bug 1034370)
2015-07-29 14:16:17 -07:00
Matt Woodrow
501c8bec02
Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert
2015-07-29 16:35:55 -04:00
Matt Woodrow
a4cac5b663
Bug 1150944 - Fix gfxPrefs unit test to not rely on skia-gl pref. r=mstange
2015-07-29 16:35:55 -04:00
Bobby Holley
97b9240b34
Bug 1188696
- Hoist nsRefPtr.h into MFBT. r=froydnj
2015-07-29 10:44:59 -07:00
Kartikaya Gupta
75997e4ed0
Bug 1186004 - Split the asyncPanZoom reftest sandbox condition into asyncPan and asyncZoom. r=mstange
2015-07-22 23:42:08 -04:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Robert O'Callahan
d42119a3f1
Bug 1143575. Store composition time in Compositor. r=nical
...
We'll need this later so ImageHost can select the correct image to use.
Adding a TimeStamp parameter to BeginFrame is a bit annoying since BeginFrame
is overridden by every subclass. It's a bit more convenient to just call a
separate non-virtual method just before we call BeginFrame.
--HG--
extra : commitid : 3QUviDozXL
extra : rebase_source : ba6bc3d846606f3f7598f4a3b687b68746067ce3
2015-07-07 15:38:38 +12:00
Tom Klein
eac491927d
Bug 1143303 - extend D2D circle workaround to work for small circles. r=bas
...
--HG--
extra : rebase_source : 2476d38321cddd744fe51b0f7d690643ad74deef
2015-07-06 22:46:00 +02:00
Lynn Tran
6ee48e8466
Bug 1031443 - Allow panning in the pinching state even if zooming is
...
disabled;r=botond
--HG--
extra : source : f3199edbe30a04a93986ff6054d192e59b658482
2015-07-01 14:58:32 -04:00
Benoit Girard
509337a1a0
Bug 1132467 - Adjust qcms lut inverse binary search of non monotonic TRC. r=jrmuizel
...
--HG--
extra : commitid : KdtckZDOAZH
2015-06-04 19:30:52 -04:00
Ryan VanderMeulen
dd75267bf8
Bug 1179287 - Skip TestTiledLayerBuffer due to Linux PGO bustage.
...
CLOSED TREE
2015-07-01 13:42:48 -04:00
Nicolas Silva
e706f98607
Bug 1179287 - Attempt to fix a gcc warning by removing the line in the test that may have caused it. CLOSED TREE
2015-07-01 18:22:17 +02:00
Nicolas Silva
c23b8a3c64
Bug 1170189 - Simplify the client-side tiling code. r=BenWa
2015-07-01 13:50:58 +02:00
Nathan Froyd
974d8120f2
Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
...
This conversion was done with the script:
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
-e 's/TemporaryRef</already_AddRefed</g'
Manual fixups were performed in the following instances:
- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
into already_AddRefed.
- The following files had explicit Move() calls added to make up for the lack
of a copy constructor on already_AddRefed:
dom/base/ImageEncoder.cpp
dom/media/MediaTaskQueue.{h,cpp}
dom/media/webaudio/PannerNode.cpp
- A redundant overload for MediaTaskQueue::Dispatch was deleted.
- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.
- Comments, using declarations, and forward declarations relating to
TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
already_AddRefed.
2015-06-17 10:00:52 -04:00
Tom Klein
69ad936a10
Bug 853889 - Check single-box orientaton in _cairo_bentley_ottmann_tessellate_rectangular_traps and _cairo_bentley_ottmann_tessellate_boxes. r=jmuizelaar
...
The fix for _cairo_bentley_ottmann_tessellate_boxes is from cairo upstream
commit 11b6c49c103d53526e9805c8906fde5dbb2eb884.
--HG--
extra : rebase_source : f9a52a5c6d20e560946abc4fb61bfd4a71fafb6a
2015-06-18 13:15:00 -04:00
Kartikaya Gupta
1d81392d69
Bug 1163832 - Add an API to flush pending APZ repaint requests and dispatch a notification upon completion. r=botond
2015-06-19 08:25:41 -04:00
Ryan VanderMeulen
b290b7f37c
Backed out changeset 264d12cfb073 (bug 853889) for Android 853889-1.html reftest failures.
...
CLOSED TREE
2015-06-17 11:43:23 -04:00
Tom Klein
5e589d88a4
Bug 853889 - Check orientation of single trapezoid in _cairo_bentley_ottmann_tessellate_rectangular_traps. r=jmuizelaar
...
--HG--
extra : rebase_source : 852a5923994f3d75f0ec68fe9d500f3cade5ba18
2015-06-15 16:57:00 +02:00
Jeff Muizelaar
e50ab42b38
Bug 1170983 - Re-enable gfx gtests that were skipped on Windows. r=ted
...
We can run these now that we don't split out gkmedias.
This also changes a test to avoid MSVC codegening a divide by 0
--HG--
extra : rebase_source : 06af10f1d6779237d2cc6c1dabfd9378889893ee
2015-06-04 14:34:46 -04:00
Botond Ballo
4958aa7c1b
Bug 1158424 - Rename FrameMetrics::mIsRoot to mIsRootContent. r=kats
...
--HG--
extra : rebase_source : a082680d842dd182d899f637200ce911cc3c480d
extra : source : 8b67f0b8dc96cebe9a58356708b23bebd8532134
2015-06-08 16:01:26 -04:00
Botond Ballo
ab3226e2dc
Bug 1169690 - Gtests. r=kats
...
--HG--
extra : source : 4561a52ca917088abe6c65b02e8b1585d5bb095a
2015-06-03 19:38:50 -04:00
Kartikaya Gupta
d686ee56fb
Bug 1169695 - Remove as many manual calls to spin the task queue as possible. r=botond
2015-06-01 14:36:12 -04:00
Kartikaya Gupta
7d039d70cb
Bug 1169695 - Ensure timed tasks are dispatched appropriately when advancing the time. r=botond
2015-06-01 14:36:12 -04:00
Kartikaya Gupta
d67fa2cccc
Bug 1169695 - Store task run-at times in the task queue. r=botond
2015-06-01 14:36:12 -04:00
Kartikaya Gupta
1b776f1f28
Bug 1169695 - Advance the stored time when sampling the transform for a future frame. r=botond
2015-06-01 14:36:12 -04:00
Kartikaya Gupta
14fa5136ee
Bug 1169695 - Make the test timestamp privately held by the MockContentControllerDelayed. r=botond
2015-06-01 14:36:12 -04:00
Kartikaya Gupta
abff2dd438
Bug 1169689 - Make sure we don't end up with a spurious velocity if we're not going to be panning. r=botond
...
This patch also removes an unnecessary call to StartTouch, since the start pos
is not used when computing the pan delta any more.
2015-06-01 09:51:16 -04:00
Amanda Sambath
94ccfe2849
Bug 1158120 - Replace gfxIntSize by mozilla::gfx::IntSize in gfx/tests. r=nical
2015-05-28 13:02:44 +02:00
Timothy Nikkel
ae72b1ab27
Bug 1168630. Part 6. Modify the test for bug 1119497 based on the new assumption of always having a root APZC. r=botond
...
Part 5 adds an assert that we always return an APZC from GetAPZCAtPoint. The test for bug 1119497 fails this assumption because it does not give it's layer tree a root AZPC. In all non-test code we ensure that there is always a root APZC and many things would break without such. So we modify the test to always have a root APZC more like actual code.
The test is testing that we don't return the layer below (with an APZC) the topmost child layer (without an APZC). So checking if we hit the root APZC still makes the test test the same thing.
2015-05-31 14:44:41 -05:00
Tom Klein
21241a6bbf
Bug 1063486 - Track current point in _cairo_path_bounder_curve_to r=jmuizelaar
2015-05-30 16:07:48 +01:00
Kartikaya Gupta
9fe34a5df1
Bug 1166871 - Add a test. r=botond
2015-05-29 11:04:22 -04:00
Mike Hommey
ea7750bcb1
Bug 991983 - Define SOURCES as SourcePath. r=gps
2015-05-28 07:34:15 +09:00
Kartikaya Gupta
b54dc47f24
Back out 2 csets for bug 1163832 for emulator crashtest failures. r=me
...
CLOSED TREE
2015-05-22 07:51:55 -04:00
Kartikaya Gupta
86ed888daa
Bug 1163832 - Add an API to flush pending APZ repaint requests and dispatch a notification upon completion. r=botond
2015-05-22 06:42:08 -04:00
Nathan Froyd
db188ea282
Bug 1160485 - remove implicit conversion from RefPtr<T> to TemporaryRef<T>; r=ehsan
...
Having this implicit conversion means that we can silently do extra
refcounting when it's completely unnecessary. It's also an obstacle to
making RefPtr more nsRefPtr-like, so let's get rid of it.
2015-05-01 09:14:16 -04:00
Carsten "Tomcat" Book
dfe75f9228
Backed out changeset 81a47807c54a (bug 1134549) for crashtest failures on CLOSED TREE
2015-05-20 16:12:33 +02:00
Milan Sreckovic
b39a1b5e61
Bug 1162530 - Part 1: Add versioning to graphics blocklist. r=jmuizelaar
2015-05-15 10:42:10 -04:00
Tom Klein
a8e5f7cc4f
Bug 1134549 - Switch FlattenBezier from floats to doubles. r=bas
2015-05-20 11:44:05 +01:00
Botond Ballo
184a00be02
Bug 1159985 - Gtest. r=kats
...
--HG--
extra : source : 48c9d5ccd61b79caf959f6d6329977888d032fb8
2015-05-11 22:25:34 -04:00
Botond Ballo
23e426ca66
Bug 1159985 - In APZ gtests, allow panning in both directions. r=kats
...
--HG--
extra : source : 6869f19b8b653ee012d0d0bc7e0f7f473983820d
2015-05-11 22:06:03 -04:00
Botond Ballo
0fd5163a65
Bug 1163845 - Unify handling of time in APZ gtests. r=kats
...
--HG--
extra : rebase_source : f7b50c31bc39ed0a2d2d26250a0dc36355c0cf05
extra : source : 64cabb256acb8b30e4d67f78e94b8f6187e0e58d
2015-05-15 12:45:27 -04:00
John Daggett
0a76b17f6a
Bug 1056479 p3 - fixup various reftests for Linux. r=jfkthame
2015-05-13 14:11:25 +09:00
Carsten "Tomcat" Book
11670ea513
Backed out changeset 194a4c39c2a9 (bug 1056479)
2015-05-12 12:21:02 +02:00
John Daggett
197c2170e0
Bug 1056479 p3 - fixup various reftests for Linux. r=jfkthame
2015-05-12 17:44:20 +09:00
Carsten "Tomcat" Book
1cc8234416
Backed out 10 changesets (bug 1056479) for bustage on a CLOSED TREE
...
Backed out changeset d5b1f2b78915 (bug 1056479)
Backed out changeset bcc65b714dd6 (bug 1056479)
Backed out changeset 0b35e8a463d2 (bug 1056479)
Backed out changeset 0933391809c9 (bug 1056479)
Backed out changeset 93bd67204fac (bug 1056479)
Backed out changeset 5260b93eb0b9 (bug 1056479)
Backed out changeset 130bea3f8623 (bug 1056479)
Backed out changeset 408e078cc18d (bug 1056479)
Backed out changeset a651c240979d (bug 1056479)
Backed out changeset d74ae8fcaac9 (bug 1056479)
2015-05-12 08:25:19 +02:00
John Daggett
a92a57e31e
Bug 1056479 p3 - fixup various reftests for Linux. r=jfkthame
2015-05-12 14:51:17 +09:00
Kartikaya Gupta
e237a366e0
Bug 1160566 - Make FrameMetrics.mCompositionBounds private and add a getter/setter for it. r=botond
2015-05-07 14:44:03 -04:00
Thibaud Backenstrass
0e5d0b5e17
Bug 1158122 - Remove most occurences of nsIntRect in gfx/tests. r=nical
2015-05-07 11:08:01 +02:00
Botond Ballo
eec478ee63
Bug 1152051 - Gtest. r=Cwiiis,kats
...
--HG--
extra : source : b95b31b9f8dd13a6dc325b0647c8a301f5372d60
extra : intermediate-source : 71b8bc97a60421cb46c744adb7dfb3246c1c16eb
2015-04-29 19:38:02 -04:00
Kartikaya Gupta
a839cee2fc
Bug 1148350
- Add a test. r=botond
2015-04-30 14:30:38 -04:00
Kartikaya Gupta
dc74cd2fb0
Bug 1159398 - Set the controller thread when running APZ gtests. r=dvander
2015-04-29 07:22:27 -04:00
Ying-Ruei Liang (KK)
f17daf9c2a
Bug 1143522 - Convert Layer::mClipRect to ParentLayerIntRect. r=botond
...
Change interface of getter/setter for mClipRect,
also necessary modification for codes that use these resources.
* * *
Bundle mUseClipRect and mClipRect as Maybe<ParentLayerIntRect> mClipRect
--HG--
extra : rebase_source : ca0c60404a28b7418df88104b863760033289910
2015-04-11 22:03:00 -04:00
Ryan VanderMeulen
612dc2a6ee
Merge inbound to m-c. a=merge
2015-04-14 10:06:03 -04:00
Alexandre Lissy
366fdcfa2e
Bug 1153574 - Re-enable Mulet reftests taskcluster-specific disables. r=ahal, a=test-only
2015-04-13 14:26:00 -04:00
Botond Ballo
7009659de8
Bug 1152051 - During an overscroll animation, detect a peak even if a sample has a velocity of exaclty zero. r=Cwiiis
2015-04-08 19:59:14 -04:00
Nicolas Silva
0b1f75bea0
Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas
2015-04-07 16:08:57 +02:00
Jonathan Kew
179aafeda9
Bug 1012640 - patch 1 - Add checks for IsOriginalCharSkipped() to the gfxSkipChar unit tests. r=roc
2015-04-07 09:27:18 +01:00
Nicolas Silva
52be9f47b5
Bug 1132854 - Remove useless ThebesIntSize conversion helper. r=Bas
2015-03-29 16:59:15 +02:00
Nicolas Silva
e3eaf89e3f
Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc
2015-03-29 16:59:08 +02:00
Martijn Wargers
84811f67ae
Bug 1145553 - Remove remaining usage of enablePrivilege in crashtests; r=jmaher
2015-03-20 14:29:19 +01:00
Mason Chang
ba8626d695
Bug 1146691 - Create tests to check that the RefreshDriverVsyncObservers get vsync notifications. r=kats
2015-03-24 08:50:58 -07:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Wes Kocher
14f75f943c
Merge m-c to inbound a=merge CLOSED TREE
2015-03-20 18:01:17 -07:00
Kartikaya Gupta
bd98be2c55
Bug 1144831 - Remove the HandleLongTapUp callback and just use HandleSingleTap instead. r=botond
2015-03-20 14:26:52 -04:00
Alexandre Lissy
16ab34d6ec
Bug 1144080 - Disable reftests on Mulet for TaskCluster. r=ahal
2015-03-20 00:45:00 +01:00
Kartikaya Gupta
99454216d3
Bug 1144112 - Update the FlingStop tests to check if events are flowing properly after the fast-motion blocks are done. r=botond
2015-03-19 06:33:32 -04:00
Kartikaya Gupta
30cf8d06df
Bug 1144112 - Only set the default allowed touch behaviour if the event is not consumed, to have the tests better reflect reality. r=botond
2015-03-19 06:33:32 -04:00
Nicolas Silva
0082df31ab
Bug 1142659 - Fix coverity warning in Layers::UserData test. r=jrmuizel
2015-03-17 15:50:06 +01:00
Botond Ballo
cda50e28d3
Bug 1036967 - Use ScaleFactors2D instead of ScaleFactor where appropriate in APZ and surrounding code. r=kats
...
--HG--
extra : rebase_source : bbdd433260c2e5244602275aa8516723f87d5740
extra : source : a2dbf7ec87c50f35a089470e39d6b4b448992e3d
2015-03-06 13:54:10 -05:00
Jeff Muizelaar
69363dcf7f
Bug 1130978. Fix VisitEdges. r=kats
...
The code is broken because in the else case of VisitNextEdgeBetweenRect we
assume that r2->x1 < r1->x1. This is not always the case.
The fix is to have VisitNextEdgeBetweenRect return whether there's an overlap.
The calling code can than adjust x1 appropriately if r1 != r1_end && r2 != r2_end.
2015-03-11 01:18:30 -04:00
Kartikaya Gupta
c6da1df376
Bug 1137267 - Remove unneeded flags to track touch listeners and touch caret. r=smaug,dvander,botond
2015-03-10 09:29:25 -04:00
Kartikaya Gupta
cf25343ea5
Bug 1137267 - Enable event-regions automatically when APZ is enabled, and allow the APZ code to assume event-regions are enabled always. r=botond,tn
2015-03-10 09:29:19 -04:00
Kearwood (Kip) Gilbert
8d1fcc4892
Bug 945584: Part 6 - Implementation of scroll snapping (v10 Patch), r=roc, r=kats
...
- Implemented CSS scroll snapping (http://dev.w3.org/csswg/css-snappoints/ )
--HG--
extra : rebase_source : e100b6a2cbc00321d6d1083d12a99213e34d5f9d
2015-02-19 15:53:30 -08:00
Botond Ballo
6f8bf1747c
Bug 943537 - In the GeckoContentController interface, take the modifiers for tap events in 'widget modifier' format rather than 'DOM modifier' format. r=kats,mbrubeck
...
--HG--
extra : rebase_source : f931503087e1a13725c9a3a398d49111e060e76e
2015-03-02 16:38:07 -05:00
Kartikaya Gupta
8e267df190
Bug 1092128 - Ensure that when touch-action is enabled the gtests always provide default touch behaviours where expected. r=botond
2015-03-02 11:51:45 -05:00
Kartikaya Gupta
17dd704db3
Bug 1092128 - Ensure the tests for touch action disabled actually disable touch action. r=botond
2015-03-02 11:50:38 -05:00
Benoit Girard
64d4c32b50
Bug 1135677
- Deal with overflowing rects. r=bas
...
--HG--
extra : rebase_source : d5b26d8d1e35f9138ad81af0650f3817c3d43b09
2015-02-23 14:09:56 -05:00
Abhishek Arya
f43756ff87
Bug 944579 - another crashtest.
2015-02-22 04:57:16 +00:00
Jesse Ruderman
332e3b357f
Bug 950000 - crashtest.
2015-02-22 02:41:58 +00:00
Abhishek Arya
e6d9ca6bd4
Bug 944579 - crashtest.
2015-02-22 02:41:58 +00:00
Jesse Ruderman
c2bcab6f73
Bug 593526 - crashtests.
2015-02-22 02:41:58 +00:00
Carsten "Tomcat" Book
999f6284ec
Backed out changeset e1bb91f60697 (bug 1129871)
2015-02-17 14:32:15 +01:00
Nicolas Silva
4fea5323ad
Bug 1129871 - Favor passing tiles by ref rather than copy part 2. r=BenWa
2015-02-14 12:14:59 +01:00
Jeff Gilbert
d3813c406b
Bug 1124394 - Support Core profiles for GLContext. - r=kamidphish
2015-02-12 19:00:41 -08:00
Kartikaya Gupta
b3954b6850
Bug 930939 - Move thread assertion code into APZThreadUtils and add more assertions. r=botond
2015-02-10 08:24:23 -05:00
Jeff Gilbert
56b00391c3
Backout 80a88a3badba for causing bug 1130086.
2015-02-06 11:37:04 -08:00
Robert O'Callahan
7a165b59ca
Bug 1129774. Part 5: Remove aContext parameter from nsIWidget::Create. r=jmathies
...
--HG--
extra : rebase_source : 517ff800c0307e69465a37da7e52605d2fcda0d1
2015-02-05 20:35:25 +13:00
Jeff Muizelaar
bf6b3c59f1
Bug 1129064. Remove duplicate IsPlaceholderTile function. r=BenWa
...
The method version is cheaper because it doesn't need to make a copy of the
Tile.
2015-02-03 14:07:45 -05:00
Jeff Gilbert
680ae080b6
Bug 1124394 - Support WebGL 2 with Core Profiles on Mac. - r=kamidphish
2015-02-04 16:34:55 -08:00
David Zbarsky
c73ec42d2d
Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond
2015-02-04 15:21:03 -05:00
Wes Kocher
d7313c3320
Backed out changeset 176166c0bae9 (bug 1124394) for b2g device bustage on a CLOSED TREE
2015-01-29 14:23:37 -08:00
Jeff Gilbert
95f269cb3f
Bug 1124394 - Support WebGL on Core Profiles on Mac. - r=kamidphish
2015-01-29 00:44:19 -08:00
Mason Chang
1eccaeec01
Bug 1098701. Part 1: gtest framework and tests. r=kats
2015-01-23 11:19:54 -08:00
Daniel Holbert
a5ce8d10a3
Bug 1123878: Add MOZ_OVERRIDE annotations in TestCompositor.cpp. r=BenWa
2015-01-20 13:17:27 -08:00
Surabhi Anand
98a481bdeb
Bug 1120203 - Transitioning mPresShellResolution field of FrameMetrics to use getters/setters. r=kats
2015-01-16 16:15:52 -05:00
Kartikaya Gupta
277a11f599
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
2c4a8779e8
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
Benoit Girard
9b8c2dc37d
Bug 1068190 - Part 1: Add foundation for compositor unit tests. r=mstange
2015-01-14 17:24:09 -05:00
Kartikaya Gupta
98ceec6992
Bug 1117712 - Gtest. r=botond
2015-01-14 10:41:38 -05:00
Kartikaya Gupta
cdac1b867f
Back out bug 1119497 and one patch from bug 920036 for causing bug 1121033. r=me
2015-01-13 21:16:51 -05:00
Kartikaya Gupta
1a47ec5608
Bug 1119497 - Rename the HitTestResult enum values in light of the new hit-test code. rs=botond
2015-01-10 10:55:47 -05:00
Kartikaya Gupta
a64136480e
Bug 1119497 - Don't continue searching if we hit a layer that has no containing APZC. r=botond
2015-01-10 10:55:47 -05:00
Botond Ballo
2a492472b4
Bug 1109873 - Gtest that demonstrates the problem with obscured regions and transforms. r=kats
2015-01-08 09:40:01 -05:00
Kartikaya Gupta
1eb610400a
Bug 1109873 - Implement the expanded HitTestingTree. r=botond
2015-01-08 09:40:01 -05:00
Kartikaya Gupta
ceba82c3a0
Bug 1109873 - Allow the APZC stored in the HitTestingTreeNode to be null. r=botond
2015-01-08 09:40:01 -05:00
Kartikaya Gupta
1bf8a513d0
Bug 1109873 - Rename UpdatePanZoomControllerTree to UpdateHitTestingTree. r=botond
2015-01-08 09:40:01 -05:00
Kartikaya Gupta
e0077ec0d4
Bug 1109873 - Move hit-testing data into HitTestingTreeNode. r=botond
2015-01-08 09:40:01 -05:00
Kartikaya Gupta
66746c1cfb
Bug 1109873 - Introduce the HitTestingTreeNode class. r=botond
...
This patch extracts a HitTestingTreeNode from AsyncPanZoomController. The tree
formed by these nodes is very similar in structure to the APZC tree that we had
previously. The main difference is that we can have multiple HitTestingTreeNode
instances per APZC; each HitTestingTreeNode corresponds to a different layer
with the same metrics.
This is a first step in extracting the hit-test data entirely from the
AsyncPanZoomController class and having a 1:1 mapping with the layer tree.
2015-01-08 09:40:01 -05:00
Botond Ballo
755b86ca3a
Bug 1076241 - Get rid of the nontransient async transform. r=kats
2014-12-19 18:53:05 -05:00
Kushan Joshi
94821f46e8
Bug 1116008 - Make FrameMetrics::mCriticalDisplayPort private. r=kats
2014-12-30 14:07:57 -05:00
Leonid V. Fedorenchik
9085b13b1e
Bug 1115327 - Changed FrameMetrics.mScrollableRect to be accessible by getter/setter methods. r=kats
2014-12-27 12:48:27 -05:00
Yan Gouts
0e7074b2bd
Bug 1113774 - Transitioned FrameMetric mDisplayPort accesses to Get/Set method calls. r=kats
2014-12-23 10:35:58 -05:00
Prabhjyot Singh Sodhi
0de35ab99f
Bug 1112830 - Changed mCumulativeResolution of FrameMetrics.h to private and all correspondings files using this variable using getters and setters;r=kats
2014-12-18 19:33:18 -05:00
Prabhjyot Singh Sodhi
74d83cd734
Bug 1101620 - Changed mDevPixelsPerCSSPixel of FrameMetrics.h to private and all corresponding files using this variables using getters and setters;r=kats
2014-12-17 17:14:05 -05:00
Ryan VanderMeulen
87a3f4581f
Merge m-c to b2g-inbound. a=merge
2014-12-15 14:04:03 -05:00
Kartikaya Gupta
65fb04ab03
Bug 1023473 - Follow-up to convert tabs to spaces. r=me and DONTBUILD
2014-12-15 10:45:46 -05:00
Kartikaya Gupta
4130a7b1ff
Bug 1109677 - Ensure that the hit region is populated for layer trees in gtests. r=botond
2014-12-14 21:37:52 -05:00
Kartikaya Gupta
8af432308c
Bug 1109677 - Banish scrollinfo layers from the gtests as they are not used with event regions. r=botond
2014-12-14 21:37:51 -05:00
Kartikaya Gupta
430339dfea
Bug 1109677 - Ensure tests that use SetMayHaveTouchListeners work with event-regions enabled. r=botond
2014-12-14 21:37:51 -05:00
Kartikaya Gupta
140db2dc90
Bug 1109855 - Fix building of APZC instances via the tree manager for gtests. r=botond
...
In testing scenarios ensure that we always create a TestAsyncPanZoomController
so that we can unconditionally cast to it and use the extra helpers on that
class.
2014-12-11 10:39:19 -05:00
Ryan VanderMeulen
cc5461caf4
No bug - Put the gfx mochitest.ini in the same dir as the tests it lists.
...
--HG--
rename : gfx/tests/mochitest.ini => gfx/tests/mochitest/mochitest.ini
2014-12-09 09:55:25 -05:00
David Anderson
636a716c5b
Rename ContentReceivedTouch to ContentReceivedInputBlock. (bug 1013432 part 3, r=kats)
...
--HG--
extra : rebase_source : ee0d05d4774fac9fb34297953e90e61f1d979d5d
2014-12-09 02:35:12 -08:00
Chris Peterson
22d0c4b343
Bug 1107814 - Part 1: Mark more directories as FAIL_ON_WARNINGS for all compilers. r=gps
2014-12-04 16:24:03 -08:00
Gary Kwong
4b8c6a7a2e
Bug 428633 - crashtest.
2014-11-23 15:09:50 +00:00
Kartikaya Gupta
6b5ac6ea72
Bug 918288 - Modify the SetTargetAPZC API to take an array of targets for multiple touch points. r=botond
2014-11-21 21:36:25 -05:00
Kearwood (Kip) Gilbert
c4083d3a1f
Bug 1086723 - Part 2: Test. r=kats
...
- Reftest added to perform an async scroll and verify that the mask used
to render the rounded corners of a fixed position element are correctly
offset.
2014-11-19 12:39:00 +01:00
Kartikaya Gupta
c72bebf294
Bug 1090398 - Add basic gtests for the event-regions based hit-testing code. r=botond
2014-11-14 07:40:15 -05:00
Kartikaya Gupta
861e80bbaf
Bug 1090398 - Require APZC target confirmation before input blocks are ready for handling. r=botond
...
For proper hit-testing we need to deal with situations where the initial touch
input falls on a dispatch-to-content region of an APZC, and the main thread
later tells us that it actually hit another APZC. This patch allows input blocks
to have an "unconfirmed" APZC target for the initially-found target that can
then be replaced with a different target. Input blocks without a confirmed
target are not ready for processing.
2014-11-14 07:40:15 -05:00
Benoit Girard
8935e0b46d
Bug 1094442 - Part 2: Adjust tile size to the stride of the gralloc buffers. r=kats
...
--HG--
extra : rebase_source : d3386ee007d6429b81aa6d3ffe6c518fb67c7d6a
2014-11-12 17:55:13 -05:00
Botond Ballo
1c1e4448a5
Bug 1055741 - Unify the 'local Screen' and 'ParentLayer' coordinate systems. r=kats
2014-11-10 14:35:11 -05:00
Botond Ballo
751e400ea4
Bug 1076163 - Clean up the resolution-related fields and methods in FrameMetrics. r=kats
2014-10-20 17:12:35 -04:00
Carsten "Tomcat" Book
c247fdb775
Backed out changeset 71fe4233208a (bug 1076163)
2014-11-13 11:47:35 +01:00
Carsten "Tomcat" Book
4b4108a4a9
Backed out changeset a96930f1e26b (bug 1055741)
2014-11-13 11:47:31 +01:00
Botond Ballo
d766d4ca14
Bug 1055741 - Unify the 'local Screen' and 'ParentLayer' coordinate systems. r=kats
...
--HG--
extra : rebase_source : af7323668fb54079e121755660da2121bec3d76b
2014-11-10 14:35:11 -05:00
Botond Ballo
98ceb86b05
Bug 1076163 - Clean up the resolution-related fields and methods in FrameMetrics. r=kats
2014-10-20 17:12:35 -04:00
Kartikaya Gupta
3cacbfa9b0
Bug 1091283 - Allow using the existing gtest input helpers on APZCTreeManager as well. r=botond
...
Thanks to the magic of templates we can reuse the code we have for dispatching
common gestures into the AsyncPanZoomController.
2014-10-31 15:31:35 -04:00
Kartikaya Gupta
8b027fe00d
Bug 1091283 - Ensure that pinch gesture events actually get processed. r=botond
...
Currently only pinch gesture events getting created in the GestureEventListener
code will make it to AsyncPanZoomController::HandleGestureEvent. Any pinch
gesture events that the widget code dispatches into the APZCTreeManager get
ignored, which shouldn't be happening. We don't have any production code that
exercises these code paths at the moment, but fixing it up also reduces the
APIs exposed into the testing code.
2014-10-31 15:29:36 -04:00
Botond Ballo
a43be62c13
Bug 1066888 - Update gtests for overscroll physics improvements. r=kats
2014-10-31 12:05:29 -04:00
Nicholas Nethercote
ffff26cc63
Bug 1089446 - Remove gfx/tests/process-textruns.pl, which is ancient and unused. r=roc.
...
--HG--
extra : rebase_source : 81a688c2404ae3849e4e4ebd1fe934928fe38b2b
2014-10-28 15:04:03 -07:00
Ryan VanderMeulen
451d420f98
Bug 922976 - Disable 394751.xhtml on B2G for frequent failures.
2014-10-27 14:53:10 -04:00
Kartikaya Gupta
48f1a79f43
Bug 1088954 - Cleanup print 64-bit integers and remove a stray printf. r=botond
2014-10-24 14:45:00 +02:00
Kartikaya Gupta
080630c133
Bug 1083395 - Move some APZC functions that are no longer needed in production down to the test subclass. r=botond
2014-10-24 13:29:35 -04:00
Kartikaya Gupta
ab3387343c
Bug 1083395 - Move to a single input queue owned by the APZCTM instead of many queues owned by APZC instances. r=botond
2014-10-24 13:29:34 -04:00
Kartikaya Gupta
fe23988edf
Bug 1083395 - Replace the touch block balance with an input block identifier. r=botond
2014-10-24 13:29:30 -04:00
Himanshu Singh
5a4e5dca23
BUG 1087478 - Transition mMayHaveTouchListener to be private. r=kats
2014-10-23 09:10:47 -04:00
Kartikaya Gupta
72ea4fdacd
Bug 1013612 - Remove APZ-internal headers from being exported to non-layers code. r=botond
2014-10-16 09:23:52 -04:00
Jonathan Watt
c1c0f335ce
Bug 1082477, part 1 - Convert Matrix4x4::TranslatePost/ScalePost callers to Matrix4x4::PostTranslate/PostScale. r=Bas
2014-10-16 10:51:12 +01:00
Jon Morton
1700296f02
Bug 979835: Port BoxObject and its subclasses to WebIDL. r=khuey sr=bz
...
--HG--
rename : layout/xul/nsIPopupBoxObject.idl => dom/webidl/PopupBoxObject.webidl
rename : layout/xul/tree/nsITreeBoxObject.idl => dom/webidl/TreeBoxObject.webidl
rename : layout/xul/nsBoxObject.cpp => layout/xul/BoxObject.cpp
rename : layout/xul/nsBoxObject.h => layout/xul/BoxObject.h
rename : layout/xul/nsListBoxObject.cpp => layout/xul/ListBoxObject.cpp
rename : layout/xul/nsMenuBoxObject.cpp => layout/xul/MenuBoxObject.cpp
rename : layout/xul/nsPopupBoxObject.cpp => layout/xul/PopupBoxObject.cpp
2014-10-14 13:15:21 -07:00
Andrew Halberstadt
d292ee73f1
Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester
2014-10-07 18:18:28 -04:00
Jonathan Watt
c5ae349afc
Bug 1077961, part 2 - Stop doing lots of unnecessary and expensive Matrix4x4 multiplication. r=Bas
2014-10-08 04:43:00 +01:00
Botond Ballo
41c222db9a
Bug 1073250 - Gtest for stuck-in-apz-overscroll bug. r=kats
2014-10-03 20:35:16 -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
Kartikaya Gupta
7f4534b1c1
Bug 1043859 - Expose the APZC overscroll transform as a separate function. r=botond
2014-10-01 17:49:31 -04:00
Markus Stange
3efef60534
Bug 1073103 - SReplace 'Thebes' with 'Painted' in some more places. r=roc
2014-09-26 13:07:06 -04:00