Anthony Jones
6ac5d06135
Bug 799401 - Throttle APZC paint requests. r=cjones
2012-12-04 21:00:38 -05:00
Chris Jones
31e9b5c3bc
Bug 813356: Skip subtrees with null roots during resolution. r=roc a=blocking-basecamp
2012-12-03 12:45:42 -08:00
Anthony Jones
079e618a7c
Bug 798194 - Fix problem with resizing the composition bounds. r=roc
2012-12-02 20:33:53 -05:00
Michael Wu
9bc0b72544
Bug 774458 - Only send clicks on confirmed single taps, r=cjones
2012-11-29 21:26:11 -05:00
Benjamin Chen
cbf8129880
Bug 804985 - [browser] don't try to zoom out wider than the page width r=cjones
...
1. bring the zoom factor into BrowserElementScrollng.js
2. fix the zoom ratio in AsyncPanZoomController::ZoomToRect
3. fix the relation between _isRectZoomedIn and AsyncPanZoomController::ZoomToRect
4. zoom it out if the rect reach the device maximal zoom ratio
2012-11-28 17:18:12 +08:00
Cervantes Yu
de45932fd3
Bug 806596 - Don't fire double tap if the delayed task to timeout the 1st tap fails to run in time. r=roc
2012-11-28 22:46:50 -05:00
Jeff Gilbert
f0fdb0504f
Bug 811958 - Fix and move ShateType type - r=bgirard
2012-11-26 14:23:27 -08:00
Jeff Gilbert
31671553a5
Backed out csets 807f2c3df974, 1637c39b4ed6, ec29e09a270e (bug 811958) for burning android
2012-11-26 13:48:20 -08:00
Jeff Gilbert
08572e4b8e
Bug 811958 - Fix and move ShareType type - r=bgirard
2012-11-26 12:51:57 -08:00
David Zbarsky ext:(%2C%20David%20Baron%20%3Cdbaron%40dbaron.org%3E%2C%20Chris%20Jones%20%3Cjones.chris.g%40gmail.com%3E)
1b8a2e6d1c
Bug 788409: When the compositor runs past the end of an animation, just fill forwards until the main thread catches up. r=dbaron a=blocking-basecamp
2012-11-22 15:49:06 -08:00
Andrea Marchesini
69e6efa6ee
Bug 808266 - Add memory reporter for GrallocBufferActor. r=cjones
2012-11-22 08:39:56 -05:00
Chris Lord
f3fe8a5a5d
Bug 783368 - Prefer the critical display port, when set, in basic tiled layers. r=bgirard
...
If a critical display port is set, only validate content within it when using
basic tiled layers.
2012-11-21 22:34:18 +00:00
Ehsan Akhgari
a1ca146c7c
Backed out 11 changesets (bug 783368) because of build bustage on a CLOSED TREE
...
Backed out changeset 2bc4310263c4 (bug 783368)
Backed out changeset a35c83a8d99d (bug 783368)
Backed out changeset afb9b2a661ba (bug 783368)
Backed out changeset 3926f510f9be (bug 783368)
Backed out changeset 9d1fe200ff87 (bug 783368)
Backed out changeset b6e4f88f5730 (bug 783368)
Backed out changeset bc53f7dba7c6 (bug 783368)
Backed out changeset 1948fa2fccc1 (bug 783368)
Backed out changeset 9af163388fd1 (bug 783368)
Backed out changeset 7a2256e1aa7c (bug 783368)
Backed out changeset 4da1958a9885 (bug 783368)
2012-11-21 14:57:02 -05:00
Chris Lord
7a7a8a8ebd
Bug 783368 - Prefer the critical display port, when set, in basic tiled layers. r=bgirard
...
If a critical display port is set, only validate content within it when using
basic tiled layers.
2012-11-21 19:16:51 +00:00
Daniel Holbert
dc4c4f689d
(no bug) fix typo in header comment for AsyncPanZoomController::CalculateIntrinsicScale(). DONTBUILD (comment-only)
2012-11-15 09:16:03 -08:00
Andrea Marchesini
d2e9fb6a55
Bug 796275 - Context menu fires on wrong target out of process. r=cjones
2012-11-08 14:35:02 -05:00
Edwin Flores
d4b61e8263
Bug 809904 - Create gralloc images in ImageContainerChild::CreateImage r=nical
2012-11-09 06:44:11 +13:00
Chris Jones
3b6afccf0e
Bug 806029: Have remote content drop their buffers when they're hidden. r=mattwoodrow sr=roc
2012-11-07 19:51:55 -08:00
Matt Woodrow
2146637de4
Bug 808469 - Use gfxQuartzSurface for OMTC drawing on mac. r=cjones
2012-11-07 19:56:56 +13:00
Nicolas Silva
dcda690370
Bug 797893 - Fix trivial warning in ImageBridgeParent.cpp. r=dholbert
2012-10-05 22:46:01 +02:00
Nicolas Silva
a297627bd6
Bug Bug 773440 - Remove unnecessary frame copies with async-video by stroring video frames in shared memory earlier in the pipeline. r=roc
2012-11-05 11:38:03 +01:00
Benoit Girard
4203da214f
Bug 805792 - Avoid another extra copie when calling RenderTile. r=Cwiiis
...
* * *
Bug 805907 - Handle memory pressure notification in the TileStore. r=Cwiiis,ehsan
--HG--
extra : rebase_source : 976deda3ab13c2e178f9a6922b7c17c294175fad
2012-10-29 18:10:45 -04:00
Nicolas Silva
adf5395310
Bug 792252 - Clean up ImageContainerChild (before implementing SharedPlanarYCbCrImage to remove the extra video frame copy). r=kanru
2012-10-29 16:08:06 +01:00
Matt Joras
cb9f8ae9e7
Bug 798033 - Removes "using namespace" directive from gfx headers - r=jmuizelaar
2012-10-25 16:12:59 -04:00
Doug Sherk
20620b38aa
Bug 804949: Change the way panning works. r=cjones a=blocking-basecamp
2012-10-24 01:37:53 -07:00
Kan-Ru Chen (陳侃如)
c162c0d48f
Bug 791711 - Invalidate again if the SharedImageID was removed. r=nical
2012-10-20 08:18:31 +08:00
Benoit Jacob
c78c87a1ca
back out 621cfd13ceaf for build failures
2012-10-15 13:34:42 -04:00
Matt Joras
db700742e9
Bug 798033 - Removes "using namespace" directive from gfx headers - r=jmuizelaar
2012-10-15 13:02:21 -04:00
Chris Jones
b00b1e25b0
Bug 795657: Integrate native viewport configuration better into async pan-zoom code. r=jwir3,roc
...
This is a rollup of the following patches
- Change the interpretation of FrameMetrics.mZoom to a "resolution-indepedent zoom", instead of a resolution-depedent scale factor. r=roc
- Remove mention of "meta" from TabChild. r=roc
- Remove some useless logging. r=roc
- Tag FrameMetrics with its composition bounds at paint time. r=roc
- Add a helper to calculate the render resolution for a FrameMetrics. r=roc
- Add a helper to compute the approximate CSS dimensions a FrameMetrics will cover during composition. r=roc
- BrowserElementScrolling doesn't actually care about zoom or resolution. r=roc
- Accept the viewport that content has calculated, when it's received the latest widget geometry update. r=roc
- Mechanically separate uses of zoom/resolution based on new definitions. r=roc
- Convert GetViewportInfo()'s resolution-dependent scale into resolution-indepedent zoom. r=roc
- Reinterpret defaultZoom == 0.0 as "intrinsic scale". r=jwir3,roc
2012-10-11 22:46:24 -07:00
Chris Jones
461d5e2250
Bug 780920, part 3: The ultimate compositor has to draw to the readback surface; shadow layers doesn't have access to all the needed rendering state. r=roc
2012-10-04 00:05:24 -07:00
Ryan VanderMeulen
c7df9c8a33
Backout 0cd12dcf7f8f, 5ff5e81e6de6, and 0ae09da96f63 (bug 740580) due to bug 797391.
2012-10-03 22:13:14 -04:00
George Wright
b65e8574f8
Bug 740580 - Add support for Azure DrawTargets to BasicLayers. r=Bas
2012-10-02 22:09:12 -04:00
David Zbarsky
e5303c560b
Bug 790508: SampleAnimations should walk the layer tree from the root instead of from the primary scrollable layer r=cjones
2012-10-01 02:13:49 -04:00
Jonathan Kew
9dccf0c9c8
bug 674373 pt 2 - consistently use client bounds for layer sizing. r=roc
2012-09-29 12:34:41 +01:00
Doug Sherk
4a17f28103
Bug 786267: B2G: Lower resolution while doing accelerated panning r=cjones
2012-09-29 00:02:45 -04:00
Doug Sherk
19cc16c9aa
Bug 787445: B2G: Rip out async paint throttling code, use compression instead r=cjones
2012-09-29 00:02:41 -04:00
Doug Sherk
4f2bfeb032
Bug 746502: Add support for <meta name=viewport> on B2G/async panning and zooming r=cjones,smaug
2012-09-28 22:18:18 -04:00
Doug Sherk
2c2aabf888
Bug 784908: Part 3: Distinguish resolution from a new zoom field on FrameMetrics r=roc
2012-09-28 22:16:38 -04:00
Doug Sherk
f73db9f5da
Bug 784908: Part 1: Change names of FrameMetrics variables to be more descriptive, add documentation, change some coordinate spaces. r=roc
2012-09-28 22:16:34 -04:00
Chris Jones
9397b0a053
Bug 794727: Translate asynchronously-animated transforms by the offset to their reference frame when sampling. r=mattwoodrow
2012-09-27 20:14:33 -07:00
Nicolas Silva
7bdb2633f6
Bug 794233 - Fix for blank video on fennec release. r=cpeterson
2012-09-26 23:32:45 -04:00
Chris Lord
ab91d060df
Bug 794200 - Progressive draw tiles in the direction of scrolling. r=bgirard
...
When scrolling downwards, make sure to fill in tiles from the top, upwards
from the bottom, left from the right and right from the left.
2012-09-26 21:41:56 +01:00
Karl Tomlinson
5248b8f1c7
b=763449 Finish X requests on mROFrontBuffer before deleting shadow layer r=cjones
...
--HG--
extra : rebase_source : 7381b234a29d648afdf76eff1f1e89f6e5cd88b5
2012-09-25 16:20:41 +12:00
Chris Jones
a4671d6fbf
Bug 792663: Temporarily require opting in to allocating cross-process xlib surfaces. r=karl
2012-09-24 14:54:01 -07:00
Ryan VanderMeulen
6b5288025b
Backout c2b7be27e412 (bug 791644) due to mochitest orange.
2012-09-17 20:09:42 -04:00
Matt Woodrow
d1a58e8e6d
Bug 791644 - Refactor nsDisplayTransform::GetResultingTransformMatrix into two functions with less optional parameters. r=roc
2012-09-18 10:34:21 +12:00
Nicolas Silva
2e2f7ed80f
Bug 790716 - Allocate shared YCbCr images in one shmem. r=jrmuizel.
2012-09-13 16:52:26 -04:00
Ms2ger
10ec580e54
Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones
2012-09-17 10:37:20 +02:00
Doug Sherk
2d4610aea1
Bug 787549 - B2G: Stop simulating mouse events unless there's a tap. r=cjones
2012-09-14 21:16:32 -04:00
Doug Sherk
dabd495ece
Bug 780395: Part 1, B2G: Listen to scrollTo calls and metrics being clobbered r=cjones
2012-09-14 17:57:35 -04:00
Nicolas Silva
115fa9ce1c
Bug 774622 - Fixes fennec exit crash by reference counting the compositor thread and making sure the CompositorParents are not destroyed while running code on the compositor thread. r=cjones
2012-09-11 14:17:05 -04:00
Chris Jones
2ea4017e3d
Bug 782456, part 0: Add the cross-process ImageBridge glue. r=roc
2012-08-29 09:24:48 -03:00
Chris Lord
bb517120d3
Bug 785333 - Add ContainerLayer::RepositionChild. r=bas
...
Add a function that can be used to quickly reposition a layer child, rather
than forcing removal/insertion and the extra work that can involve.
2012-08-29 11:52:55 +01:00
Kan-Ru Chen (陳侃如)
ed13eb8ba9
Bug 781892 - Clear mImageQueue when setIdle or shuting down. r=cjones
2012-08-29 03:52:35 -03:00
Rafael Ávila de Espíndola
fa9b9c167a
Bug 786148 - s/IPC/ipc/. r=ted.
...
This makes our builds a bit more reproducible. Without it when processing
#include "IPC/IPCMessageUtils.h
we end up in
#include "ShadowLayers.h"
which in the final XUL translates into the symbol (run nm -a to see it):
- 00 0000 SOL ../../../../gfx/layers/IPC/ShadowLayers.h
now when some file in gfx/layers/ipc does
#include "ShadowLayres.h"
the file found is the local one with the lowercase directory name and we end up
with
- 00 0000 SOL ../../../../gfx/layers/ipc/ShadowLayers.h
--HG--
extra : rebase_source : 96c68f6a3448eedaa280039960df911a9c707cac
2012-08-28 08:41:04 -04:00
Matt Woodrow
3bdc8af23e
Bug 779940: Meter layers transactions in addition to composites. r=cjones
2012-08-07 14:41:29 +12:00
David Zbarsky
4a0bd0bac6
Bug 785657 - Enable async animations in content processes r=cjones
2012-08-25 21:27:28 -04:00
Andrew McCreight
7daaad9c15
Back out Bug 773440 for causing M2 orange on Android on this CLOSED TREE.
2012-08-23 10:01:14 -07:00
Nicolas Silva
4de96eceff
Bug 773440 - Remove one video frame copy when using async-video. r=roc
2012-08-23 10:56:36 -04:00
Ehsan Akhgari
1d1c7fe3dc
Bug 579517 - Part 8: Automatically convert some more NSPR numeric type usages that were landed on mozilla-inbound; r=bsmedberg
2012-08-22 12:32:21 -04:00
Ehsan Akhgari
a8a14f9163
Merge the landing of bug 579517 to mozilla-inbound
2012-08-22 12:12:15 -04:00
Doug Sherk
b289e024ad
Bug 780397: Convert FrameMetrics.mViewportScrollOffset from nsIntPoint to gfx::Point r=roc
2012-08-21 21:37:15 -07:00
Doug Sherk
a6dc5ff0fb
Bug 783747: B2G: Lower async panning friction r=gal
2012-08-21 21:37:12 -07:00
Doug Sherk
97c97243cb
Bug 775447: Rip out old checks for DOM touch listeners r=cjones
2012-08-21 21:37:09 -07:00
Doug Sherk
e59e1890d0
Bug 775447: Let touch-event listeners cancel async pan/zoom r=cjones
2012-08-21 21:37:06 -07:00
Kan-Ru Chen (陳侃如)
ce3f15cc41
Bug 767480 - Gralloc backed video buffer. r=roc
2012-08-21 18:22:58 +08:00
Kan-Ru Chen (陳侃如)
0f4bf67e69
Back out c8f7bace9cf9, 17ec4e01c126 (bug 767480) r=bustage
2012-08-21 17:55:02 +08:00
Kan-Ru Chen (陳侃如)
660d2318a6
Bug 767480 - Gralloc backed video buffer. r=roc
2012-08-21 14:59:42 +08:00
David Zbarsky
bc0a1fa738
Bug 783893 - Clean up async animation code r=roc
2012-08-21 00:06:47 -04:00
Ehsan Akhgari
8c296bbcd4
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
724b4882ac
Bug 783835 - Compositor needs to know the css property being animated r=roc
2012-08-20 09:35:41 -04:00
Karl Tomlinson
c45040f5fe
b=780059 tidy up API for FindVisualAndDepth r=mattwoodrow
...
--HG--
extra : rebase_source : c6022bd51aad41b7439531e7c3db1725aabda5e7
2012-08-20 16:20:37 +12:00
Matt Woodrow
430eb94bb3
Bug 782372 - Fix clang build. r=nical
2012-08-20 14:39:10 +12:00
David Zbarsky
b36047e59c
Bug 783841 - Fix build warnings in layers r=cjones
2012-08-19 20:07:31 -04:00
Nicolas Silva
54dd2bf57f
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
ec68513835
Bug 782411: Work around having multiple compositors when -jsconsole is used. r=ajuma
2012-08-16 13:23:24 -07:00
Kan-Ru Chen
0fdb67a324
Bug 757341 - Camera direct texturing with async video. r=cjones
2012-08-17 18:56:55 +08:00
Doug Sherk
2a269f2751
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
6bd0a12fd6
Bug 781734: Decrease axis lock angle r=gal
2012-08-13 21:08:38 -07:00
Doug Sherk
f603c37adf
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
8fa40e15bc
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
79fb0e58f2
Bug 781734: Detect very light touches and pan the page r=gal
2012-08-13 21:08:38 -07:00
Doug Sherk
b7026b8fba
Bug 775463: Implement tolerance in double tap detection r=cjones
2012-08-08 21:39:11 -07:00
Doug Sherk
75b44181d1
Bug 775463: Implement double-tap-to-zoom content r=cjones
2012-08-08 21:39:02 -07:00
Doug Sherk
0386b95cee
Bug 775451: Reduce diagonal checkerboarding r=cjones
2012-08-08 13:38:23 -07:00
Doug Sherk
8ce9e4027f
Bug 779572: Properly protect state in AsyncPanZoomController with a monitor r=cjones
2012-08-08 13:38:20 -07:00
Doug Sherk
e665e10783
Bug 779572: Factor zoom into min pan distance before moving the viewport r=cjones
2012-08-08 13:38:16 -07:00
Doug Sherk
0c112c54b6
Bug 780210: Fix B2G focus point calculation for pinching r=kats
2012-08-08 13:38:14 -07:00
Doug Sherk
5604a85f1a
Bug 775448: Add gesture cancelling support during sync subframe scrolling r=cjones
2012-08-08 13:38:10 -07:00
Doug Sherk
279c610fe0
Bug 775448: Disable async scrolling when we detect a scrollable subframe r=cjones
2012-08-08 13:38:06 -07:00
Doug Sherk
b0e4e056ea
Bug 775447: Properly count number of touch listeners in AsyncPanZoomController r=cjones
2012-08-08 13:37:57 -07:00
Chris Jones
07772f04ab
Bug 781024: Use the current decoded image as the reference for allocation. r=roc
2012-08-08 10:51:40 -07:00
Phil Ringnalda
97b3be524b
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
e181f6be38
Bug 775451: Reduce diagonal checkerboarding r=cjones
2012-08-07 18:51:15 -07:00
Doug Sherk
daa347f70b
Bug 779572: Properly protect state in AsyncPanZoomController with a monitor r=cjones
2012-08-07 18:51:13 -07:00
Doug Sherk
01a75d4dec
Bug 779572: Factor zoom into min pan distance before moving the viewport r=cjones
2012-08-07 18:51:11 -07:00
Doug Sherk
510ae34328
Bug 775463: Implement tolerance in double tap detection r=cjones
2012-08-07 18:51:10 -07:00
Doug Sherk
2723d5bbda
Bug 775463: Implement double-tap-to-zoom content r=cjones
2012-08-07 18:51:08 -07:00
Doug Sherk
54f9994afe
Bug 780210: Fix B2G focus point calculation for pinching r=kats
2012-08-07 18:51:05 -07:00
Doug Sherk
bc1275627a
Bug 775448: Add gesture cancelling support during sync subframe scrolling r=cjones
2012-08-07 18:51:03 -07:00