David Zbarsky
8bda81abf5
Bug 706179 Part 2: Add a BaseTransform to layers r=roc
2012-07-27 13:23:45 -07:00
David Zbarsky
4be9dc9473
Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-27 13:23:44 -07:00
Ed Morley
0981437de6
Backout 1244b8a8e57a (bug 755084), 32d16d0f87c9 (bug 706179), 8548e016d4a9 (bug 768440), 697f5b87eae9 (bug 768440), 808fc2bd4e8c (bug 755084), 54b1484cd125 (bug 755084), 876726b632c0 (bug 706179) for xul android R3 failures
2012-07-25 16:37:04 +01:00
David Zbarsky
30025de69a
Bug 706179 Part 2: Add a BaseTransform to layers to return the layer's transform without scaling applied r=roc
2012-07-25 01:48:10 -07:00
David Zbarsky
7d00314751
Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-25 01:48:09 -07:00
Chris Jones
bbab5e6e40
Bug 776217: Support gecko-implemented screen rotation with omtc. r=roc
2012-07-24 12:01:09 -07:00
Matt Brubeck
091f852d76
Back out f4f5189b1d0c, 3b4f0606c547, b8a5a1ab8a5f, 5078933d6954, 7e0260c45de9 (bug 768440, bug 755084, bug 706179) because of reftest failures
2012-07-23 20:25:51 -07:00
David Zbarsky
06e34cc5ee
Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-23 17:34:22 -07:00
Chris Jones
f66164ac60
Bug 771350, part 1: Add GLContext::CreateDirectTextureImage and OpenDescriptorForTexturing to more easily support direct texturing without updates. r=vlad
2012-07-23 16:58:37 -07:00
David Zbarsky
7f0f075928
[Bug 774505] Don't include Layers.h everywhere r=cjones
2012-07-18 12:31:40 -04:00
Chris Jones
59456326dd
Bug 745148, part 7: Create a RefLayer type to temporarily contain a foreign layer subtree during composition. r=BenWa sr=roc
2012-07-17 16:59:45 -07:00
Nicolas Silva
aac179cd09
Bug 598868: Add support for pushing video frames directly to the compositor thread, bypassing the content thread. r=cjones
2012-07-13 15:38:09 -04:00
Chris Jones
c31a9ea5db
Bug 765734, part 4: Add an RAII helper to open/close SurfaceDescriptors and mark usage of SurfaceDescriptor as ReadOnly or ReadWrite. r=BenWa,nrc sr=roc
...
--HG--
extra : rebase_source : 34d9f4f021bac540e96b82eceb855c9c2ce59ce6
2012-07-12 05:51:58 -07:00
Chris Jones
3cb6ca97ea
Bug 765734, part 3: Remove unused code. r=mattwoodrow
...
--HG--
extra : rebase_source : 9c7f8b54b501ebcc9d3f8e757044b8d3f52d1cd9
2012-07-12 05:51:57 -07:00
Chris Jones
63d97b07ce
Bug 765734, part 1: Let clients specify capabilities required of cross-process surfaces. Only MAP_AS_IMAGE_SURFACE needed for now. r=roc
...
--HG--
extra : rebase_source : a2e4411772b4504ce86900826d2dc812dcaa68be
2012-07-12 05:51:57 -07:00
Chris Lord
f52875b4e5
Bug 758620 - Force fixed-position frames to have their own layers. r=roc
...
Introduce a new display-list item 'nsDisplayFixedPosition' that represents
fixed-position elements. This item cannot be merged, which forces fixed
position elements to have their own layer, and has a BuildLayer implementation
that sets the necessary metadata on a Layer to be able to maintain its
position correctly during composition when asynchronously panning and zooming.
2012-06-27 16:43:57 +01:00
Ed Morley
cd98097038
Backout de70e79ced32, ddd519d0767e, 9b952d924953 & 03efce585669 (bug 758620) for reftest failures
2012-06-26 16:13:33 +01:00
Chris Lord
7edca27f23
Bug 758620 - Force fixed-position frames to have their own layers. r=roc
...
Introduce a new display-list item 'nsDisplayFixedPosition' that represents
fixed-position elements. This item cannot be merged, which forces fixed
position elements to have their own layer, and has a BuildLayer implementation
that sets the necessary metadata on a Layer to be able to maintain its
position correctly during composition when asynchronously panning and zooming.
2012-06-26 14:43:11 +01:00
Ali Juma
ca60d38ab2
Bug 748088 - Part 2: Drawing to a non-default target should happen on the shadow side, not the shadowable side. r=BenWa
2012-06-01 08:42:36 -04:00
Kan-Ru Chen
4509acf05c
Bug 743182 - Use gfxPlatform::OptimalFormatForContent everywhere. r=joedrew
2012-05-26 12:38:17 +08:00
Nicholas Cameron
a938e2e825
Bug 753784; allow access to the max texture size from FrameLayerBuilder. r=roc
2012-05-22 19:15:16 -04:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Ms2ger
cc5eb59a6b
No bug - Reorder initialization in mozilla::layers::Transaction constructor to fix a build warning.
2012-05-18 10:29:38 +02:00
Benoit Girard
973521416c
Bug 748649 - Allow layer transactions that don't require a buffer swap to be perform asynchronously. r=cjones
...
--HG--
extra : rebase_source : b0d11710119eb87cef8f461ece44baaba88f7477
2012-05-01 15:23:39 -04:00
Nicholas Cameron
0413e14a8f
Bug 716439; shadow layer support. r=BenWa
2012-03-19 12:02:38 +13:00
Benoit Girard
518be52db2
Bug 739679 - Part 2.5: Add TiledBuffer IPC code. r=cjones
2012-04-13 11:17:39 -04:00
Jeff Muizelaar
5207d3c5f9
Bug 745864 - Add profiling labels relevant for Fennec graphics performance. r=bgirard a=blassey
...
--HG--
extra : rebase_source : 9ec2966476988924331d021977e2713e044701df
2012-04-16 14:36:33 -04:00
Andreas Gal
ac82c60a6f
Remove unused and broken tiling code (bug 736716, r=cjones).
2012-03-17 15:22:22 -07:00
Andreas Gal
7f4ec61fd0
Backout bug 736716.
2012-03-17 15:20:01 -07:00
Andreas Gal
089ef250fc
Remove unused and broken tiling code (bug 736716, r=cjones).
2012-03-17 15:02:02 -07:00
Ali Juma
f8d6403787
Bug 732091 - Part 3: Pass on the isFirstPaint flag from the PresShell to the compositor via the layer manager. r=tnikkel,bgirard
2012-03-12 11:50:15 -04:00
Ali Juma
def0c0bab3
Bug 732091 - Part 1: Add an isFirstPaint bool to PLayers update. r=bgirard
2012-03-12 11:50:07 -04:00
Benoit Girard
5582ac1cee
More render trace. r=debug_only
...
--HG--
extra : rebase_source : b20e2e6e7469433ee6148c8fa0a7dd0c0ca21009
2012-02-28 11:24:24 -05:00
Rafael Ávila de Espíndola
e41f04b2a3
Bug 708051 - Avoid IPC x ipc confusion on case insensitive filesystems. r=joe.
2012-01-03 14:36:00 -05:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Oleg Romashin
a969b2f6e7
Bug 693282 - BasicShadowableThebesLayer leaking backBuffers. r=cjones
2011-10-10 16:43:56 -07:00
Matt Brubeck
eb9465f1a3
Back out f7bf7ac18a79 (bug 684826), 3a910924c50c (bug 687367), and 524a6bb8744b (bug 693086) because of Android bustage on a CLOSED TREE
2011-10-10 09:47:27 -07:00
Brad Lassey
a80dbfc6f5
Backed out changeset 703df62e855b due to crashes reported in bug 693086
2011-10-10 11:00:16 -04:00
Oleg Romashin
a86f160f81
Bug 690469 - ShadowThebesLayer Init/Swap API rework. r=cjones
...
--HG--
extra : rebase_source : 92daf535bc48e1fa2a80d3ef1a6ed20855135eb4
2011-10-02 17:19:32 -04:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Oleg Romashin
c4c535022d
Bug 689045 - Canvas Shadow swap/Init API rework r=cjones
...
--HG--
extra : rebase_source : 7b2acb0ffededb54815d7222d79999d32506bee5
2011-09-27 15:19:28 -07:00
Oleg Romashin
ae53d5a0c3
Bug 687372 - ImageLayerOGL should not destroy surface given as argument. r=cjones
...
--HG--
extra : rebase_source : 00d0c49f320c0969570917a321b8a95a3357a943
2011-09-27 15:19:26 -07:00
Chris Jones
c55298d9ae
Bug 648484, part 6: Add code to share D3D10 textures across processes. r=Bas
2011-08-09 12:38:26 -07:00
Chris Jones
a3317162ef
Bug 648484, parts 3, 3.1, and 3.2: Allow passing a "backend hint" to GetLayerManager() to request a non-default layer manager backend. Deal with failure to hook up shadow layers. sr=roc
2011-08-09 12:38:26 -07:00
Robert O'Callahan
0cc6be313b
Bug 637852. Part 9: Remove resolution support from BasicLayers, ShadowLayers and GL layers. r=mattwoodrow
...
This is not needed anymore.
2011-06-23 00:11:28 +12:00
Oleg Romashin
bcfe656b06
Bug 612335 - Render remote canvas directly into shared surface r=jones.chris.g
2011-06-09 21:17:02 -04:00
Matt Woodrow
9d7dd64918
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
Oleg Romashin
0dbd90df0c
Bug 610155 - Use SurfaceDescriptor for ImageLayer and CanvasLayer r=jones.chris.g
2011-04-20 14:45:57 -07:00
Daniel Holbert
96fc781c65
Back out 0736b014d4a5 (Bug 610155) for breaking canvas reftests on android
2011-04-21 14:52:22 -07:00
Oleg Romashin
8869e128b5
Bug 610155 - Use SurfaceDescriptor for ImageLayer and CanvasLayer r=jones.chris.g
2011-04-20 14:45:57 -07:00
Oleg Romashin
631800dfd2
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
e865324942
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
931bd6ee19
Back out bug 622072 because it caused bug 645987
2011-03-29 14:31:53 -04:00
Robert O'Callahan
6536947736
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
Chris Jones
831b2f174e
Bug 627273, part 4: Basic impl of ImageLayer tiling for basic layers. r=roc,vlad
2011-01-26 00:26:37 -06:00
Chris Jones
8c8ad2f763
Bug 618265: Fix leaking gfxSharedImageSurfaces. r=joe sr=vlad a=b
2011-01-04 10:40:54 -06:00
Oleg Romashin
dd6224b8dd
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
5e4a6a5c25
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
703c658a1c
Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking
2010-11-08 20:49:00 -06:00
Chris Jones
26eb3d0bcb
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
678312b9e1
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
03e574157d
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
f8b4169a1c
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
1a07a8c8df
Bug 596240: Don't front() on an empty vector. r=joe a=blocking-2.0
2010-09-20 14:40:30 -05:00
Doug Turner
ab70a6a3a6
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
b5f4f77a8e
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
ab9691cd8f
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
242dbbc943
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
c8b26707ee
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
8d2b6d00c9
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
c1ddf7a569
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
95660d9348
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
6e7a7cd71a
Merge m-c --> cedar
...
--HG--
rename : layout/style/test/hover_helper.html => layout/style/test/chrome/hover_helper.html
rename : layout/style/test/test_hover.html => layout/style/test/chrome/test_hover.html
2010-09-03 14:07:55 -05:00
Chris Jones
ffd2e6087e
Bug 593248: Release old shmem surfaces on realloc. r=joe
2010-09-02 22:05:01 -05:00
Robert O'Callahan
0356f8659e
Bug 579276. Part 3: Change Set/IsOpaqueContent API to a more generic Get/SetContentFlags API. r=cjones,sr=vlad
2010-09-02 21:18:40 +12:00
Chris Jones
822ad5ef6a
Followup to bug 570294: Avoid vector::data(), it's not C++98.
2010-07-21 18:13:24 -05:00
Chris Jones
55422b7ad2
Bug 570294, part h: Publish BasicCanvasLayer pixels to remote processes (slowly). sr=vlad
2010-07-21 16:17:33 -05:00
Chris Jones
139b9afeee
Bug 570294, part f: Implement the "manager" side of IPC layers. r=vlad
2010-07-21 16:17:33 -05:00
Chris Jones
f6fa0fdae2
Bug 570294, part e: Implement the "forwarder" side of IPC layers. r=jrmuizel
2010-07-21 16:17:33 -05:00