Commit Graph

478 Commits

Author SHA1 Message Date
David Zbarsky
8ec03cd866 Bug 783893 - Clean up async animation code r=roc 2012-08-21 00:06:47 -04:00
Ehsan Akhgari
e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
David Zbarsky
7589db83b4 Bug 783835 - Compositor needs to know the css property being animated r=roc 2012-08-20 09:35:41 -04:00
Karl Tomlinson
927f25cc6b b=780059 tidy up API for FindVisualAndDepth r=mattwoodrow
--HG--
extra : rebase_source : c6022bd51aad41b7439531e7c3db1725aabda5e7
2012-08-20 16:20:37 +12:00
Matt Woodrow
7cf26992d4 Bug 782372 - Fix clang build. r=nical 2012-08-20 14:39:10 +12:00
David Zbarsky
38147cc954 Bug 783841 - Fix build warnings in layers r=cjones 2012-08-19 20:07:31 -04:00
Nicolas Silva
75542595f3 Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard 2012-08-19 15:33:25 -04:00
Chris Jones
7838eccce3 Bug 782411: Work around having multiple compositors when -jsconsole is used. r=ajuma 2012-08-16 13:23:24 -07:00
Kan-Ru Chen
4e3b4c5d63 Bug 757341 - Camera direct texturing with async video. r=cjones 2012-08-17 18:56:55 +08:00
Doug Sherk
22ae74ed70 Bug 781734: Implement pinch threshold; fingers need to move a bit before page zooms r=gal 2012-08-13 21:08:38 -07:00
Doug Sherk
a92d1b87eb Bug 781734: Decrease axis lock angle r=gal 2012-08-13 21:08:38 -07:00
Doug Sherk
723485177c Bug 781734: When flinging many times successively in one direction, accelerate them more and more r=gal 2012-08-13 21:08:38 -07:00
Doug Sherk
f0b76dbaae Bug 781734: Greatly increase friction on flings, remove pseudo-kinetic vs. static friction distinction r=gal 2012-08-13 21:08:38 -07:00
Doug Sherk
c54409d628 Bug 781734: Detect very light touches and pan the page r=gal 2012-08-13 21:08:38 -07:00
Doug Sherk
ff885fa426 Bug 775463: Implement tolerance in double tap detection r=cjones 2012-08-08 21:39:11 -07:00
Doug Sherk
c728bb798f Bug 775463: Implement double-tap-to-zoom content r=cjones 2012-08-08 21:39:02 -07:00
Doug Sherk
8358a34d39 Bug 775451: Reduce diagonal checkerboarding r=cjones 2012-08-08 13:38:23 -07:00
Doug Sherk
417b3855ee Bug 779572: Properly protect state in AsyncPanZoomController with a monitor r=cjones 2012-08-08 13:38:20 -07:00
Doug Sherk
298a698b2f Bug 779572: Factor zoom into min pan distance before moving the viewport r=cjones 2012-08-08 13:38:16 -07:00
Doug Sherk
8b64f2b23f Bug 780210: Fix B2G focus point calculation for pinching r=kats 2012-08-08 13:38:14 -07:00
Doug Sherk
b75e0a656f Bug 775448: Add gesture cancelling support during sync subframe scrolling r=cjones 2012-08-08 13:38:10 -07:00
Doug Sherk
a842889a26 Bug 775448: Disable async scrolling when we detect a scrollable subframe r=cjones 2012-08-08 13:38:06 -07:00
Doug Sherk
6b3965aa7c Bug 775447: Properly count number of touch listeners in AsyncPanZoomController r=cjones 2012-08-08 13:37:57 -07:00
Chris Jones
f55e36f91d Bug 781024: Use the current decoded image as the reference for allocation. r=roc 2012-08-08 10:51:40 -07:00
Phil Ringnalda
0bef654a22 Backout 8b3b879bc63f (Bug 777463), 32cc8084d1b7 (Bug 775451), ce9014442e13:4d52cfac7c37 (Bug 779572), b33f2b2dbbc5:963aed158547 (Bug 775463), 36832ad5ea65 (Bug 780210), 10695750e4e9:a2afc5b5e538 (Bug 775448), c9f42eebd694 (Bug 775447) for Linux bustage 2012-08-07 20:40:48 -07:00
Doug Sherk
de6acfbf97 Bug 775451: Reduce diagonal checkerboarding r=cjones 2012-08-07 18:51:15 -07:00
Doug Sherk
31ad905e49 Bug 779572: Properly protect state in AsyncPanZoomController with a monitor r=cjones 2012-08-07 18:51:13 -07:00
Doug Sherk
7c76836746 Bug 779572: Factor zoom into min pan distance before moving the viewport r=cjones 2012-08-07 18:51:11 -07:00
Doug Sherk
15c8e89958 Bug 775463: Implement tolerance in double tap detection r=cjones 2012-08-07 18:51:10 -07:00
Doug Sherk
7f10d611e6 Bug 775463: Implement double-tap-to-zoom content r=cjones 2012-08-07 18:51:08 -07:00
Doug Sherk
cb188fd494 Bug 780210: Fix B2G focus point calculation for pinching r=kats 2012-08-07 18:51:05 -07:00
Doug Sherk
c69a910104 Bug 775448: Add gesture cancelling support during sync subframe scrolling r=cjones 2012-08-07 18:51:03 -07:00
Doug Sherk
a52dd8cc39 Bug 775448: Disable async scrolling when we detect a scrollable subframe r=cjones 2012-08-07 18:51:02 -07:00
Doug Sherk
6cf8da54f8 Bug 775447: Properly count number of touch listeners in AsyncPanZoomController r=cjones 2012-08-07 18:51:00 -07:00
Matt Brubeck
b9fbf3dea9 Back out 9fb78d71f361, 28f8ce199bed, 78ffaa79a3de, 9f6f9b74d685 (bug 779940 and bug 778036) because of Android failures 2012-08-06 21:59:01 -07:00
Matt Woodrow
4df6703052 Bug 779940 - Add a ShadowLayer transaction fps counter. r=cjones 2012-08-07 15:00:42 +12:00
Sergey Glushchenko
a2ebf3852f Bug 776429: Unify scattered M_PI definitions into mfbt/Constants.h r=dRdR 2012-08-06 13:32:11 -07:00
David Zbarsky
aaa7d5ced9 Bug 706179 Part 3: Turn on the use of scaling for layers in FrameLayerBuilder r=mattwoodrow 2012-08-03 14:29:22 -07:00
Jeff Muizelaar
dd0d7af561 Bug 779636. Add SAMPLE_LABELS to gralloc implementation. r=cjones
--HG--
extra : rebase_source : ea66610435b3974607bcb8705912004ad3090b4c
2012-08-01 15:49:59 -07:00
Doug Sherk
834a95defc Bug 779344: Properly transform B2G panning/zooming after layers changes r=dzbarsky 2012-07-31 16:19:25 -07:00
Karl Tomlinson
f8fc648682 b=778031 add FinishX to XSync less frequently and use it r=cjones
--HG--
extra : transplant_source : %BC%2C%80%F65%1DV%B7YVI%80%B2%FD%FE%F1%18G%06%26
2012-07-31 14:54:21 +12:00
David Zbarsky
c88b41986f Bug 706179 Part 1: Add support for animations to the Layers API r=roc, dbaron, cjones 2012-07-31 10:28:20 -07:00
David Zbarsky
c83e9b7631 Bug 706179 Part 2: Add a BaseTransform and scaling to layers, r=roc, cjones 2012-07-30 19:20:00 -07:00
David Zbarsky
c6b51c42c1 Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones 2012-07-30 17:42:26 -07:00
Mark Finkle
ecceaf8977 Backout 169ff207ed19, a34baed70c1b, f9ccdd490bd7, 39550ed860e6, 2194a2dd66b2, 908eb2e26843, a76e0a267f26 due to mobile viewport bustage (bug 778580) 2012-07-30 14:36:12 -04:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
David Zbarsky
f8268417e9 Bug 778496 - Layer should store ComputedTimingFunction directly rather than as a pointer r=roc 2012-07-29 18:59:26 -07:00
Doug Sherk
c0703aff4c Bug 775463: Recognize double tap gestures while still supporting single taps r=cjones 2012-07-27 19:24:24 -07:00
Ryan VanderMeulen
9d08d5e4b5 Backout e0e33c1c7c17 and 3d0fb7ac961a (bug 775463) due to bustage. 2012-07-27 20:46:49 -04:00
Doug Sherk
9f42bda621 Bug 775463: Fix a mistake in a comment r=none DONTBUILD 2012-07-27 17:26:14 -07:00
Doug Sherk
c1b687af08 Bug 775463: Recognize double tap gestures while still supporting single taps 2012-07-27 17:23:51 -07:00
David Zbarsky
3a15cfbf6b Bug 706179 Part 2: Add a BaseTransform to layers r=roc 2012-07-27 13:23:45 -07:00
David Zbarsky
687786c2e9 Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones 2012-07-27 13:23:44 -07:00
Doug Sherk
713d90ac11 Bug 777264: Remove timer-based repaint throttling r=cjones 2012-07-27 00:33:57 -07:00
Doug Sherk
9ce89e8185 Bug 777264: Fix AsyncPanZoomController and Axis to use CSS pixels for dimension checking r=cjones 2012-07-27 00:33:53 -07:00
Doug Sherk
de333555a2 Bug 777264: Throttle repaint requests in Gecko panning/zooming r=cjones 2012-07-27 00:33:48 -07:00
Oleg Romashin
2008ba34f4 Bug 776550 - Provide API to start Compositor Parent with external thread/messageloop. r=cjones 2012-07-25 12:47:01 -07:00
Ed Morley
3ed23376d4 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
6b4c02cd9f 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
ced60d55d3 Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones 2012-07-25 01:48:09 -07:00
David Zbarsky
be1773d24a Remove trailing semicolons in GeckoContentController, no bug, r=dRdR 2012-07-24 12:12:11 -07:00
Chris Jones
94c70c8ab5 Bug 776217: Support gecko-implemented screen rotation with omtc. r=roc 2012-07-24 12:01:09 -07:00
Matt Brubeck
90029e0bf6 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
33710a6b6d Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones 2012-07-23 17:34:22 -07:00
Chris Jones
83c1ddf4b4 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
Joshua Cranmer
d539846cab Bug 702877 - Replace NS_OVERRIDE with MOZ_OVERRIDE. r=ehsan
--HG--
extra : rebase_source : 1843575683c3897f96f3966cbce26140ff1a7d90
2012-07-06 13:15:45 -05:00
James Willcox
30e0f551ce Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey 2012-07-20 15:20:51 -04:00
Ed Morley
320a116efd Backout 4987ffd173a4 (bug 687267) for bustage 2012-07-23 14:47:54 +01:00
James Willcox
752928c2eb Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
--HG--
extra : rebase_source : 450055ae3e71ea84f74252d3bf100fe970d29d14
2012-07-20 15:20:51 -04:00
Doug Sherk
64c27116c3 Bug 776226: Implement axis locking when panning along one axis r=roc 2012-07-22 23:49:07 -04:00
Doug Sherk
196cffe61b Bug 776413: Temporary workaround, fix initial displayport on page load. r=gal
This needs to be fixed properly by setting the displayport to a larger area than
just the viewport but before the page has already been loaded. This patch will
mask it to look decent once the page has finished loading and before panning.
2012-07-22 21:51:38 -04:00
Doug Sherk
5f2e57a806 Bug 776226: Improve displayport sizing, account for velocity, and properly clip edges r=cjones 2012-07-22 21:51:23 -04:00
Doug Sherk
3ef8a4e51d Bug 776310: Tune flinging friction and logic in AsyncPanZoomController r=cjones 2012-07-22 21:50:41 -04:00
Doug Sherk
d9bf60609b Bug 776149: Fix Gecko panning code to account for time deltas for displacements r=cjones 2012-07-22 21:43:37 -04:00
Doug Sherk
a0dd3b1be3 Bug 776203: Add virtual dtor to GeckoContentController r=gal 2012-07-22 13:37:13 -07:00
Ms2ger
cb94cc2ce1 Bug 776142 - Back out bug 687267 / changeset 8571114112b2 on a CLOSED TREE. 2012-07-22 14:02:18 +02:00
David Zbarsky
5fef9c6fe5 no bug, avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor in APZ, blanket r=bz 2012-07-20 16:49:12 -04:00
James Willcox
5517ea9fde Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert 2012-07-20 15:20:51 -04:00
Chris Jones
fc6d547510 Bug 750977: Implement glue code for asynchronous panning/zooming. r=jlebar,roc,vingtetun
This is a rollup of three separate patches
 - Add nsIDocShell.asyncPanZoomEnabled. r=jlebar
 - Have BrowserElementChild service repaint requests and handle fallback synchronous scrolling (for now). r=jlebar,vingtetun
 - Glue async pan/zoom logic up between compositing, event dispatch, and repaint requests. r=roc

--HG--
rename : b2g/chrome/content/webapi.js => dom/browser-element/BrowserElementScrolling.js
2012-07-19 23:48:27 -07:00
Doug Sherk
911626890a Bug 750974: Move basic pan/zoom logic into Gecko C++ r=cjones,roc sr=smaug[widget/] 2012-07-19 23:48:25 -07:00
Steve Fink
6914108ba0 Backed out changeset afd9e75374e8 from a CLOSED TREE for breaking Windows builds 2012-07-19 14:55:48 -07:00
James Willcox
08eb1f216b Bug 687267 - Initial support for Flash on Honeycomb r=benwa,vlad 2012-07-19 16:15:40 -04:00
David Zbarsky
9a61d96c70 [Bug 774505] Don't include Layers.h everywhere r=cjones 2012-07-18 12:31:40 -04:00
Rafael Ávila de Espíndola
b1d34774bf Bug 775134 - Remove extra ; r=ehsan.
--HG--
extra : rebase_source : 1d44663679e8f1944649d54608e5e6e6694e88c5
2012-07-18 12:15:47 -04:00
Chris Jones
161b9050f9 Bug 745148, part 9: Hook up the pieces and enable direct compositor. r=roc 2012-07-17 16:59:45 -07:00
Chris Jones
2949a9f18b Bug 745148, part 8: Implement the little boilerplate-y bits and pieces needed for cross-process compositor. r=ajuma,BenWa 2012-07-17 16:59:45 -07:00
Chris Jones
f86571551f 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
Chris Jones
791fa8f037 Bug 745148, part 6: Allow layer trees to be given IDs so that the referent can be used in another context. r=ajuma sr=roc 2012-07-17 16:59:45 -07:00
Chris Jones
56cbcae7e6 Bug 745148, part 5: Pass the layer tree to ShadowLayersUpdate(). r=ajuma 2012-07-17 16:59:44 -07:00
Oleg Romashin
26b109bb23 Bug 728524 - Public shared texture API + Canvas impl. r=bgirard,vlad,jgilbert 2012-05-31 21:30:08 -04:00
Nicolas Silva
966f3cd0b1 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
Nicolas Silva
08004b7444 Bug 763234 - Use only one compositor thread with OMTC. r=cjones 2012-07-13 11:25:29 -04:00
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
Benoit Girard
e7dd21c01b Bug 721489 - Backout changeset 0cb6641ab21a for a more desirable fix.
--HG--
extra : rebase_source : b8100a07f626c3cc51e019911a3b023b482d23b9
2012-02-10 15:12:35 -05:00
Ali Juma
f56d090ef0 Fix busted build. 2012-02-10 10:40:57 -05:00
Ali Juma
1938bda689 Merge heads. 2012-02-10 10:31:31 -05:00
Patrick Walton
985bb34c3b Implement the rendering hooks for Java compositor integration. Currently segfaulting, so ifdef'd out. 2012-02-09 23:55:13 -08:00
Patrick Walton
8e9cf5b1f7 Add a DrawWindowUnderlay() to match DrawWindowOverlay() 2012-02-09 19:47:50 -08:00
Benoit Girard
6bcb6bfee6 Bug 721489 - Allocate a PoT Shmem for the Adreno. This replaces segfaults by visual artifacts
--HG--
extra : rebase_source : 400e392843cf2d15b941e7e94b736106e6b447e2
2012-02-09 17:52:03 -05:00
Ali Juma
7d3fe66eb2 Code cleanup. 2012-02-09 17:39:04 -05:00
Kartikaya Gupta
bbbe277fac Guard against crash in debug mode caused by using a null TimeStamp in a subtraction 2012-02-08 22:22:30 -05:00