David Anderson
2398d9932b
Don't require a Compositor to track async compositable ownership. (bug 1365879 part 13, r=mattwoodrow)
2017-06-20 01:17:20 -07:00
David Anderson
38ad81dd80
Extract some compositor functions into a LayersHelpers header. (bug 1365879 part 3, r=mattwoodrow)
2017-06-20 01:17:16 -07:00
David Anderson
e8ba095d7e
Fix potential memory leak in TextureSourceProviderMLGPU. (bug 1365879 part 1, r=mattwoodrow)
2017-06-20 01:17:15 -07:00
Miko Mynttinen
ecb24ae6c4
Bug 1345849 - Part 2: Remove unused Triangle::width and height r=jrmuizel
...
MozReview-Commit-ID: QfOaZcv2uu
2017-03-27 16:22:35 -04:00
Miko Mynttinen
0bc4033ec5
Bug 1345849 - Part 1: Use DrawTriangles() instead of DrawTriangle() in OpenGL compositor backend r=jrmuizel
...
MozReview-Commit-ID: H11vFsMlIaA
2017-03-27 13:59:15 -04:00
David Anderson
7a44341bcc
Improve pixel fill statistics in the D3D11 compositor overlay. (bug 1352151 part 6, r=bas)
...
This introduces two new statistics to the overlay. The first is the ratio of
pixel shader invocations (as determined by the GPU) to the number of pixels we
determined need to be redrawn. The ideal ratio is 1.0, indicating that we
filled every pixel exactly once. Anything over 1.0 indicates overdraw.
We also add the ratio of shaded pixels to window size. This indicates how well
we computed the invalid region, and whether or not we overfilled that
region.
Note that the OpenGL and Basic compositors do not yet query the GPU for
this statistic, so they will estimate shader invocations by the area of
DrawQuad calls.
Finally, we remove the feature where layout can request the most
recent overdraw statistic. It was not implemented on all compositors, and the
only test that used it was disabled.
2017-04-10 19:44:46 -07:00
David Anderson
7989aa5d01
Factor texture methods out of Compositor into a TextureSourceProvider class. (bug 1343814 part 1, r=mattwoodrow)
2017-03-21 20:32:53 -07:00
Miko Mynttinen
9bdd958ecb
Bug 1323791 - Part 1: Use no-repeat texture rects with polygon layers r=mattwoodrow
...
MozReview-Commit-ID: 3ObTvCXQZAj
2017-02-09 12:37:34 +01:00
Miko Mynttinen
5f98743717
Bug 1332268 - Update EffectComponentAlpha texture coordinates when rendering split layers r=mattwoodrow
...
MozReview-Commit-ID: HFgikDMPB7F
2017-01-19 21:16:30 +01:00
Sebastian Hengst
19160dc549
Backed out changeset 7d3e3c0a23c6 (bug 1332268) for failing own reftest component-alpha-1.html on Windows 7 debug. r=backout
2017-01-20 16:06:58 +01:00
Miko Mynttinen
35718fe0d1
Bug 1332268 - Update EffectComponentAlpha texture coordinates when rendering split layers r=mattwoodrow
...
MozReview-Commit-ID: HFgikDMPB7F
2017-01-19 14:24:43 +01:00
Miko Mynttinen
72eae4fba5
Bug 1331894 - Crash in InvalidArrayIndex_CRASH | mozilla::layers::BuildPathFromPolygon - Cull polygons with no area r=jrmuizel
...
MozReview-Commit-ID: KCkIA68vvgW
2017-01-18 12:10:12 +01:00
Miko Mynttinen
fe5d2888c8
Bug 1323797 - Add compositor support for triangle layers (for BasicCompositor backend) - Part 2: Add DrawTriangles() and DrawPolygon() r=mattwoodrow
...
MozReview-Commit-ID: 3wgtRO5yK3T
2017-01-10 16:16:33 +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
Miko Mynttinen
54bc26ea3d
Bug 1274673 - Use binary space partitioning for sorting/drawing layers - Part 2: Rename Polygon3D to Polygon, and use 4D points for all calculations r=kip
...
MozReview-Commit-ID: I6DB8xldpjO
2016-12-04 17:49:32 +01:00
Sotaro Ikeda
babd939cf1
Bug 1317656 - Cleanup more gonk/b2g dependent code r=nical
2016-11-15 22:01:30 -08:00
Matt Woodrow
eccd18e973
Bug 1315585 - Don't assume mLastCompositionEndTime has been initialized in NotifyNotUsedAfterComposition. r=dvander
2016-11-08 15:38:30 +13:00
Matt Woodrow
3d05c8f3a5
Bug 1313281 - Part 6: Remove FenceHandle. r=sotaro
2016-10-27 21:02:12 +13:00
Matt Woodrow
16f8a8bdeb
Bug 1308363 - Remove GONK specific code from gfx/. r=jrmuizel,sotaro
2016-10-27 13:17:10 +13:00
Miko Mynttinen
73acb6287c
Bug 1286412 - Add compositor support for triangle layers (for OpenGL backend) r=jrmuizel
...
MozReview-Commit-ID: 75q8ja7G1ko
2016-10-07 10:58:13 -07:00
Matt Woodrow
e5d585d655
Bug 1302918 - Remove old Compositor sharing code. r=nical
2016-09-23 09:44:46 +12:00
Matt Woodrow
4d94213ce8
Bug 1288618 - Part 8: Add Compositor API to create a TextureSource from a layers::Image. r=nical
2016-09-21 21:24:43 +12:00
Carsten "Tomcat" Book
e2adb4a537
Backed out 16 changesets (bug 1288618) for bustage on a CLOSED TREE
...
Backed out changeset 06187d250f7a (bug 1288618)
Backed out changeset 2a47f8ea1d89 (bug 1288618)
Backed out changeset e179c8e8265d (bug 1288618)
Backed out changeset 25396a1af922 (bug 1288618)
Backed out changeset e98f835c6ee5 (bug 1288618)
Backed out changeset 24df0e89b273 (bug 1288618)
Backed out changeset f8bbdabdb6da (bug 1288618)
Backed out changeset 8b0adeab93df (bug 1288618)
Backed out changeset 95f23366de82 (bug 1288618)
Backed out changeset 63a9c689e1d5 (bug 1288618)
Backed out changeset 8f67443dccb8 (bug 1288618)
Backed out changeset 4e7fe69d5f45 (bug 1288618)
Backed out changeset 53b113acee42 (bug 1288618)
Backed out changeset 2583ae4e2e3b (bug 1288618)
Backed out changeset 75a61d0e71b7 (bug 1288618)
Backed out changeset da740b4fd484 (bug 1288618)
2016-09-21 08:44:11 +02:00
Matt Woodrow
3445693679
Bug 1288618 - Part 8: Add Compositor API to create a TextureSource from a layers::Image. r=nical
2016-09-21 15:36:09 +12:00
Carsten "Tomcat" Book
b9c5945409
Backed out changeset da04776fc1bd (bug 1288618)
2016-09-15 16:34:07 +02:00
Matt Woodrow
ebb993e44b
Bug 1288618 - Part 8: Add Compositor API to create a TextureSource from a layers::Image. r=nical
2016-09-15 23:17:59 +12:00
Randall Barker
073f710cca
Bug 1297853 - White flash when creating a private browsing tab r=jchen,kats
2016-09-06 18:01:36 -07:00
David Anderson
e5e1945a88
Bug 1298501 - Fix Compositor::IsValid returning the wrong value. r=mattwoodrow
2016-08-26 13:38:00 -04:00
Randall Barker
3a5ff2bf21
Bug 1294857 - Compositor uses page's background color to clear in Fennec r=kats
2016-08-18 14:03:26 -07:00
Lee Salzman
e3e17a1e97
Bug 1283330 - take floating point inaccuracy into account for assertions in DecomposeIntoNoRepeatRects. r=nical
2016-07-27 12:23:34 -04:00
Sotaro Ikeda
deb1d8efbc
Bug 1287627 - Handle flush TextureHost without composition r=nical
2016-07-19 05:38:35 -07:00
David Anderson
19ade82818
Rename CompositorWidgetProxy files to CompositorWidget. (bug 1281998 part 2, r=jimm)
2016-07-01 01:15:16 -07:00
Phil Ringnalda
89deea28e2
Back out 7 changesets (bug 1281998) for Windows Marionette crashes
...
Backed out changeset d806fac2c856 (bug 1281998)
Backed out changeset b8d4fedfd7eb (bug 1281998)
Backed out changeset a72929c0c3ec (bug 1281998)
Backed out changeset 74198f88fa37 (bug 1281998)
Backed out changeset 54a0e73f6906 (bug 1281998)
Backed out changeset 99d1da1293b7 (bug 1281998)
Backed out changeset a5a9585754b1 (bug 1281998)
2016-06-29 19:35:24 -07:00
David Anderson
4a6d8ea9f0
Rename CompositorWidgetProxy files to CompositorWidget. (bug 1281998 part 2, r=jimm)
2016-06-29 16:47:22 -04:00
Nicolas Silva
32b1cabd0b
Bug 1280762 - ReadUnlock the TextureHost when its IPDL actor dies. r=sotaro
2016-06-21 18:06:34 +02:00
Sotaro Ikeda
cc18201e0b
Bug 1252835 - Make TextureHost recycling implicit r=nical
2016-06-15 04:28:10 -07:00
Nicolas Silva
24337b0bf5
Bug 1272600 - Part 3 - Move the ReadUnlock logic from compositable to texture. r=sotaro
2016-06-02 11:00:21 +02:00
David Anderson
1d91344032
Move CompositorBridgeParent::CompositorLoop to CompositorThreadHolder. (bug 1273017 part 2, r=mattwoodrow)
2016-05-15 23:39:30 -07: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
David Anderson
7ece2d231a
Restrict SetDispAcquireFence's nsIWidget access to Gonk. (bug 1269653 part 2, r=kats)
2016-05-03 17:37:34 -07:00
David Anderson
0a12bb0e91
Block compositable updates from stale layers. (bug 1256517 part 4, r=mattwoodrow,nical)
2016-03-25 01:38:55 -07:00
Sebastian Hengst
6b56304f56
Backed out changeset 27a8a01abf66 (bug 1256517)
2016-03-23 18:57:22 +01:00
David Anderson
ce5e68d14d
Block compositable updates from stale layers. (bug 1256517 part 4, r=mattwoodrow,nical)
2016-03-23 10:32:34 -07:00
David Anderson
7b7cd394cc
Rename PCompositor to PCompositorBridge. (bug 1258479 part 2, r=mattwoodrow)
2016-03-22 14:08:38 -04:00
Wes Kocher
def67ad659
Backed out changeset 3dce92c9562d (bug 1232042) for causing Win7 slaves to apparently crash and lock up a=backout
2016-02-17 11:11:10 -08:00
Bas Schouten
777f4609a7
Bug 1232042: Workaround Windows presentation bug by executing a present call on the main thread during a WM_PAINT event. r=jrmuizel
...
MozReview-Commit-ID: JbPdhIi9zCd
2016-02-06 03:14:44 +00:00
Phil Ringnalda
aa83fcf2dd
Back out aeceae3e0e96 (bug 1232042) for Win8 crashes @nvwgf2umx.dll + 0x2d416a in addon manager tests
2016-02-06 09:52:35 -08:00
Bas Schouten
2b9ee5fb70
Bug 1232042: Workaround Windows presentation bug by executing a present call on the main thread during a WM_PAINT event. r=jrmuizel
2016-02-06 03:14:44 +00:00