Nicholas Cameron
3a351d99c3
Bug 802518; add Painted() to BasicShadowableCanvasLayer::Paint; r=jgilbert DONTBUILD
2012-10-18 21:40:32 +13:00
Nicholas Cameron
ceb65c08d3
Back out changeset db4fd6efba17 for wrong bug number r=me
2012-10-18 21:39:15 +13:00
Nicholas Cameron
865ffca289
Bug 803518; add Painted() to BasicShadowableCanvasLayer::Paint; r=jgilbert
...
--HG--
extra : rebase_source : 2cad76436370ec2bf1d52208a732e638e62435d5
2012-10-18 11:17:32 +13:00
Benoit Girard
68cffeeeea
Back out d5496f32f2e4 for mochitest failures
...
--HG--
extra : rebase_source : 1e0caa0ae6d2c1bec971fde75c348f69e6cc63fe
2012-10-15 16:57:06 -04:00
Benoit Girard
dba6881f18
Bug 796117 - Keep tiles cached when changing resolution. r=Cwiiis
...
--HG--
extra : rebase_source : fdc4bb831c367d2d33dadb75c6d1f9784b97d44d
2012-10-15 15:08:45 -04:00
Benoit Jacob
96865bc6d7
back out 621cfd13ceaf for build failures
2012-10-15 13:34:42 -04:00
Matt Joras
243e78c48b
Bug 798033 - Removes "using namespace" directive from gfx headers - r=jmuizelaar
2012-10-15 13:02:21 -04:00
Chris Lord
9baaa8cb1b
Bug 749063 - Improve progressive tile update draw order. r=bgirard
...
Now that the region can be more complicated due to tile prioritisation, the
previous code for draw order doesn't work as intended. Robustify/simplify the
code by making it region-based.
2012-10-15 09:33:56 +01:00
Chris Lord
a0f91e8972
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
b3c7e8e90c
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
c50bd6b87c
Bug 799956 - Mark BasicLayerManagers that don't retain content as supporting component alpha layers. r=roc
2012-10-15 17:53:37 +13: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
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
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
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
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
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
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
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
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
5730a3f4b2
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
Ed Morley
aba3a8f5ef
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Oleg Romashin
9ec3691460
Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc
2012-08-29 17:48:43 +12:00
Matt Woodrow
4d096475d2
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-08-29 17:38:58 +12:00
Chris Lord
8c5d4c2d0a
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
b1531c3725
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
c1a302eab6
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
1623100c46
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
a479bfdafb
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
b3578688a4
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
5ac891e04e
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
a411005953
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
Robert O'Callahan
6e8749220e
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
Karl Tomlinson
aa475bd54a
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
Ed Morley
9045d73d8a
Backout 7f86b28171a2 (bug 787853) & e18fdb9a8e12, ba47dac3cf97, e3fdcf7ed7f2, 992ee4c72c87 (bug 777946) for intermittent linux M4 ABORTs
2012-09-17 14:17:02 +01:00
Karl Tomlinson
d89f452e7b
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
39e006604f
Bug 780330: Avoid mapping/unmapping buffers when we don't use them. r=mattwoodrow sr=roc
2012-09-12 03:41:34 -07:00
Anthony Jones
e0e283667e
Bug 780792 - Fix save/restore leak in basic layer when needsGroup, is2D, and clipIsEmpty are all true. r=roc
2012-09-10 18:31:38 -04:00
Benoit Girard
9b05b648d6
Bug 787416 - Invalidate tiled layers when the format changes. r=joe
2012-09-04 18:05:31 -04:00
Kan-Ru Chen (陳侃如)
da002e7c2d
Bug 785339 - Restore BasicPlanarYCbCrImage::SetDelayedConversion. r=roc
2012-09-03 15:36:04 +08:00