Commit Graph

12053 Commits

Author SHA1 Message Date
Nicolas Silva
10493eef5e Bug 1060703 - Use XPCOM's event loop instead of chromium's in NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_MAIN_THREAD_DESTRUCTION. r=bjacob 2014-09-12 12:00:18 +02:00
Matt Woodrow
b981b9db8d Bug 1044702 - Use Moz2D source clipping when we can. r=Bas
--HG--
extra : rebase_source : 24eb333909db5278ff1a8babf9b4b907650695fa
2014-09-12 17:18:21 +12:00
Matt Woodrow
a4cc03c70e Bug 1062723 - Part 6: Implement source clipping for DrawTargetD2D1. r=Bas
--HG--
extra : rebase_source : bd1c022efe0548a9e7860fb18d6aced33ddad40f
2014-09-12 17:18:22 +12:00
Matt Woodrow
b48ce21873 Bug 1062723 - Part 5: Implement source clipping for DrawTargetD2D. r=Bas
--HG--
extra : rebase_source : d1d1a33f3007f92055488d79c6cdc039efe48a25
2014-09-12 17:19:23 +12:00
Matt Woodrow
5bb847de24 Bug 1062723 - Part 4: Implement source clipping for DrawTargetSkia. r=gw280
--HG--
extra : rebase_source : 8dc98b36fa84fd23e76daf9251f81960a56b2ca0
2014-09-12 17:18:22 +12:00
Matt Woodrow
7ab5665d74 Bug 1062723 - Part 3: Implement source clipping for DrawTargetCG. r=jrmuizel
--HG--
extra : rebase_source : 679e0a97bdc31bb4b98b375618f70fb04a74b2cb
2014-09-12 17:18:22 +12:00
Matt Woodrow
bfdf5c0a2a Bug 1062723 - Part 2: Implement source clipping for DrawTargetCairo. r=Bas
--HG--
extra : rebase_source : 9e02e1e91c3bcd455640a1f60e4da673302c5cf1
2014-09-12 17:11:36 +12:00
Matt Woodrow
b0b5937e07 Bug 1062723 - Part 1: Add source clipping to SurfacePattern. r=Bas
--HG--
extra : rebase_source : ccec8c8cb37f52710b0758360bea73696212734f
2014-09-11 18:13:52 +12:00
Jim Mathies
4231d23dd7 Bug 1066242 - Use a 'ui' chromium message loop/pump for the Windows compositor thread so that it can process native windowing events. r=Bas 2014-09-11 17:55:59 -05:00
Sotaro Ikeda
806c030b54 Bug 1049251 - Partially disable SkiaGL on Low total system memory r=jrmuizel 2014-09-11 16:52:42 -07:00
Michael Wu
e58cfe332e Bug 1063733 - Optimize DataSourceSurface allocation, r=bas,seth 2014-09-10 17:54:16 -04:00
Kartikaya Gupta
6ff9bb5a5b Bug 1066262 - Add some more thread assertions in AsyncPanZoomController. r=botond 2014-09-11 17:26:14 -04:00
Kartikaya Gupta
6b0862f4b0 Bug 1013385 - Add the layer bounds to the layers API and use it for checkerboarding. r=mattwoodrow,BenWa 2014-09-15 16:09:52 -04:00
Nicolas Silva
3a2f05799b Bug 1061696 - Don't crash release builds when failing to allocate a surface in AutoRestoreClippedOut::save. r=Bas 2014-09-11 17:27:48 +02:00
Jeff Muizelaar
876ec2d266 Bug 1064479. Redo how screen rotation is implemented on B2G/Layers. r=nical,mwoodrow
Currently we use a world transform on the LayerManager. This gets passed to the
screen render target which adjusts the gl transform to accomplish the rotation.
This causes a lot of the system to have to know about the transform.

Instead we can just bake the transform into the root layer's shadow transform.
Everything now mostly just works.

--HG--
extra : rebase_source : e0e170d191eef5887a2e6b17f71ac79037033006
2014-09-10 15:59:00 -04:00
Nicolas Silva
8851364126 Bug 1041744 - Don't crash if tile allocation fails. r=Bas 2014-09-11 13:52:17 +02:00
Jonathan Watt
4c0a7bbbef Bug 1064084, part 5 - Convert all consumers of gfxContext::NudgeCurrentMatrixToIntegers()/MultiplyAndNudgeToIntegers() to use gfxContext::SetMatrix(). r=Bas 2014-09-11 07:57:39 +01:00
Jonathan Watt
9bc0f0cdf3 Bug 1064084, part 4 - Convert all consumers of gfxContext::IdentityMatrix() to use gfxContext::SetMatrix(). r=Bas 2014-09-11 07:57:39 +01:00
Jonathan Watt
ba6a140a09 Bug 1064084, part 3 - Convert all consumers of gfxContext::Rotate() to use gfxContext::SetMatrix()/Multiply(). r=Bas 2014-09-11 07:57:38 +01:00
Jonathan Watt
1ae57ac8bf Bug 1064084, part 2 - Convert all consumers of gfxContext::Scale() to use gfxContext::SetMatrix()/Multiply(). r=Bas 2014-09-11 07:57:38 +01:00
Jonathan Watt
fa8c7ec8a5 Bug 1064084, part 1 - Convert all consumers of gfxContext::Translate() to use gfxContext::SetMatrix()/Multiply(). r=Bas 2014-09-11 07:57:38 +01:00
Jonathan Watt
f794fc62f9 Bug 1064082 - Get rid of nsRenderingContext's PushState and PopState methods. r=Bas 2014-09-11 07:48:10 +01:00
Jonathan Watt
acba2e917a Bug 1064056, part 3 - Convert nsRenderingContext::Scale() consumers to use gfxContext::SetMatrix()/Multiply(). r=Bas 2014-09-11 07:48:10 +01:00
Jonathan Watt
0e8ac8ac8a Bug 1064056, part 2 - Convert nsRenderingContext::Translate() consumers to use gfxContext::SetMatrix()/Multiply(). r=Bas 2014-09-11 07:48:10 +01:00
Jonathan Watt
5d89db4376 Bug 1064056, part 1 - Convert nsRenderingContext::AutoPushTranslation consumers to use gfxContext::SetMatrix()/Multiply(). r=Bas 2014-09-11 07:48:09 +01:00
Jan Beich
6d6d609ffd Bug 1065241 - Unbreak build on non-SPS platforms after bug 1049258. r=mchang 2014-09-09 23:41:00 +02:00
Nick Lebedev
5c22d1ab49 Bug 949008 - Rework accessing the treeManager to use private method which ensures that lock isn't held. r=kats 2014-09-10 09:49:00 +02:00
Jonathan Watt
56aaeed4fc Bug 1065764, part 2 - Make Moz2D's Matrix::NudgeToIntegers() return a reference. r=Bas 2014-09-11 01:46:21 +01:00
Jonathan Watt
7d3142ed90 Bug 1065764, part 1 - Make gfxMatrix::NudgeToIntegers() return a reference. r=Bas 2014-09-11 01:46:19 +01:00
Jonathan Watt
ea0b67384b Bug 1065743 - Make Moz2D's DrawTarget::GetTransform() return a copy instead of a const reference. r=Bas 2014-09-11 01:46:16 +01:00
Jonathan Watt
ad3740d79f Bug 1065737 - Add a PreMultiply() method to Moz2D's Matrix class. r=Bas 2014-09-11 01:45:05 +01:00
Jonathan Watt
3229c51d66 Bug 1065718 - Make gfxMatrix's Translate(), Scale() and Rotate() methods return a non-const reference. r=Bas 2014-09-11 01:45:04 +01:00
Jonathan Watt
68cd3d97ec Bug 1065526, part 2 - Add a Copy() method to gfxMatrix. r=Bas 2014-09-10 21:41:51 +01:00
Jonathan Watt
298b1ad1cf Bug 1065526, part 1 - Add a Copy() method to Moz2D's Matrix. r=Bas 2014-09-10 21:41:51 +01:00
Jonathan Watt
28834bab10 Bug 1065558 - Add a ConcatTransform method to Moz2D's DrawTarget. r=Bas 2014-09-10 21:41:50 +01:00
Felipe Gomes
3a6a843e37 Bug 1063848 - Disable e10s in safe mode. r=bsmedberg,ally. 2014-09-10 15:53:55 -03:00
Jonathan Watt
b3072839ca Bug 1065031, part 2 - Changes to Moz2D consuming code to update callers of Moz2D Matrix's Translate, Scale and Rotate methods to use these methods' new names. r=Bas 2014-09-10 18:29:35 +01:00
Jonathan Watt
7bf3859764 Bug 1065031, part 1 - Changes to Moz2D code to document and rename Moz2D Matrix's Translate, Scale and Rotate methods. r=Bas 2014-09-10 18:29:35 +01:00
Ryan VanderMeulen
c2b7ffec37 Backed out changeset c9283869cbae (bug 1036068) for causing frequent Windows XP talos g1 failures.
CLOSED TREE
2014-09-10 12:12:07 -04:00
Jonathan Watt
581078dcb7 Bug 1065127 - Avoid Matrix().Translate()/Scale()/Rotate() multiplication in lots of places. r=Bas 2014-09-10 14:26:12 +01:00
Walter Litwinczyk
1865d97240 Bug 1036068 - Update ANGLE to chromium/2084. r=jgilbert,kamidphish 2014-09-09 14:47:31 -07:00
Carsten "Tomcat" Book
d9c5bea4e5 Backed out changeset e6b766d8a815 (bug 1065127) for bustage 2014-09-10 14:30:36 +02:00
Jonathan Watt
cc5bf95ddf Bug 1065127 - Avoid Matrix().Translate()/Scale()/Rotate() multiplication in lots of places. r=Bas
--HG--
extra : rebase_source : ef075258c31973c4943b9b3a9229685a9bb83917
2014-09-10 11:45:42 +01:00
Jonathan Watt
75bfb38961 Bug 1064087 - Remove nsRenderingContext::InvertRect(). r=Bas
--HG--
extra : rebase_source : 64ed4f9fa0e2e67aef00209dfc060dc9e87fc24a
2014-09-09 16:59:06 +01:00
Carsten "Tomcat" Book
9fc7af6cbb Backed out changeset 589752703e0c (Bug 1036068) for suspicion of breaking b2g linux debug builds on a CLOSED TREE
--HG--
extra : amend_source : 8cbc45d68f68b534f0d392f7e39841731fb6f5a4
2014-09-10 12:55:27 +02:00
Markus Stange
a7161bda52 Bug 1061327 - When the scrolled layer is not an ancestor of the scrollbar layer, search the whole layer tree. r=botond 2014-09-10 12:19:53 +02:00
Markus Stange
b3c664a2fa Bug 1061327 - Don't stop searching for scrolled layers when encountering a ScrollInfoLayer. r=botond 2014-09-10 12:19:25 +02:00
Walter Litwinczyk
44fbf49642 Bug 1036068 - Update ANGLE to chromium/2084. r=jgilbert,kamidphish 2014-09-09 14:47:31 -07:00
Nathan Froyd
2523cdb565 Bug 1061791 - move CFLAGS usages in gfx/cairo/* to moz.build; r=mshal 2014-07-28 15:03:06 -04:00
Sotaro Ikeda
f65c85b016 Bug 1049195 - Call glFlush() for each frame if necessary r=jgilbert 2014-09-09 18:40:51 -07:00
Ryan VanderMeulen
70f5c3f2b3 Backed out changeset 96a507248c53 (bug 1059583) for Werror bustage.
CLOSED TREE
2014-09-09 19:57:12 -04:00
Ryan VanderMeulen
9a0967f21f Merge m-c to inbound. a=merge 2014-09-09 19:29:28 -04:00
Ryan VanderMeulen
93bf6bf6a0 Merge inbound to m-c. a=merge 2014-09-09 19:26:59 -04:00
Jeff Gilbert
1911c24347 Bug 1059583 - Add CanvasLayer::MustLayerUpdateBeSynchronous. - r=kamidphish,mattwoodrow 2014-09-09 16:20:08 -07:00
Mason Chang
db9dd016ea Bug 1049258 - Make it easier to collect frame uniformity results. r=benwa 2014-09-05 12:39:59 -07:00
Kartikaya Gupta
2cc85cf48d Bug 1063494 - Properly handle async-scrolled layers that are also fixed/sticky-position. r=botond,BenWa 2014-09-09 15:12:14 -04:00
Kartikaya Gupta
63b1d91946 Bug 1064840 - Only display the unused-apz visual warning if the async transform is not applied to any content. r=botond 2014-09-09 12:33:25 -04:00
Benoit Girard
5cb3a91b1e Bug 1064136 - Disable new malformed overdraw test. test-only 2014-09-09 00:14:07 -04:00
Ehsan Akhgari
7bfdbee6dc Bug 1064354 - Fix more bad implicit constructors in gfx; r=jrmuizel 2014-09-08 20:48:12 -04:00
Botond Ballo
89182d55a5 Bug 1063224 - Use global screen coordinates when working with quantities in inches. r=kats
--HG--
extra : source : 065a1d3bc7f99562b2f41847d76b4c6196825b7b
2014-09-05 18:42:34 -04:00
Botond Ballo
60dc6f5474 Bug 1063224 - Add a PanStart() method to AsyncPanZoomController. r=kats
--HG--
extra : source : c26cacfcd1998dddd2982062c844e10bc5736541
2014-09-05 18:42:03 -04:00
Botond Ballo
1b53050363 Bug 1063224 - Give AsyncPanZoomController a mechanism for converting between local and global screen coordinates. r=kats
--HG--
extra : source : 9e2fe73a1837854b8a024f82d2b6a38eba18ff5e
2014-09-08 17:44:25 -04:00
Botond Ballo
e4716049ab Bug 1063224 - Split APZCTreeManager::GetInputTransforms() into GetScreenToApzcTransform() and GetApzcToGeckoTransform(). r=kats
--HG--
extra : source : e2c2b60db0d0865c81bfadf0100763d35011136f
2014-09-08 18:04:01 -04:00
Botond Ballo
bce125c0de Bug 1063224 - Add a bit more infrastructure to Axis. r=kats
--HG--
extra : source : 42dc115521166059d08e2cb1c7d23105bb54cbee
2014-09-05 18:59:46 -04:00
Botond Ballo
b8e20c7665 Bug 1063224 - Make some more things strongly typed in APZ code. r=kats
--HG--
extra : source : 57467bc253cd033260d086d52fe65069cffbe720
2014-09-08 13:28:13 -04:00
Botond Ballo
49a9d2a1fc Bug 1063224 - Const-correctness improvements in APZ classes. r=kats
--HG--
extra : source : 2d5e9cefe9931c97f544e23e14dc5de44ac352e7
2014-09-05 18:37:51 -04:00
Jeff Muizelaar
046fb41321 Bug 1062492. Only use DIBTextureClient with cairo drawing. r=bas
We don't want DIBTextureClient unless we're going to be using cairo for
drawing.
2014-09-08 17:18:04 -04:00
Botond Ballo
113386e7f7 Bug 1063227 - Make APZ axis locking constants preffable. r=kats
--HG--
extra : source : 83f2d844c5a9833a40b2d0d9021597652e707a1a
2014-09-05 20:07:52 -04:00
Jeff Muizelaar
261f9f93f1 Bug 1049564. Backout unintentionally landed code.
CLOSED TREE
2014-09-08 11:07:48 -04:00
Jeff Muizelaar
013dcc3e2c Bug 1049564. Remove sketchy sizing code from CompositorOGL. r=nical
This came from the layers refactoring and taking it out doesn't
seem to cause any test failures.
2014-09-08 10:54:26 -04:00
Jonathan Kew
15b1ad36a4 bug 1063931 - support cmap subtable format 10 in gfxHarfBuzzShaper::GetGlyph. r=jdaggett 2014-09-08 09:53:29 +01:00
John Daggett
b59e49acf6 Bug 1062058 part 3 - make userfont entry a container of the platform font entry. r=heycam 2014-09-08 16:23:20 +09:00
John Daggett
4152f3896a Bug 1062058 part 2 - rename userfont classes and adjust flags. r=heycam 2014-09-08 16:23:20 +09:00
John Daggett
6a628f87a7 Bug 1062058 part 1 - avoid passing around proxy font entry object. r=heycam 2014-09-08 16:23:19 +09:00
Jean-Yves Avenard
e9ff1e0b4e Bug 1059066 - Add various IOSurface related methods to MacIOSurface wrapper. r=mattwoodrow 2014-09-03 17:09:24 +10:00
Connor
bd349c5170 Bug 1056367 - Modify AttemptFling and DispatchFling to work iteratively instead of recursively. r=botond
--HG--
extra : amend_source : b1e397de5b947f8fa3d75c9003c9f9652b39c6e8
2014-09-04 01:39:15 -04:00
Jonathan Watt
bfc36cb615 Bug 1063853, part 2 - Move all nsRenderingContext user data to the wrapped Moz2D DrawTarget. r=Bas 2014-09-05 18:11:35 +01:00
Jonathan Watt
34dbfe4041 Bug 1063853, part 1 - Add a RemoveUserData() method to Moz2D DrawTarget. r=Bas 2014-09-05 18:11:29 +01:00
Robert O'Callahan
eaae02626a Bug 1063754. Cache result of Factory::HasSSE2(). r=bas
--HG--
extra : rebase_source : 3d25afdc6d679303ea1b73cc9ef1dbd9b971c5c0
2014-09-06 16:16:06 +12:00
Daniel Holbert
58f7a5e703 Bug 1063847: Use 1u instead of 1 in EXPECT_EQ macro, to fix Wsign-compare build warning in TestAsyncPanZoomController.cpp. r=botond 2014-09-05 17:13:04 -07:00
Benoit Girard
0d4aa8b929 Bug 1057088 - Add a way to sync query compositor properties like overfill and HWC status. r=smaug,jrmuizel
--HG--
extra : rebase_source : 2791431bc77e939e78db3b888fc816c9d98294d3
2014-09-02 15:23:34 -04:00
Jeff Muizelaar
2500b8e5bf Bug 1063692. layers: Document the Prepare() phase better.
--HG--
extra : rebase_source : 5378145a501c45c8091cf316a72b72c42c598447
2014-09-05 14:44:19 -04:00
Ryan VanderMeulen
672fb4d000 Merge fx-team to m-c. a=merge 2014-09-05 11:54:57 -04:00
Wes Kocher
e9463cd732 Merge m-c to fx-team a=merge 2014-09-04 18:58:12 -07:00
Michael Comella
afb484359c Bug 1046017 - Backed out changesets 1c213218173f & 8588817f7f86 (bugs 1017427 & 1006797) 2014-09-04 18:07:59 -07:00
Ehsan Akhgari
30fc29ee77 Bug 1034930 - Improve the const correctness of BinaryOutputStream::writeBytes; r=upstream 2014-09-04 16:17:19 -04:00
Morris Tseng
8c6bfcdd75 Bug 1062643 - Clear cached resources when ClientLayerManager destroyed. r=nical 2014-09-03 18:55:00 -04:00
Botond Ballo
b6bb51e104 Bug 1062411 - Make FrameMetrics::mContentDescription an nsCString so there is no limit to its length. r=BenWa 2014-09-03 12:54:26 -04:00
Mike Hommey
a653121671 Bug 1059113 - Use templates for shared libraries and frameworks. r=gps
Also force to use the existing template for XPCOM components.
2014-09-04 09:04:45 +09:00
Mike Hommey
fc99c53ae5 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Botond Ballo
ae0af80be2 Bug 1062545 - Print APZC info beside each layer associated with the APZC in the tree log. r=BenWa 2014-09-03 16:50:50 -04:00
Max Vujovic
3bd8a669c5 Bug 1058753 - Cap CSS/SVG blur radii to smaller value when rendering in software. r=mstange 2014-09-03 13:31:55 -07:00
Botond Ballo
81fd150c8d Bug 1061976 - Reinstate APZ gtests for overscrolling during panning. r=BenWa 2014-09-02 20:39:40 -04:00
Botond Ballo
e1449f689d Bug 1061976 - Remove background-drawing for overscrolled layers. r=BenWa 2014-09-02 19:15:52 -04:00
Milan Sreckovic
ccebd554ec Bug 1033098: Wallpaper over the intermittent crash. r=nsilva 2014-09-03 15:11:55 -04:00
Ryan VanderMeulen
bf444cfddf Backed out changeset d5cd910dda69 (bug 1033098) for OSX assertions. 2014-09-03 14:18:24 -04:00
Milan Sreckovic
015d04568b Bug 1033098 - Wallpaper over the intermittent crash. r=nsilva 2014-09-02 10:19:52 -04:00
Ehsan Akhgari
bf4bb474cc Bug 1062071 - Mark TileInternal's constructor as explicit; r=mattwoodrow 2014-09-03 08:11:28 -04:00
Matt Woodrow
bf7ddd9c43 Bug 982338 - Disable tiling for OSX 10.6. r=Bas 2014-07-25 12:49:45 +12:00
Matt Woodrow
e402ec9e1b Bug 1059807 - Mark OSX printing surfaces as being write-only. r=roc
--HG--
extra : rebase_source : 99dfc5866c7a5c1294473b7d0e6a099916463b04
2014-09-03 14:40:42 +12:00