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
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
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
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
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
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
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
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
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
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
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
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
c73c0db2f1
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-08-29 17:38:58 +12: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
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
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
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
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
Anthony Jones
15fa44db66
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
34d1b7b2ff
Bug 787416 - Invalidate tiled layers when the format changes. r=joe
2012-09-04 18:05:31 -04:00
Kan-Ru Chen (陳侃如)
e35ea77a3f
Bug 785339 - Restore BasicPlanarYCbCrImage::SetDelayedConversion. r=roc
2012-09-03 15:36:04 +08:00
Benoit Girard
39a579ddab
Bug 751916 - don't recycle tile if the format has changed. r=joe
2012-08-30 15:35:36 -04:00
Chris Lord
d599966391
Bug 785333 - Add ContainerLayer::RepositionChild. r=bas
...
Add a function that can be used to quickly reposition a layer child, rather
than forcing removal/insertion and the extra work that can involve.
2012-08-29 11:52:55 +01:00
Benoit Jacob
05e2fb7016
Bug 782786 - BasicCanvasLayer: avoid UpdateSurface of non-dirty canvases - r=BenWa
2012-08-23 14:56:23 -04:00
Matt Brubeck
0e09726934
Back out 156eaa94f73c (bug 782786) and 05d1a3fba90b (bug 777028) for frequent Linux reftest failures on a CLOSED TREE
2012-08-23 14:47:07 -07:00
Benoit Jacob
6ea52aa860
Bug 782786 - BasicCanvasLayer: avoid UpdateSurface of non-dirty canvases - r=BenWa
2012-08-23 14:56:23 -04:00
Andrew McCreight
a74f801bd7
Back out Bug 773440 for causing M2 orange on Android on this CLOSED TREE.
2012-08-23 10:01:14 -07:00
Nicolas Silva
14c4540bd8
Bug 773440 - Remove one video frame copy when using async-video. r=roc
2012-08-23 10:56:36 -04:00
Matt Woodrow
abbfc42bd1
Bug 780260 - Remove PRInt32 types added by the previous changeset. r=ehsan
2012-08-23 14:02:51 +12:00
Matt Woodrow
412f94a18b
Bug 780260 - Add serial numbers to Images and use it to check if an image has been painted to its BasicShadowableImageLayer already. r=cjones
2012-08-23 12:08:26 +12:00
Ehsan Akhgari
0fd9123eac
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
Jeff Gilbert
5626f58942
Bug 738833 - Add webgl force-readback pref - r=bjacob
2012-08-21 20:29:06 -07:00
Jeff Gilbert
d394179aac
Bug 782785 - Use temp surfaces to ReadPixels with correct stride - r=bjacob
2012-08-21 16:13:26 -07:00
David Zbarsky
fbb04700b6
Bug 784004 - Don't include Layers.h everywhere Part 3 r=nical
2012-08-21 00:06:46 -04:00
Jeff Gilbert
74efe81fba
Bug 783663 - Add ReadScreenIntoImageSurface for reading pixels from the screen - r=bgirard
2012-08-20 17:13:32 -07:00
Matt Woodrow
7591d1ef12
Bug 782372 - Fix clang build. r=nical
2012-08-20 14:39:10 +12:00
David Zbarsky
b258e9a808
Bug 783841 - Fix build warnings in layers r=cjones
2012-08-19 20:07:31 -04:00
Nicolas Silva
047b99ba78
Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard
2012-08-19 15:33:25 -04:00
Karl Tomlinson
3cb3d79c5f
b=782185 use extend_pad when compositing image layers even for Quartz and X11 r=roc
...
--HG--
extra : transplant_source : %F7%24N%7E%E0y%C4%2C%D4%9B%DB%83B_Ai6%A1%7E%91
2012-08-14 23:47:49 +12:00
Joe Drew
05d2135de5
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
1ba26c01d5
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
c9d19fc306
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
2b1ef36f45
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
Ms2ger
26217245c9
Bug 780387 - Part f: Stop using PRBool & PRPackedBool; r=bsmedberg
2012-08-09 09:10:13 +02:00
Jonathan Watt
5c26f1ff5e
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
4f22ae8780
b=775848 Initialize BasicShadowLayerManager::mRepeatTransaction appropriately r=BenWa
...
--HG--
extra : transplant_source : %3F%14R%1BD%CCL%AFL4%B2%ACN%1EP%D03%F5%27D
2012-07-31 14:54:36 +12:00
Benoit Girard
be1e81f90f
Bug 724666 - Part 2: Add CGIOSurfaceContext to azure. r=jmuizelaar
2012-07-31 11:17:43 -04:00
Benoit Girard
d38270d473
Bug 724666 - Part 1: Refactor nsCoreAnimation support into azure QuartzSupport. r=jmuizelaar
...
--HG--
rename : gfx/thebes/nsIOSurface.h => gfx/2d/MacIOSurface.h
rename : gfx/thebes/nsCoreAnimationSupport.mm => gfx/2d/QuartzSupport.mm
2012-07-31 11:11:57 -04:00
David Zbarsky
06ea1f66f2
Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones
2012-07-30 17:42:26 -07:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Chris Jones
cbd13d8e9d
Bug 776217: Support gecko-implemented screen rotation with omtc. r=roc
2012-07-24 12:01:09 -07:00
James Willcox
80029db926
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
2012-07-20 15:20:51 -04:00
Ed Morley
69ac41ee19
Backout 4987ffd173a4 (bug 687267) for bustage
2012-07-23 14:47:54 +01:00
James Willcox
9c75650095
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
...
--HG--
extra : rebase_source : 450055ae3e71ea84f74252d3bf100fe970d29d14
2012-07-20 15:20:51 -04:00
Aryeh Gregor
e57dd159b2
Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan
2012-07-20 14:16:17 +03:00
Matt Woodrow
315e04aaec
Bug 539356 - Part 21 - BasicLayers should always retain content. r=roc
2012-07-23 15:00:37 +12:00
Matt Woodrow
0bc8f48c38
Bug 741682 - Flatten component alpha layers into their parent layer with BasicLayers. r=roc
2012-07-23 15:00:36 +12:00
Ms2ger
0a56bc3482
Bug 776142 - Back out bug 687267 / changeset 8571114112b2 on a CLOSED TREE.
2012-07-22 14:02:18 +02:00
James Willcox
f0d7883166
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert
2012-07-20 15:20:51 -04:00
Jonathan Watt
e52e0a6f49
Bug 775697 - Cancel layer transactions that haven't ended after nsDisplaySVGEffects::PaintAsLayer returns. r=roc.
2012-07-20 00:53:55 -04:00
Steve Fink
f20c2ef916
Backed out changeset afd9e75374e8 from a CLOSED TREE for breaking Windows builds
2012-07-19 14:55:48 -07:00
James Willcox
67949244f1
Bug 687267 - Initial support for Flash on Honeycomb r=benwa,vlad
2012-07-19 16:15:40 -04:00
David Zbarsky
88371b030a
[Bug 774505] Don't include Layers.h everywhere r=cjones
2012-07-18 12:31:40 -04:00
Robert O'Callahan
fc590c6356
Bug 772726. Part 2: When BasicLayers is compositing directly to an Azure DrawTarget, Transform3D should handle the destination not having a CurrentSurface. r=mattwoodrow
...
--HG--
extra : rebase_source : 838f6b643d9ab4ca10a0bf9612eb2081e728288f
2012-07-18 01:02:07 -04:00
Jeff Gilbert
af031de17f
Bug 774688 - Mark reused buffer as dirty in BasicCanvasLayer - r=bas
2012-07-17 21:27:49 -07:00
Chris Jones
ba57040674
Bug 745148, part 7: Create a RefLayer type to temporarily contain a foreign layer subtree during composition. r=BenWa sr=roc
2012-07-17 16:59:45 -07:00
Chris Jones
261ec69d02
Bug 745148, part 4: Remove duplicated code in Basic*ContainerLayer. r=roc
2012-07-17 16:59:44 -07:00
Matt Woodrow
963214988b
Bug 539356 - Part 6 - Add compositing paint flashing to BasicLayers. r=roc
2012-07-17 13:03:51 -04:00
Matt Woodrow
8c49e4a361
Bug 539356 - Part 2 - Add new API to BasicLayers. r=roc
2012-07-17 13:03:51 -04:00
Oleg Romashin
e8ff7a5510
Bug 728524 - Public shared texture API + Canvas impl. r=bgirard,vlad,jgilbert
2012-05-31 21:30:08 -04:00
Nicolas Silva
1ada2b604f
Bug 598868: Add support for pushing video frames directly to the compositor thread, bypassing the content thread. r=cjones
2012-07-13 15:38:09 -04:00
Chris Jones
db8fe81f49
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
f2d2a7bb3b
Bug 765734, part 4: Add an RAII helper to open/close SurfaceDescriptors and mark usage of SurfaceDescriptor as ReadOnly or ReadWrite. r=BenWa,nrc sr=roc
...
--HG--
extra : rebase_source : 34d9f4f021bac540e96b82eceb855c9c2ce59ce6
2012-07-12 05:51:58 -07:00
Chris Jones
fae577c2a7
Bug 765734, part 2: Migrate ImageLayers to SurfaceDescriptor. r=mattwoodrow,roc
...
--HG--
extra : rebase_source : 19fc8b0ae4cfffdf9a098911deac3b48c2f5d768
2012-07-12 05:51:57 -07:00
Chris Jones
70375ea1b1
Bug 765734, part 0.2: Remove \r from basic layers files. r=nrc
...
--HG--
extra : rebase_source : c79a1469e473865a22d83b503c947ef3a6b26889
2012-07-12 05:51:57 -07:00
Ed Morley
e7e93c1b7e
Backout 6087689a0745, 153e82923805, 255445a0a851 (bug 728524) on suspicion of causing bug 772405
2012-07-10 16:06:42 +01:00
Oleg Romashin
ee5b6a2485
Bug 728524 - Public shared texture API + Canvas impl. r=bgirard,vlad,jgilbert
2012-05-31 21:30:08 -04:00
Benoit Girard
358e391815
Bug 771219 - Added a pref for progressive painting. r=ajuma
2012-07-06 14:38:50 -04:00
Benoit Girard
d637f02a21
Bug 771219 - Implement tile based progressive drawing. r=ajuma
2012-07-06 14:02:10 -04:00
Benoit Girard
330ecc7585
Bug 771219 - Add Repeatable transactions. r=ajuma
2012-07-06 13:58:01 -04:00
Ehsan Akhgari
e275d5ebb0
Backout changeset 75419010ac02 (bug 539356) because of performance and correctness regressions
2012-07-03 20:31:54 -04:00
Ehsan Akhgari
2ea15f6244
Backout changeset 2c411daf6633 (bug 539356) because of performance and correctness regressions
2012-07-03 20:27:47 -04:00
Ehsan Akhgari
cee73c3f9e
Backout changeset d97bd4246317 (bug 539356) because of performance and correctness regressions
2012-07-03 20:26:18 -04:00
Ehsan Akhgari
e678c17f63
Backout changeset bd0a91621ea9 (bug 539356) because of performance and correctness regressions
2012-07-03 20:25:57 -04:00
Ehsan Akhgari
5e6974df88
Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions
2012-07-03 20:24:55 -04:00
Ehsan Akhgari
392100a449
Backout changeset 65410094add4 (bug 539356) because of performance and correctness regressions
2012-07-03 20:19:18 -04:00
Ehsan Akhgari
f3e27db850
Backout changeset cb1ac88bedc2 (bug 539356) because of performance and correctness regressions
2012-07-03 20:14:11 -04:00
Ehsan Akhgari
a1e25b9548
Backout changeset ef4557011ad3 (bug 539356) because of performance and correctness regressions
2012-07-03 20:13:38 -04:00
Matt Woodrow
066a7a9687
Bug 539356 - Part 21 - BasicLayers should always retain content. r=roc
2012-06-30 15:06:13 +12:00
Oleg Romashin
95b7a73ba9
Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc
2012-06-30 15:06:13 +12:00
Matt Woodrow
ffcd727240
Bug 741682 - Disable component alpha layers with BasicLayers. r=roc
2012-06-30 15:06:12 +12:00
Matt Woodrow
cbd39105d9
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-06-30 15:06:11 +12:00
Matt Woodrow
9193c41326
Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc
2012-06-30 15:06:10 +12:00
Matt Woodrow
36717ce675
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
0b0abe97ec
Bug 539356 - Part 6 - Add compositing paint flashing to BasicLayers. r=roc
2012-06-30 15:06:10 +12:00
Matt Woodrow
8f789d0418
Bug 539356 - Part 2 - Add new API to BasicLayers. r=roc
2012-06-30 15:06:09 +12:00
Nicholas Cameron
c064eb870f
Bug 768723; Reorganise BasicLayers.cpp into multiple files; r=roc
...
--HG--
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicBuffers.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicBuffers.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicCanvasLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicColorLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicContainerLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicContainerLayer.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicImageLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayerManager.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayersImpl.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayersImpl.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicThebesLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicThebesLayer.h
extra : rebase_source : aff7ec0b95a70e00149d2d9ea2856f9192dbc7f6
2012-06-29 18:01:34 +12:00
Nicholas Cameron
6be9877aaf
Bug 757347; checking the format of images. r=roc
2012-06-26 14:43:31 +12:00
Nicholas Cameron
88e40f4fe1
Bug 757346; Use A8 textures (OGL). r=roc
2012-06-26 14:43:31 +12:00
Nicholas Cameron
549b63d97d
Back out bug 757346
...
--HG--
extra : rebase_source : 8a07c2c56ca9dbc165012b679d421435cc886c2c
2012-06-26 10:54:05 +12:00
Nicholas Cameron
e0a38b326b
Bug 757347; checking the format of images. r=roc
2012-06-26 09:44:41 +12:00
Nicholas Cameron
14b8ef1f95
Bug 757346; Use A8 textures (OGL). r=roc
2012-06-26 09:44:41 +12:00
Ed Morley
a73fc227f9
Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms
2012-06-11 10:08:32 +01:00
Matt Woodrow
d4acadf979
Bug 539356 - Part 21 - BasicLayers should always retain content. r=roc
2012-06-11 16:45:39 +12:00
Oleg Romashin
4d14e84fec
Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc
2012-06-11 16:45:39 +12:00
Matt Woodrow
e1af0db87a
Bug 741682 - Disable component alpha layers with BasicLayers. r=roc
2012-06-11 16:45:38 +12:00
Matt Woodrow
147cab5783
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
...
* * *
Bug 539356 - Part 9a - Add new display list invalidation API to nsDisplayItem and implement it. r=roc
* * *
Bug 539356 - Part 9b - Add new frame invalidation API. r=roc
* * *
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
* * *
Bug 539356 - Part 9d - Make SVG support the new invalidation model. r=jwatt
* * *
Bug 539356 - Part 9e - FrameLayerBuilder changes for display list invalidation. r=roc
* * *
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
* * *
Bug 539356 - Part 9g - Modify MozAfterPaint code to work with the new invalidation model. r=roc
2012-06-11 16:45:30 +12:00
Matt Woodrow
1b5d7c74d7
Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc
2012-06-11 16:44:09 +12:00
Matt Woodrow
379ee49abc
Bug 539356 - Part 8a - Add END_NO_COMPOSITE to EndTransactionFlags and implement in for all LayerManagers. r=roc
2012-06-11 16:44:08 +12:00
Matt Woodrow
1593e158d4
Bug 539356 - Part 6 - Add compositing paint flashing to BasicLayers. r=roc
2012-06-11 16:44:08 +12:00
Matt Woodrow
c1bbbb5945
Bug 539356 - Part 2 - Add new API to BasicLayers. r=roc
2012-06-11 16:44:08 +12:00
Ali Juma
476ae36564
Bug 748088 - Part 2: Drawing to a non-default target should happen on the shadow side, not the shadowable side. r=BenWa
2012-06-01 08:42:36 -04:00
Oleg Romashin
34db6e617d
Bug 757380 - BasicLayers Paint ignore NULL Clip when render with groupTarget. r=bas, r=roc
2012-05-24 18:36:22 -07:00
Kan-Ru Chen
5e2750b720
Bug 743182 - Use gfxPlatform::OptimalFormatForContent everywhere. r=joedrew
2012-05-26 12:38:17 +08:00
Nicholas Cameron
8e7e5c8a18
Bug 753784; force mask layers to have a single tile - misc bits and pieces. r=roc
2012-05-17 10:30:10 +12:00
Nicholas Cameron
1ee2935580
Bug 753784; allow access to the max texture size from FrameLayerBuilder. r=roc
2012-05-22 19:15:16 -04:00
Nicholas Cameron
ff3f144642
Bug 753784; add the ability to force a single tile. r=roc
2012-05-22 19:14:03 -04:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Benoit Girard
fc32236024
Bug 755452 - Don't re-invalidate region to paint in BasicTiledLayerBuffer::PaintThebes. r=roc
2012-05-15 16:34:06 -04:00
Benoit Girard
dcda9631d2
Backout ab1cd425d884 for talos failures
...
--HG--
extra : rebase_source : 0d2930f14507123535a72aa75f73f78d03bcb765
2012-05-15 19:21:10 -04:00
Benoit Girard
ce38c886b2
Bug 755452 - Don't re-invalidate region to paint in BasicTiledLayerBuffer::PaintThebes. r=roc
...
--HG--
extra : rebase_source : 0e66b6a2cd4c741fe7d70c3ccd82aa1283a64034
2012-05-15 16:34:06 -04:00
Bas Schouten
b92c726f5f
Bug 717393 - Part 5: Permit subpixel AA for transparent surfaces. r=roc
2012-05-15 16:57:51 +02:00
Benoit Girard
b87c85ed4e
Bug 748649 - Shallow copy BasicTiledLayerBuffer to work around bug 747811. r=ajuma
...
--HG--
extra : rebase_source : 914f0602e64557481f91f96bd78fb9c6ed2dc4b5
2012-05-01 15:59:41 -04:00
Benoit Girard
0f8e97fcb4
Bug 751896 - BasicTiledThebesLayer should use OPERATOR_SOURCE. r=jmuizelaar
2012-05-04 15:35:57 -04:00
Bas Schouten
d79c59f9a6
Bug 738413 - Followup: Move ToIntRect to a Rect class method. r=roc
2012-05-03 23:41:37 +02:00
Bas Schouten
50ead8d324
Bug 738413 - Part 2: Use OpaqueRect API in BasicLayers with non-cairo contexts. r=roc
2012-05-03 23:31:02 +02:00
Nicholas Cameron
9b7506b604
Bug 716439; shadow layer support. r=BenWa
2012-03-19 12:02:38 +13:00
Nicholas Cameron
fa220c0a0e
Bug 716439; backend of the mask layers system for basic layers (software). r=roc
2012-02-08 11:27:21 +13:00
Matt Woodrow
2ed9563c76
Bug 735178 - Add debug coloring of sorted 3d layers to help identification. r=roc
2012-04-27 12:24:53 +12:00
Benoit Girard
4bccf87c66
Bug 739679 - Part 7: Enable tiling. r=pcwalton a=blocking-fennec
2012-04-23 23:22:25 -04:00
Benoit Girard
c62428467c
Bug 739679 - Part 6: Fix unlocking gfxReusableSurface. r=pcwalton
2012-04-23 20:08:18 -04:00
Benoit Girard
561a82215a
Bug 739679 - Part 5: Remove memset for 565 surfaces. r=mwoodrow
2012-04-18 20:40:08 -04:00
Benoit Girard
51549b38f1
Bug 739679 - Part 4: TiledLayerBufferOGL. r=mwoodrow,roc
2012-04-16 19:04:24 -04:00
Benoit Girard
ed4c272a74
Bug 739679 - Part 3: BasicTiledThebesLayer. r=mwoodrow,roc
2012-04-16 19:02:45 -04:00
Benoit Girard
9e0fd17c76
Bug 739679 - Part 1: Add BasicImplData header into its own file. r=roc a=blocking-fennec
2012-04-16 18:23:03 -04:00
Jeff Muizelaar
a3359ec3be
Bug 745864 - Add profiling labels relevant for Fennec graphics performance. r=bgirard a=blassey
...
--HG--
extra : rebase_source : 9ec2966476988924331d021977e2713e044701df
2012-04-16 14:36:33 -04:00
Ali Juma
0a48c74886
Bug 694964 - Don't generate a Thebes Paint edit in an incomplete transaction. r=bgirard
2012-03-30 09:25:20 -04:00
Jeff Gilbert
ab6e9099ad
Bug 735378 - Cache temporary composite surfaces - r=bgirard
2012-03-25 12:50:26 -07:00
Ali Juma
97d97c018c
Bug 720353 - Backout of 964b118ac852 (Bug 694964). r=bgirard
2012-03-19 17:22:21 -04:00
Robert O'Callahan
aeaeb5b326
Bug 700867. Don't allow rotation when we're drawing a BasicThebesLayer that needs to be drawn atomically. r=tnikkel
2012-03-19 13:01:47 +13:00
Robert O'Callahan
ac18525123
Bug 664764. Part 2: Make PushGroupWithCachedSurface always return a valid context even if getting the cached surface fails. r=mattwoodrow
2012-03-19 12:36:28 +13:00
Robert O'Callahan
af76cef13a
Bug 664764. Part 1: Change assertion to warning since it can happen due to resource exhaustion. r=mattwoodrow
2012-03-19 12:36:22 +13:00
Andreas Gal
726b80aae8
Remove unused and broken tiling code (bug 736716, r=cjones).
2012-03-17 15:22:22 -07:00
Andreas Gal
e5235c2601
Backout bug 736716.
2012-03-17 15:20:01 -07:00
Andreas Gal
4e2055256d
Remove unused and broken tiling code (bug 736716, r=cjones).
2012-03-17 15:02:02 -07:00
Benoit Girard
188ca471f6
Merge mc->Maple
2012-03-13 11:05:28 -04:00
Ali Juma
06826ece22
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
Bas Schouten
ee64d142c2
Bug 732988 - Part 1: Add ScaleToSize API to ImageLayers. r=roc
2012-03-13 01:41:29 +00:00
Benoit Girard
6345ad9c43
Restore merge changeset 39a3044823b0, regression fixed upstream in mc
2012-03-05 13:09:05 -05:00
Benoit Girard
02e577f6ff
Backed out changeset 39a3044823b0 because of bad interaction with maple.
2012-03-02 18:32:46 -05:00
Benoit Girard
72da51e037
Merge mc->Maple, resolved conflicts
2012-03-02 14:27:05 -05:00
Benoit Girard
cbad00a72b
More render trace. r=debug_only
...
--HG--
extra : rebase_source : b20e2e6e7469433ee6148c8fa0a7dd0c0ca21009
2012-02-28 11:24:24 -05:00
Benoit Girard
9af6bc051d
Added more rendertrace breakdowns
2012-02-27 14:31:29 -05:00
Benoit Girard
07502ed5be
Rendertrace improvements. r=runtime_config_only
2012-02-24 11:35:04 -05:00
Daniel Holbert
d8d7782972
Backout 4b46f6eff8f4 (Bug 732988) for linux Cipc orange
2012-03-11 16:43:12 -07:00
Bas Schouten
a1cb5a3d28
Bug 732988 - Part 1: Add ScaleToSize API to ImageLayers. r=roc
2012-03-11 22:33:22 +00:00
Jeff Muizelaar
20dccc3fff
Remove ifdefs from RenderTrace and enable it on composite
...
--HG--
extra : rebase_source : 6d6af824d02b90ac0e43855ce179aa0233b40c5b
2012-02-21 20:20:14 -05:00
Benoit Girard
ec98ad3013
Preliminary render trace
2012-02-17 17:05:03 -05:00
Timothy B. Terriberry
7cc584ea37
Bug 726580, Stop shadowing PlanarYCbCr::mOffscreenFormat, r=bas
2012-02-15 14:32:11 -08:00
Bas Schouten
87964f395c
Bug 651192 - Part 5: Support remote access to ImageContainers. r=roc
2012-02-16 04:26:19 +01:00
Benoit Girard
e2f9d6ecb7
Bug 728352 - Implement a render trace utility for GFX perf & debugging. r=mattwoodroow
2012-03-05 15:17:13 -05:00
Matt Woodrow
42f3cd0352
Bug 724025 - Correctly flatten transform-style:flat with BasicLayers. r=roc
2012-02-15 22:28:22 +13:00
Oleg Romashin
7786cc851d
Bug 725925 - ShadowableThebesLayer does useless extra composite into 1x1 fake surface. r=cjones
2012-02-10 11:22:21 -08:00
Ed Morley
052f82ab5d
Backout b43f4d9f38da (bug 725925) for reftest failures
2012-02-10 23:23:16 +00:00
Oleg Romashin
75fdef0db4
Bug 725925 - ShadowableThebesLayer does useless extra composite into 1x1 fake surface. r=cjones
...
--HG--
extra : rebase_source : 517e8624b3da7f83fbb786c10acb45e02f7b5be9
2012-02-10 11:22:21 -08:00
Bas Schouten
db305dbad5
Bug 668344: Deal with missing Direct2D device in Azure. r=jrmuizel
2012-02-07 06:14:21 +01:00
Bas Schouten
f987b74374
Bug 715785: Make ImageContainers independent of LayerManagers. r=roc
2012-02-01 03:18:30 +01:00
Julian Seward
5918745e20
Bug 720758 - Uninitialised value use in gfx/layers/basic/BasicLayers.cpp. r=bas
...
--HG--
extra : rebase_source : 78899a63fff9762875ee720817514ab0625ceab1
2012-01-26 11:00:15 +01:00
Benoit Jacob
ba094503ec
Bug 717658 - OOM crash in BasicLayers: dump sizes to help understand this crash - r=joe
2012-01-24 16:12:30 -05:00
Boris Zbarsky
aa1e6384d2
Bug 718150. Make sure to update our stored size on Swap() even if we didn't already have a front surface. r=cjones
2012-01-14 11:48:48 -05:00
Oleg Romashin
d6ad5fab8a
Bug 694964 - crash [@ gfxSharedImageSurface::Open]. r=ajuma
2012-01-12 15:49:43 -08:00
Bas Schouten
056cdb4884
Bug 711063 - Part 10: Adjust BasicLayers code for Azure-Thebes wrapper. r=roc
2012-01-05 08:17:52 +01:00
Karl Tomlinson
154582bdd0
b=713572 don't draw from BasicThebesLayerBuffers when transaction is incomplete r=roc
...
--HG--
extra : rebase_source : a85034d1207100a3563e7bb8b92ea696c91ac206
2012-01-05 11:16:37 +13:00
Ed Morley
8ed69ffe5f
Backout 76dcfabe0a2a, d8004eb22252, 86e91202ef51 & f9a5736cd6bc (bug 695845) for build failures on windows
2011-12-19 20:27:59 +00:00
Matt Woodrow
63e3a252af
Bug 695845 - Part 4: Move BasicShadowableLayer into ImageLayers.h. r=cjones
2011-12-19 14:49:45 -05:00
Matt Woodrow
9898776457
Bug 695845 - Part 2: Add ShadowImplData. r=cjones
2011-12-19 14:49:45 -05:00
Jeff Gilbert
4d60675b38
Bug 708124 - Remove unnecessary glFlushs from Layers - r=bjacob
2011-12-16 14:24:46 -08:00
Andrew Quartey
faa8be8d82
Bug 706010 - Remove NS_SPECIALIZE_TEMPLATE and HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX; r=khuey a=cleanup/removal
2011-12-13 14:17:59 +00:00
Jeff Walden
91683ae3e3
Bug 704313 - Implement mozilla/StdInt.h. r=cjones
...
--HG--
extra : rebase_source : b221134fdfbde13a37a6ef621bba3ca183a46101
2011-11-22 17:42:57 -08:00
Jeff Walden
4f3f8250ea
Bug 704127 - Move C++ attribute support out of mozilla/Types.h and into mozilla/Attributes.h so that it can be used by code that's not yet compatible with the full mfbt experience. r=cjones
...
--HG--
extra : rebase_source : 7b653358a73f222c055f5139e33ca470475f88c9
2011-11-20 12:22:51 -08:00
Jeff Walden
e15cf47cfd
Bug 702437 - Implement MOZ_OVERRIDE to encapsulate support for the contextual override keyword on virtual member functions. r=cjones
2011-11-14 10:31:46 -08:00
Chris Pearce
f689fe4458
Bug 701259 - Restrict BasicPlanarYCbCrImage scaling destination size. r=roc
2011-11-15 09:35:46 +13:00