Граф коммитов

250 Коммитов

Автор SHA1 Сообщение Дата
Doug Sherk c728bb798f Bug 775463: Implement double-tap-to-zoom content r=cjones 2012-08-08 21:39:02 -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
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 7f10d611e6 Bug 775463: Implement double-tap-to-zoom content r=cjones 2012-08-07 18:51:08 -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
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
David Zbarsky bf4f8d3c97 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 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 3a15cfbf6b Bug 706179 Part 2: Add a BaseTransform to layers r=roc 2012-07-27 13:23:45 -07:00
David Zbarsky 93b20c52d3 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 a54523e5c9 [Bug 777657] Fix some opt build warnings r=cjones 2012-07-26 21:02:05 -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 630069520d 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 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 ffaa635014 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 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
David Zbarsky 9a61d96c70 [Bug 774505] Don't include Layers.h everywhere r=cjones 2012-07-18 12:31:40 -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 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
Ehsan Akhgari cf18ee9122 Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:24:55 -04:00
Matt Woodrow 31125260ee Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-06-30 15:06:11 +12:00
Jeff Muizelaar 2d53baa4f5 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 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
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
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
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
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
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 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
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 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 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 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