Chris Jones
34ba9ea047
Bug 765734, part 6: Integrate gralloc buffers into the shadow-layers pipelines. r=gal
...
--HG--
extra : rebase_source : f7d46aeab3c44d237c8f2ab690caf00f6cd3270d
2012-07-12 05:51:58 -07:00
Chris Jones
54accca6a3
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
1ce07b9102
Bug 765734, part 3: Remove unused code. r=mattwoodrow
...
--HG--
extra : rebase_source : 9c7f8b54b501ebcc9d3f8e757044b8d3f52d1cd9
2012-07-12 05:51:57 -07:00
Chris Jones
96f961a570
Bug 765734, part 2: Migrate ImageLayers to SurfaceDescriptor. r=mattwoodrow,roc
...
--HG--
extra : rebase_source : 19fc8b0ae4cfffdf9a098911deac3b48c2f5d768
2012-07-12 05:51:57 -07:00
Chris Jones
14518d6f62
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
Ed Morley
0dd4a2cd88
Backout 6087689a0745, 153e82923805, 255445a0a851 (bug 728524) on suspicion of causing bug 772405
2012-07-10 16:06:42 +01:00
Oleg Romashin
e70c266519
Bug 728524 - Public shared texture API + Canvas impl. r=bgirard,vlad,jgilbert
2012-05-31 21:30:08 -04:00
Chris Lord
221e96f84e
Bug 758620 - Fix abort caused by unchecked clamping. r=ajuma
...
The initial values set for the offset for fixed position layers could clamp
with a max < min. This was due to a slightly incorrect min, but also because
it should have set these values in the else block of a later if that did a
range check on these values.
2012-07-04 15:56:49 +01:00
Chris Lord
4f6d3716b9
Bug 758620 - Respect the Layers' anchor points in CompositorParent. r=ajuma
...
When asynchronously zooming, respect a Layer's anchor point so that it stays in
the correct position.
2012-06-27 16:44:22 +01:00
Chris Lord
737f39fdfa
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
46f74afdf1
Backout de70e79ced32, ddd519d0767e, 9b952d924953 & 03efce585669 (bug 758620) for reftest failures
2012-06-26 16:13:33 +01:00
Chris Lord
26c38c2908
Bug 758620 - Respect the Layers' anchor points in CompositorParent. r=ajuma
...
When asynchronously zooming, respect a Layer's anchor point so that it stays in
the correct position.
2012-06-26 14:43:18 +01:00
Chris Lord
d68b636b06
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
Kartikaya Gupta
0cb90ae73c
Bug 753444 - Remove device-space page rect from setPageRect as it is not needed. r=jrmuizel
2012-06-13 13:49:40 -04:00
Ali Juma
50551e14c0
Bug 763175 - Only create a new EGL surface when a new Android surface is created. r=BenWa
2012-06-12 10:24:31 -04:00
Ali Juma
b607dce131
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
Ali Juma
d724790e84
Bug 748088 - Part 1: Add a DrawToSurface message to PLayers. r=BenWa
2012-06-01 08:42:34 -04:00
Marco Castelluccio
8c545c33a9
Bug 703484 - Part 1: Allow OMTC to be used with basic layers. r=bgirard
...
--HG--
extra : rebase_source : a96747d6ea09d7112649fa46d2d6a84ababaeaab
2012-05-15 15:56:56 -04:00
Ali Juma
42f623006f
Bug 759162 - Part 2: Make CompositorParent::ScheduleResumeOnCompositorThread block until the compositor resumes. r=bgirard
2012-05-29 13:49:03 -04:00
Kartikaya Gupta
ce890b8171
Bug 607417 - Clamp the transform of fixed-position layers to work with RTL pages (interaction with bug 748384). r=ajuma
2012-05-29 10:22:49 -04:00
Benoit Girard
a0ecbeee54
Bug 759181 - Disable COMPOSITOR_PERFORMANCE_WARNING. r=ajuma
2012-05-28 17:28:31 -04:00
Mats Palmgren
9276fe0594
Fix build bustage from rev 24f3dd5529bb (Bug 607417). r=bustage
2012-05-26 13:32:57 +02:00
Chris Lord
a2f153a4f3
Bug 607417 - Reconcile async scrolling for fixed position layers (part 2). r=ajuma
...
Part of this patch got lost in a rebase, this completes it.
Untranslate fixed position layers when doing async scrolling so that they don't
jump about as content re-renders them in the correct place.
2012-05-26 11:43:41 +01:00
Kan-Ru Chen
52fc902deb
Bug 743182 - Use gfxPlatform::OptimalFormatForContent everywhere. r=joedrew
2012-05-26 12:38:17 +08:00
Benoit Girard
26dd2a67af
Bug 748209 - Fix logic error in CompositorParent::ScheduleTask. r=ajuma
...
--HG--
extra : rebase_source : 216967a9a94eca09935d5b196ac04b95a6ed418c
2012-05-24 13:34:20 -04:00
Kartikaya Gupta
f60728179f
Bug 757847 - Use a reference rather than a pointer that is never null. r=ajuma
2012-05-23 21:52:29 -04:00
Kartikaya Gupta
9583637c8e
Bug 748384 - Propagate page bounds and CSS page bounds in via compositor. r=Cwiiis,ajuma,mats
2012-05-23 10:51:39 -04:00
Kartikaya Gupta
15d02d35fd
Bug 748384 - Back out 330e9c52f9ac, 9ba1078559fe, 2ed39c12d792, f53f05ecacd5 for build bustage. r=bustage
2012-05-23 11:08:19 -04:00
Kartikaya Gupta
c9a4698bf1
Bug 748384 - Propagate page bounds and CSS page bounds in via compositor. r=Cwiiis,ajuma,mats
2012-05-23 10:51:39 -04:00
Chris Lord
62d6014cc8
Bug 607417 - Reconcile async scrolling for fixed position layers. r=ajuma
...
Untranslate fixed position layers when doing async scrolling so that they don't
jump about as content re-renders them in the correct place.
2012-05-23 09:36:39 +01:00
Nicholas Cameron
befb18b0a8
Bug 753784; allow access to the max texture size from FrameLayerBuilder. r=roc
2012-05-22 19:15:16 -04:00
Nicholas Cameron
13553ad870
Bug 753784; add the ability to force a single tile. r=roc
2012-05-22 19:14:03 -04:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Ms2ger
96a13d013d
No bug - Reorder initialization in mozilla::layers::Transaction constructor to fix a build warning.
2012-05-18 10:29:38 +02:00
Vladimir Vukicevic
051a14217f
b=752368; [android] random black screen when opening links from other apps; r=bgirard,ajuma,kats
2012-05-09 22:32:54 -04:00
Kyle Huey
8b95eba736
Back out bug 703484 on this CLOSED TREE.
2012-05-15 20:19:37 -07:00
Marco Castelluccio
94373b4976
Bug 703484 - Allow OMTC to be used with basic layers. r=bgirard
2012-05-15 15:56:56 -04:00
Phil Ringnalda
772c1a502b
Back out 3502d9840d98 (bug 752368) for robo* failure
2012-05-09 22:26:52 -07:00
Vladimir Vukicevic
a994367201
b=752368; [android] random black screen when opening links from other apps; r=bgirard,ajuma
2012-05-09 22:32:54 -04:00
Oleg Romashin
76aaf23ba2
Bug 752643 - Make CompositorParent eglSurface setup available for non-android environment. r=ajuma
2012-05-08 12:40:41 -07:00
Oleg Romashin
ab5e7338d4
Bug 752640 - Allow PCompositor to work with Basic Layers backend. r=ajuma
2012-05-07 16:05:13 -07:00
Benoit Girard
9551b9b0e1
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
Ed Morley
559a85b824
Backout 5c35cd6f3ea4 & ba39b0822992 (bug 607417) for native Android R1 failures
2012-05-04 14:26:09 +01:00
Chris Lord
cca84b2a46
Bug 607417 - Reconcile async scrolling for fixed position layers. r=ajuma
...
Untranslate fixed position layers when doing async scrolling so that they don't
jump about as content re-renders them in the correct place.
--HG--
extra : rebase_source : 709a9b14b5301bb675e118859090e6fb1c0f26f9
2012-05-04 17:04:15 +12:00
Robert O'Callahan
5afaaecea3
backing out patches for bug 607417 due to build bustage
2012-05-04 17:29:05 +12:00
Chris Lord
e7fe8ce6cd
Bug 607417 - Reconcile async scrolling for fixed position layers. r=ajuma
...
Untranslate fixed position layers when doing async scrolling so that they don't
jump about as content re-renders them in the correct place.
2012-05-04 17:04:15 +12:00
Nicholas Cameron
444eba98c1
Bug 716439; shadow layer support. r=BenWa
2012-03-19 12:02:38 +13:00
Oleg Romashin
bd6ff7ba6b
Bug 750276 - Make CompositorParent transforms not android-only. r=ajuma
2012-04-30 17:03:26 -07:00
Kartikaya Gupta
fdc8702178
Bug 746120 - Transform the root layer even if not scrollable so it doesn't cause separation of layers. r=ajuma
2012-04-26 15:24:06 -04:00
Chris Lord
70e676b14d
Bug 745177 - Retain and re-use uploaded GL tiles. r=ajuma
...
Rather than discarding uploaded tiles once they fall outside of the valid
region, shuffle them off into a separate tile-store with all the metadata they
need to render them, and render them in the areas that our current valid
region doesn't cover in TiledThebesLayerOGL::RenderLayer.
2012-04-24 22:48:33 -04:00
Matt Brubeck
e95835d8ba
Back out 4114c654f5d0 (bug 745177) because of Mac build errors
2012-04-24 20:18:50 -07:00
Chris Lord
8000a2a211
Bug 745177 - Retain and re-use uploaded GL tiles. r=ajuma
...
Rather than discarding uploaded tiles once they fall outside of the valid
region, shuffle them off into a separate tile-store with all the metadata they
need to render them, and render them in the areas that our current valid
region doesn't cover in TiledThebesLayerOGL::RenderLayer.
2012-04-24 22:48:33 -04:00
Oleg Romashin
0e8cc7021e
Bug 748209 - Allow to create useful CompositorParent subclass. r=ajuma
2012-04-24 09:22:36 -04:00
Oleg Romashin
f990147b5c
Bug 748209 - Allow compositorParent be created in custom Thread. r=ajuma
2012-04-24 09:22:34 -04:00
Benoit Girard
3a148e61c6
Bug 739679 - Part 2.5: Add TiledBuffer IPC code. r=cjones
2012-04-13 11:17:39 -04:00
Joe Drew
7e925aa0ce
Bug 744916 - Make the Java viewport keep track of its size in both CSS pixels and device pixels. r=kats
...
--HG--
extra : rebase_source : f733c2a4eadaeaa9c845b83886af8ab335250f85
2012-04-12 16:00:56 -04:00
Jeff Muizelaar
a0868e1013
Bug 744901 - Store the page size in FrameMetrics in CSS pixels in addition to device pixels. r=cjones
...
--HG--
extra : rebase_source : ac38e2ff9dda55bd5dc44d757b67cb1550da1eaa
2012-04-12 15:55:26 -04:00
Ali Juma
ed64e52133
Bug 733596 - Tell the compositor about the new surface size on surface change. r=bgirard a=blocking-fennec
2012-04-20 11:46:30 -04:00
Jeff Muizelaar
a571beb2bc
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
George Wright
730569aa87
Bug 728724 - Backout c210ff20f371, as the correct fix has now landed. r=joe a=blocking-fennec
2012-04-17 13:56:25 -04:00
Ali Juma
45df988e4f
Bug 737437 - Post a task to handle compositor destruction. r=bgirard
2012-03-30 15:43:11 -04:00
George Wright
fa77ed1232
Bug 728284 - Main container layer has siblings that are drawn in the background. r=bgirard
2012-03-29 14:07:45 -04:00
Phil Ringnalda
9a72acc5b4
Back out 7bffc102114e (bug 737437) for Android native talos bustage
2012-03-29 08:26:58 -07:00
Ali Juma
a9d6e29a0f
Bug 737437 - Destroy the compositor's layer manager before the CompositorChild gets destroyed. r=cjones
2012-03-29 09:59:22 -04:00
Ali Juma
8bb5830434
Bug 735230 - Part 1: Add Pause and Resume messages to PCompositor. r=bgirard
2012-03-28 18:00:10 -04:00
Kartikaya Gupta
fdeefb7eab
Bug 731603 - Propagate a layersUpdated flag to Java for robocop use. r=ajuma
2012-03-20 00:06:56 -04:00
Kartikaya Gupta
a9fe2cdfa1
Bug 731603 - Propagate the resolution of the painted content into syncViewportInfo as well. r=Cwiiis
2012-03-20 00:05:45 -04:00
Oleg Romashin
3ae43ae2a1
Bug 736875 - Compositor perf warning need to be filtered up to 15ms. r=bgirard
2012-03-19 12:55:37 +01:00
Andreas Gal
6d9d726c6a
Remove unused and broken tiling code (bug 736716, r=cjones).
2012-03-17 15:22:22 -07:00
Andreas Gal
f8ebf3db54
Backout bug 736716.
2012-03-17 15:20:01 -07:00
Andreas Gal
93f73de1fb
Remove unused and broken tiling code (bug 736716, r=cjones).
2012-03-17 15:02:02 -07:00
Chris Lord
e15085320f
Bug 732756 - Fix overdrawing of checkerboard. r=kats
...
Fix overdrawing of the checkerboard layer by letting layers have a concept of
a display-port, and keeping the root layer's display port in track with
Gecko's.
2012-03-17 15:08:22 +00:00
Chris Lord
c0e921b31a
Bug 732917 - Remove ShadowLayers::ShouldDoubleBuffer. r=cjones
...
This function has been unused since bug #690469 .
2012-03-17 12:06:29 +00:00
Ryan VanderMeulen
f814a9a7f4
Backout d5b66e64cf44 (bug 732756) to see if it fixes Android crashtests.
2012-03-16 17:17:22 -04:00
Chris Lord
99c7ccb3f4
Bug 732756 - Fix overdrawing of checkerboard. r=kats
...
Fix overdrawing of the checkerboard layer by letting layers have a concept of
a display-port, and keeping the root layer's display port in track with
Gecko's.
2012-03-16 16:30:23 +00:00
Ali Juma
92d38d1e22
Bug 735600 - Don't composite when the layer tree is empty. r=bgirard
2012-03-14 10:54:34 -04:00
Ali Juma
71fc64fb2f
Bug 725095 - Address GFX review comments. r=joe
2012-03-12 16:32:02 -04:00
Ali Juma
665b50af00
Bug 732091 - Part 5: Make the compositor notify Java when the page size changes or when a first paint occurs. r=bgirard
2012-03-12 11:50:27 -04:00
Ali Juma
fa2d5472cf
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
d5f3cbb01c
Bug 732091 - Part 1: Add an isFirstPaint bool to PLayers update. r=bgirard
2012-03-12 11:50:07 -04:00
Benoit Girard
1d55c5f593
Merge mc->Maple
2012-03-07 11:10:45 -05:00
Benoit Girard
0e825779e0
Bug 733184 - Remove more logging from widget. r=pcwalton
2012-03-05 19:58:18 -05:00
Benoit Girard
677ccfe9c3
Bug 733113 - Maple: Remove debug logging. r=ajuma
2012-03-05 16:10:43 -05:00
Benoit Girard
9e6901c1cd
More render trace. r=debug_only
...
--HG--
extra : rebase_source : b20e2e6e7469433ee6148c8fa0a7dd0c0ca21009
2012-02-28 11:24:24 -05:00
Benoit Girard
bc41b4158d
Rendertrace improvements. r=runtime_config_only
2012-02-24 11:35:04 -05:00
Benoit Girard
5908dc7ff3
Bug 728352 - Implement a render trace utility for GFX perf & debugging. r=mattwoodroow
2012-03-05 15:17:13 -05:00
Jeff Muizelaar
ceaa4127a7
Remove ifdefs from RenderTrace and enable it on composite
...
--HG--
extra : rebase_source : 6d6af824d02b90ac0e43855ce179aa0233b40c5b
2012-02-21 20:20:14 -05:00
Ali Juma
61e759042c
Only try to scroll scrollable layers, and force Gecko to generate a scrollable layer even for smaller pages.
2012-02-20 11:30:05 -05:00
Ali Juma
46e25b78f7
Fix non-Android bustage.
2012-02-17 19:41:16 -05:00
Ali Juma
e5bc664428
Clean up the compositor's transformation calculations.
2012-02-17 17:58:03 -05:00
Benoit Girard
bf35f7e650
Preliminary render trace
2012-02-17 17:05:03 -05:00
Benoit Girard
daef6a012f
Fix one shutdown crash
...
--HG--
extra : rebase_source : dd71617cbabf7848565ab609362964037fbac01a
2012-02-15 11:29:14 -05:00
Ali Juma
e8f65cc047
Improve zooming behaviour.
2012-02-15 10:15:52 -05:00
Benoit Girard
2f43e1f950
remove dead code
2012-02-14 18:36:33 -05:00
Patrick Walton
2f48494641
Fix scissor rect and use the Java compositor's cached viewport metrics when drawing decorations
2012-02-13 20:20:38 -08:00
Ali Juma
f5ab6719f2
Enable zooming.
2012-02-12 15:06:34 -05:00
Patrick Walton
59abdc4347
Uncomment TransformLayerUserData and move it into Layers to fix build bustage
2012-02-10 18:55:48 -08:00
Benoit Girard
fb686d4091
Compositor performance warnings
...
--HG--
extra : rebase_source : e8b2a0f4c4cb69fb88a478750cecc9f21327e018
2012-02-10 18:06:17 -05:00
Ali Juma
56fb439aab
Fix non-Android bustage.
2012-02-10 17:32:12 -05:00
Ali Juma
d86e8c7c2a
Fix race conditions when updating view transform, by switching to an absolute transform.
2012-02-10 16:08:24 -05:00