Chris Lord
fec9404d96
Bug 749063 - Prioritise visible tiles when progressively updating. r=bgirard
...
When progressively updating tiles, prioritise tiles that intersect with the
current viewport before off-screen tiles. New content is still prioritised
over stale content.
2012-10-15 09:33:48 +01:00
Chris Lord
bc223170e4
Bug 749063 - Replace shouldAbort with generic callback for progressive updates. r=bgirard
...
Replace ShouldAbortProgressiveUpdate with ProgressiveUpdateCallback, that
provides more contextual information about how the update will get used.
2012-10-15 09:33:34 +01:00
Matt Woodrow
3584642dca
Bug 799956 - Mark BasicLayerManagers that don't retain content as supporting component alpha layers. r=roc
2012-10-15 17:53:37 +13:00
Ed Morley
f71c7a0f14
Merge mozilla-central to mozilla-inbound
2012-10-12 12:22:14 +01:00
Ed Morley
edeb5cd80c
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-10-12 11:59:59 +01:00
Nicholas Cameron
a18fe5707c
Bug 734668; remove Thebes canvas. r=roc
...
--HG--
extra : rebase_source : 57b08c33f72cd611deb30dc1639060a719747849
2012-10-12 22:42:51 +13:00
Chris Jones
c310927390
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
538087de5f
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
fd5c3140ef
Bug 795594 - Add workaround for MSVC x64 compiler bug. r=roc
2012-10-10 15:17:30 +09:00
Edwin Flores
189f94352a
Bug 794061 - Let OMX hardware decoded video frames be copied to canvas r=kanru
2012-10-09 17:06:35 +13:00
Ed Morley
518e3c5e11
Bug 798419 - Fix incorrect spellings of success(ful) in test output; r=me
2012-10-05 17:48:15 +01:00
Chris Lord
e7de629479
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
8aed17295d
Bug 724666 - Add pref for accelerated canvas on mac. r=jrmuizel
2012-07-31 18:48:40 -04:00
Nicholas Cameron
ee97d8eaae
Bug 796182; fix invalidation on Mac with OMTC; r=cjones
2012-10-04 20:45:48 +13:00
Chris Jones
4f1344c6d2
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
9582a20f31
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
4b869cc3a8
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
ca39444b15
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
84b001d90c
Merge m-c to inbound.
2012-10-03 22:24:20 -04:00
Ryan VanderMeulen
c0d8585b0b
Backout 0cd12dcf7f8f, 5ff5e81e6de6, and 0ae09da96f63 (bug 740580) due to bug 797391.
2012-10-03 22:13:14 -04:00
Benoit Girard
2153a3688f
Bug 797359 - Increase size of tile debug overlay. r=Cwiiis
2012-10-03 10:56:41 -04:00
Benoit Girard
6bd7b01ce6
Bug 796939 - Don't use the SinglePaintBuffer if only painting one tile. r=Cwiis
2012-10-03 10:28:04 -04:00
Benoit Girard
f0ee89a810
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
821878a16a
Bug 797393 - Fix FrameMetrics == operator. r=roc
2012-10-03 19:51:38 -04:00
Ehsan Akhgari
b9605eaf78
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
fd8ffe4dd2
Bug 797604 - Make floor_div in TiledLayerBuffer.h static inline; r=jrmuizel
2012-10-03 18:50:20 -04:00
Chris Jones
17867c12a8
Back out bug 790505 for leaking
2012-10-03 00:21:08 -07:00
Chris Jones
fafda90217
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
950c2e8a90
Bug 740580 - Add support for Azure DrawTargets to BasicLayers. r=Bas
2012-10-02 22:09:12 -04:00
Benoit Girard
0dfaad9d0e
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
40667015b0
Back out 17f942846b9f (bug 795811) for causing startup crashes.
2012-10-02 01:29:53 -07:00
David Zbarsky
83dc4acb46
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 (陳侃如)
c976f43057
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
e464d5aa1b
Bug 793085 - Remove UseAzureContentDrawing() in favour of SupportsAzureContent(). r=ncameron
2012-10-01 22:12:13 -04:00
Benoit Girard
c8f1bc0779
Bug 796084 - Rename MOZ_JAVA_COMPOSITOR -> MOZ_ANDROID_OMTC. r=blassey
2012-10-01 16:01:35 -04:00
Ed Morley
d5d2156e17
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-10-01 14:02:06 +01:00
Matt Woodrow
603381f065
Bug 795694 - Invalidate changed visible regions of layers. r=roc
2012-10-01 16:38:46 +13:00
David Zbarsky
0f0ea1fc19
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
f8a3bcd5dd
Bug 770617 - Always mark inactive CanvasLayers as being dirty. r=cjones
2012-09-30 19:20:25 +13:00
Matt Woodrow
26ce1c54a7
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
1c5f85078f
bug 674373 pt 2 - consistently use client bounds for layer sizing. r=roc
2012-09-29 12:34:41 +01:00
Doug Sherk
6e4a1ee505
Bug 786267: B2G: Lower resolution while doing accelerated panning r=cjones
2012-09-29 00:02:45 -04:00
Doug Sherk
4478c228d5
Bug 787445: B2G: Rip out async paint throttling code, use compression instead r=cjones
2012-09-29 00:02:41 -04:00
Doug Sherk
6e7d4f9757
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
98c60b046f
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
c0e08ee726
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
997db4d142
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
foudfou
d72827c0aa
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
7786bc1aaa
Bug 786626 - Initialize mLayerProgram. r=joe. landing on a CLOSED TREE
2012-09-29 01:39:35 +12:00
Matt Woodrow
d9a6418c44
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
6cc55ebd06
Bug 539356 - Handled scrolled inactive layers trees correctly. r=roc
2012-09-17 10:57:22 +12:00
Oleg Romashin
67b104cbd1
Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc
2012-08-29 17:48:43 +12:00
Matt Woodrow
1f7adc5ccc
Bug 539356 - Part 12 - Remove unnecessary LayerManagerLayerBuilder indirection. r=roc
2012-08-29 17:48:15 +12:00
Matt Woodrow
5a14809d04
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
2012-08-29 17:47:18 +12:00
Chris Jones
54070d8c75
Bug 794727: Translate asynchronously-animated transforms by the offset to their reference frame when sampling. r=mattwoodrow
2012-09-27 20:14:33 -07:00
Ed Morley
c863356300
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Matt Woodrow
e4ca2fd71e
Bug 539356 - Handled scrolled inactive layers trees correctly. r=roc
2012-09-17 10:57:22 +12:00
Oleg Romashin
13a2856362
Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc
2012-08-29 17:48:43 +12:00
Matt Woodrow
0725f91922
Bug 539356 - Part 12 - Remove unnecessary LayerManagerLayerBuilder indirection. r=roc
2012-08-29 17:48:15 +12:00
Matt Woodrow
c73c0db2f1
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-08-29 17:38:58 +12:00
Edwin Flores
ee62e2ef92
Bug 759506 - GonkNativeWindow and layers changes for B2G zero-copy OMX hardware decoding r=kanru
2012-09-27 16:33:42 +12:00
Nicolas Silva
51a45aa844
Bug 794233 - Fix for blank video on fennec release. r=cpeterson
2012-09-26 23:32:45 -04:00
Chris Lord
6cc4cbd474
Bug 794465 - Only use progressive tile drawing when scrolling. r=bgirard
...
To prevent seams appearing in updated content, only use progressive tile
drawing when scrolling. This is the most critical time to keep interactivity
consistent.
2012-09-26 21:42:09 +01:00
Chris Lord
bb3f3cc9cd
Bug 794200 - Progressive draw tiles in the direction of scrolling. r=bgirard
...
When scrolling downwards, make sure to fill in tiles from the top, upwards
from the bottom, left from the right and right from the left.
2012-09-26 21:41:56 +01:00
Chris Lord
ed4c547259
Bug 794200 - Draw tiles with no content before tiles with stale content. r=bgirard
...
When using progressive tile drawing, draw tiles that have no content before
tiles that only have stale content.
2012-09-26 21:41:41 +01:00
Karl Tomlinson
1c13765e67
b=763449 Finish X requests on mROFrontBuffer before deleting shadow layer r=cjones
...
--HG--
extra : rebase_source : 7381b234a29d648afdf76eff1f1e89f6e5cd88b5
2012-09-25 16:20:41 +12:00
Chris Lord
abf5767fcd
Bug 793656 - Fix flickering during progressive tile updates. r=bgirard
...
Force a single transaction when the resolution changes and for other updates,
keep stale tiles within the visible region until the transaction is complete.
2012-09-25 20:13:40 +01:00
Chris Jones
57b18a645d
Bug 793365: Make sure (again) that the entire buffer is valid when we might be asynchronously composited. r=roc
2012-09-24 21:15:18 -07:00
Chris Jones
9eb28fa941
Bug 784244: We really, seriously, can only let the BufferTracker take care of our required AutoOpenSurfaces. r=roc
2012-09-24 14:54:01 -07:00
Chris Jones
0a82ec4137
Bug 792663: Don't SyncFrontBufferToBackBuffer() while a buffer tracker isn't around to revoke our buffer provider. r=nrc
2012-09-20 22:59:19 -07:00
Chris Jones
05ae47a5b4
Bug 792663: Temporarily require opting in to allocating cross-process xlib surfaces. r=karl
2012-09-24 14:54:01 -07:00
Marco Castelluccio
7447490c1f
Bug 630346 - Merge LayerManagerOGL::CleanupResources into LayerManagerOGL::Destroy r=karlt
...
--HG--
extra : rebase_source : ef7c3c9855f3a3e22b8a8529d922587eaf71ba43
2012-09-24 11:23:39 +12:00
Chris Jones
226a5ef136
Bug 788411: Set a minimum allocation width for buffers that ThebesLayerBuffer. r=roc
2012-09-20 12:49:03 -07:00
Robert O'Callahan
632c91ff04
Bug 772726. Part 9: Since Azure doesn't support EXTEND_NONE, when blitting a post-3D-transform temporary surface we need to make sure the output is clipped to the area of the surface. r=mattwoodrow
2012-09-08 00:32:21 +12:00
Marco Castelluccio
7993ada104
b=787853 Upload surface when it doesn't support texture_from_pixmap r=karlt
...
--HG--
extra : transplant_source : N%E7%C6%AAt3%F2%82%5B%81%15%BE%A7o%CC%5C%0B%1A%1D0
2012-09-05 01:10:22 +02:00
Karl Tomlinson
6dc247aa1f
b=777946 implement SCALE_STRETCH through ComputeEffectiveTransforms r=Bas
...
--HG--
extra : transplant_source : 6%CC%1F3%D1g%A7%098%7E%24%3DC%1D6N%F5%1Ax%0F
2012-09-18 15:16:15 +12:00
Chris Jones
30b0b269d9
Bug 791167: stride*height is the size of the region. r=roc
2012-09-18 10:00:45 -07:00
Robert O'Callahan
ae49ca014a
Bug 777194. Part 2: Remove RETENTION_THRESHOLD. FrameLayerBuilder limits the complexity of visible regions anyway. r=bas
2012-08-17 11:38:59 +12:00
Robert O'Callahan
ed51a57755
Bug 777194. Part 1: Use an epsilon tolerance value when comparing residual translations. r=tnikkel
2012-08-17 11:38:59 +12:00
Chris Jones
9049bbc981
Bug 791364: Free canvas front buffers that are surface descriptors. r=gal
2012-09-17 17:56:04 -07:00
Ryan VanderMeulen
5cfafbf23a
Backout c2b7be27e412 (bug 791644) due to mochitest orange.
2012-09-17 20:09:42 -04:00
Matt Woodrow
e5d8da2359
Bug 791644 - Refactor nsDisplayTransform::GetResultingTransformMatrix into two functions with less optional parameters. r=roc
2012-09-18 10:34:21 +12:00
Nicolas Silva
531387a325
Bug 790716 - Allocate shared YCbCr images in one shmem. r=jrmuizel.
2012-09-13 16:52:26 -04:00
James Willcox
4f4ac14cc3
Bug 778091 - Use medium precision for SurfaceTexture shader r=vlad
2012-09-17 15:50:33 -04:00
Benoit Girard
cfa8fd3606
Bug 789597 - Should support correlation of profile with capture frames. r=joe
...
--HG--
extra : rebase_source : 66361f31c12774ab7d2bbb9e66a4e673f2a272ba
2012-09-17 13:58:04 -04:00
Ed Morley
6a83e3de8d
Backout 7f86b28171a2 (bug 787853) & e18fdb9a8e12, ba47dac3cf97, e3fdcf7ed7f2, 992ee4c72c87 (bug 777946) for intermittent linux M4 ABORTs
2012-09-17 14:17:02 +01:00
Ms2ger
214123d03d
Merge m-c to m-i.
2012-09-17 12:08:58 +02:00
Ms2ger
8976774677
Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones
2012-09-17 10:37:20 +02:00
Matt Woodrow
ab9f5929bd
Bug 788044 - Make inactive layer subtrees relative to the ContainerLayer, not the reference frame. r=roc
2012-09-17 10:25:33 +12:00
Doug Sherk
6c4740a37a
Bug 787549 - B2G: Stop simulating mouse events unless there's a tap. r=cjones
2012-09-14 21:16:32 -04:00
Doug Sherk
1b0f8474b3
Bug 780395: Part 1, B2G: Listen to scrollTo calls and metrics being clobbered r=cjones
2012-09-14 17:57:35 -04:00
Marco Castelluccio
aa8b6caada
b=787853 Upload surface when it doesn't support texture_from_pixmap r=karlt
...
--HG--
extra : transplant_source : %85b%86%E4%DBK%D7%A2%14%BEK%A3%40l%5D%B5%29L%EF%F0
2012-09-05 01:10:22 +02:00
Karl Tomlinson
3c96f70178
b=777946 implement SCALE_STRETCH through ComputeEffectiveTransforms r=Bas
...
--HG--
extra : transplant_source : %9AZ%89%90_4%08R%C5%0E%AB1%40g%23.%7Bo%EE%2A
2012-09-17 17:19:59 +12:00
Chris Jones
a67f684009
Bug 780330: Avoid mapping/unmapping buffers when we don't use them. r=mattwoodrow sr=roc
2012-09-12 03:41:34 -07:00
Nicolas Silva
d08a4048c0
Bug 774622 - Fixes fennec exit crash by reference counting the compositor thread and making sure the CompositorParents are not destroyed while running code on the compositor thread. r=cjones
2012-09-11 14:17:05 -04:00
David Anderson
7b438ddde2
Merge IonMonkey to mozilla-central. a=arewefastyet
...
--HG--
rename : content/base/src/nsWebSocket.cpp => content/base/src/WebSocket.cpp
rename : content/base/src/nsWebSocket.h => content/base/src/WebSocket.h
2012-09-11 10:25:14 -07:00
David Anderson
24145fc9a1
Merge from mozilla-central.
2012-09-10 12:16:38 -07:00
David Anderson
b0a287cfcc
Merge from mozilla-central.
2012-09-07 15:17:11 -07:00
David Anderson
6c5722e35b
Merge from mozilla-central.
2012-09-06 18:28:59 -07:00
Chris Jones
25909c8590
Bug 789368: Mind our fenceposts when estimating fps. r=jrmuizel
2012-09-06 20:12:03 -07:00