Commit Graph

64 Commits

Author SHA1 Message Date
Oleg Romashin
9bc8e8bac5 Bug 659217 - HW accelerated video crashing with OGL layerss enabled. r=matt.woodrow
--HG--
extra : rebase_source : bd3b7998f5b8193a01d927c388ee2375d2a6bacf
2011-05-25 10:09:55 +02:00
Oleg Romashin
e221d29887 Bug 656167 - Temorarily disable or back out fixed layers. r=jones.chris.g 2011-05-12 09:49:33 -07:00
Matt Woodrow
875f244cda Bug 649417 - Part 2 - Add a YUV option to SharedImage and use it to share YUV data across processes. r=cjones,joe 2011-04-21 16:38:39 +12:00
Matt Woodrow
2748614ad5 Bug 649417 - Part 1 - Create a SharedImage ipdl union and pass this to ShadowImageLayer::Swap . r=cjones 2011-04-21 11:21:56 +12:00
Oleg Romashin
d2f1f3108d Bug 610155 - Use SurfaceDescriptor for ImageLayer and CanvasLayer r=jones.chris.g 2011-04-20 14:45:57 -07:00
Daniel Holbert
c98ac8a3c6 Back out 0736b014d4a5 (Bug 610155) for breaking canvas reftests on android 2011-04-21 14:52:22 -07:00
Oleg Romashin
ddd27efe3d Bug 610155 - Use SurfaceDescriptor for ImageLayer and CanvasLayer r=jones.chris.g 2011-04-20 14:45:57 -07:00
Oleg Romashin
863e12aca2 Bug 607417 - Part1: position:fixed frames mark layers r=roc
--HG--
extra : rebase_source : dbbff8810bafd165a48c34924d98f5c87702ef3f
2011-04-05 23:00:25 -06:00
Robert O'Callahan
6e81f6e5b2 Bug 622072. Part 1: Remove rect parameter from Updated() and change implementations to defer updates to render time. r=bas
The rectangle parameter is currently not used --- all callers always pass the full canvas bounds. In the long term,
we probably won't want this parameter since all implementations should be doing accelerated drawing direct to buffers
with no intermediate copies, hence there will be no need to optimize the size of those copies. Plus, performance-sensitive
testcases tend to paint most or all of the canvas on every frame anyway.
2011-03-28 12:59:46 +13:00
Ehsan Akhgari
acac18d785 Back out bug 622072 because it caused bug 645987 2011-03-29 14:31:53 -04:00
Robert O'Callahan
173828d394 Bug 622072. Part 1: Remove rect parameter from Updated() and change implementations to defer updates to render time. r=bas
The rectangle parameter is currently not used --- all callers always pass the full canvas bounds. In the long term,
we probably won't want this parameter since all implementations should be doing accelerated drawing direct to buffers
with no intermediate copies, hence there will be no need to optimize the size of those copies. Plus, performance-sensitive
testcases tend to paint most or all of the canvas on every frame anyway.
2011-03-28 12:59:46 +13:00
Ben Turner
ecf6425f70 Bug 640901: Clean up managees when manager ctor fails. r=cjones 2011-03-21 11:00:00 -05:00
Chris Jones
ee2d946b9f Bug 627273, part 4: Basic impl of ImageLayer tiling for basic layers. r=roc,vlad 2011-01-26 00:26:37 -06:00
Ryan VanderMeulen
3d60198461 Bug 586130 - Warning C4099 fixes (ipc). r=cjones a=bsmedberg 2011-01-20 19:49:09 -08:00
Benjamin Stover
6f57e84190 Bug 605618 Part 7: Include viewport and content size in API r=cjones sr=roc 2011-01-13 09:45:14 -08:00
Benjamin Stover
5950a36396 Bug 605618 Part 1: Tag layers with scrollable information r=cjones sr=roc a=blocking-fennec 2011-01-13 09:45:14 -08:00
Chris Jones
78d126ab89 Bug 623728: Don't process transactions on destroyed shadow layer managers, even when the layer manager hasn't been explicitly destroyed. r=jrmuizel a=b 2011-01-12 14:13:41 -06:00
Chris Jones
7afafb885d Bug 623451: Don't double-release surfaces. r=jrmuizel a=b 2011-01-11 15:34:31 -06:00
Tatiana Meshkova
e8afa2d979 Bug 621527: Ignore update if layer manager IsDestroyed(). r=cjones a=a 2010-12-27 08:48:00 -06:00
Chris Jones
ff1aab8620 Bug 623255: Ensure LayerOGL::Destroy is called for "orphaned" shadow OGL layers before the GLContext is deleted. r=vlad a=b 2011-01-05 22:54:47 -06:00
Chris Jones
ac5d644f3f Bug 618265: Fix leaking gfxSharedImageSurfaces. r=joe sr=vlad a=b 2011-01-04 10:40:54 -06:00
Oleg Romashin
88c2013756 Bug 619490 - Don't use double-buffered shadowed layers with OGL compositing r=cjones a=b-f 2010-12-31 09:40:31 +02:00
Oleg Romashin
08463ea8b9 Bug 619488 - Inform child processes of the compositor's layer-manager type. r=jones.chris.g a=b-f 2010-12-31 09:40:19 +02:00
Chris Jones
339106b788 Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking 2010-11-08 20:49:00 -06:00
Chris Jones
c493eae976 Bug 603885, part 4: Use unsafe-shmem-backed gfxSharedImageSurface for IPC shadow layers. r=joe 2010-11-05 02:17:07 -05:00
Chris Jones
3070bf00d3 Bug 603885, part 2: Set up the framework for swap-and-readback. r=roc sr=vlad 2010-11-05 02:17:07 -05:00
Chris Jones
9d4c7a5e0c Bug 602431, part 3: Add a ShadowContainerLayer base class and BasicShadowContainerLayer implementation. sr=roc 2010-10-13 17:55:45 -05:00
Chris Jones
57c58b918e Bug 602431, part 2: Add a ShadowColorLayer base class and BasicShadowColorLayer implementation. sr=roc 2010-10-13 17:55:45 -05:00
Chris Jones
ef69e48c78 Bug 60431, part 1: Add a ShadowLayer base class. r=roc sr=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
374601de26 Bug 599359, part 2: When we allocate a new front/back buffer pair, pre-fill the new front buffer with what we painted into the back buffer to stabilize the first Swap(). r=vlad a=blocking-fennec 2010-09-28 17:05:30 -05:00
Chris Jones
59ae652264 Bug 599562: Allocate cross-process layers surfaces from SyS V shm instead of /dev/shm to avoid being arbitrarily capped on maemo5/N900. r=stuart a=blocking-fennec 2010-09-27 19:59:43 -05:00
Chris Jones
d4a32df6d8 Bug 591555: Shadow layer resources are scoped to their PLayerParent, of which there may be many for one layer manager, so move resource management down into Shadow*Layer. r=joe sr=roc 2010-09-24 17:41:31 -05:00
Chris Jones
61c93dad95 Bug 597336, part 3: Generalize the not-using-X-compositing check when creating shadow-layer backing surfaces. r=karl 2010-09-23 20:00:06 -05:00
Chris Jones
09cd99ac19 Bug 596240: Don't front() on an empty vector. r=joe a=blocking-2.0 2010-09-20 14:40:30 -05:00
Oleg Romashin
0332671ba9 Bug 597565 - Qt Port crashes on N900 (-graphicssystem raster by default). r=karlt a=npodb 2010-09-17 16:32:16 -07:00
Chris Jones
4d10273aee Bug 593175, part 3: Let CreateOffscreenSurface() decide which image format to use on X11 platforms. r=karl a=blocking-fennec 2010-09-17 14:15:18 -05:00
Doug Turner
d03c15e824 Bug 593175, part 2: Use 5-6-5 opaque gfxSharedImageSurfaces on mobile platforms. r=karl a=blocking-fennec 2010-09-16 16:24:20 -05:00
Chris Jones
d5d1794564 Bug 593175, part 1: Request backing buffers with gfxContentType rather than gfxImageFormat. r=karl a=blocking-fennec 2010-09-16 16:24:17 -05:00
Chris Jones
b10bbc722f Bug 593175, part 0: Allow forcing use of Shmem-backed cross-process layers in DEBUG builds. r=karl a=blocking-fennec 2010-09-14 00:51:49 -05:00
Chris Jones
166112f466 Bug 596542: Repainting a thebes layer with a non-1.0 resolution shouldn't (always) force buffer reallocs. r=roc 2010-09-15 16:03:13 -05:00
Chris Jones
7c1181632c Bug 570625, part 9: When updating thebes layers, swap out back/front buffers and invalidate the newly-painted region on the old front buffer. r=roc sr=shaver 2010-09-14 00:23:08 -05:00
Chris Jones
61979f9825 Bug 570625, part 8: Share Xlib surfaces across processes on X11 platforms. r=karl 2010-09-14 00:23:08 -05:00
Chris Jones
0cb7bd0628 Bug 570625, part 5: Mostly mechanically switch BasicShadowable/ShadowThebes over to the new SurfaceDescriptor API. r=roc 2010-09-14 00:23:08 -05:00
Chris Jones
433a837370 Bug 570625, part 4: Put support in place for allocating platform-specific backing buffers for IPC layers, and synchronizing properly during transactions (i.e. XSync() on X11). The platform-specific interfaces just default to Shmem in this patch. r=karl sr=shaver 2010-09-14 00:23:08 -05:00
Chris Jones
f7bf383e15 Bug 570625, part 3: Add a SurfaceDescriptor IPDL union over all surfaces share-able to another process. r=roc sr=shaver 2010-09-14 00:23:08 -05:00
Chris Jones
413f96b038 Bug 570625, part 2: Add a SurfaceDescriptorX11 datatype that abstracts what's needed to share an Xlib surface to another process. r=karl sr=shaver 2010-09-14 00:23:08 -05:00
Chris Jones
7e002c08ab Bug 570625, part 1: Only use back/front buffers for BasicThebesLayer and update back->front in the compositor process. r=roc sr=shaver 2010-09-14 00:23:08 -05:00
Chris Jones
f502883ffc Bug 590294, part 7: Add APIs for recording the resolution at which ThebesLayers were painted and for requesting resolution-scaled drawing for basic layers. r=roc sr=vlad 2010-09-03 15:10:46 -05:00
Chris Jones
0c28df6c86 Bug 590294, part 3: Keep ContainerLayer type info around in a few places. r=roc 2010-09-03 15:10:45 -05:00
Chris Jones
6480591e23 Bug 590294, part 2: Add a ContainerLayer attribute FrameMetrics that stores relevant information from layout/ on the root layer. r=roc sr=vlad 2010-09-03 15:10:45 -05:00