Commit Graph

60 Commits

Author SHA1 Message Date
Milan Sreckovic
bad3f736a3 Bug 1090910: Use gfxCriticalError to show painted regions if they end up in a bad state. Debug only crash, but will show up in about:support. r=benwa 2015-02-11 11:45:38 +08:00
Nicholas Nethercote
242708cf72 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
d3826daa16 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08: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
Nicholas Nethercote
d34f0301b8 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Ryan VanderMeulen
79bed2d741 Backed out changesets b57d930e0ba6 and 6c8a74ba8122 (bug 1129871) for gtest failures.
CLOSED TREE
2015-02-05 13:12:18 -05:00
Nicolas Silva
16f21beb1f Bug 1129871 - Pass tiles by ref rather than copy part 2. r=BenWa 2015-02-05 18:16:10 +01:00
Nicolas Silva
6f4d3546bc Bug 1129871 - Pass tiles by ref rather than copy part 1. r=BenWa 2015-02-05 18:16:05 +01:00
Nicolas Silva
b6a335b1ee Bug 1118876 - Make tile edge padding work work with DrawTargetTiled. r=jrmuizel 2015-02-04 14:33:16 +01:00
Benoit Girard
d74cb4fa05 Bug 1112476 - Support dumping texture data on the ClientLayerManager. r=mstange
--HG--
extra : rebase_source : 5d5cf3372993ca4af78e12236fc64836a56eff4b
2014-12-18 13:32:45 -05:00
Benoit Girard
aa2eeb8ec1 Bug 1094442 - Part 1: Refactor how tile w/h is queried r=kats
--HG--
extra : rebase_source : 70ef00318a718e2ce3149955d2908615d6125cf3
2014-11-12 17:54:29 -05:00
Nicolas Silva
e381d1456d Bug 1072877 - Ensure OOP transactions can't use memory backed tile locks. r=bjacob 2014-09-30 18:30:23 +02:00
Nicolas Silva
acf110f884 Bug 1041744 - Don't crash if tile allocation fails. r=Bas 2014-09-11 13:52:17 +02:00
Nicolas Silva
5cfb339954 Bug 1025138 - Integrate DrawTargetTiled preffed off. r=mattwoodrow 2014-08-06 14:40:03 +02:00
Botond Ballo
5a38fb936a Bug 1039593 - Clean up the TILING_LOG macros. r=kats 2014-07-16 12:42:35 -04:00
Kartikaya Gupta
2ac35a8e4a Bug 1035801 - Switch the tiling logging code from NSPR logging to printf_stderr. r=Cwiiis 2014-07-08 12:38:49 -04:00
Benoit Girard
19effe56b7 Bug 1027496 - Stream display list and layers dump. r=mattwoodrow 2014-06-19 18:36:25 -04:00
Kartikaya Gupta
8eee2dac6d Bug 1018387 - Add some logging for the tile drawing code. r=Cwiiis 2014-06-09 14:02:39 -04:00
Kartikaya Gupta
fcb93d5a8b Bug 1009184 - Explicitly clear the valid region instead of attempting to paint an empty region. r=BenWa 2014-05-13 14:36:33 -04:00
Chris Lord
6fbca10a4b Bug 990608 - Make tile size configurable. r=tn,nical,bgirard 2014-04-04 18:42:44 +01:00
Sotaro Ikeda
f788f213cf Bug 977880 - Handle ReleaseFence on tiled thebes layer r=cwiiis,nical,BenWa 2014-03-26 18:01:15 -07:00
Bas Schouten
d301df5d45 Bug 963073 - Merge tiling branch. r=Bas,jrmuizel,BenWa
http://hg.mozilla.org/users/bschouten_mozilla.com/tiling/summary

This work is mainly porting tiled layers to new textures, implementing
double-buffered tiles and implementing a texture client pool, to be used by
tiled content clients.

Any questions regarding this patch should go to:
Bas Schouten <bschouten@mozilla.com>
Chris Lord <clord@mozilla.com>
Nicolas Silva <nsilva@mozilla.com>

In their absence questions can be directed to:
Jeff Muizelaar <jmuizelaar@mozilla.com>
Benoit Girard <bgirard@mozilla.com>
2014-03-07 22:34:04 +01:00
Brad Lassey
658df973b5 bug 887819 - Investigate using the tiled layers backend, create pref to enable tiles r=BenWa 2013-09-10 14:21:37 -04:00
Nicholas Cameron
73aeda1397 Bug 903816. Include-what-you-use for gfx/layers. r=roc 2013-08-12 11:17:23 +12:00
Benoit Girard ext:(%2C%20Chris%20Lord%20%3Cchrislord.net%40gmail.com%3E)
9bdf6932e4 Bug 747811 - Make the tiles backend safe across processes. r=nrc,BenWa
The tiles backend passes raw pointers to transfer tiled buffers between the
main thread and the compositor. This patch changes that to use shared
memory and tile descriptors instead, as well as changing the memory management
slightly to facilitate that.
2013-08-19 14:59:22 +01:00
Jim Chen
c8dbf2cdac Bug 881018 - Never inline TiledLayerBuffer::GetScaledTileLength to avoid crash; r=Cwiiis 2013-07-31 13:26:44 -04:00
Jim Chen
386f5285db Backout rev 9497429e8463 (bug 881018) to land real fix 2013-07-31 13:26:21 -04:00
Jim Chen
c44be3735b Bug 881018 - Crash when TiledLayerBuffer::GetScaledTileLength returns 0; r=cwiiis 2013-07-24 11:17:49 -04:00
Jim Chen
4c40f10fab Backout f26e4c26ce4a (bug 881018) to land a different patch 2013-07-24 11:10:55 -04:00
Jim Chen
cb9a271064 Bug 881018 - Save TiledLayerBuffer::mResolution to stack to help investigate crash; r=kats 2013-07-18 01:52:38 -04:00
Kartikaya Gupta
cfb85cffaf Backout 59a4e09dd5ce (diagnostic patch from bug 881018) since it didn't help. r=me 2013-07-08 13:11:04 -04:00
Kartikaya Gupta
eaff5d20cf Bug 881018 - Crash earlier when setting a bad resolution in the tiled layer buffer code. r=Cwiiis 2013-06-26 13:20:10 -04:00
Nicolas Silva
64e53fc053 Bug 867656 - Part 2. Implement Dump for CompositableHost classes. r=mattwoodrow 2013-05-26 04:44:24 +02:00
Bas Schouten
839048be74 Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.

Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00
Nicholas Cameron
b5263b1c6c Bug 836058; remove UseTiledThebes; r=BenWa 2013-01-29 14:38:46 +13:00
Oleg Romashin
9ffe6086ee Bug 824428 - Add Environment option which would allow to use Tiled Thebes Layers. r=bgirard 2013-01-14 20:21:02 -08:00
Chris Lord
64f87da2cf Bug 814437 - Address review comments that were missed. r=bgirard
In my haste, I forgot to address review comments before pushing. This
corrects indentation in PanningPerf.java, moves GetValidLowPrecisionRegion from
Layer to TiledLayerComposer and corrects checkerboard measurement when there
isn't a low precision buffer and when the display ports don't cover the screen.
2012-11-30 23:11:37 +00:00
Ehsan Akhgari
0419d82de3 Backed out changeset 5368aced79b3 (bug 814437) because it breaks Android builds 2012-11-30 15:41:08 -05:00
Chris Lord
6d77e6f162 Bug 814437 - Address review comments that were missed. r=bgirard
In my haste, I forgot to address review comments before pushing. This
corrects indentation in PanningPerf.java, moves GetValidLowPrecisionRegion from
Layer to TiledLayerComposer and corrects checkerboard measurement when there
isn't a low precision buffer and when the display ports don't cover the screen.
2012-11-30 19:52:17 +00:00
Chris Lord
beb61c6567 Bug 783368 - Add a low precision buffer to tiled thebes layers. r=bgirard,kats
If there is a critical display port set, render the area outside it into a
lower precision buffer.
2012-11-21 22:34:19 +00:00
Chris Lord
919f718011 Bug 783368 - Add resolution to TiledLayerBuffer. r=bgirard
Add the concept of resolution to TiledLayerBuffer and add support for it in
BasicTiledThebesLayer and TiledThebesLayerOGL.
2012-11-21 22:34:18 +00:00
Ehsan Akhgari
f90938a237 Backed out 11 changesets (bug 783368) because of build bustage on a CLOSED TREE
Backed out changeset 2bc4310263c4 (bug 783368)
Backed out changeset a35c83a8d99d (bug 783368)
Backed out changeset afb9b2a661ba (bug 783368)
Backed out changeset 3926f510f9be (bug 783368)
Backed out changeset 9d1fe200ff87 (bug 783368)
Backed out changeset b6e4f88f5730 (bug 783368)
Backed out changeset bc53f7dba7c6 (bug 783368)
Backed out changeset 1948fa2fccc1 (bug 783368)
Backed out changeset 9af163388fd1 (bug 783368)
Backed out changeset 7a2256e1aa7c (bug 783368)
Backed out changeset 4da1958a9885 (bug 783368)
2012-11-21 14:57:02 -05:00
Chris Lord
f38c6a6a8c Bug 783368 - Add a low precision buffer to tiled thebes layers. r=bgirard,kats
If there is a critical display port set, render the area outside it into a
lower precision buffer.
2012-11-21 19:16:52 +00:00
Chris Lord
7117aa6079 Bug 783368 - Add resolution to TiledLayerBuffer. r=bgirard
Add the concept of resolution to TiledLayerBuffer and add support for it in
BasicTiledThebesLayer and TiledThebesLayerOGL.
2012-11-21 19:16:51 +00:00
Benoit Girard
b384d6568b Bug 800944 - Use fuzzy float equal to prevent harvesting tiles causing assertion. r=Cwiiis
--HG--
extra : rebase_source : 6878c7d6b4b345feaf46a58a0a61037ab57290c2
2012-10-30 12:08:22 -04:00
Benoit Girard
41441be0a4 Bug 805792 - Avoid another extra copie when calling RenderTile. r=Cwiiis
* * *
Bug 805907 - Handle memory pressure notification in the TileStore. r=Cwiiis,ehsan

--HG--
extra : rebase_source : 976deda3ab13c2e178f9a6922b7c17c294175fad
2012-10-29 18:10:45 -04:00
Chris Lord
13bc605c08 Bug 803013 - Maintain coherency when progressively updating visible areas. r=bgirard
When rendering progressively, make sure that any previously visible area that
is still visible is updated at the same time. This helps maintain visual
coherency on pages that invalidate previously visible areas while scrolling,
and when losing layers between updates.

This supersedes the previous method of only doing progressive updates while
scrolling.
2012-10-22 20:18:14 +01:00
Daniel Holbert
17bc9ceac1 Bug 797666: Add unsigned cast in assertion within TiledLayerBuffer::Update(), to fix build warning. r=BenWa 2012-10-03 22:31:59 -07:00
Ehsan Akhgari
b3365668ec Bug 797604 - Make floor_div in TiledLayerBuffer.h static inline; r=jrmuizel 2012-10-03 18:50:20 -04:00
Benoit Girard
3ffd913d8e Bug 796084 - Rename MOZ_JAVA_COMPOSITOR -> MOZ_ANDROID_OMTC. r=blassey 2012-10-01 16:01:35 -04:00