Nicolas Silva
bf9481d44e
Bug 1088300 - Null-check TileClient::mAllocator. r=milan
2016-08-30 13:48:29 +02:00
Nicolas Silva
21ca5648d3
Bug 1088300 - Remove mCompositableClient from TileClient, pass the compositable and layer by reference to remove the possibility of unexpectedly storing null pointers. r=milan
2016-08-30 13:48:20 +02:00
Sebastian Hengst
0aa16b8142
Backed out changeset a8ff54e28b15 (bug 1088300) for unused variable error in SingleTiledContentClient.h. r=backout on a CLOSED TREE
2016-08-30 14:06:14 +02:00
Sebastian Hengst
db7d0332c4
Backed out changeset 1ec40ecc63f8 (bug 1088300)
2016-08-30 14:05:23 +02:00
Nicolas Silva
653aa96fb8
Bug 1088300 - Null-check TileClient::mAllocator. r=milan
2016-08-30 13:48:29 +02:00
Nicolas Silva
f96d58b170
Bug 1088300 - Remove mCompositableClient from TileClient, pass the compositable and layer by reference to remove the possibility of unexpectedly storing null pointers. r=milan
2016-08-30 13:48:20 +02:00
Randall Barker
9a3fae864f
Bug 1291373 - [geckoview] part 3, Remove MOZ_ANDROID_APZ r=botond,snorp
2016-08-16 14:33:43 -07:00
Nicolas Silva
0df2baab35
Bug 1227542 - Remove the unused single paint buffer code paths from TiledContentClient. r=jnicol
2016-07-04 19:47:25 +02:00
Nicolas Silva
93024c0a86
Bug 1281780 - Forward ShadowLayerForwarder texture-related methods to CompositorBridgeChild. r=gw280
2016-06-29 11:18:30 +02:00
Sebastian Hengst
9627074d03
Backed out changeset a901563fd181 (bug 1281780) for OS X 10.10 debug for assertion in TextureClient.cpp during R(C) 1246775-1.html. r=backout
2016-06-28 20:28:23 +02:00
Nicolas Silva
d3e9d5d23c
Bug 1281780 - forward ShadowLayerForwarder texture-related methods to CompositorBridgeChild. r=gw280
2016-06-28 14:06:46 +02:00
George Wright
e69fbec6a5
Bug 1176011 - Move TextureClientPool to CompositorBridgeChild r=nical
2016-06-18 03:35:10 +01:00
Sotaro Ikeda
f731d220ed
Bug 1252835 - Make TextureHost recycling implicit r=nical
2016-06-15 04:28:10 -07:00
Nicolas Silva
fc2766db56
Bug 1278437 - Null-check after allocating a tile's texture, before accessing it. r=jnicol
2016-06-15 11:30:46 +02:00
Phil Ringnalda
6102ffe8a1
Back out changeset c3d167fbd0e4 (bug 1176011) for frequent crashes @mozilla::layers::FixedSizeSmallShmemSectionAllocator::ShrinkShmemSectionHeap()
2016-06-10 19:05:25 -07:00
George Wright
29e2a97139
Bug 1176011 - Move TextureClientPool to CompositorBridgeChild r=nical
2016-06-10 14:57:20 -04:00
Wes Kocher
900af5349d
Backed out changeset a85da8081c68 (bug 1176011) of OSX failures
2016-06-08 11:44:29 -07:00
George Wright
4a2717ba01
Bug 1176011 - Move TextureClientPool to CompositorBridgeChild r=nical
2016-06-08 12:23:41 -04:00
Nicholas Nethercote
a02611e830
Bug 1276824 (part 1) - Rename gfxContext::ForDrawTarget{,WithTransform}(). r=milan.
...
The new names Create{,PreservingTransform}OrNull() better communicate that
these functions (a) do object creation, and (b) are fallible.
--HG--
extra : rebase_source : a36bd9a2bcdfae281868959403f811f2bc690ad4
2016-06-07 09:39:56 +10:00
George Wright
20caba9bab
Revert "Bug 1176011 - Move TextureClientPool to CompositorBridgeChild r=nical" on a CLOSED TREE
...
This reverts commit 5e29613bb6bc66d13bc63c4fab3a0130e801a058.
2016-06-07 17:37:59 -04:00
George Wright
7eeaa7b6cd
Bug 1176011 - Move TextureClientPool to CompositorBridgeChild r=nical
2016-06-07 14:33:23 -04:00
Nicolas Silva
1d7c8451c8
Bug 1272600 - Part 3 - Move the ReadUnlock logic from compositable to texture. r=sotaro
2016-06-02 11:00:21 +02:00
Nicolas Silva
0a313355f8
Bug 1272600 - Part 2 - Store TextureReadLock into TextureClient/Host. r=sotaro
2016-06-02 11:00:17 +02:00
Nicolas Silva
e81b585b53
Bug 1272600 - Part 1 - Preliminary cleanups for the ReadLock patch queue. r=sotaro
2016-06-02 11:00:12 +02:00
Sotaro Ikeda
304300f6aa
Bug 1265873 - Use gfxSharedReadLock in TextureClientPool r=nical
2016-04-27 06:30:13 -07:00
James Willcox
94ec972fe7
Bug 1178376 - Optionally fade in new progressively painted tiles r=nical
2016-04-26 09:49:12 -05:00
James Willcox
e05e837ec0
Bug 1178376 - Allow progressive painting when low-precision tiles are disabled r=BenWa
2016-04-26 09:49:12 -05:00
James Willcox
51b8e9259b
Bug 1178376 - Put progressive paint status in tile updates r=nical
2016-04-26 09:49:12 -05:00
Jeff Muizelaar
b376008551
Bug 1265960 - Remove gfxReusable* r=Bas
...
These aren't used anymore.
2016-04-20 11:39:15 -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
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
Nicolas Silva
644321f6b6
Bug 1256693 - Refer to ClientIPCAllocator instead of ISurfaceAllocator where it makes sense. r=sotaro
2016-03-21 15:18:20 +01:00
Nicolas Silva
bd7973ab2d
Bug 1256693 - ISurfaceAllocator cleanup. r=sotaro
2016-03-17 14:58:58 +01:00
Jamie Nicol
b53bc9fd1c
Bug 1255448 - Call ClientMultiTiledLayerBuffer::PaintThebes even when region to paint is empty. r=mattwoodrow
...
Remove early return for empty invalid regions from
ClientTiledPaintedLayer::RenderHighPrecision so that
ClientMultiTiledLayerBuffer::PaintThebes is called even when the region
to paint is empty. This ensures that the tile buffer will free unused
tiles in cases where no new painting is required but the valid region
has shrunk.
Add replacement early returns into ClientMultiTiledLayerBuffer to avoid
as much needless work as possible while still recalculating which tiles
are valid.
MozReview-Commit-ID: C86Pi7lRjjs
--HG--
extra : transplant_source : %F0%96H%DAn4%FE%A6%3EPf%B7%AF3%95%D6%F9o%D9/
2016-03-10 15:01:15 +00:00
Nicolas Silva
60f1ac8846
Bug 1250873 - Rename HasInternalBuffer into HasIntermediateBuffer in layers. r=sotaro
2016-02-25 14:15:58 +01:00
Nicolas Silva
18b7c7e2dc
Bug 1250117 - Fix b2g timeouts when gralloc is disabled. r=sotaro
2016-02-25 09:23:23 +01:00
Jamie Nicol
bdba733905
Bug 1250517 - Differentiate between no critical display port and empty critical display port in ClientTiledPaintedLayer; r=kats
...
Currently the logic in ClientTiledPaintedLayer treats an empty critical
display port to mean that there is no critical display port, i.e. that
the entire visible region should be painted. However, the critical
displayport should be, and is, empty if either the display port or
composition bounds are entirely outwith the layer's bounds. We want to
render none of the layer in this case, not all of it.
Change BasicTiledLayerPaintData::mCriticalDisplayPort's type to a
Maybe<LayerIntRect>, and differentiate between it being not set and it
being an empty rect.
MozReview-Commit-ID: Gi1iZOQcOVL
--HG--
extra : transplant_source : %D5M%3A%D2lN%08%3Dnhy%F3%92%A6%03%FB%85%E2%D4%AB
2016-02-23 15:38:29 +00:00
Nicholas Nethercote
bd2573b703
Bug 1239864 (part 6) - Use the new rect iterators in gfx/. r=nical.
...
--HG--
extra : rebase_source : 396d472f620fbbe65982da90ce66021382eaf324
2016-01-18 17:20:58 -08:00
Nicolas Silva
9a2dc00d43
Bug 1240708 - Various trivial coverity warning fixes. r=kats
2016-01-19 20:14:22 +01:00
Botond Ballo
1497a2fe7c
Bug 1236750 - Use strongly-typed matrices to represent layer transforms in APZ code. r=kats
...
--HG--
extra : source : 20dccf6f7b3072e943f11573195559ab5f0c721c
2016-01-04 20:07:54 -05:00
Botond Ballo
e388e00738
Bug 1236750 - Rename ViewTransform to AsyncTransform. r=kats
...
It's only used to represent async transforms, and making this clear
allows us to replace (in a subsequent change) its conversion operator
to Matrix4x4 with a conversion operator to a specific typed matrix.
--HG--
extra : source : 38b22004c06481c62eb4e7fead64e1ec52603225
2015-12-30 18:24:26 -05:00
Milan Sreckovic
ac84b221c9
Bug 1235613 - Make gfxCriticalError/Note strings in gfx/ unique. r=jrmuizel
...
--HG--
extra : transplant_source : %8F%1DcB%3A%25%94%95G%EF%B4U%CE%B9%10%E1%A3%BC%E2%3D
2015-12-29 14:03:58 -05:00
Nicholas Nethercote
3493a38202
Bug 1232822 (part 6) - Move RefCairo() from gfxContext to gfxFont. r=jfkthame.
...
Because gfxContext will one day disappear, and gfxFont seems like a good place
to move it to.
2015-12-15 20:10:04 -08:00
Nicholas Nethercote
e542083969
Bug 1233605 - Cull some uses of gfxContext. r=dholbert.
...
--HG--
extra : rebase_source : eed590fa5fd806f2ed8d754e139e7dd28a8b52e7
2015-12-17 19:36:09 -08:00
Nicholas Nethercote
a4dc4a929c
Bug 1232576 (part 2) - Rename gfxContext::GetCairo() as GetRefCairo() and make it static. r=jfkthame.
...
This means its callers now need a DrawTarget instead of a gfxContext.
--HG--
extra : rebase_source : 909cbf179cfbffa47fb70f417b2f50b641534a02
2015-12-14 22:26:23 -08:00
Nicholas Nethercote
922099a41a
Bug 1232576 (part 1) - Move the reference |cairo_t*| from gfxContext to DrawTarget (as user data). r=jfkthame.
...
--HG--
extra : rebase_source : 5f4be8b9cb4a24527ee95468239ff6ff26d4a279
2015-12-14 22:23:51 -08:00
Milan Sreckovic
06d79c4606
Bug 1219494 - Part 4. gfx/layers and gfxCrash. r=mchang
2015-12-10 13:01:00 +01:00
Botond Ballo
ae1bdc7602
Bug 1069417 - Remove the explicit template argument of TransformTo() and related functions. r=kats
...
In this process, TransformTo() and UntransformTo() are renamed TransformedBy()
and UntransformBy() so calls to them continue to read sensibly.
--HG--
extra : rebase_source : a2a4b36514cc54533757c075fcf2c53ab3020939
extra : source : 826da3dc12baeb84b32be50f4b2c0591ca73ab37
2015-11-30 20:06:45 -05:00
Botond Ballo
70b749edea
Bug 1069417 - Modify TransformTo() and related functions to use typed matrices. r=kats
...
Call sites (all in APZ and related code) were modified accordingly. Some of
these modifications involved changing some matrices stored in APZ to be typed.
--HG--
extra : rebase_source : 6f1cf33a5550987097fcd386c77765d046f5ec34
extra : source : 8f66bdc8e6e86f482a06b9c7a160740026cf24b4
2015-11-30 20:14:31 -05:00
Nicolas Silva
380cf2ea18
Bug 1200595 - Introduce TextureData and implement it for X11. r=mattwoodrow, Bas, sotaro
2015-10-13 18:48:48 +02:00