Chris Lord
183d26900a
Bug 783368 - Prefer the critical display port, when set, in basic tiled layers. r=bgirard
...
If a critical display port is set, only validate content within it when using
basic tiled layers.
2012-11-21 19:16:51 +00:00
Chris Jones
a868506921
Bug 806029: Have remote content drop their buffers when they're hidden. r=mattwoodrow sr=roc
2012-11-07 19:51:55 -08:00
Matt Woodrow
bfae0e49ea
Bug 807408 - Cache the temporary surface used when drawing ThebesLayers with BasicLayers. r=jrmuizel
2012-11-07 11:39:35 +13:00
Chris Lord
7ade72d32d
Bug 803013 - Maintain coherency when progressively updating visible areas. r=bgirard
...
When rendering progressively, make sure that any previously visible area that
is still visible is updated at the same time. This helps maintain visual
coherency on pages that invalidate previously visible areas while scrolling,
and when losing layers between updates.
This supersedes the previous method of only doing progressive updates while
scrolling.
2012-10-22 20:18:14 +01:00
Chris Lord
21206f0dbd
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
Jeff Muizelaar
088252edc2
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
4831ec5cb7
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.
2012-10-04 14:45:16 -04:00
Chris Jones
26ae54906a
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
1691aa71df
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
Chris Jones
a836c056b8
Back out bug 790505 for leaking
2012-10-03 00:21:08 -07:00
Chris Jones
35e03df89a
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
Matt Woodrow
bd23eaa167
Bug 795631 - Update BasicLayerManager::mPhase variable in release mode as well as debug. r=cjones
2012-09-30 19:20:24 +13:00
Isaac Aggrey
990e90e88a
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Chris Jones
30ee4bd1d9
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
Robert O'Callahan
52752cb4fc
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
Anthony Jones
a923f3446d
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
Ehsan Akhgari
243c878d26
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Nicolas Silva
e0905a590a
Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard
2012-08-19 15:33:25 -04:00
Joe Drew
e09a2e3ed4
Bug 781679 - Assert that we're not in the middle of a transaction when we switch layer managers. r=mattwoodrow
2012-08-15 17:55:38 -04:00
Matt Woodrow
7788b19a27
Bug 782808 - Apply the widget rotation to the gonk LayerManager at all times instead of only during the paint event. r=cjones
2012-08-15 13:10:40 +12:00
Matt Woodrow
7f95d6fb80
Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc
...
* * *
Fix Empty transactions with the new paint timing
2012-08-13 22:10:10 +12:00
Matt Woodrow
0e08a1aaff
Bug 539356 - Part 8a - Add END_NO_COMPOSITE to EndTransactionFlags and implement in for all LayerManagers. r=roc
2012-08-13 22:10:10 +12:00
Jonathan Watt
a67bfa535f
Bug 777430 - In BasicLayerManager::PushGroupForLayer, call the less expensive gfxContext::PushGroup instead of gfxContext::PushGroupAndCopyBackground when possible. r=roc.
2012-08-01 11:03:42 +01:00
Karl Tomlinson
1eede6bc9f
b=775848 Initialize BasicShadowLayerManager::mRepeatTransaction appropriately r=BenWa
2012-07-31 14:54:36 +12:00
Benoit Girard
2d30a1d9e8
Bug 724666 - Part 1: Refactor nsCoreAnimation support into azure QuartzSupport. r=jmuizelaar
2012-07-31 11:11:57 -04:00
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Chris Jones
899b7ffef9
Bug 776217: Support gecko-implemented screen rotation with omtc. r=roc
2012-07-24 12:01:09 -07:00
Jonathan Watt
983c897ac1
Bug 775697 - Cancel layer transactions that haven't ended after nsDisplaySVGEffects::PaintAsLayer returns. r=roc.
2012-07-20 00:53:55 -04:00
David Zbarsky
7f0b27a36b
[Bug 774505] Don't include Layers.h everywhere r=cjones
2012-07-18 12:31:40 -04:00
Robert O'Callahan
289488cd34
Bug 772726. Part 2: When BasicLayers is compositing directly to an Azure DrawTarget, Transform3D should handle the destination not having a CurrentSurface. r=mattwoodrow
2012-07-18 01:02:07 -04:00
Matt Woodrow
1a636f084f
Bug 539356 - Part 6 - Add compositing paint flashing to BasicLayers. r=roc
2012-07-17 13:03:51 -04:00
Chris Jones
f9edac80a9
Bug 773192: Only proxy drawing to a non-default target in BasicShadowableLayerManager, i.e. drawWindow(USE_WIDGET_LAYERS) for a content context, when the request is same-process. r=ajuma
2012-07-12 14:07:13 -07:00
Chris Jones
2e644eb828
Bug 765734, part 2: Migrate ImageLayers to SurfaceDescriptor. r=mattwoodrow,roc
2012-07-12 05:51:57 -07:00
Chris Jones
bd9ed9eaff
Bug 765734, part 0.2: Remove \r from basic layers files. r=nrc
2012-07-12 05:51:57 -07:00
Benoit Girard
038f633b38
Bug 771219 - Add Repeatable transactions. r=ajuma
2012-07-06 13:58:01 -04:00
Ehsan Akhgari
feb8c8a4aa
Backout changeset 75419010ac02 (bug 539356) because of performance and correctness regressions
2012-07-03 20:31:54 -04:00
Ehsan Akhgari
c7465eaec6
Backout changeset 2c411daf6633 (bug 539356) because of performance and correctness regressions
2012-07-03 20:27:47 -04:00
Ehsan Akhgari
f6f6433358
Backout changeset d97bd4246317 (bug 539356) because of performance and correctness regressions
2012-07-03 20:26:18 -04:00
Matt Woodrow
670e5120e5
Bug 539356 - Part 8a - Add END_NO_COMPOSITE to EndTransactionFlags and implement in for all LayerManagers. r=roc
2012-06-30 15:06:10 +12:00
Matt Woodrow
a4e6cbbe57
Bug 539356 - Part 6 - Add compositing paint flashing to BasicLayers. r=roc
2012-06-30 15:06:10 +12:00
Matt Woodrow
9bd16ae682
Bug 539356 - Part 2 - Add new API to BasicLayers. r=roc
2012-06-30 15:06:09 +12:00
Nicholas Cameron
c18435ed17
Bug 768723; Reorganise BasicLayers.cpp into multiple files; r=roc
2012-06-29 18:01:34 +12:00