Commit Graph

256 Commits

Author SHA1 Message Date
Nicholas Cameron
83ac5d30d9 Bug 946958 part 2. Remove methods which just forward to compositor. r=mattwoodrow 2013-12-09 14:40:59 +13:00
Birunthan Mohanathas
bda2ee34d2 Bug 798033 - Remove 'using namespace' from gfx/ headers. r=jrmuizel 2013-12-08 21:53:26 -05:00
Birunthan Mohanathas
58325c73be Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Phil Ringnalda
a1bcd56fe8 Backed out 7 changesets (bug 946958, bug 865033)
Backed out changeset 6dd0a6cb9ab3 (bug 946958)
Backed out changeset 498152aec5b1 (bug 946958)
Backed out changeset 7d035322f51d (bug 946958)
Backed out changeset 99f8ad7561ef (bug 946958)
Backed out changeset 4639c5abea80 (bug 946958)
Backed out changeset 9d1a4d83eccf (bug 865033)
Backed out changeset 41839e4026bc (bug 865033)
2013-12-08 18:43:45 -08:00
Nicholas Cameron
c9776c970e Bug 946958 part 2. Remove methods which just forward to compositor. r=mattwoodrow 2013-12-09 14:40:59 +13:00
Nicolas Silva
acd8439101 Bug 943392 - Let MemoryTextureClient use a fallible allocation. r=BenWa 2013-12-06 16:30:50 +01:00
Nicholas Cameron
67786f3e74 Bug 893301. Don't use new textures content on b2g. r=bjacob,nical 2013-12-06 07:39:22 +13:00
Nicholas Cameron
95b6653483 Bug 893301. Rollup patch - new textures content. r=nical,nrc 2013-12-06 07:39:22 +13:00
Brad Lassey
6420e3c893 Bug 915673 - Only use tiled layers for scrollable layers on b2g. r=tn,bgirard
Introduce a constructor for thebes layers that can take a hint about what the
layer will be used for, and use that hint to only create tiled layers when
the layer represents scrollable content.
2013-09-17 13:55:09 -04:00
Benoit Jacob
b07c30f1d5 Back out bug 893301 for accidentally disabling gralloc for thebes layers on B2G - no review, bustage fix on a CLOSED TREE 2013-12-04 12:19:50 -05:00
Nicholas Cameron
38548a3d93 Bug 946031. Fix a warning in DeprecatedContentClientSingleBuffered::SyncFrontBufferToBackBuffer. r=mattwoodrow 2013-12-04 17:33:16 +13:00
Benoit Jacob
27c7bbb642 Bug 944703 - Part 8: make ShmemTextureClient hold a strong reference to its ISurfaceAllocator - r=nical 2013-12-03 13:44:38 -05:00
Nicholas Cameron
49f9704662 Bug 893301. Some rebasing fixes. r=nical 2013-11-28 10:16:35 +13:00
Nicholas Cameron
4bef2d9be1 Bug 893301. Remove AccessMode use in ContentClient. r=nical 2013-11-28 10:16:35 +13:00
Nicolas Silva
dcb85d8e1a Bug 893301. Fix alpha corruptions. r=nrc 2013-11-08 18:53:16 +01:00
Nicholas Cameron
ddcf22cfb8 Bug 893301. Rename BufferProviders. r=mattwoodrow 2013-11-28 10:16:35 +13:00
Nicholas Cameron
de8210f84b Bug 893301. Renaming and indentation fixes. r=nical 2013-11-28 10:16:35 +13:00
Nicholas Cameron
7d8f9b7701 Bug 893301. Content clients. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Cameron
d3a8ce4de4 Bug 893301. Changes to texture clients. r=nical 2013-11-28 10:16:34 +13:00
Chris Peterson
54aa07e1cf Bug 944257 - Fix warning by removing unused ContentClientBasic member variable mManager. r=gal 2013-11-27 19:19:56 -08:00
Nicholas Cameron
a450c10d73 Backout bug 893301 for b2g bustage r=me 2013-11-28 12:31:31 +13:00
Nicholas Cameron
12b1030b59 Bug 893301. Some rebasing fixes. r=nical 2013-11-28 10:16:35 +13:00
Nicholas Cameron
9d0c710da5 Bug 893301. Remove AccessMode use in ContentClient. r=nical 2013-11-28 10:16:35 +13:00
Nicholas Cameron
1821bf5e96 Bug 893301. Rename BufferProviders. r=mattwoodrow 2013-11-28 10:16:35 +13:00
Nicholas Cameron
56b50d3cc3 Bug 893301. Renaming and indentation fixes. r=nical 2013-11-28 10:16:35 +13:00
Nicholas Cameron
5c987f1e31 Bug 893301. Content clients. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Cameron
98c798769f Bug 893301. Changes to texture clients. r=nical 2013-11-28 10:16:34 +13:00
Chris Lord
5ef337c5a4 Bug 931823 - Fix calculation of tiled update data and convert to typed units. r=kats,botond
Various changes to FrameMetrics and such have causes the tile coherency checks
to end up with nonsense values, meaning updates are always happening a tile at
a time.

This fixes the calculation of those values, adds some documentation and
converts a large part of it to using typed units, to make it easier to
understand what's happening.
2013-11-27 17:33:27 +00:00
Benoit Jacob
406f766862 Bug 933082 - Part 4: let ClientLayerManager hold a ShadowLayerForwarder instead of inheriting from ShadowLayerForwarder. Make ISurfaceAllocator refcounted. Make SharedSurface_Gralloc keep its mAllocator alive - r=nical 2013-11-27 10:19:34 -05:00
Markus Stange
66dccf3af2 Bug 920123 - Make Start/Stop FrameTimeRecording work with OMTC and remove paint time recording. r=mattwoodrow 2013-11-27 08:32:19 +01:00
Nicholas Cameron
99d13970e7 Bug 932888. Rename ThebesLayerBuffer. r=mattwoodrow
--HG--
rename : gfx/layers/ThebesLayerBuffer.cpp => gfx/layers/RotatedBuffer.cpp
rename : gfx/layers/ThebesLayerBuffer.h => gfx/layers/RotatedBuffer.h
2013-11-27 13:29:46 +13:00
Nicholas Cameron
d6f2d86ba3 Bug 932888. Remove thebes paths from ThebesLayerBuffer (part 1). r=mattwoodrow 2013-11-27 13:29:45 +13:00
Ryan VanderMeulen
9071a054e6 Backed out changesets 7caa8e80b06a, 1509f8be5df3, a249bd79e71a, and 9cc4a77561e8 (bug 933082) for mochitest asserts on a CLOSED TREE. 2013-11-26 14:58:09 -05:00
Benoit Jacob
6c51ca326b Bug 933082 - Part 4: let ClientLayerManager hold a ShadowLayerForwarder instead of inheriting from ShadowLayerForwarder. Make ISurfaceAllocator refcounted. Make SharedSurface_Gralloc keep its mAllocator alive - r=nical 2013-11-26 14:00:29 -05:00
Nicholas Cameron
4e826ed7fd Bug 900248. Only create d3d9 device on the main thread. r=Bas 2013-11-22 11:07:57 +13:00
Nicholas Cameron
d946444b25 Bug 900248. Don't assume ThebesLayerBufer will get the buffers it wants. r=mattwoodrow 2013-11-22 11:07:55 +13:00
David Anderson
51ca221b03 Only composite changed areas in the software compositor (bug 882447, r=mattwoodrow,nrc). 2013-11-21 11:25:16 -08:00
Nicholas Cameron
407c5f8c6b Bug 907463. Dealloc shmem on ActorDestroy. r=nical 2013-09-27 21:48:42 +12:00
Benoit Jacob
012417f2af Bug 938970 - 5/5. Switch gfx/layers to UNIFIED_SOURCES - r=ehsan,mattwoodrow 2013-11-17 21:07:08 -05:00
Benoit Girard
6702bd8431 Bug 936511 - Add layers.dump to dump layer tree. r=bas,nrc 2013-11-17 16:47:40 -05:00
Michael Wu
55d15f2463 Bug 892285 - Only unlock gralloc surfaces if they were locked, r=bas 2013-11-15 12:50:00 -05:00
Nicholas Cameron
d1aab0c912 Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow This might even help diagnose the problems causing a CLOSED TREE. 2013-11-15 10:54:25 +13:00
Matt Woodrow
61dcbad0a4 Bug 934860 - Move paint region clipping into DrawThebesLayer. r=roc 2013-11-07 08:10:50 +13:00
Kartikaya Gupta
61ffd37c9d Bug 732971 - For Fennec move the resolution from the top-level presShell to the content presShell. r=BenWa
The bulk of this patch is fixing up pieces of code that infer the resolution
as the inverse of the scaling transform on the root layer. This used to be
how various bits of gfx code obtained the resolution, but now that we can set
the resolution on the actual presShell that contains the content, we can also
just read the resolution from the FrameMetrics directly.
2013-10-29 09:27:50 -04:00
Gregor Wagner
aafe01583e Backout Bug 907463 for causing bug 930575 2013-10-25 09:25:17 -07:00
Gregor Wagner
d34f76a06f Backout Bug 907463 2013-10-25 09:25:11 -07:00
Nicholas Cameron
b3f95d641c Bug 907463. Dealloc shmem on ActorDestroy. r=nical 2013-09-27 21:48:42 +12:00
Nicholas Cameron
09d8eb9b48 Bug 907463. Backout OP_SOURCE optimisation from bug 907926. r=mattwoodrow 2013-09-18 15:39:34 +12:00
David Anderson
50865a3082 Fix resize jank on Linux with OMTC (bug 926618, r=mattwoodrow). 2013-10-21 13:14:47 -07:00
Benoit Girard
fccf27d2ae Bug 921212 - Rotate buffer in place to avoid gralloc surface allocation. r=Bas 2013-10-11 16:47:47 -04:00