Commit Graph

678 Commits

Author SHA1 Message Date
Frederic Plourde
ef0adc5cf8 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
1ee54b4b61 Backed out changeset c1ea5a8280d7 (bug 1041751) for b2g Gip orange on a CLOSED TREE 2014-07-22 16:54:52 -07:00
Botond Ballo
dad86ed507 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
2c6bc3f45f 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
509bc21287 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
915d194fa2 Bug 1040028 - Create and Allocate TextureClients as 1 step in TextureClientPool. r=sotaro 2014-07-22 14:17:25 +02:00
Jeff Muizelaar
30f2efca10 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
6543eda80d Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical 2014-07-19 05:33:12 -07:00
Wes Kocher
80cd1b254d Backed out changeset 9b764e12796d (bug 1039883) for b2g m7 failures 2014-07-18 14:21:44 -07:00
Sotaro Ikeda
f5c38acac7 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
1a9b9f9427 Backed out changeset 79d65a1bbb01 (bug 1039883) for assertion failures on a CLOSED TREE 2014-07-18 16:09:15 +02:00
Sotaro Ikeda
67616ec086 Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical 2014-07-18 06:21:24 -07:00
Matt Woodrow
c25350a000 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
6ef7478aed Bug 1039145 - Part 1: Clean up AreComponentAlphaLayersEnabled. r=roc 2014-07-18 18:48:23 +12:00
Matt Woodrow
dc0de81b8d Bug 1023677 - Mark BasicCompositor as not supporting component alpha layers. r=roc 2014-07-18 18:48:22 +12:00
Carsten "Tomcat" Book
853013a73c Backed out changeset c5dbd56332e4 (bug 1023677) for failing reftests on a CLOSED TREE 2014-07-18 10:46:07 +02:00
Carsten "Tomcat" Book
dd0c2974e6 Backed out changeset b049e0ae4d1d (bug 1039145) 2014-07-18 10:45:24 +02:00
Carsten "Tomcat" Book
4bf97d1f11 Backed out changeset 49c713f92304 (bug 1039145) 2014-07-18 10:45:20 +02:00
Matt Woodrow
054275919c 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
5397346ec1 Bug 1039145 - Part 1: Clean up AreComponentAlphaLayersEnabled. r=roc 2014-07-18 18:48:23 +12:00
Matt Woodrow
bdbfb15586 Bug 1023677 - Mark BasicCompositor as not supporting component alpha layers. r=roc 2014-07-18 18:48:22 +12:00
Wes Kocher
625bb4e56d Backed out changeset d5607eeaa106 (bug 1036654) for Windows build bustage on a CLOSED TREE 2014-07-16 13:16:40 -07:00
Benoit Girard
be1e787af6 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
b5ba1b4eb0 Bug 1039593 - Clean up the TILING_LOG macros. r=kats 2014-07-16 12:42:35 -04:00
Bas Schouten
b9a7152efc Bug 1036785: Use DIBs for drawing when not using opaque surfaces. r=nical 2014-07-10 23:29:40 +02:00
Benoit Girard
cb397e6eb5 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
d6e33f2033 Bug 1035755 - Fix RemoveTextureFromCompositableTracker::ReleaseTextureClient() r=nical 2014-07-15 06:22:35 -07:00
Corentin Wallez
c9f503522b Bug 1021637: remove unnecessary includes in TextureClient.cpp. r=nical 2014-07-15 09:59:34 +02:00
Jeff Gilbert
71d7bf6e9b Bug 1034398 - Query for max IOSurf sizes. - r=benwa 2014-07-11 23:08:54 -07:00
Jeff Gilbert
2bcd725268 Bug 1037151 - Merge SharedSurface_GL into SharedSurface. - r=mattwoodrow 2014-07-11 15:10:49 -07:00
Nicolas Silva
4966c34e52 Bug 1027601 - Create and Allocate TextureClients in a single step in SharedPlanarYCbCrImage. r=sotaro 2014-07-10 13:48:29 +02:00
Nicolas Silva
5ddf292f7c 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
59e4c53f32 Bug 1036011 - Remove WaitForBufferOwnership() from TextureClientPool::GetTextureClient() r=nical 2014-07-09 07:10:12 -07:00
Carsten "Tomcat" Book
c27e58a8a9 Backed out changeset e072a46f0b6a (bug 1027601) for test bustages on a CLOSED TREE 2014-07-09 13:23:08 +02:00
Carsten "Tomcat" Book
86c831036f Backed out changeset ef24cd472cfb (bug 1027601) 2014-07-09 13:22:50 +02:00
Carsten "Tomcat" Book
88d34ca285 Backed out changeset ba77f00867e8 (bug 1027601) 2014-07-09 13:22:47 +02:00
Nicolas Silva
ad1585bced Bug 1027601 - Build fix on a CLOSED TREE 2014-07-09 12:23:38 +02:00
Nicolas Silva
82aaa92f1d Bug 1027601 - Create and Allocate TextureClients in a single step in SharedPlanarYCbCrImage. r=sotaro 2014-07-09 11:59:53 +02:00
Nicolas Silva
7be2a8a1dd 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
0535707669 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
4818799f64 Bug 1031553 - Create GrallocTextureSourceOGL only when GrallocTextureHostOGL has a gralloc buffer r=nical 2014-07-04 06:16:13 -07:00
Kartikaya Gupta
737bb4f80d Bug 1034258 - Change mCompositionBounds to be a ParentLayerRect instead of a ParentLayerIntRect. r=Cwiiis 2014-07-04 08:12:41 -04:00
Sotaro Ikeda
90fbd7b166 Bug 1033293 - Always use SurfaceFactory_Gralloc for SurfaceStream on gonk r=jgilbert 2014-07-04 03:53:50 -07:00
Sotaro Ikeda
075c38a2ed backoug Bug 1034294 - Fix SharedBufferManagerParent r=jgilbert 2014-07-04 03:52:08 -07:00
Sotaro Ikeda
5f22a7eebf Bug 1034294 - Fix SharedBufferManagerParent r=jgilbert 2014-07-04 03:50:01 -07:00
Kartikaya Gupta
2869230bc5 Bug 1027851 - Add some more logging for when we abort paints. r=Cwiiis 2014-07-03 18:26:03 -04:00
Sotaro Ikeda
5a9be37586 Bug 1029719 - Release TextureClient on correct thread r=jmuizelaar 2014-06-27 06:26:51 -07:00
Markus Stange
8fad21aa77 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
4286bfca4c Backed out changeset 73c6b1fcd058 (bug 1024473) 2014-06-25 17:12:39 +01:00
Markus Stange
0fe7f77c7b Bug 1024473 - Update canvas mask layer even when nothing in the canvas changed. r=mattwoodrow 2014-06-25 10:37:58 +02:00