Commit Graph

128 Commits

Author SHA1 Message Date
Nicholas Nethercote
e98d68d03b Bug 1208283 (part 4) - Change FrameMetrics::mBackgroundColor from gfxRGBA to gfx::Color. r=jwatt.
This removes some ToColor() calls.
2015-09-24 18:17:45 -07:00
Morris Tseng
1954b1e576 Bug 1197713 - Add missing gfxPrefs.h include to TiledContentHost.cpp. r=nical 2015-08-24 01:40:00 -04:00
Matt Woodrow
a0ba59e752 Bug 1180326 - Part 2: Add support for variable tile sizes. r=jrmuizel 2015-07-29 12:01:21 -04:00
Nicolas Silva
1298efe9a4 Bug 1186208 - Fix crash when tiling is enabled on linux. r=mattwoodrow 2015-07-22 16:06:02 +02:00
Matt Woodrow
827045078c Bug 1179987 - Remove painted region from SurfaceDescriptorTiles since it isn't used any more. r=nical 2015-07-15 13:36:12 -04:00
Matt Woodrow
a571d98de4 Bug 1179987 - Make tiled TextureSource recycling based on pointer comparisons rather than trying to do it geometrically. r=nical 2015-07-15 13:34:35 -04:00
Matt Woodrow
734648de94 Bug 1179987 - Simplify unlocking of tiled texture hosts. r=nical 2015-07-15 13:33:11 -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
Robert O'Callahan
1bebcba55f Bug 1143575. Route ImageCompositeNotifications to ImageContainers. r=nical
For frame statistics to work properly, we have to notify an ImageContainer
when it has been composited. This requires a few changes, which have
been lumped together in this patch:
-- Create PImageContainer and ImageContainerParent/ImageContainerChild.
-- Add mFrameID and mProducerID everywhere we're passing around images.
-- Route composition notifications from the compositor back to
ImageContainerChild.
2015-07-06 15:02:26 +12:00
Nicolas Silva
9fd1a455a2 Bug 1170189 - fix a comment in the tiling code. r=BenWa 2015-07-01 13:51:07 +02:00
Nicolas Silva
cad2726f62 Bug 1170189 - Simplify TiledContentHost's render loop. r=BenWa 2015-06-10 17:59:19 +02:00
Nicolas Silva
73daf00ad5 Bug 1170189 - Use TilesPlacement to handle tile coordinates conversion. r=BenWa 2015-06-10 17:56:34 +02:00
Nicolas Silva
3b60d5683f Bug 1170189 - Fix tiling crash on Linux. r=jrmuizel 2015-06-10 17:56:23 +02:00
Amanda Sambath
f89f621f37 Bug 1158120 - Replace nsIntSize by mozilla::gfx::IntSize in gfx/layers. r=nical 2015-06-03 13:45:24 +02:00
Nicolas Silva
2ecf1b6535 Bug 1169339 - Fix incorrect tile storage order in TiledContentHost. r=jrmuizel 2015-06-02 12:13:14 +02:00
Kearwood (Kip) Gilbert
47e5ded309 Bug 766345 - Part 1 - Implement DEAA Antialiasing for transformed layers (v5 Patch). r=vladimir, r=djg 2014-12-17 16:28:45 -08:00
Amanda Sambath
86f2768844 Bug 1158120 - Edit include and comments that contained gfxIntSize and nsIntSize. r=nical 2015-05-29 17:01:46 +02:00
CJKu
b772559796 Bug 1168015 - Dump source image from graphic buffer directly on B2G. r=kamidphish, r=hshih 2015-05-28 02:30:00 -04: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
Nicolas Silva
d73f54cb00 Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas 2015-04-21 17:04:57 +02:00
Ethan Lin
d1d225a6f5 Bug 1146214 - Remove unused set fence functions. r=nical 2015-04-10 02:12:00 +02:00
Nicolas Silva
d88ccba361 Bug 1147894 - Only use non-null compositors with TextureHost::SetCompositor. r=sotaro 2015-03-27 11:16:18 +01: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
Markus Stange
f08b19f35b Bug 1132626 - Indicate component alpha on layer borders of tiled layers + tiles. r=bgirard 2015-02-12 16:02:31 -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
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
73f0d243ff Bug 1113558 - Ensure that SurfaceDescriptorTiles mResolution can't cause mayhem on the compositor process. r=sotaro 2015-01-08 19:04:22 +01:00
Ehsan Akhgari
545f2c061b Bug 1114999 - Part 2: Apply MOZ_NO_ADDREF_RELEASE_ON_RETURN to all smart pointer arrow operators that can return refcounted objects; r=jrmuizel 2015-01-06 16:30:03 -05:00
Benoit Girard
63a5b13dee Bug 1112476 - Support dumping texture data on the ClientLayerManager. r=mstange 2014-12-18 13:32:45 -05:00
Benoit Girard
141baec3fb Bug 1111258 - Allow dumping textures without MOZ_DUMP_PAINTING. r=mstange 2014-12-16 18:39:43 -05:00
Sotaro Ikeda
ea5cf7c050 Bug 1010966 - Reduce gl()->fEGLImageTargetTexture2D() call from tiled layer on gonk r=nical 2014-12-15 19:41:21 -08:00
Benoit Girard
433462a3b6 Bug 1110998 - Let the profiler turn on layers.dump-texture. r=mstange 2014-12-12 16:11:57 -05:00
Benoit Girard
d63ecdc725 Bug 1105834 - Part 2: Add layers.dump-texture feature. r=mstange 2014-11-28 17:41:47 -05:00
Wes Kocher
45d5855d14 Backed out 3 changesets (bug 1105834) for non-unified bustage
Backed out changeset 33592fd41f1f (bug 1105834)
Backed out changeset c3e505887e9f (bug 1105834)
Backed out changeset 6aad17f431d1 (bug 1105834)
2014-12-08 17:15:46 -08:00
Benoit Girard
285d0437e8 Bug 1105834 - Part 2: Add layers.dump-texture feature. r=mstange 2014-11-28 17:41:47 -05:00
Benoit Girard
d3aaee3e6a Bug 1097941 - Properly disable paint-will-resample on b2g. r=jmuizel 2014-11-28 18:42:20 -05:00
Benoit Girard
d85a68ba81 Bug 1089380 - Remove ClipRectInLayersCoordinates. r=mattwoodrow 2014-10-31 16:34:30 -04:00
Benoit Girard
00fbd63ee2 Backout 60fe2b1ab1ba for split-opacity-layers-1.html reftest failure. 2014-11-03 13:37:54 -05:00
Benoit Girard
7bc61c962d Bug 1089380 - Remove ClipRectInLayersCoordinates. r=mattwoodrow 2014-10-31 16:34:30 -04:00
Jonathan Watt
44455cc40b Bug 1082483, part 2 - Convert Mozilla code to use the new Matrix4x4::PreTranslate/PreScale method names. r=Bas 2014-10-16 10:51:12 +01:00
Nicolas Silva
7a57c1cd43 Bug 1077307 - Merge NewTextureSource and TextureSource. r=sotaro 2014-10-07 15:58:59 +02:00
Nicolas Silva
ceacbbb8ae Bug 1072877 - Ensure OOP transactions can't use memory backed tile locks. r=bjacob 2014-09-30 18:30:23 +02:00
Markus Stange
a15e939a69 Bug 1073103 - Rename ThebesLayer to PaintedLayer. r=roc 2014-09-26 13:06:08 -04:00
Robert O'Callahan
b86d9ff52f Bug 967844. Part 1: Move mBackgroundColor from Layer to FrameMetrics. r=kats 2014-08-30 00:23:25 +12:00