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
Joshua Cranmer
4a5b32fae2
Bug 702877 - Replace NS_OVERRIDE with MOZ_OVERRIDE. r=ehsan
...
--HG--
extra : rebase_source : 1843575683c3897f96f3966cbce26140ff1a7d90
2012-07-06 13:15:45 -05:00
Matt Woodrow
8ecc9d2eaf
Bug 741682 - Flatten component alpha layers into their parent layer with BasicLayers. r=roc
2012-07-23 15:00:36 +12: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
Ehsan Akhgari
ee77eaaad9
Backout changeset 65410094add4 (bug 539356) because of performance and correctness regressions
2012-07-03 20:19:18 -04:00
Matt Woodrow
56a4c51474
Bug 741682 - Disable component alpha layers with BasicLayers. r=roc
2012-06-30 15:06:12 +12: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
Andreas Gal
dceb01a952
Do image scaling on the GPU (bug 650988, r=roc,cjones).
2012-05-03 07:05:55 -07: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
Robert O'Callahan
833e8a244f
Bug 733607. Restructure logic to compute snapped bounds of display items in layer coordinates. Moves responsibility for computing snapped bounds from within the display items to callers of GetBounds/GetOpaqueRegion. r=tnikkel
...
Previously we snapped the results of nsDisplayItem::GetBounds and
nsDisplayItem::GetOpaqueRegion internally. By tracking which display items were
inside transforms, we disabled snapping quite conservatively whenever an ancestor
had a transform, which is undesirable.
With this patch, we don't snap inside GetBounds or GetOpaqueRegion, but just return
a boolean flag indicating whether the item will draw with snapping or not. This flag
is conservative so that "true" means we will snap (if the graphics context has a transform
that allows snapping), but "false" means we might or might not snap (so it's always safe
to return false).
FrameLayerBuilder takes over responsibility for snapping item bounds. When it converts
display item bounds to layer pixel coordinates, it checks the snap flag returned from
the display item and checks whether the transform when we draw into the layer will be
a known scale (the ContainerParameters scale factors) plus integer translation. If both
are true, we snap the item bounds when converting to layer pixel coordinates. With
this approach, we can snap item bounds even when the items have ancestors with active
transforms.
2012-04-10 23:24:18 +12: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
Boris Zbarsky
049fc1b065
Bug 704171 part 1. Stop using the no-argument form of mozRequestAnimationFrame in our chrome. r=roc,gavin
2011-11-28 07:49:44 -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
Chris Jones
a3429c0d75
Bug 648484, part 0: Fix test-ipcbrowser.
2011-08-09 12:38:26 -07:00
Marco Castelluccio
71a9782576
Bug 672172 - Remove nsIDOMWindowUtils_MOZILLA_2_0_BRANCH remnant from test-ipcbrowser-content.js. r=jdm
2011-07-20 10:39:27 +02: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
Chris Jones
078137f394
Bug 648484, part 0: Fix test-ipcbrowser.
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 Smedberg
61f9c6a63e
Bug 617539 - Fold in nsIFrameLoader_MOZILLA_2_0_BRANCH, r=bz
2011-03-25 11:03:35 -04: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
Benjamin Stover
e9b77710b0
Bug 618975 Pan overflow elements in parent process r=cjones r=tn sr=roc a=blocking-fennec
2011-03-15 16:20:19 -07: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
Chris Jones
d5e0476347
Fix test-ipcbrowser bug, as part of bug 593310 why not. a=b
2011-01-26 00:26:37 -06:00
Chris Jones
1618d4ba77
Bug 593310: Add initial support for drawing a moving, default background where shadow-layer content is undefined (as efficiently as possible). r=stechz,roc
2011-01-26 00:26:37 -06:00
Benjamin Stover
fcfc7df843
Bug 626855 Crash: trying to scroll HTML page with frameset r=cjones a=blocking-fennec
2011-01-19 08:56:22 -08:00
Benjamin Stover
16daa8513e
Bug 605618 Part 9: Fix test-ipcbrowser and crash r=cjones a=blocking-fennec
2011-01-13 09:45:31 -08:00
Benjamin Stover
bd474a4f0f
Bug 605618 Part 7: Include viewport and content size in API r=cjones sr=roc
2011-01-13 09:45:14 -08:00
Benjamin Stover
3dcc00f08c
Bug 605618 Part 6: Use viewports to allow scrolling and build display lists r=cjones r=tn
2011-01-13 09:45:14 -08:00
Benjamin Stover
c3976a78cf
Bug 605618 Part 4: Map for storing views r=cjones
2011-01-13 09:45:14 -08:00
Benjamin Stover
7db59feaab
Bug 605618 Part 3: Viewport API for frontend r=cjones
2011-01-13 09:45:14 -08:00
Benjamin Stover
ea6d5f4b39
Bug 605618 Part 2: Infrastructure for building shadow display list r=tn sr=roc
2011-01-13 09:45:14 -08:00
Chris Jones
c0d9b1b0d4
Bug 618249: Default remote-browser to synchronous scrolling, and let users change that. r=tn sr=roc a=a
2011-01-11 15:34:31 -06:00
Chris Jones
3e974a81a0
Bug 623255: Ensure LayerOGL::Destroy is called for "orphaned" shadow OGL layers before the GLContext is deleted. r=vlad a=b
2011-01-05 22:54:47 -06:00
Chris Jones
a628adeb94
Bug 603680: Paper over lack of IPDL |discard| (and possible weirdly short-lived <browser>s). r=bsmedberg a=blocking-fennec
2010-10-26 12:51:08 -05:00
Chris Jones
aa9a353027
Bug 602428, part 7: Enable GL shadow layers. r=tn a=blocking-fennec
2010-10-13 17:55:45 -05:00
Chris Jones
57d3708463
Bug 602431, part 6: Honor shadow-layer attributes in the basic layers backend and take off the container-transform training wheels. r=roc
2010-10-13 17:55:45 -05:00
Chris Jones
5f4658b13b
Bug 602431, part 5: Add an extra phase to update shadow-layer attributes (not used for anything interesting yet). r=tn
2010-10-13 17:55:45 -05:00
Chris Jones
60cfd924d4
Bug 602431, part 4: Refactor computation of <browser> shadow-tree transforms into its own function. r=tn
2010-10-13 17:55:45 -05:00
Chris Jones
f8b4169a1c
Bug 591555: Shadow layer resources are scoped to their PLayerParent, of which there may be many for one layer manager, so move resource management down into Shadow*Layer. r=joe sr=roc
2010-09-24 17:41:31 -05:00
Benjamin Stover
263bbe366d
Bug 598439 Shadow layer offset is incorrect when content scroll offset is non-zero r=cjones a=blocking-fennec-2b1
2010-09-23 11:54:36 -07:00
Chris Jones
9f06f05e6d
Bug 590294: Test app that uses new viewport and displayport APIs.
2010-09-03 15:10:46 -05:00
Chris Jones
a107db4800
Bug 590294, part 10: Implement <browser>-configured viewport drawing for shadow layers. r=tn
2010-09-03 15:10:46 -05:00
Chris Jones
26466ba198
Bug 590294, part 5: Add a setDisplayPort() API to allow the frontend (or whatever else) to set an arbitrary visible region for the purposes of invalidation and layer retaining. r=roc sr=dbaron
2010-09-03 15:10:46 -05:00
Chris Jones
c3e279df85
Bug 590294, part 3: Keep ContainerLayer type info around in a few places. r=roc
2010-09-03 15:10:45 -05:00
Chris Jones
6c7c82837a
Bug 590294, part -1: Clip <browser> shadow layers properly. r=tn
2010-09-03 15:10:45 -05:00
Chris Jones
2eea7a3ba1
Update nsDisplayRemote to new nsDisplayItem interface
2010-08-23 22:23:37 -05:00
Chris Jones
07e1a3fd87
Bug 570620, part n: Hook layout/ipc into the build system, and integrate PRenderFrame into the PBrowser family. sr=bsmedberg
2010-08-20 18:24:41 -05:00
Chris Jones
a8fd1c09e1
Bug 570620, part l: Implement the child side of PRenderFrame, which just acts as a conduit for shadow layers. r=tn
2010-08-20 18:24:41 -05:00
Chris Jones
8bf9326ebe
Bug 570620, part k: Implement the compositor side of PRenderFrame, which grafts a shadow layer tree into the compositor's tree. r=mats sr=roc
2010-08-20 18:24:41 -05:00
Chris Jones
3c749b6915
Bug 570620, part j: Add a PRenderFrame protocol for cross-process frame objects. r=tn
2010-08-20 18:24:41 -05:00