Boris Zbarsky
14ec26d993
Bug 815671 part 7. Fixes to layout code to not copy arrays implicitly. r=roc
2012-11-29 11:14:14 -05:00
Robert O'Callahan
f6e8671799
Bug 788322. Don't crash when we drawWindow on a page containing a remote <iframe>. r=mattwoodrow
...
The test is actually a test for bug 792351. It doesn't pass yet, since
we're not drawing remote iframes properly, but the test should at least
not cause a crash.
--HG--
extra : rebase_source : c25305bf872525d9b918950a3f9d77479a78a1e4
2012-11-13 11:55:52 -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
Robert O'Callahan
d5fc01f0e6
Bug 792351. Make GetRootFrameOffset handle the case where aContainerFrame is itself a reference frame. r=mattwoodrow
2012-11-05 19:11:25 +13:00
Chris Jones
d4ed1a1c10
Bug 807142: Make containers for DisplayRemote behave like leaf layers when we're resolution-scaling. r=mattwoodrow
2012-11-02 00:13:08 -07: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
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
Matt Woodrow
e6baaac399
Bug 539356 - Part 9e - FrameLayerBuilder changes for display list invalidation. r=roc
...
* * *
imported patch move-by-correctly
2012-08-29 17:47:15 +12:00
Matt Woodrow
1d675c61d6
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
2012-08-29 17:39:31 +12:00
Ed Morley
5a3b322459
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Matt Woodrow
49d4c24594
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-08-29 17:38:58 +12:00
Matt Woodrow
8684475c74
Bug 788044 - Make inactive layer subtrees relative to the ContainerLayer, not the reference frame. r=roc
2012-09-17 10:25:33 +12:00
Matt Woodrow
5e4a9f531a
Bug 788044 - Make transformed frames the reference frame for their display list tree. r=roc
2012-09-16 22:32:59 +12: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
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
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
David Zbarsky
b27894f902
Bug 784004 - Don't include Layers.h everywhere Part 3 r=nical
2012-08-21 00:06:46 -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
b36047e59c
Bug 783841 - Fix build warnings in layers r=cjones
2012-08-19 20:07:31 -04:00
Matt Woodrow
53ce1b3577
Bug 778036 - Retain RefLayers instead of creating them every frame. r=roc
2012-08-07 15:00:41 +12:00
Doug Sherk
75b44181d1
Bug 775463: Implement double-tap-to-zoom content r=cjones
2012-08-08 21:39:02 -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
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
2723d5bbda
Bug 775463: Implement double-tap-to-zoom content r=cjones
2012-08-07 18:51:08 -07:00
Doug Sherk
10f1ad1f2a
Bug 775448: Disable async scrolling when we detect a scrollable subframe r=cjones
2012-08-07 18:51:02 -07:00
Doug Sherk
b46b71535a
Bug 775447: Properly count number of touch listeners in AsyncPanZoomController r=cjones
2012-08-07 18:51:00 -07:00
David Zbarsky
02175ccbab
Bug 706179 Part 3: Turn on the use of scaling for layers in FrameLayerBuilder r=mattwoodrow
2012-08-03 14:29:22 -07:00
David Zbarsky
bde306fdca
Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron
2012-07-31 10:28:21 -07:00
David Zbarsky
312c029975
Bug 706179 Part 2: Add a BaseTransform and scaling to layers, r=roc, cjones
2012-07-30 19:20:00 -07:00
David Zbarsky
fa3cb43e08
Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones
2012-07-30 17:42:26 -07:00
Mark Finkle
a4d33f44cf
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
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
David Zbarsky
8bda81abf5
Bug 706179 Part 2: Add a BaseTransform to layers r=roc
2012-07-27 13:23:45 -07:00
David Zbarsky
c76cb082e0
Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron
2012-07-27 13:23:44 -07:00
David Zbarsky
d1eb609206
[Bug 777657] Fix some opt build warnings r=cjones
2012-07-26 21:02:05 -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
bb16aa6296
Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron
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
730141f891
Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron
2012-07-23 17:34:46 -07:00
Chris Jones
2cf7adf64a
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
David Zbarsky
7f0f075928
[Bug 774505] Don't include Layers.h everywhere r=cjones
2012-07-18 12:31:40 -04:00
Chris Jones
62d23842f9
Bug 745148, part 9: Hook up the pieces and enable direct compositor. r=roc
2012-07-17 16:59:45 -07:00
Chris Jones
ec578f2342
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
fe1f8e08af
Bug 745148, part 5: Pass the layer tree to ShadowLayersUpdate(). r=ajuma
2012-07-17 16:59:44 -07:00
Ehsan Akhgari
6ef72aef93
Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions
2012-07-03 20:24:55 -04:00
Matt Woodrow
1f0dbc7c74
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-06-30 15:06:11 +12:00
Jeff Muizelaar
9b327c54f2
Bug 749953. Revert a hunk of bug 753762 to fix XUL panning. r=cjones
...
I have no idea why this makes a difference.
2012-05-29 15:40:50 -04:00
Kartikaya Gupta
0a9040618b
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
04a457fab1
Bug 748384 - Back out 330e9c52f9ac, 9ba1078559fe, 2ed39c12d792, f53f05ecacd5 for build bustage. r=bustage
2012-05-23 11:08:19 -04:00
Kartikaya Gupta
9db13b7a79
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
e679908c46
Bug 607417 - Fix reverse translation of shadow layer clip rects. r=ajuma
...
When asynchronous scrolling happens and the translation is compensated for,
this was incorrectly applied to the clip rects of shadow layers.
2012-05-23 09:46:19 +01:00
Chris Lord
ba6f49eae7
Backout d1a44d2ec5c3 due to missing r=
2012-05-23 09:45:51 +01:00
Chris Lord
20d47ae21f
Bug 607417 - Fix reverse translation of shadow layer clip rects. r=
...
When asynchronous scrolling happens and the translation is compensated for,
this was incorrectly applied to the clip rects of shadow layers.
2012-05-23 09:34:51 +01: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
Olli Pettay
84d5ebb475
Bug 754089 - remote mozbrowser's messagemanager shouldn't have parent, r=jlebar
2012-05-11 10:47:40 +03:00
Justin Lebar
736f94b4ef
Bug 714861 - Run <iframe mozbrowser> in a separate process (disabled by default). r=cjones,bz,tn,smaug
2012-04-25 12:35:58 -04:00
Ed Morley
2666b058b1
Backout 949cb1977ef9 (bug 714861) for build bustage
2012-04-25 16:51:31 +01:00
Justin Lebar
e59845cd83
Bug 714861 - Run <iframe mozbrowser> in a separate process (disabled by default). r=cjones,bz,tn,smaug
2012-04-25 11:29:28 -04:00
Jeff Muizelaar
75f19e9b5e
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
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
Benoit Girard ext:(%2C%20Ali%20Juma%20%3Cajuma%40mozilla.com%3E)
fdd5472876
Bug 711168 - Implement the compositor protocol for OMTC. r=cjones
2012-01-19 09:45:37 -05:00
Oleg Romashin
ad07ec3d24
Bug 702656 - Fennec zoomed shadow layers scrolling is incorrect. r=roc
2011-11-17 15:52:29 -08:00
Oleg Romashin
00c293a0b5
Bug 694706 - Get rid of checkerboard for remote viewport. r=cjones
2011-10-20 15:17:09 -07:00
Olli Pettay
a86b1a4d43
Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
...
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03: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
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
Chris Jones
f326f8bb65
Bug 689366: Don't ask our frame loader for its layer manager after Destroy(). r=bz
2011-09-27 11:35:23 -07:00
Oleg Romashin
07304af851
Bug 686513 - RenderFrameParent::BuildDisplayList crash when shadow root layer is null; r=roc
2011-09-14 08:51:24 +01:00
Matt Woodrow
f9d4b0bc4e
Bug 505115 - Part 15 - Add 4D Vectors, Quaternions and gfx3DMatrix functions. r=derf
2011-08-27 12:06:03 +12:00
Oleg Romashin
1ceb95b1fb
Bug 668698 - Fixed position layers has been broken in 637852 r=stechz
2011-07-28 14:18:00 -04:00
Chris Jones
02362cc047
Bug 648484, part E: Hook d3d9 shadow layers up to new system. r=BenWa
2011-07-06 13:29:27 -04:00
Chris Jones
6c5f00de9a
Bug 648484, part D: Allow PuppetWidgets to create D3D10 layer managers (for the time being). r=roc
2011-08-09 12:38:27 -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
Benjamin Stover
e2377d2b80
Bug 626792 Content view contentWidth/Height do not update immediately after scaling r=roc r=mbrubeck
2011-07-18 11:04:47 -07:00
Benjamin Stover
2e869982a2
Bug 668633 Elements with scrollable overflow are cut off when panning r=roc
2011-07-18 11:04:44 -07:00
Chris Jones
24f027292c
Back out bug 648484
2011-07-15 11:35:55 -07:00
Chris Jones
d827503aa5
Bug 648484, part E: Hook d3d9 shadow layers up to new system. r=BenWa
2011-07-06 13:29:27 -04:00
Chris Jones
5f3842d907
Bug 648484, part D: Allow PuppetWidgets to create D3D10 layer managers (for the time being). r=roc
2011-07-13 22:43:43 -07:00
Chris Jones
289ccdf1c6
Bug 648484, part 3 and part 3.1: 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-07-13 22:43:43 -07:00
Benoit Girard
dd61f3a2ea
Bug 648480 - Add shadow-layer support to d3d9 backend. r=cjones
2011-07-04 09:15:05 -04:00
Benoit Girard
069dc7b333
Backout 627489bb6288.
2011-07-01 18:05:54 -04:00
Benoit Girard
c83b82cbd1
Bug 648480 - Add shadow-layer support to d3d9 backend. r=cjones
2011-07-01 16:57:15 -04:00
Robert O'Callahan
9f293f9979
Bug 637852. Part 27: Fix RenderFrameParent rendering to handle transforms on the root layer, and fix bugs with parameters being modified. r=stechz
2011-06-23 00:11:29 +12:00
Robert O'Callahan
93793566d0
Bug 637852: Part 5: Create ContainerParameters structure to carry resolution scale factors through layer creation. r=tnikkel
...
This patch shouldn't change any behavior. It just passes the ContainerParameters around, which will contain scale factors that should have been
applied when BuildLayer returns a ContainerLayer.
This patch also adds an aTransform parameter to BuildContainerLayerFor, which nsDisplayTransform uses to set the
transform for the ContainerLayer. This way BuildContainerLayerFor knows what the container's transform is going to be
before constructing the children, which in the next patch will let us construct the children with the right resolution.
2011-06-23 00:11:27 +12:00
Florian Hänel
8e0d9ab286
Bug 628566 - Implement basic tiling of ImageLayerOGL. r=joe
2011-05-19 12:53:02 +02:00
Robert O'Callahan
73b97e72c4
Bug 641426. Part 2: Remove a bunch of direct gfxRect::pos/size usage. r=joe
2011-04-19 15:07:21 +12:00
Benjamin Stover
3dc5b1f7a2
Bug 642246 Don't build ThebesLayers for elements with no displayports r=roc
2011-04-11 13:53:01 -07:00
L. David Baron
ad4318958b
Back out 1edfae12015b (Bug 642246) due to mobile unittest orange.
2011-04-09 18:21:27 -07:00
Benjamin Stover
3270dd31cd
Bug 642246 Don't build ThebesLayers for elements with no displayports r=roc
2011-04-09 12:38:28 -07:00
Oleg Romashin
e58096f576
Bug 607417 - Part 2: Reverse translation for fixed shadow layers. r=stechz
...
--HG--
extra : rebase_source : d390fd6440ccb93b3652cbd431e5f6484643114e
2011-04-08 09:35:13 -07:00
Benjamin Stover
a646bb5913
Bug 618975 Followup: bitrot and remove mDisplayport from nsDisplayScrollLayer r=cjones r=tn a=blocking-fennec
2011-03-09 13:35:27 -08:00
Chris Jones
07f1b97335
Bug 635014: Don't draw a checkerboard behind undefined <browser remote> content in sync mode. r=tn a=a
2011-02-23 11:45:09 -06:00
Robert O'Callahan
20b9397753
Bug 630835. Make BuildLayer responsible for setting a visible region on the layer, and let FrameLayerBuilder only reduce it. r=tnikkel,a=blocking
...
This avoids problems with FrameLayerBuilder making the visible region bigger than we expected, invalidating CONTENT_OPAQUE flags set on the layer.
In particular, we had been using TransformBounds to compute the new visible region, and for non-axis-aligned transforms this gives us a visible
region which contains areas not actually painted by the layer contents.
2011-02-23 18:38:09 +13:00
Mark Finkle
3714a4d2b3
Bug 629475 - Regression: displayport takes longer to refresh [r=cjones a=blocking-fennec]
2011-02-14 17:49:34 -05:00