Commit Graph

1283 Commits

Author SHA1 Message Date
Jonathan Watt
2357eb85f9 Bug 1253094, part 2 - Stop using DebugOnly for class/struct members in gfx/. r=Bas
MozReview-Commit-ID: 7rDHRqNgQqL
2016-02-26 15:52:07 +00:00
Edwin Flores
b00c15cb8c Bug 1224199 - Don't make the TextureClient wait for compositor recycle if the GLContext is shutting down - r=nical 2016-03-07 11:51:12 +00:00
Phil Ringnalda
cabee82044 Back out 9 changesets (bug 801176) for frequent crashes in test_offscreencanvas_dynamic_fallback.html
Backed out changeset 82320c900699 (bug 801176)
Backed out changeset 624fb8512ba5 (bug 801176)
Backed out changeset a2a7b1c4dc5b (bug 801176)
Backed out changeset e210473d793c (bug 801176)
Backed out changeset 0fb279e041e1 (bug 801176)
Backed out changeset c090dc98c670 (bug 801176)
Backed out changeset fc509e59a0cd (bug 801176)
Backed out changeset 134a8c56335a (bug 801176)
Backed out changeset 2022afa9aef2 (bug 801176)
2016-03-05 07:20:47 -08:00
vincentliu
34112c9d96 Bug 801176 - part7-v1: Don't remove TextureClient until the frame update is done. r=roc
---
 gfx/layers/client/CanvasClient.cpp | 10 ++++++++--
 gfx/layers/client/CanvasClient.h   |  2 ++
 2 files changed, 10 insertions(+), 2 deletions(-)
2016-03-04 15:24:19 +08:00
vincentliu
906120d775 Bug 801176 - part2-v5: Let Canvas 2d context works on Workers. r=roc
---
 dom/canvas/CanvasRenderingContext2D.cpp | 53 ++++++++++++-----------
 dom/canvas/OffscreenCanvas.cpp          | 46 +++++++++++---------
 dom/html/HTMLCanvasElement.cpp          |  1 +
 gfx/layers/AsyncCanvasRenderer.cpp      | 17 ++++++++
 gfx/layers/AsyncCanvasRenderer.h        | 16 +++++++
 gfx/layers/Effects.cpp                  |  6 +++
 gfx/layers/GLImages.cpp                 |  5 +--
 gfx/layers/client/CanvasClient.cpp      | 74 +++++++++++++++++++++++++--------
 gfx/layers/client/CanvasClient.h        | 10 ++++-
 9 files changed, 162 insertions(+), 66 deletions(-)
2016-03-04 15:22:39 +08:00
David Anderson
76e3b91746 Invalidate layers when starting a transaction on a stale device. (bug 1245765 part 9, r=mattwoodrow)
--HG--
extra : rebase_source : 987513504b8470a501db313ab0905d20219949c0
2016-02-29 16:41:35 -05:00
David Anderson
c00e9a5d93 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
David Anderson
04848e06dd Fix async drawing when we lose the D3D11 device. (bug 1245765 part 4, r=mattwoodrow) 2016-02-29 01:53:13 -05:00
David Anderson
b7dba4cb77 Require mix-blend mode support in all compositors and layer managers. (bug 1209278 part 1, r=mstange) 2016-02-23 10:11:21 -08:00
Nicolas Silva
60f1ac8846 Bug 1250873 - Rename HasInternalBuffer into HasIntermediateBuffer in layers. r=sotaro 2016-02-25 14:15:58 +01:00
Nicolas Silva
6f996f44e4 Bug 1250117 - Trivial b2g build fix. r=me 2016-02-25 13:50:27 +01:00
Nicolas Silva
18b7c7e2dc Bug 1250117 - Fix b2g timeouts when gralloc is disabled. r=sotaro 2016-02-25 09:23:23 +01:00
Jamie Nicol
bdba733905 Bug 1250517 - Differentiate between no critical display port and empty critical display port in ClientTiledPaintedLayer; r=kats
Currently the logic in ClientTiledPaintedLayer treats an empty critical
display port to mean that there is no critical display port, i.e. that
the entire visible region should be painted. However, the critical
displayport should be, and is, empty if either the display port or
composition bounds are entirely outwith the layer's bounds. We want to
render none of the layer in this case, not all of it.

Change BasicTiledLayerPaintData::mCriticalDisplayPort's type to a
Maybe<LayerIntRect>, and differentiate between it being not set and it
being an empty rect.

MozReview-Commit-ID: Gi1iZOQcOVL

--HG--
extra : transplant_source : %D5M%3A%D2lN%08%3Dnhy%F3%92%A6%03%FB%85%E2%D4%AB
2016-02-23 15:38:29 +00:00
Wes Kocher
a9ea5f6a56 Backed out 2 changesets (bug 1193557, bug 1209278) for build bustage
Backed out changeset 755b9088813c (bug 1193557)
Backed out changeset 21356fa4e353 (bug 1209278)

--HG--
extra : commitid : 5hf8aSA5FhN
2016-02-23 10:39:08 -08:00
David Anderson
a08042eef1 Require mix-blend mode support in all compositors and layer managers. (bug 1209278 part 1, r=mstange)
--HG--
extra : rebase_source : c63182aa6b4465e22d8d4147bfd40bc1e8183b08
2016-02-23 10:11:21 -08:00
Andi-Bogdan Postelnicu
f91d783b13 Bug 1230911 - modified asseert in order to prevent null pointer dereference. r=roc 2015-12-14 00:00:00 +01:00
kearwood
d2f423667c 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

--HG--
extra : rebase_source : 5dbb35ea1451a9f378e28d81a8704b63b1b72b4d
2016-01-08 18:50:10 -08:00
Mason Chang
4ab8d2c595 Bug 1239152 Memset RGBX surfaces to opaque white. r=nical 2016-02-17 07:34:37 -08:00
Michelangelo De Simone
ebffe910b0 Bug 1247445 - Rename Layer::GetEffectiveVisibleRegion GetLocalVisibleRegion. r=botond
--HG--
extra : amend_source : 375eedb2c6f3e7aec206071a0be0e5fbc0367e76
2016-02-13 16:50:51 -08:00
Bas Schouten
273c601802 Bug 1247775 - Part 1: Remove D3D10/D2D 1.0 texture integration from layers. r=dvander
MozReview-Commit-ID: CPBTl0cEG3p
2016-02-13 14:33:27 +01:00
Kartikaya Gupta
6de82d82fb Bug 1243589 - Use SingleTiledContentClient even for scrollable layers if the layer is smaller than a single tile. r=mattwoodrow
MozReview-Commit-ID: 6eYFmoOVL6b
2016-02-12 08:29:25 -05:00
Carsten "Tomcat" Book
01b9f62513 Backed out changeset 9320c843aa7e (bug 1247775) for breaking win 8 reftests 2016-02-12 08:49:50 +01:00
Bas Schouten
86009f3faf Bug 1247775 - Part 1: Remove D3D10/D2D 1.0 texture integration from layers. r=dvander
MozReview-Commit-ID: CPBTl0cEG3p

--HG--
extra : rebase_source : 88e86efda5e943ffe8d374ab6462b4b0fed20487
2016-02-12 00:52:59 +01:00
Wes Kocher
5d6f82ee76 Backed out changeset 19c631cc41c8 (bug 1243589) for test_transformed_scrolling_repaints.html failures on OS X
--HG--
extra : commitid : 8PbwCNrV2to
2016-02-11 16:34:28 -08:00
Kartikaya Gupta
9b986bd61e Bug 1243589 - Use SingleTiledContentClient even for scrollable layers if the layer is smaller than a single tile. r=mattwoodrow
MozReview-Commit-ID: LHIrrtFfRgm
2016-02-11 16:49:04 -05:00
Bas Schouten
9e0dc8074b Bug 1240800: When we've reallocated our buffer client side and fail to track the proper invalid region always upload the bounds of the visible region. r=mattwoodrow
--HG--
extra : commitid : 7gPm9cOSQT3
2016-02-09 06:07:30 +01:00
Sotaro Ikeda
2e7f1b09d6 Bug 1224833 - Check explicitly if image has TextureClient r=nical 2016-02-03 18:11:38 -08:00
Birunthan Mohanathas
e00f212825 Bug 1235261 - Part 6: Rename AutoInfallibleTArray to AutoTArray. r=froydnj 2016-02-02 17:36:31 +02:00
Birunthan Mohanathas
d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Nicolas Silva
cd021cdc29 Bug 1208226 - Don't crash when failing to map a segment of shared memory. r=sotaro, billm 2016-02-01 16:11:00 +01:00
Phil Ringnalda
d381b4bca6 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
b00cdd6088 Bug 1235261 - Part 6: Rename AutoInfallibleTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Birunthan Mohanathas
373593275e Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Nicholas Nethercote
bd2573b703 Bug 1239864 (part 6) - Use the new rect iterators in gfx/. r=nical.
--HG--
extra : rebase_source : 396d472f620fbbe65982da90ce66021382eaf324
2016-01-18 17:20:58 -08:00
Matt Woodrow
5bf77844af Bug 1241484 - Null check mActor in WaitForCompositorRecycle. r=nical
--HG--
extra : rebase_source : de0259d21139f369852cd5dca135a6796a8a14aa
2016-01-27 09:46:18 +13:00
David Rajchenbach-Teller
42b6a4145f Bug 1224374 - Profiler labels for the 25 top chrome hangs;r=BenWa,MarcoZ
Experience shows that we do not have enough profiler labels to make
BHR hang reports meaningful. This patch adds enough labels to let us
exploit hang reports matching the 25 topmost chrome hangs.

--HG--
extra : rebase_source : b9ec379c58255a250db1020377147c95c82df712
2016-01-14 23:03:11 +01:00
Kartikaya Gupta
0ced379792 Bug 1240867 - Add missing include. r=nical
--HG--
extra : commitid : HhhSFdvTWIP
2016-01-20 09:56:01 -05:00
Sotaro Ikeda
f1adc19aeb Bug 1240668 - Duplicate GonkNativeHandle::NhObj in ImageClientSingle::UpdateImage() r=nical 2016-01-20 01:47:05 -08:00
Sebastian Hengst
d8d4a2d1a5 Backed out 2 changesets (bug 1224374) for Windows bustage. r=bustage on a CLOSED TREE
Backed out changeset 5f458e6e4997 (bug 1224374)
Backed out changeset 0dc02cb0b604 (bug 1224374)
2016-01-19 21:30:41 +01:00
David Rajchenbach-Teller
f5531f5260 Bug 1224374 - Profiler labels for the 25 top chrome hangs;r=BenWa,MarcoZ
Experience shows that we do not have enough profiler labels to make
BHR hang reports meaningful. This patch adds enough labels to let us
exploit hang reports matching the 25 topmost chrome hangs.

--HG--
extra : rebase_source : b9ec379c58255a250db1020377147c95c82df712
2016-01-14 23:03:11 +01:00
Nicolas Silva
9a2dc00d43 Bug 1240708 - Various trivial coverity warning fixes. r=kats 2016-01-19 20:14:22 +01:00
Nicolas Silva
1c55a202bb Bug 1238743 - remove a bogus assertion in TextureClient.cpp. r=kats 2016-01-12 16:00:24 +01:00
Alfredo Yang
869d8facd4 Bug 1224889 - OpenMax IL video decoding for PDM. r=sotaro, r=nical
--HG--
extra : rebase_source : 758864e83ac009581bea87b90ba1bc235934ffb7
2016-01-08 06:24:00 -05:00
Botond Ballo
1497a2fe7c Bug 1236750 - Use strongly-typed matrices to represent layer transforms in APZ code. r=kats
--HG--
extra : source : 20dccf6f7b3072e943f11573195559ab5f0c721c
2016-01-04 20:07:54 -05:00
Botond Ballo
e388e00738 Bug 1236750 - Rename ViewTransform to AsyncTransform. r=kats
It's only used to represent async transforms, and making this clear
allows us to replace (in a subsequent change) its conversion operator
to Matrix4x4 with a conversion operator to a specific typed matrix.

--HG--
extra : source : 38b22004c06481c62eb4e7fead64e1ec52603225
2015-12-30 18:24:26 -05:00
Nicolas Silva
f02f7a61e4 Bug 1221056 - Make the destroy messages for PTexture and PCompositable part of the current transaction when applicable. r=sotaro 2016-01-07 11:17:40 +01:00
Jean-Yves Avenard
8d672d003f Bug 1236167: P1. Do not attempt to destroy a non allocated surface. r=nical 2016-01-07 09:30:32 +11:00
Ryan VanderMeulen
1d22ec87d3 Merge inbound to m-c. a=merge 2016-01-06 09:43:47 -05:00
Johan Lorenzo
8612fa1f8c Backout Bug 1221056 - make the destroy messages for PTexture and PCompositable part of the current transaction when applicable. r=sotaro
For breaking Firefox OS boot startup (see bug 1237197)

--HG--
extra : commitid : Eoiq2mNqfw9
2016-01-06 14:59:35 +01:00
Sotaro Ikeda
22854d8a96 Bug 1234472 - Add gonk sideband stream handling to gfx ipc r=nical 2016-01-05 20:50:39 -08:00