Commit Graph

63 Commits

Author SHA1 Message Date
Nicolas Silva
ec5da4e6eb Bug 1129871 - Favor passing tiles by ref rather than copy part 2. r=BenWa 2015-02-14 12:14:59 +01:00
Nicolas Silva
df7afa20c9 Bug 1129871 - Favor passing tiles by ref rather than copy part 1. r=BenWa 2015-02-14 12:14:54 +01:00
Mason Chang
9b60b2ec81 Bug 1130681. Part 2: Backout bug 1118876 for android reftest failures. r=jrmuizel 2015-02-13 16:36:45 +08:00
Milan Sreckovic
6001d85a34 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
ee41df7dc2 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo. 2015-02-09 14:34:50 -08:00
Andrew McCreight
1ee96e7527 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Jeff Muizelaar
a9ada8a443 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
0a02b5d31c Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo. 2015-02-04 20:05:36 -08:00
Ryan VanderMeulen
26066a689f Backed out changesets b57d930e0ba6 and 6c8a74ba8122 (bug 1129871) for gtest failures.
CLOSED TREE
2015-02-05 13:12:18 -05:00
Nicolas Silva
50cc1227d6 Bug 1129871 - Pass tiles by ref rather than copy part 2. r=BenWa 2015-02-05 18:16:10 +01:00
Nicolas Silva
c85c553d1c Bug 1129871 - Pass tiles by ref rather than copy part 1. r=BenWa 2015-02-05 18:16:05 +01:00
Nicolas Silva
b8eab8ef6a Bug 1118876 - Make tile edge padding work work with DrawTargetTiled. r=jrmuizel 2015-02-04 14:33:16 +01:00
Benoit Girard
e16e87aed7 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
660dd0fe19 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
5b2614fff9 Bug 1072877 - Ensure OOP transactions can't use memory backed tile locks. r=bjacob 2014-09-30 18:30:23 +02:00
Nicolas Silva
7569c3d77f Bug 1041744 - Don't crash if tile allocation fails. r=Bas 2014-09-11 13:52:17 +02:00
Nicolas Silva
b4e767d9b2 Bug 1025138 - Integrate DrawTargetTiled preffed off. r=mattwoodrow 2014-08-06 14:40:03 +02:00
Botond Ballo
b5ba1b4eb0 Bug 1039593 - Clean up the TILING_LOG macros. r=kats 2014-07-16 12:42:35 -04:00
Kartikaya Gupta
0535707669 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
2c957e7952 Bug 1027496 - Stream display list and layers dump. r=mattwoodrow 2014-06-19 18:36:25 -04:00
Kartikaya Gupta
c8f063bc24 Bug 1018387 - Add some logging for the tile drawing code. r=Cwiiis 2014-06-09 14:02:39 -04:00
Kartikaya Gupta
60b557103e 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
9c5e7e0874 Bug 990608 - Make tile size configurable. r=tn,nical,bgirard 2014-04-04 18:42:44 +01:00
Sotaro Ikeda
c945bef808 Bug 977880 - Handle ReleaseFence on tiled thebes layer r=cwiiis,nical,BenWa 2014-03-26 18:01:15 -07:00
Bas Schouten
a0108bc8af 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
599def879e 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
b5c77aec19 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)
1b95e41dd6 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
02ade91805 Bug 881018 - Never inline TiledLayerBuffer::GetScaledTileLength to avoid crash; r=Cwiiis 2013-07-31 13:26:44 -04:00
Jim Chen
2d9ab495c1 Backout rev 9497429e8463 (bug 881018) to land real fix 2013-07-31 13:26:21 -04:00
Jim Chen
28766dbc6a Bug 881018 - Crash when TiledLayerBuffer::GetScaledTileLength returns 0; r=cwiiis 2013-07-24 11:17:49 -04:00
Jim Chen
b95fd80400 Backout f26e4c26ce4a (bug 881018) to land a different patch 2013-07-24 11:10:55 -04:00
Jim Chen
d29289ef8f Bug 881018 - Save TiledLayerBuffer::mResolution to stack to help investigate crash; r=kats 2013-07-18 01:52:38 -04:00
Kartikaya Gupta
2dc3329baa Backout 59a4e09dd5ce (diagnostic patch from bug 881018) since it didn't help. r=me 2013-07-08 13:11:04 -04:00
Kartikaya Gupta
62c3619368 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
56b552e21e Bug 867656 - Part 2. Implement Dump for CompositableHost classes. r=mattwoodrow 2013-05-26 04:44:24 +02:00
Bas Schouten
7d182a2102 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
c1b2e92063 Bug 836058; remove UseTiledThebes; r=BenWa 2013-01-29 14:38:46 +13:00
Oleg Romashin
dd18565bbe 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
9b229ca87b 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
12de3548e2 Backed out changeset 5368aced79b3 (bug 814437) because it breaks Android builds 2012-11-30 15:41:08 -05:00
Chris Lord
524e13922f 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
26ab25e0a5 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
e4979bfca9 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
a1ca146c7c 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
a66bf654b5 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
d5ad57cd7c 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
4cb2f77234 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
4203da214f 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
92a8e8eb5b 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