Commit Graph

2681 Commits

Author SHA1 Message Date
Ed Morley
06e04c1a45 Backout 6087689a0745, 153e82923805, 255445a0a851 (bug 728524) on suspicion of causing bug 772405 2012-07-10 16:06:42 +01:00
Oleg Romashin
b80b9fe16f Bug 728524 - Public shared texture API + Canvas impl. r=bgirard,vlad,jgilbert 2012-05-31 21:30:08 -04:00
Chris Lord
6fddad3ec0 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
67c9bdbef1 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
095bf30407 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
a3a8d59b2b Backout de70e79ced32, ddd519d0767e, 9b952d924953 & 03efce585669 (bug 758620) for reftest failures 2012-06-26 16:13:33 +01:00
Chris Lord
b894bd1986 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
a7152f566e 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
c15efed5f5 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
92703d5413 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
769c3e4ed3 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
46c96f782f Bug 748088 - Part 1: Add a DrawToSurface message to PLayers. r=BenWa 2012-06-01 08:42:34 -04:00
Marco Castelluccio
da4ff78afd Bug 703484 - Part 1: Allow OMTC to be used with basic layers. r=bgirard 2012-05-15 15:56:56 -04:00
Ali Juma
a324a56ad7 Bug 759162 - Part 2: Make CompositorParent::ScheduleResumeOnCompositorThread block until the compositor resumes. r=bgirard 2012-05-29 13:49:03 -04:00
Kartikaya Gupta
dcbfa3102d 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
51e46959bc Bug 759181 - Disable COMPOSITOR_PERFORMANCE_WARNING. r=ajuma 2012-05-28 17:28:31 -04:00
Mats Palmgren
034928a61d Fix build bustage from rev 24f3dd5529bb (Bug 607417). r=bustage 2012-05-26 13:32:57 +02:00
Chris Lord
47d39feb90 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
01e62443c4 Bug 743182 - Use gfxPlatform::OptimalFormatForContent everywhere. r=joedrew 2012-05-26 12:38:17 +08:00
Benoit Girard
7a44f912f1 Bug 748209 - Fix logic error in CompositorParent::ScheduleTask. r=ajuma 2012-05-24 13:34:20 -04:00
Kartikaya Gupta
5b6ed0e13d 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
7cd55d497a 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
1f792eccbc Bug 748384 - Back out 330e9c52f9ac, 9ba1078559fe, 2ed39c12d792, f53f05ecacd5 for build bustage. r=bustage 2012-05-23 11:08:19 -04:00
Kartikaya Gupta
89a429e6ed 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
89c5a18883 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
189d6e2368 Bug 753784; allow access to the max texture size from FrameLayerBuilder. r=roc 2012-05-22 19:15:16 -04:00
Nicholas Cameron
4ffe1932d5 Bug 753784; add the ability to force a single tile. r=roc 2012-05-22 19:14:03 -04:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ms2ger
f108dbf905 No bug - Reorder initialization in mozilla::layers::Transaction constructor to fix a build warning. 2012-05-18 10:29:38 +02:00
Vladimir Vukicevic
9535716183 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
a7d20fc9a6 Back out bug 703484 on this CLOSED TREE. 2012-05-15 20:19:37 -07:00
Marco Castelluccio
0285380d1c Bug 703484 - Allow OMTC to be used with basic layers. r=bgirard 2012-05-15 15:56:56 -04:00
Phil Ringnalda
7386754c4c Back out 3502d9840d98 (bug 752368) for robo* failure 2012-05-09 22:26:52 -07:00
Vladimir Vukicevic
f44d419839 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
41dd9ebfe6 Bug 752643 - Make CompositorParent eglSurface setup available for non-android environment. r=ajuma 2012-05-08 12:40:41 -07:00
Oleg Romashin
d05ca0e155 Bug 752640 - Allow PCompositor to work with Basic Layers backend. r=ajuma 2012-05-07 16:05:13 -07:00
Benoit Girard
6f9bd8b149 Bug 748649 - Allow layer transactions that don't require a buffer swap to be perform asynchronously. r=cjones 2012-05-01 15:23:39 -04:00
Ed Morley
f934df2b79 Backout 5c35cd6f3ea4 & ba39b0822992 (bug 607417) for native Android R1 failures 2012-05-04 14:26:09 +01:00
Chris Lord
d7ebe76317 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
Robert O'Callahan
b9e3e4bcf5 backing out patches for bug 607417 due to build bustage 2012-05-04 17:29:05 +12:00
Chris Lord
b30a106de3 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
48de5e73f8 Bug 716439; shadow layer support. r=BenWa 2012-03-19 12:02:38 +13:00
Oleg Romashin
11a0126ef8 Bug 750276 - Make CompositorParent transforms not android-only. r=ajuma 2012-04-30 17:03:26 -07:00
Kartikaya Gupta
90ebc11e49 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
55f1e641b1 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
9a9be14a5e Back out 4114c654f5d0 (bug 745177) because of Mac build errors 2012-04-24 20:18:50 -07:00
Chris Lord
452929bad6 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
e2822293b1 Bug 748209 - Allow to create useful CompositorParent subclass. r=ajuma 2012-04-24 09:22:36 -04:00
Oleg Romashin
b60bda178a Bug 748209 - Allow compositorParent be created in custom Thread. r=ajuma 2012-04-24 09:22:34 -04:00
Benoit Girard
b3f494f3e8 Bug 739679 - Part 2.5: Add TiledBuffer IPC code. r=cjones 2012-04-13 11:17:39 -04:00