Commit Graph

110 Commits

Author SHA1 Message Date
Markus Stange
5a3df07a8d Bug 1207590 - Don't use SingleTiledContentClient for layers that are larger than the maximum texture size. r=mattwoodrow 2015-09-23 12:26:56 +02:00
Markus Stange
eb9735d351 Back out changeset 17a4283a8b6f (bug 1195400) because of build bustage. 2015-09-22 12:51:48 +02:00
Markus Stange
9f1365fd12 Bug 1195400 - Don't use SingleTiledContentClient for layers that are larger than the maximum texture size. r=mattwoodrow 2015-09-20 18:34:04 +02:00
Kartikaya Gupta
4ece257d77 Bug 1203992 - Distinguish between SingleTiledContentClient and MultiTiledContentClient in the layer tree dump. r=nical 2015-09-14 11:02:11 -04:00
Wes Kocher
6861dc007e Backed out 3 changesets (bug 1178376) for android reftest bustage CLOSED TREE
Backed out changeset 9394c5f63b56 (bug 1178376)
Backed out changeset 83295d5f54a9 (bug 1178376)
Backed out changeset 5e1c6511123a (bug 1178376)
2015-09-11 11:20:23 -07:00
James Willcox
c676a975cf Bug 1178376 - Optionally fade in new progressively painted tiles r=nical 2015-09-11 09:09:51 -05:00
James Willcox
a4d9098808 Bug 1178376 - Allow progressive painting when low-precision tiles are disabled r=BenWa 2015-09-11 09:09:49 -05:00
James Willcox
6e7d1929b8 Bug 1178376 - Put progressive paint status in tile updates r=nical 2015-09-11 09:09:48 -05:00
Kevin Wern
811c195d21 Bug 1173521 - Properly handle unapplying 3D projective transforms to rectangles in APZ code. r=botond
The untransformation is done using the newly added UntransformTo() functions
which call Matrix4x4::ProjectRectBounds(), which returns an empty rectangle
if the result is not at least partially on the positive side of the w = 0 plane.

UntransformTo() returnis the transformed rectangle if it's not empty, and
Nothing() otherwise, making callers check for this case.

The patch also adds some assertions to places where we apply transforms we
know should be 2D (and thus didn't switch to use UntransformTo()), checking
that the transforms are in fact 2D.
2015-08-28 12:00:29 -04:00
Matt Woodrow
70980d7383 Bug 1180326 - Part 4: Add new content client. r=jrmuizel 2015-07-29 12:02:40 -04:00
Matt Woodrow
902b3a1af6 Bug 1180326 - Part 3: Move repeated code into GetBackBuffer. r=jrmuizel 2015-07-29 12:02:27 -04:00
Matt Woodrow
f2624668c2 Bug 1180326 - Part 1: Abstract parts of the client side tiling that we need. r=jrmuizel 2015-07-29 12:01:11 -04:00
Nicolas Silva
08dbe9ee85 Bug 1118876 - Add edge padding with DrawTargetTiled. r=jrmuizel 2015-07-12 11:11:30 +02:00
Jamie Nicol
247a721f36 Bug 1186911 - Fix progressive paint when using tiled-drawtarget. r=nical
The commit for bug 1176077 did not correctly handle the code path for
when both progressive paint and tiled-drawtarget are enabled. This
fixes it.
2015-07-24 10:42:12 +01:00
Jamie Nicol
a1feb12475 Bug 1176077 - Only recompute PaintedLayer item visibility when display list has changed. r=mattwoodrow
FrameLayerManager::RecomputeItemsVisibility() was being called on every
call to FrameLayerBuilder::DrawPaintedLayer(), each time for the region
to be painted by that paint call. This is inefficient when progressive
paint is enabled. Change it so that we compute the visibility of all the
layer's items within the total region to be painted, but only on the
first paint after the display list has been modified.
2015-07-21 09:19:25 +01:00
Botond Ballo
d61e3f0a5b Bug 1181832 - Keep gfxPrefs.h out of header files. r=kats 2015-07-13 11:53:10 -04:00
Birunthan Mohanathas
a29151dc87 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Nicolas Silva
02ce40b14f Bug 1129871 - Avoid copying TileClient when not necessary. r=BenWa 2015-07-10 13:50:21 +02:00
Nicolas Silva
fb6854370b Bug 1170189 - Remove the TiledLayerComposer interface. r=BenWa 2015-07-01 13:51:03 +02:00
Nicolas Silva
efb6fc3ecf Bug 1170189 - Simplify the client-side tiling code. r=BenWa 2015-07-01 13:50:58 +02:00
Sotaro Ikeda
9b05b538b4 Bug 1169200 - Send OpRemoveTextureAsync before actor destroyed r=nical 2015-06-02 07:31:05 -07:00
Nicolas Silva
3b53f42370 Bug 1150549 - Simplify TiledContentHost. r=jrmuizel 2015-05-22 13:38:13 +02:00
Ryan VanderMeulen
848450c7f2 Backed out changesets 4b6aa5c0a1bf and fdf38a41d92b (bug 1150549) for Mulet crashes.
CLOSED TREE
2015-05-25 14:05:05 -04:00
Nicolas Silva
bd83e568cb Bug 1150549 - Simplify TiledContentHost. r=jrmuizel 2015-05-22 13:38:13 +02:00
Ryan VanderMeulen
c5e158fea0 Backed out 2 changesets (bug 1150549) for OSX asserts.
Backed out changeset ef2faa9a0845 (bug 1150549)
Backed out changeset b35c88257a9c (bug 1150549)

CLOSED TREE
2015-05-22 10:28:52 -04:00
Nicolas Silva
e1a1dc02be Bug 1150549 - Simplify TiledContentHost. r=jrmuizel 2015-05-22 13:38:13 +02:00
Thomas Escalon
722ddcc793 Bug 1157677 - Fix uninitialized members warning in ClientTiledLayerBuffer. r=nical 2015-05-21 15:04:09 +02:00
Thibaud Backenstrass
0513f5db71 Bug 1158122 - Remove all occurences of nsIntRect in gfx/layers/client. r=nical 2015-05-07 11:07:47 +02:00
Andrea Marchesini
b8630baa2d Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan 2015-04-22 08:29:24 +02:00
Kartikaya Gupta
9f9ad218e8 Bug 1145764 - Add logging for tile retention inside a TiledLayerBuffer. r=nical 2015-03-23 13:01:02 -04:00
Ehsan Akhgari
ea41d8de48 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Botond Ballo
5272cb578e Bug 1036967 - Use ScaleFactors2D instead of ScaleFactor where appropriate in APZ and surrounding code. r=kats 2015-03-06 13:54:10 -05:00
Carsten "Tomcat" Book
61246f6921 Backed out changeset 6952d9fe4f36 (bug 1129871) for causing R14/R15 Test failures 2015-02-17 14:36:42 +01:00
Nicolas Silva
2e10fb14ff Bug 1129871 - Favor passing tiles by ref rather than copy part 1. r=BenWa 2015-02-14 12:14:54 +01:00
Mason Chang
d8f4267ec0 Bug 1130681. Part 2: Backout bug 1118876 for android reftest failures. r=jrmuizel 2015-02-13 16:36:45 +08:00
Jeff Muizelaar
6691941d07 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
Ryan VanderMeulen
356d403b1a Backed out changesets b57d930e0ba6 and 6c8a74ba8122 (bug 1129871) for gtest failures.
CLOSED TREE
2015-02-05 13:12:18 -05:00
Nicolas Silva
a0df00d991 Bug 1129871 - Pass tiles by ref rather than copy part 1. r=BenWa 2015-02-05 18:16:05 +01:00
Nicolas Silva
41abe03c2b Bug 1118876 - Make tile edge padding work work with DrawTargetTiled. r=jrmuizel 2015-02-04 14:33:16 +01:00
Nicolas Silva
9e18533e62 Bug 1071769 - Can't rerasterize valid region with tiling. r=Bas 2014-12-23 10:52:17 +01:00
Benoit Girard
63a5b13dee Bug 1112476 - Support dumping texture data on the ClientLayerManager. r=mstange 2014-12-18 13:32:45 -05:00
Nicolas Silva
ba4c1c32e9 Bug 1108164 - Remove per-tile drawing. r=Bas 2014-12-17 17:32:29 +01:00
Jonathan Watt
9026453ea5 Bug 1083079 - Prevent the size of TiledDrawTarget from being zero due to its tiles having negative offsets. r=mattwoodrow 2014-12-05 03:00:24 -08:00
Nicolas Silva
50eb75002d Bug 1101636 - Cleanup the CompositorType enum. r=jrmuizel 2014-11-26 02:00:34 +01:00
Markus Stange
a15e939a69 Bug 1073103 - Rename ThebesLayer to PaintedLayer. r=roc 2014-09-26 13:06:08 -04:00
Milan Sreckovic
b26a6e240c Bug 1048984.2: mOutstandingClients could have been temporarily incorrect in GetTextureClient() call. Call ShrinkToMaximumSize() instead of ShrinkToMinimumSize() in ReturnDeferredClients(). Also add comments and more asserts around outstanding clients. r=nsilva 2014-09-16 10:13:52 -04:00
Kartikaya Gupta
9d9e2ce30a Bug 1055760 - Update tiling code to use LayerMetricsWrapper. r=botond,BenWa 2014-08-27 22:13:41 -04:00
Matt Woodrow
dea60c4cc5 Bug 1057222 - Do partial tile uploads on desktop. r=BenWa 2014-08-27 18:51:37 +12:00
Ehsan Akhgari
6ad78acff0 Bug 1050609 - Fix more bad implicit constructors in gfx/layers; r=roc 2014-08-20 00:55:14 -04:00
Kartikaya Gupta
18bbff8294 Bug 1051985 - Move the FrameMetrics from ContainerLayer to Layer. r=mattwoodrow,BenWa 2014-08-11 20:00:36 -04:00