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

1617 Коммитов

Автор SHA1 Сообщение Дата
Ed Morley 7bf70e9a80 Merge mozilla-central to mozilla-inbound 2012-10-12 12:22:14 +01:00
Ed Morley ee9067e40d Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-10-12 11:59:59 +01:00
Nicholas Cameron 1cccb0d825 Bug 734668; remove Thebes canvas. r=roc
--HG--
extra : rebase_source : 57b08c33f72cd611deb30dc1639060a719747849
2012-10-12 22:42:51 +13:00
Chris Jones 831e04c2e3 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
Jeff Muizelaar ddf572c122 Bug 800031. Include paint time int tab switch telemetry. r=ehsan,dao,bjcaob
This adds a new FX_TAB_SWITCH_TOTAL_MS that should more accurately represent
the user experience of tab switch time than FX_TAB_SWITCH_UPDATE_MS.
FX_TAB_SWITCH_UPDATE_MS is being kept because it gives a good indication of how
much time is being spent in the front end parts vs the painting parts.

This works by measuring the time between beginTabSwitch() and the first call to
LayerManager::PostPresent().
2012-10-11 13:54:27 -04:00
Makoto Kato e9fdc697d8 Bug 795594 - Add workaround for MSVC x64 compiler bug. r=roc 2012-10-10 15:17:30 +09:00
Edwin Flores 14aa4979b0 Bug 794061 - Let OMX hardware decoded video frames be copied to canvas r=kanru 2012-10-09 17:06:35 +13:00
Ed Morley 4ef3ea11bf Bug 798419 - Fix incorrect spellings of success(ful) in test output; r=me 2012-10-05 17:48:15 +01:00
Chris Lord 5c25992386 Bug 794130 - Abort drawing if appropriate when using progressive tile updates. r=bgirard,blassey
Add a function to BasicLayerManager to check if it's appropriate to abort an
ongoing progressive update, and add an Android-specific implementation in
mobile/android/base/gfx/GeckoLayerClient.java.

--HG--
extra : rebase_source : edbd20acb53660340d52265591849aacafd179c4
2012-10-04 14:45:16 -04:00
Benoit Girard ce501d83c0 Bug 724666 - Add pref for accelerated canvas on mac. r=jrmuizel 2012-07-31 18:48:40 -04:00
Nicholas Cameron 061a81e84d Bug 796182; fix invalidation on Mac with OMTC; r=cjones 2012-10-04 20:45:48 +13:00
Chris Jones 06cdb50879 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
Chris Jones 2847856065 Bug 780920, part 1: LayerManagerOGL needs to account for the world transform when reading back into a non-default target. r=roc 2012-10-04 00:05:23 -07:00
Daniel Holbert 17bc9ceac1 Bug 797666: Add unsigned cast in assertion within TiledLayerBuffer::Update(), to fix build warning. r=BenWa 2012-10-03 22:31:59 -07:00
Chris Jones 3211a0327d Bug 790505, part 3: Add API for scheduling a shadowable-layer mutation to be applied at the next layers transaction. r=mattwoodrow,roc 2012-10-02 22:55:50 -07:00
Ryan VanderMeulen b6d564dac8 Merge m-c to inbound. 2012-10-03 22:24:20 -04:00
Ryan VanderMeulen 657d66adaf Backout 0cd12dcf7f8f, 5ff5e81e6de6, and 0ae09da96f63 (bug 740580) due to bug 797391. 2012-10-03 22:13:14 -04:00
Benoit Girard 0cd4d0f48c Bug 797359 - Increase size of tile debug overlay. r=Cwiiis 2012-10-03 10:56:41 -04:00
Benoit Girard fad0000311 Bug 796939 - Don't use the SinglePaintBuffer if only painting one tile. r=Cwiis 2012-10-03 10:28:04 -04:00
Benoit Girard 61e8244e91 Bug 796084 - Remove reference to java compositor in comments. r=Cwiiis, DONTBUILD because comment only
--HG--
extra : rebase_source : 219138ec908b089e62f1394358a87a921e379383
2012-10-02 09:46:01 -04:00
Chris Lord 590799ecad Bug 797393 - Fix FrameMetrics == operator. r=roc 2012-10-03 19:51:38 -04:00
Ehsan Akhgari d50f70ee25 Bug 797614 - Silence the warning about assignment in the condition in BasicTiledThebesLayer.cpp; r=jrmuizel
--HG--
extra : rebase_source : 2318567420c513555e2c8ee3cebfa5ff16eeaa3b
2012-10-03 19:36:10 -04:00
Ehsan Akhgari b3365668ec Bug 797604 - Make floor_div in TiledLayerBuffer.h static inline; r=jrmuizel 2012-10-03 18:50:20 -04:00
Chris Jones 38cde694be Back out bug 790505 for leaking 2012-10-03 00:21:08 -07:00
Chris Jones 769ed664e0 Bug 790505, part 2: Add API for scheduling a shadowable-layer mutation to be applied at the next layers transaction. r=mattwoodrow,roc 2012-10-02 22:55:50 -07:00
George Wright e9fe9ba610 Bug 740580 - Add support for Azure DrawTargets to BasicLayers. r=Bas 2012-10-02 22:09:12 -04:00
Benoit Girard ef8c3cdd5e bug 795310 - Uninitialised value use in mozilla::layers::BasicTiledThebesLayer::PaintThebes r=cwiiis
--HG--
extra : rebase_source : e5c219ce278714699a1bcddf6c98fd2e3c5d7a8f
2012-10-02 14:14:47 -07:00
Chris Jones 6000461ba8 Back out 17f942846b9f (bug 795811) for causing startup crashes. 2012-10-02 01:29:53 -07:00
David Zbarsky 8f5b3abb00 Bug 795811 - Make GetPrimaryScrollableLayer() return null on all configurations except MOZ_WIDGET_ANDROID r=cjones 2012-10-02 00:19:56 -04:00
Kan-Ru Chen (陳侃如) 5ee3302784 Bug 788408 - Part 2. Use glReadPixels to read back when back buffer isn't RGBA compatible. r=jgilbert 2012-10-02 10:42:13 +08:00
Anthony Jones 64a3fde7b6 Bug 793085 - Remove UseAzureContentDrawing() in favour of SupportsAzureContent(). r=ncameron 2012-10-01 22:12:13 -04:00
Benoit Girard 3ffd913d8e Bug 796084 - Rename MOZ_JAVA_COMPOSITOR -> MOZ_ANDROID_OMTC. r=blassey 2012-10-01 16:01:35 -04:00
Ed Morley c25420d307 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-10-01 14:02:06 +01:00
Matt Woodrow e5c7308536 Bug 795694 - Invalidate changed visible regions of layers. r=roc 2012-10-01 16:38:46 +13:00
David Zbarsky bc8f19ace4 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
Matt Woodrow 202bc0e49e Bug 770617 - Always mark inactive CanvasLayers as being dirty. r=cjones 2012-09-30 19:20:25 +13:00
Matt Woodrow 4e97ee62c2 Bug 795631 - Update BasicLayerManager::mPhase variable in release mode as well as debug. r=cjones 2012-09-30 19:20:24 +13:00
Jonathan Kew 99218fe88c bug 674373 pt 2 - consistently use client bounds for layer sizing. r=roc 2012-09-29 12:34:41 +01:00
Doug Sherk fd089093d3 Bug 786267: B2G: Lower resolution while doing accelerated panning r=cjones 2012-09-29 00:02:45 -04:00
Doug Sherk a18fa33675 Bug 787445: B2G: Rip out async paint throttling code, use compression instead r=cjones 2012-09-29 00:02:41 -04:00
Doug Sherk 34d6e81bb8 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 05643b327a 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 4b01b719b1 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
Isaac Aggrey 481e7dfb0b Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
foudfou 35bc9a72e8 Bug 785542 - Convert usages of PR_MIN and PR_MAX to NS_MIN and NS_MAX; r=ehsan
Occurences of PR_MAX in layout/style/nsCSSProps.cpp and xpcom/glue/nsTArray.h
can not be converted without C++11 support (constexpr).

--HG--
extra : rebase_source : 3b4f7e26690fad487dd11594449948411d4e79bc
2012-09-27 23:44:47 +02:00
Matt Woodrow ffca14affb Bug 786626 - Initialize mLayerProgram. r=joe. landing on a CLOSED TREE 2012-09-29 01:39:35 +12:00
Matt Woodrow 7205f8966d Bug 539356 - Revert LayerTreeInvalidation changes to detect Image changes, landed on a CLOSED TREE. r=roc 2012-09-29 01:12:59 +12:00
Matt Woodrow 6ad714c685 Bug 539356 - Handled scrolled inactive layers trees correctly. r=roc 2012-09-17 10:57:22 +12:00
Oleg Romashin c633561323 Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc 2012-08-29 17:48:43 +12:00
Matt Woodrow 0bcc3bdfe2 Bug 539356 - Part 12 - Remove unnecessary LayerManagerLayerBuilder indirection. r=roc 2012-08-29 17:48:15 +12:00