Commit Graph

738 Commits

Author SHA1 Message Date
Milan Sreckovic
f5ff709aab Bug 1043603: Expose tile pool size and pool shrink timeout as prefs. r=clord 2014-07-25 15:49:47 -04:00
Nicolas Silva
6e9b2cde6d Bug 1042052 - Add TextureClient::CreateSimilar and have component alpha buffer be of the same type. r=sotaro 2014-07-25 11:24:46 +02:00
Botond Ballo
a0f3bf7fee Bug 1041751 - Fix an order-of-arguments mistake. r=tn 2014-07-24 19:11:00 -04:00
Wes Kocher
2074c59759 Backed out changeset 5d2176af4ed1 (bug 1042771) for frequent b2g r18 failures 2014-07-24 12:45:34 -07:00
Benoit Girard
46261cf888 Bug 1036654 - Report the tile fragmentation overhead. r=njn,kats,cwiiis 2014-07-24 13:34:43 -04:00
Botond Ballo
7413713ddd Bug 1041751 - Do not create an empty APZ test data bucket for each paint when APZ test logging is not pref'd on. r=kats 2014-07-23 18:38:28 -04:00
Sotaro Ikeda
015a9818d9 Bug 1042946 - Discard back buffer on error in ClientTiledLayerBuffer::ValidateTile() r=nical 2014-07-24 06:40:17 -07:00
Sotaro Ikeda
ece82ea45d Bug 1042771 - Fix TextureClientPool::ReturnDeferredClients() r=nical 2014-07-24 06:16:47 -07:00
Botond Ballo
562e21a588 Bug 1007728 - Avoid calling APZCTreeManager::UpdatePanZoomControllerTree() on repeat transactions. r=kats,BenWa
--HG--
extra : rebase_source : 470498aae39f2f297cd181372413b197e5c71821
2014-05-30 18:52:43 -04:00
Nicolas Silva
a1650d9899 Bug 1015718 - Keep the client-side D3D11 texture alive longer so that its destruction does not race with its deserialization. r=bas 2014-07-22 17:49:05 +02:00
Frederic Plourde
aff8275376 b=1015218 Buffer image content layers on server-side xlib surfaces with OMTC basic r=karlt
With image offscreen surfaces enabled for content layers on GTK3, our Basic
compositor needs a way to deal with image layers buffering and compositing in
a performant way.  This patch subclasses BasicCompositor into a new
X11BasicCompositor and makes use of a new TextureSource
(X11DataTextureSourceBasic) in order to buffer TextureHost's data into
gfxXlibSurface on compositor side so that we can use XRender when available to
composite layer contents directly to the Window.

When this buffering will occur, switch to ContentClientSingleBuffered.

--HG--
extra : rebase_source : adad6b1c05dcf516a1ea84c6a529df5f141c198f
2014-07-23 11:02:25 +12:00
Wes Kocher
438888b5cb Backed out changeset c1ea5a8280d7 (bug 1041751) for b2g Gip orange on a CLOSED TREE 2014-07-22 16:54:52 -07:00
Botond Ballo
2f286ce4dd Bug 1041751 - Do not create an empty APZ test data bucket for each paint when APZ test logging is not pref'd on. r=kats
--HG--
extra : rebase_source : fd4f5af2b018061d26dcb99b45526f8bdf48ef15
2014-07-22 15:35:18 -04:00
Kartikaya Gupta
9dc6a33e69 Bug 1040906 - Replace the out-param on matrix conversion helpers with a return value. r=Bas 2014-07-22 09:12:14 -04:00
Nicolas Silva
9b966b9a25 Bug 1040028 - Create and allocate in one step when we used to call CreateBufferTextureClient and CreateTextureClientForDrawing. r=sotaro 2014-07-22 14:17:31 +02:00
Nicolas Silva
d2bc654418 Bug 1040028 - Create and Allocate TextureClients as 1 step in TextureClientPool. r=sotaro 2014-07-22 14:17:25 +02:00
Jeff Muizelaar
69b252e885 Bug 1023473. Pad out tile contents by one pixel. r=BenWa
This fixes reading unitialized data during texture filtering.
It's complicated because we can have regions of initialized data
and padding out a region is much harder than a rectangle.

We currently only take this path for tiled things because of
the artifacts that show up during the sampling that helps
in overscroll. It's also not a great long term solution because
it only works for software backends.
2014-07-18 14:25:34 -04:00
Sotaro Ikeda
24ef28834a Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical 2014-07-19 05:33:12 -07:00
Wes Kocher
8ddcd2a26d Backed out changeset 9b764e12796d (bug 1039883) for b2g m7 failures 2014-07-18 14:21:44 -07:00
Sotaro Ikeda
b7cddab42f Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical 2014-07-18 12:40:35 -07:00
Carsten "Tomcat" Book
273ec53f14 Backed out changeset 79d65a1bbb01 (bug 1039883) for assertion failures on a CLOSED TREE 2014-07-18 16:09:15 +02:00
Sotaro Ikeda
7af2d14a42 Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical 2014-07-18 06:21:24 -07:00
Matt Woodrow
c3fef41fc3 Bug 1039145 - Part 2: Fully remove component alpha/background copying support from BasicCompositor. r=roc 2014-07-18 18:48:23 +12:00
Matt Woodrow
3a3d8a6318 Bug 1039145 - Part 1: Clean up AreComponentAlphaLayersEnabled. r=roc 2014-07-18 18:48:23 +12:00
Matt Woodrow
20934bd987 Bug 1023677 - Mark BasicCompositor as not supporting component alpha layers. r=roc 2014-07-18 18:48:22 +12:00
Carsten "Tomcat" Book
db2858bd97 Backed out changeset c5dbd56332e4 (bug 1023677) for failing reftests on a CLOSED TREE 2014-07-18 10:46:07 +02:00
Carsten "Tomcat" Book
59202fa4d3 Backed out changeset b049e0ae4d1d (bug 1039145) 2014-07-18 10:45:24 +02:00
Carsten "Tomcat" Book
16b520443f Backed out changeset 49c713f92304 (bug 1039145) 2014-07-18 10:45:20 +02:00
Matt Woodrow
6d782be30e Bug 1039145 - Part 2: Fully remove component alpha/background copying support from BasicCompositor. r=roc 2014-07-18 18:48:23 +12:00
Matt Woodrow
9d23fbeec7 Bug 1039145 - Part 1: Clean up AreComponentAlphaLayersEnabled. r=roc 2014-07-18 18:48:23 +12:00
Matt Woodrow
3a5702af73 Bug 1023677 - Mark BasicCompositor as not supporting component alpha layers. r=roc 2014-07-18 18:48:22 +12:00
Wes Kocher
7b22543739 Backed out changeset d5607eeaa106 (bug 1036654) for Windows build bustage on a CLOSED TREE 2014-07-16 13:16:40 -07:00
Benoit Girard
08fd721332 Bug 1036654 - Report the tile fragmentation overhead. r=njn,kats,cwiiis
--HG--
extra : rebase_source : 90f11e631060c5147c14360913d9c6bc82bab109
2014-07-16 15:58:03 -04:00
Botond Ballo
96c5d39c51 Bug 1039593 - Clean up the TILING_LOG macros. r=kats 2014-07-16 12:42:35 -04:00
Bas Schouten
4e29e2f6f9 Bug 1036785: Use DIBs for drawing when not using opaque surfaces. r=nical 2014-07-10 23:29:40 +02:00
Benoit Girard
e7aea75462 Bug 1037691 - Fix instances where refcounted classes expose a public destructor. r=ehsan,bent,mayhemer,jrmuizel 2014-07-15 11:37:45 -04:00
Sotaro Ikeda
b53e3417d6 Bug 1035755 - Fix RemoveTextureFromCompositableTracker::ReleaseTextureClient() r=nical 2014-07-15 06:22:35 -07:00
Corentin Wallez
8108b205f3 Bug 1021637: remove unnecessary includes in TextureClient.cpp. r=nical 2014-07-15 09:59:34 +02:00
Jeff Gilbert
92e122aeeb Bug 1034398 - Query for max IOSurf sizes. - r=benwa 2014-07-11 23:08:54 -07:00
Jeff Gilbert
28df0dd6c9 Bug 1037151 - Merge SharedSurface_GL into SharedSurface. - r=mattwoodrow 2014-07-11 15:10:49 -07:00
Nicolas Silva
2ae79b88e1 Bug 1027601 - Create and Allocate TextureClients in a single step in SharedPlanarYCbCrImage. r=sotaro 2014-07-10 13:48:29 +02:00
Nicolas Silva
cd2052eec1 Bug 1027601 - Create and allocate TextureClient in a single step in some of the cases. r=sotaro 2014-07-10 13:45:40 +02:00
Sotaro Ikeda
7921c28136 Bug 1036011 - Remove WaitForBufferOwnership() from TextureClientPool::GetTextureClient() r=nical 2014-07-09 07:10:12 -07:00
Carsten "Tomcat" Book
26de16d835 Backed out changeset e072a46f0b6a (bug 1027601) for test bustages on a CLOSED TREE 2014-07-09 13:23:08 +02:00
Carsten "Tomcat" Book
63e423f31a Backed out changeset ef24cd472cfb (bug 1027601) 2014-07-09 13:22:50 +02:00
Carsten "Tomcat" Book
b397825902 Backed out changeset ba77f00867e8 (bug 1027601) 2014-07-09 13:22:47 +02:00
Nicolas Silva
957a61cc4e Bug 1027601 - Build fix on a CLOSED TREE 2014-07-09 12:23:38 +02:00
Nicolas Silva
5abc8a1100 Bug 1027601 - Create and Allocate TextureClients in a single step in SharedPlanarYCbCrImage. r=sotaro 2014-07-09 11:59:53 +02:00
Nicolas Silva
493025abcd Bug 1027601 - Create and allocate TextureClients in a single step in some cases. r=sotaro 2014-07-09 11:59:49 +02:00
Kartikaya Gupta
161e23eb39 Bug 1035801 - Switch the tiling logging code from NSPR logging to printf_stderr. r=Cwiiis 2014-07-08 12:38:49 -04:00
Sotaro Ikeda
e5768ec626 Bug 1031553 - Create GrallocTextureSourceOGL only when GrallocTextureHostOGL has a gralloc buffer r=nical 2014-07-04 06:16:13 -07:00
Kartikaya Gupta
6350cec6be Bug 1034258 - Change mCompositionBounds to be a ParentLayerRect instead of a ParentLayerIntRect. r=Cwiiis 2014-07-04 08:12:41 -04:00
Sotaro Ikeda
cdb7275742 Bug 1033293 - Always use SurfaceFactory_Gralloc for SurfaceStream on gonk r=jgilbert 2014-07-04 03:53:50 -07:00
Sotaro Ikeda
1006f76dda backoug Bug 1034294 - Fix SharedBufferManagerParent r=jgilbert 2014-07-04 03:52:08 -07:00
Sotaro Ikeda
314fa06ff8 Bug 1034294 - Fix SharedBufferManagerParent r=jgilbert 2014-07-04 03:50:01 -07:00
Kartikaya Gupta
7c84621594 Bug 1027851 - Add some more logging for when we abort paints. r=Cwiiis 2014-07-03 18:26:03 -04:00
Sotaro Ikeda
cf6f0b7435 Bug 1029719 - Release TextureClient on correct thread r=jmuizelaar 2014-06-27 06:26:51 -07:00
Markus Stange
843671a23a Bug 1024473 - Update canvas mask layer even when nothing in the canvas changed. r=mattwoodrow
* * *
Bug 1024473 - Fix the test. CLOSED TREE

--HG--
extra : rebase_source : ec81f6281d1651bbf1f2a1574bc6fd1a54dbdcf1
2014-06-25 10:37:58 +02:00
Ed Morley
f70f501849 Backed out changeset 73c6b1fcd058 (bug 1024473) 2014-06-25 17:12:39 +01:00
Markus Stange
6027de1f7c Bug 1024473 - Update canvas mask layer even when nothing in the canvas changed. r=mattwoodrow 2014-06-25 10:37:58 +02:00
Kartikaya Gupta
e5ded19395 Bug 1024126 - Fix rounding errors and add a danger zone to the B2G AboutToCheckerboard heuristic function. r=Cwiiis 2014-06-23 20:54:32 -04:00
Kartikaya Gupta
ef4d11dbbe Back out bug 1021248 for causing bug 1028271. r=backout 2014-06-23 14:38:02 -04:00
Kartikaya Gupta
d7c405117e Bug 1021085 - Miscellaneous cleanup. r=Cwiiis 2014-06-23 08:42:53 -04:00
Kartikaya Gupta
25034980f6 Bug 1021085 - Use the entire compositor-side composition bounds as the coherent update rect on B2G. r=Cwiiis r=BenWa 2014-06-23 08:42:53 -04:00
Kartikaya Gupta
ba83c919c7 Bug 1021085 - Fix up the Fennec code path as well. r=Cwiiis 2014-06-23 08:42:53 -04:00
Kartikaya Gupta
f5cf0ffe04 Bug 1021085 - Remove unnecessary transform stored on the paint data. r=Cwiiis 2014-06-23 08:42:48 -04:00
Kartikaya Gupta
478fab5ea7 Bug 1021085 - Inflate the painted rect a bit to deal with rounding error. r=Cwiiis 2014-06-23 08:42:19 -04:00
Kartikaya Gupta
03566ace86 Bug 1021085 - Fix up the transform used for the compositor side composition bounds. r=Cwiiis 2014-06-23 08:42:01 -04:00
Kartikaya Gupta
72cfca8a60 Bug 1021085 - Refactor code to ensure we use the same scrolling ancestor layer everywhere. r=Cwiiis 2014-06-23 08:41:09 -04:00
Sotaro Ikeda
f219fecf9d Bug 1025781 - Remove unnecessary gfx::SourceSurface r=nical 2014-06-21 05:15:41 -07:00
Sotaro Ikeda
0e32a771bf Bug 1027088 - Ensure fence delivery for TiledContentClient on gonk r=nical 2014-06-19 19:41:36 -07:00
Kartikaya Gupta
82c59d2853 Bug 1021248 - Update the low-res tiles even when not in risk of checkerboarding. r=Cwiiis 2014-06-19 09:27:32 -04:00
Kartikaya Gupta
46339827a7 Bug 1026756 - Detect when a scroll offset update is going to remove checkerboarding, and don't leave things in a low-precision state. r=Cwiiis 2014-06-19 09:27:31 -04:00
Birunthan Mohanathas
f475f7189b Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Benoit Jacob
dd18742280 Bug 1027251 - Fix or whitelist dangerous public destructors in gfx/ - r=jrmuizel 2014-06-18 22:28:59 -04:00
Jeff Gilbert
f50b8dc737 Bug 1000640 - Crash if we try to use the Gralloc path in TextureHost. - r=mattwoodrow 2014-06-18 17:04:06 -07:00
Jeff Gilbert
bde621b73d Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow 2014-06-18 17:04:06 -07:00
Jeff Gilbert
3d1f5ae620 Bug 1000640 - Death to whitespace. - r=mattwoodrow 2014-06-18 17:04:05 -07:00
Sotaro Ikeda
5c5370ecfe Bug 1022167 - Ensure fence delivery of thebes layer in b2g process r=nical 2014-06-18 12:13:27 -07:00
Sotaro Ikeda
6492121503 Bug 1026432 - Add GetCompositorChild() to ClientLayerManager r=nical 2014-06-17 19:42:34 -07:00
Bas Schouten
907bcc7b65 Bug 1019909: Properly initialize white buffer to white. r=nical 2014-06-18 00:55:31 +02:00
Kartikaya Gupta
e5c59ed0a1 Bug 1025562 - Remove improper use of viewport in tiling calculations. r=Cwiiis 2014-06-17 12:44:12 -04:00
Kartikaya Gupta
3c9920cebf Bug 1025562 - Add logging to TiledContentClient. r=Cwiiis 2014-06-17 12:43:12 -04:00
Kartikaya Gupta
3b4cd586ea Bug 1023882 - Part 8 - Remove the argument to EndPaint. r=Cwiiis 2014-06-11 12:42:46 -04:00
Kartikaya Gupta
e93f73042e Bug 1023882 - Part 7 - Move down the calculation of the low-precision invalid region so it happens later. r=Cwiiis 2014-06-11 12:42:46 -04:00
Kartikaya Gupta
b4f8a15744 Bug 1023882 - Part 6 - Move all SetRepeatTransaction calls into ClientTiledThebesLayer so it's easier to follow the flow. r=Cwiiis 2014-06-11 12:42:45 -04:00
Kartikaya Gupta
03bb0fd0b1 Bug 1023882 - Part 5 - Move the invalid region calculation up a bit. r=Cwiiis 2014-06-11 12:42:45 -04:00
Kartikaya Gupta
e5d1682b21 Bug 1023882 - Part 4 - Extract a RenderLowPrecision helper function. r=Cwiiis 2014-06-11 12:42:45 -04:00
Kartikaya Gupta
ae907a679a Bug 1023882 - Part 3 - Extract a RenderHighPrecision helper function. r=Cwiiis 2014-06-11 12:42:45 -04:00
Kartikaya Gupta
59bb779b6e Bug 1023882 - Part 2 - Create a first-transaction block for all the first-transaction code. r=Cwiiis 2014-06-11 12:42:44 -04:00
Kartikaya Gupta
604587a2ad Bug 1023882 - Part 1 - Small refactorings. r=Cwiiis 2014-06-11 12:42:44 -04:00
Chris Lord
43310b9b82 Bug 1006084 - Allow ThebesLayers to be recreated when the creation hint changes. r=mattwoodrow 2014-06-13 17:11:08 +01:00
Ryan VanderMeulen
8e063af010 Backed out changeset a461a267cf62 (bug 1021248) for suspicion of causing B2G fixed-1.html perma-fail.
CLOSED TREE
2014-06-12 17:06:06 -04:00
Kartikaya Gupta
0decbd2563 Bug 1021248 - Update the low-res tiles even when not in risk of checkerboarding. r=Cwiiis 2014-06-12 09:17:04 -04:00
Wes Kocher
103ebc2c65 Backed out 8 changesets (bug 1023882) for b2g mochitest-4 orange on a CLOSED TREE
Backed out changeset 501167f9e525 (bug 1023882)
Backed out changeset 811d536995cf (bug 1023882)
Backed out changeset c38a0cb1e00c (bug 1023882)
Backed out changeset 4ba2f2a98114 (bug 1023882)
Backed out changeset 42e44e1eb363 (bug 1023882)
Backed out changeset a92435f75f89 (bug 1023882)
Backed out changeset 039cfd09fa32 (bug 1023882)
Backed out changeset 05e8c4ee536d (bug 1023882)
2014-06-11 16:39:01 -07:00
Wes Kocher
a3cdadf936 Backed out changeset bc9031f59e1c (bug 1021248) for Werror bustage 2014-06-11 14:46:59 -07:00
Kartikaya Gupta
671cfa747f Bug 1021248 - Update the low-res tiles even when not in risk of checkerboarding. r=Cwiiis 2014-06-11 17:22:00 -04:00
Nicolas Silva
114ff5488a Bug 1023350 - Rename TextureClient::GetAsDrawTarget into TextureClient::BorrowDrawTarget and fix TextureClientX11. r=bjacob 2014-06-11 14:57:58 -04:00
Kartikaya Gupta
3bc1787dd5 Bug 1023882 - Part 8 - Remove the argument to EndPaint. r=Cwiiis 2014-06-11 12:42:46 -04:00
Kartikaya Gupta
6636718d0c Bug 1023882 - Part 7 - Move down the calculation of the low-precision invalid region so it happens later. r=Cwiiis 2014-06-11 12:42:46 -04:00