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
a878dbc996
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
f027a641a8
Backout d1a44d2ec5c3 due to missing r=
2012-05-23 09:45:51 +01:00
Chris Lord
6190143055
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
befb18b0a8
Bug 753784; allow access to the max texture size from FrameLayerBuilder. r=roc
2012-05-22 19:15:16 -04:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Olli Pettay
0bd7a30ad1
Bug 754089 - remote mozbrowser's messagemanager shouldn't have parent, r=jlebar
2012-05-11 10:47:40 +03:00
Andreas Gal
7db0b87ef1
Do image scaling on the GPU (bug 650988, r=roc,cjones).
2012-05-03 07:05:55 -07:00
Justin Lebar
a6a97184a8
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
8fa462d93e
Backout 949cb1977ef9 (bug 714861) for build bustage
2012-04-25 16:51:31 +01:00
Justin Lebar
bdcf3134ed
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
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
Robert O'Callahan
7c34e38876
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
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
Benoit Girard ext:(%2C%20Ali%20Juma%20%3Cajuma%40mozilla.com%3E)
daacfcbeb7
Bug 711168 - Implement the compositor protocol for OMTC. r=cjones
2012-01-19 09:45:37 -05:00
Boris Zbarsky
81790fcb60
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
bc007b839a
Bug 702656 - Fennec zoomed shadow layers scrolling is incorrect. r=roc
2011-11-17 15:52:29 -08:00
Oleg Romashin
0b33ccaea4
Bug 694706 - Get rid of checkerboard for remote viewport. r=cjones
2011-10-20 15:17:09 -07:00
Olli Pettay
2c2da3099f
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
92064e6d3f
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
d2b70213ac
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
1f56ef5a02
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
bf429a8ed6
Bug 686513 - RenderFrameParent::BuildDisplayList crash when shadow root layer is null; r=roc
2011-09-14 08:51:24 +01:00
Matt Woodrow
11c1aac810
Bug 505115 - Part 15 - Add 4D Vectors, Quaternions and gfx3DMatrix functions. r=derf
2011-08-27 12:06:03 +12:00
Oleg Romashin
ed5cf85a6d
Bug 668698 - Fixed position layers has been broken in 637852 r=stechz
2011-07-28 14:18:00 -04:00
Chris Jones
2bffd8531c
Bug 648484, part E: Hook d3d9 shadow layers up to new system. r=BenWa
2011-07-06 13:29:27 -04:00
Chris Jones
9edb022892
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
adc6292af8
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
f439589647
Bug 648484, part 0: Fix test-ipcbrowser.
2011-08-09 12:38:26 -07:00
Marco Castelluccio
89b331b790
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
771b24b9fe
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
5336dbede7
Bug 668633 Elements with scrollable overflow are cut off when panning r=roc
2011-07-18 11:04:44 -07:00
Chris Jones
bd33e7e43e
Back out bug 648484
2011-07-15 11:35:55 -07:00
Chris Jones
e53cec2813
Bug 648484, part E: Hook d3d9 shadow layers up to new system. r=BenWa
2011-07-06 13:29:27 -04:00
Chris Jones
ccf0642fb3
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
f536ed7edf
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
b14990f68b
Bug 648484, part 0: Fix test-ipcbrowser.
2011-07-13 22:43:43 -07:00
Benoit Girard
5b3036138c
Bug 648480 - Add shadow-layer support to d3d9 backend. r=cjones
2011-07-04 09:15:05 -04:00
Benoit Girard
3a51e1fdfa
Backout 627489bb6288.
2011-07-01 18:05:54 -04:00
Benoit Girard
4ec96c8c7f
Bug 648480 - Add shadow-layer support to d3d9 backend. r=cjones
2011-07-01 16:57:15 -04:00
Robert O'Callahan
f4adf9d482
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
723e5c86ee
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
9b0ef26bc8
Bug 628566 - Implement basic tiling of ImageLayerOGL. r=joe
2011-05-19 12:53:02 +02:00
Robert O'Callahan
629c1b7e18
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
bd3081c90a
Bug 642246 Don't build ThebesLayers for elements with no displayports r=roc
2011-04-11 13:53:01 -07:00
L. David Baron
522a8d323e
Back out 1edfae12015b (Bug 642246) due to mobile unittest orange.
2011-04-09 18:21:27 -07:00
Benjamin Stover
3c025ebe4d
Bug 642246 Don't build ThebesLayers for elements with no displayports r=roc
2011-04-09 12:38:28 -07:00
Oleg Romashin
37efe43878
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
e6d50195a6
Bug 617539 - Fold in nsIFrameLoader_MOZILLA_2_0_BRANCH, r=bz
2011-03-25 11:03:35 -04:00
Benjamin Stover
465035580f
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
9bb1728211
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
c6f01d8156
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
6d646878f1
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
85b03f11ed
Bug 629475 - Regression: displayport takes longer to refresh [r=cjones a=blocking-fennec]
2011-02-14 17:49:34 -05:00
Chris Jones
72791120fc
Fix test-ipcbrowser bug, as part of bug 593310 why not. a=b
2011-01-26 00:26:37 -06:00
Chris Jones
c2bac1b52d
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
e73cbc37db
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
3e427b29db
Bug 605618 Part 9: Fix test-ipcbrowser and crash r=cjones a=blocking-fennec
2011-01-13 09:45:31 -08:00
Benjamin Stover
6f57e84190
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
3393651205
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
871b660fda
Bug 605618 Part 4: Map for storing views r=cjones
2011-01-13 09:45:14 -08:00
Benjamin Stover
1b69189147
Bug 605618 Part 3: Viewport API for frontend r=cjones
2011-01-13 09:45:14 -08:00
Benjamin Stover
c5f2f76798
Bug 605618 Part 2: Infrastructure for building shadow display list r=tn sr=roc
2011-01-13 09:45:14 -08:00
Chris Jones
d9ba510227
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
ff1aab8620
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
0355845713
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
5fa9d9565b
Bug 602428, part 7: Enable GL shadow layers. r=tn a=blocking-fennec
2010-10-13 17:55:45 -05:00
Chris Jones
3314234fb5
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
de16ed2305
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
f5002e97f1
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
d4a32df6d8
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
56227bb794
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
e5f83867d7
Bug 590294: Test app that uses new viewport and displayport APIs.
2010-09-03 15:10:46 -05:00
Chris Jones
072d45ae94
Bug 590294, part 10: Implement <browser>-configured viewport drawing for shadow layers. r=tn
2010-09-03 15:10:46 -05:00
Chris Jones
978c65eda0
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
0c28df6c86
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
d2ad41fd06
Bug 590294, part -1: Clip <browser> shadow layers properly. r=tn
2010-09-03 15:10:45 -05:00
Chris Jones
739f89a9b0
Update nsDisplayRemote to new nsDisplayItem interface
2010-08-23 22:23:37 -05:00
Chris Jones
0e3d3aaf97
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
2fb1bf4b41
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
ab99e4005b
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
d2865d6c58
Bug 570620, part j: Add a PRenderFrame protocol for cross-process frame objects. r=tn
2010-08-20 18:24:41 -05:00