Commit Graph

204 Commits

Author SHA1 Message Date
Sebastian Hengst
036a7b0984 Backed out changeset 435e638babd1 (bug 1349418) for failing checkerboard-{1,2,3}.html on Android 4.3. r=backout a=backout
MozReview-Commit-ID: Au7FbypQNvf
2017-04-21 18:01:24 +02:00
Markus Stange
f07c1773ab Bug 1349418 - Remove checkerboarding code and just use an opaque background color behind root scroll frames. r=kats 2017-04-21 14:02:15 +12:00
Miko Mynttinen
8b3eadc05c Bug 1351426 - Part 1: Move the layer geometry instead of copying r=mattwoodrow
MozReview-Commit-ID: BgSAgBECTui
2017-04-04 03:09:06 +02:00
Sebastian Hengst
5d8a32b80f Backed out changeset 8657d0055dab (bug 1351426) for bustage (implicit conversion at BSPTree.h:64). r=backout 2017-04-11 20:03:56 +02:00
Miko Mynttinen
f241153959 Bug 1351426 - Part 1: Move the layer geometry instead of copying r=mattwoodrow
MozReview-Commit-ID: BgSAgBECTui
2017-04-04 03:09:06 +02:00
David Anderson
b4df7e2f22 Remove the TextureRender dependency on Compositor. (bug 1352151 part 4, r=mattwoodrow) 2017-04-10 19:44:45 -07:00
Iris Hsiao
f58321a2b0 Backed out changeset 3910de7acce3 (bug 1349418) 2017-04-10 14:42:38 +08:00
Markus Stange
f510a8a0ad Bug 1349418 - Remove checkerboarding code and just use an opaque background color behind root scroll frames. r=kats 2017-04-10 17:01:53 +12:00
Miko Mynttinen
b737aee1fb Bug 1346777 - Transform layer geometry properly when intermediate surface is used r=mattwoodrow
MozReview-Commit-ID: H3YmadD8sFz
2017-03-16 21:51:54 +01:00
Miko Mynttinen
677f3e434e Bug 1338997 - Ensure that the transformation matrices are invertible r=mattwoodrow
MozReview-Commit-ID: A5nHNcnkrNN
2017-02-23 20:42:10 +01:00
Jeff Walden
a6ec779698 Bug 1287006 - Don't pass Maybe (or any class containing a Maybe member) by value, only by reference or pointer, in layout/-related code. r=bz 2017-02-13 09:07:40 -08:00
Miko Mynttinen
6cb8b5487f Bug 1335159 - Also invert layer local transform r=mattwoodrow
MozReview-Commit-ID: EmYesCp433Q
2017-01-31 22:26:46 +01:00
Miko Mynttinen
ceef772bf6 Bug 1333934 - Transform layer geometry only once r=mattwoodrow
MozReview-Commit-ID: BmJrPf6a6YH
2017-01-25 18:05:10 +01:00
Nicholas Nethercote
d2434a7cc6 Bug 1333296 (part 1) - Rename MOZ_ENABLE_PROFILER_SPS as MOZ_GECKO_PROFILER. r=mstange,glandium. 2017-01-24 14:15:12 +11:00
Miko Mynttinen
ff6a9a925e Bug 1323797 - Add compositor support for triangle layers (for BasicCompositor backend) - Part 1: Replace DrawQuad with DrawGeometry r=mattwoodrow
MozReview-Commit-ID: ysOOFWwG5F
2017-01-10 16:12:51 +02:00
Miko Mynttinen
45fcf4cf9c Bug 1274673 - Use binary space partitioning for sorting/drawing layers - Part 3: Use BSPTree for layer sorting r=jrmuizel,mattwoodrow
MozReview-Commit-ID: 3Hy4IRDFgaP
2016-12-06 13:39:01 -10:00
Bas Schouten
cd0155b68f Bug 1317843 - Split LayerManagerComposite into two classes. r=jrmuizel 2016-11-24 18:11:27 +13:00
Timothy Nikkel
0d631a301a Bug 1284350. Backed out changeset bb3bf463c0ec (Bug 1261554 (Part 3) - Visualize Visibility::IN_DISPLAYPORT regions in the APZ minimap visibility debugger. r=botond) 2016-09-12 00:19:08 -05:00
Kearwood (Kip) Gilbert
f9fd286412 Bug 1250244 - Part 2: Remove old VR rendering paths,r=gw280
MozReview-Commit-ID: 8H7spQggI2w
2016-05-27 13:49:04 -07:00
Nicolas Silva
3766bcc94a Bug 1284837 - Disallow implicit conversions from float to integer when creating IntPoint and IntSize objects. r=botond 2016-07-26 16:48:30 +02:00
Nathan Froyd
7560832ce1 Bug 1287785 - avoid copying ScrollMetadata values in RenderLayers; r=botond
Using `auto' here means that we're copying each ScrollMetadata value as
we examine it.  Using `auto&' here means that we don't copy, which is
probably the intended behavior.
2016-07-21 16:45:24 -04:00
Matt Woodrow
2efcb49f2e Bug 1275694 - Use the local visible region to decide when to cull a layer in CalculateScissorRect(). r=kats
We still take care not to cull a layer if we need to draw a checkerboarding
background for it.

MozReview-Commit-ID: 3EuXEFB2wF9
2016-06-09 16:36:12 +12:00
Nicolas Silva
16460edb8b Bug 1280110 - Cleanup ContainerLayerComposite's intermediate render targets during shutdown. r=sotaro 2016-07-04 15:10:16 +02:00
Kartikaya Gupta
61f5605777 Bug 1282957 - Add a visual indicator for pages affected by scroll-linked effects. r=mstange
MozReview-Commit-ID: KuAL2CUDCnj
2016-06-28 18:31:15 -04:00
Carsten "Tomcat" Book
1ca49612e3 Backed out changeset 1b8e6e22a983 (bug 1275694) for test failures in checkerboard-3.html 2016-06-09 08:54:34 +02:00
Matt Woodrow
503755dd12 Bug 1275694 - Use the presence of checkerboarding to decide when to override the clip rect rather than always using the client side visible rect. r=botond 2016-06-09 16:36:12 +12:00
Jeff Muizelaar
69909eb9c0 Bug 1272778. Use IntRects for clip rects instead of Rects. r=mstange
Previously, we took an IntRect converted to Rect and then later wanted
ints in the backend. This avoids all of that.
2016-05-13 19:58:43 -04:00
Wes Kocher
4e66096f2c Backed out changeset b15136f926ca (bug 1272778) for build bustage 2016-05-13 16:05:12 -07:00
Jeff Muizelaar
1e05ef0499 Bug 1272778. Use IntRects for clip rects instead of Rects. r=mstange
Previously, we took an IntRect converted to Rect and then later wanted
ints in the backend. This avoids all of that.
2016-05-13 18:51:09 -04:00
bd339
4856f3472f Bug 1258758 - rename GetEffectiveClipRect to GetLocalClipRect. r=kats
MozReview-Commit-ID: HNErexDE1Xo
2016-05-02 17:27:35 +02:00
Botond Ballo
69d04c0329 Bug 1267470 - Move more fields from FrameMetrics to ScrollMetadata. r=kats
MozReview-Commit-ID: zxtt1NNcDe
2016-04-27 16:06:34 -04:00
Seth Fowler
8b465d4a09 Bug 1261554 (Part 3) - Visualize Visibility::IN_DISPLAYPORT regions in the APZ minimap visibility debugger. r=botond 2016-04-21 01:22:10 -07:00
Kartikaya Gupta
ea943ceef2 Bug 1256532 - Show the critical displayport in the APZ minimap as well. r=BenWa
MozReview-Commit-ID: HSCJ8G8tpiR
2016-04-05 17:30:00 -04:00
Kartikaya Gupta
ecdfedf982 Bug 1246290 - Add the ability for APZCs to not expose async transforms. r=botond
The call site is responsible for indicating whether or not the APZC should respect
the force-disable flag in the APZCs. This is because we only want to respect that
flag when doing visual transforms (similar to how scrollinfo layers work) and not
when doing transforms on input events.

MozReview-Commit-ID: Dqgz6fqJGXG
2016-04-03 13:13:58 -04:00
Kartikaya Gupta
999590f917 Bug 1246290 - Refactoring to get rid of SampleContentTransformForFrame from AsyncPanZoomController. r=botond
MozReview-Commit-ID: Kh6ptJ7tQms
2016-04-03 13:13:58 -04:00
Botond Ballo
4b6e207842 Bug 1219296 - Make ScrollMetadata::sNullMetadata a StaticAutoPtr so that ScrollMetadata can admit nsTArray members. r=kats
MozReview-Commit-ID: LOZdnAhL5xH
2016-03-30 17:04:10 -04:00
Botond Ballo
aa2fd58a6a Bug 1219296 - Split fields not needed for repaints out from FrameMetrics. r=kats
MozReview-Commit-ID: DymHOSI6yYK
2016-03-28 19:14:52 -04:00
Kartikaya Gupta
75d0401673 Bug 1259529 - Ensure that the APZ minimap for subframes remains scaled to the visible portion of the composition bounds. r=BenWa
MozReview-Commit-ID: Faxtlk6cIHx
2016-03-24 16:06:45 -04:00
Kartikaya Gupta
a086b6922d Bug 1259529 - Clean up the APZ minimap rendering code a bit. No functional changes. r=BenWa
MozReview-Commit-ID: avf1rlxSpj
2016-03-24 16:06:08 -04:00
Seth Fowler
f989c0c02b Bug 1257315 (Part 1) - Add a visualization of visibility tracking to the APZ minimap. r=botond,mattwoodrow 2016-03-18 18:38:57 -07:00
Benoit Girard
e38a13a8a8 Bug 1255907 - Fix unification build issues in APZ & Layers. r=kats
MozReview-Commit-ID: 4tUYEJRgpUF
2016-03-14 11:39:12 -04:00
kearwood
ea20b59b63 Bug 1251886 - Correct inputFrameID selection when using e10s r=daoshengmu
- ContainerLayerComposite::ContainerRenderVR failed to find
  a CanvasLayerComposite and get an inputFrameId as it was
  only looking at immediate children layers.
- Initialize Oculus SDK structures with 0 to ensure code is less
  brittle when Oculus SDK is updated in the future.
- Added assert and sanity check to ensure that valid inputFrameID's
  are used when indexing the Oculus pose buffers.

MozReview-Commit-ID: 136lf8aMWms
2016-03-01 18:00:07 -08:00
David Anderson
e796d454cf Handle device resets by recreating the compositor, rather than the compositor IPDL stack. (bug 1245765 part 7, r=mattwoodrow) 2016-02-29 01:53:15 -05:00
Matthew S
278c60d3fc Bug 1247450 - Rename LayerComposite::GetShadowTransform to GetShadowBaseTransform. r=botond
MozReview-Commit-ID: 4HkKFCDQW4l
2016-02-20 19:05:59 -05:00
kearwood
ccf22e27a5 Bug 1237689 - Enable Oculus hardware latency tester r=daoshengmu
- Generate and pass sequential frame indexes into the ovr_GetTrackingState call and the corresponding call to ovr_SubmitFrame

MozReview-Commit-ID: 5tJl5YJt7Eo
2016-01-08 18:50:10 -08:00
Michelangelo De Simone
3c44cb010c Bug 1247445 - Rename Layer::GetEffectiveVisibleRegion GetLocalVisibleRegion. r=botond 2016-02-13 16:50:51 -08:00
Botond Ballo
0f57ffa346 Bug 1237827 - Be sure to clear LayerComposite::mLayerComposited between each composite. r=mattwoodrow 2016-02-08 20:26:54 -05:00
Birunthan Mohanathas
bfee0fb40c Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Phil Ringnalda
d871b9515f Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
245cd6a02f Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00