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 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
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
Matt Woodrow
202bc0e49e
Bug 770617 - Always mark inactive CanvasLayers as being dirty. r=cjones
2012-09-30 19:20:25 +13: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
0bcc3bdfe2
Bug 539356 - Part 12 - Remove unnecessary LayerManagerLayerBuilder indirection. r=roc
2012-08-29 17:48:15 +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
c7595046d1
Bug 539356 - Part 12 - Remove unnecessary LayerManagerLayerBuilder indirection. r=roc
2012-08-29 17:48:15 +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
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
Robert O'Callahan
60f5afa85b
Bug 777194. Part 1: Use an epsilon tolerance value when comparing residual translations. r=tnikkel
2012-08-17 11:38:59 +12:00
Chris Lord
7874452a54
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
Ehsan Akhgari
e368dc9c85
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
David Zbarsky
3154e1b535
Bug 784004 - Don't include Layers.h everywhere Part 3 r=nical
2012-08-21 00:06:46 -04:00
David Zbarsky
15b5fb7346
Bug 776401 Part 2: Add animation to the layer and then add segments directly to it r=roc
2012-08-20 09:35:42 -04:00
Matt Woodrow
8fc24c5bdf
Bug 778036 - Only mark Layers as Mutated if the property values are different. r=roc
2012-08-07 15:00:41 +12:00
Matt Woodrow
95deb3d01d
Bug 778036 - Retain RefLayers instead of creating them every frame. r=roc
2012-08-07 15:00:41 +12:00
Joe Drew
022bcccbfb
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
2ebb996f8c
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
8e8f866f65
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
Chris Lord
e7e6823aa8
Bug 775431 - Make MOZ_DUMP_PAINT_LIST output terminal-friendly. r=mattwoodrow
...
Only output in HTML if we're dumping to a file, otherwise output as it did
before the HTML output change was made.
2012-08-07 18:57:26 +01:00
Matt Woodrow
3276a711dc
Bug 778036 - Add Has function to gfx::UserData and use it in Layers to correctly check for existance of user data. r=roc
2012-08-03 17:38:44 -07:00
David Zbarsky
aaa7d5ced9
Bug 706179 Part 3: Turn on the use of scaling for layers in FrameLayerBuilder r=mattwoodrow
2012-08-03 14:29:22 -07:00
David Zbarsky
c88b41986f
Bug 706179 Part 1: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-31 10:28:20 -07:00
David Zbarsky
c83e9b7631
Bug 706179 Part 2: Add a BaseTransform and scaling to layers, r=roc, cjones
2012-07-30 19:20:00 -07:00
David Zbarsky
c6b51c42c1
Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones
2012-07-30 17:42:26 -07:00
Mark Finkle
ecceaf8977
Backout 169ff207ed19, a34baed70c1b, f9ccdd490bd7, 39550ed860e6, 2194a2dd66b2, 908eb2e26843, a76e0a267f26 due to mobile viewport bustage (bug 778580)
2012-07-30 14:36:12 -04:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
David Zbarsky
f8268417e9
Bug 778496 - Layer should store ComputedTimingFunction directly rather than as a pointer r=roc
2012-07-29 18:59:26 -07:00
David Zbarsky
3a15cfbf6b
Bug 706179 Part 2: Add a BaseTransform to layers r=roc
2012-07-27 13:23:45 -07:00
David Zbarsky
687786c2e9
Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-27 13:23:44 -07:00
Ed Morley
3ed23376d4
Backout 1244b8a8e57a (bug 755084), 32d16d0f87c9 (bug 706179), 8548e016d4a9 (bug 768440), 697f5b87eae9 (bug 768440), 808fc2bd4e8c (bug 755084), 54b1484cd125 (bug 755084), 876726b632c0 (bug 706179) for xul android R3 failures
2012-07-25 16:37:04 +01:00
David Zbarsky
6b4c02cd9f
Bug 706179 Part 2: Add a BaseTransform to layers to return the layer's transform without scaling applied r=roc
2012-07-25 01:48:10 -07:00
David Zbarsky
ced60d55d3
Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-25 01:48:09 -07:00
Matt Brubeck
90029e0bf6
Back out f4f5189b1d0c, 3b4f0606c547, b8a5a1ab8a5f, 5078933d6954, 7e0260c45de9 (bug 768440, bug 755084, bug 706179) because of reftest failures
2012-07-23 20:25:51 -07:00
David Zbarsky
33710a6b6d
Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-23 17:34:22 -07:00
Matt Woodrow
1a5c93fd0e
Bug 741682 - Flatten component alpha layers into their parent layer with BasicLayers. r=roc
2012-07-23 15:00:36 +12:00
David Zbarsky
9a61d96c70
[Bug 774505] Don't include Layers.h everywhere r=cjones
2012-07-18 12:31:40 -04:00
Chris Jones
f86571551f
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
791fa8f037
Bug 745148, part 6: Allow layer trees to be given IDs so that the referent can be used in another context. r=ajuma sr=roc
2012-07-17 16:59:45 -07:00
Matt Woodrow
dab82349ce
Bug 539356 - Part 2 - Add new API to BasicLayers. r=roc
2012-07-17 13:03:51 -04:00
Matt Woodrow
b095ec8407
Bug 539356 - Part 1 - Allow LayerManagers to have multiple user data objects. r=roc
2012-07-17 13:03:50 -04:00
Nicolas Silva
966f3cd0b1
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
Ehsan Akhgari
78b833f61a
Backout changeset 89f35d1fea6c (bug 539356) because of performance and correctness regressions
2012-07-03 20:32:33 -04:00
Ehsan Akhgari
3c74e1a1e2
Backout changeset 75419010ac02 (bug 539356) because of performance and correctness regressions
2012-07-03 20:31:54 -04:00
Ehsan Akhgari
658ec4eb81
Backout changeset d97bd4246317 (bug 539356) because of performance and correctness regressions
2012-07-03 20:26:18 -04:00
Ehsan Akhgari
94344ff460
Backout changeset bd0a91621ea9 (bug 539356) because of performance and correctness regressions
2012-07-03 20:25:57 -04:00
Ehsan Akhgari
cf18ee9122
Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions
2012-07-03 20:24:55 -04:00
Ehsan Akhgari
12c6e3a4cf
Backout changeset 65410094add4 (bug 539356) because of performance and correctness regressions
2012-07-03 20:19:18 -04:00
Ehsan Akhgari
8b3c1f653a
Backout changeset cb1ac88bedc2 (bug 539356) because of performance and correctness regressions
2012-07-03 20:14:11 -04:00
Oleg Romashin
5cbefb95a7
Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc
2012-06-30 15:06:13 +12:00
Matt Woodrow
f4ee9e6284
Bug 741682 - Disable component alpha layers with BasicLayers. r=roc
2012-06-30 15:06:12 +12:00
Matt Woodrow
31125260ee
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-06-30 15:06:11 +12:00
Matt Woodrow
46e6f3d27b
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
7aaf9816cd
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
2c1238be89
Bug 539356 - Part 2 - Add new API to BasicLayers. r=roc
2012-06-30 15:06:09 +12:00
Matt Woodrow
f03cf41652
Bug 539356 - Part 1 - Allow LayerManagers to have multiple user data objects. r=roc
2012-06-30 15:06:09 +12:00
Chris Lord
737f39fdfa
Bug 758620 - Force fixed-position frames to have their own layers. r=roc
...
Introduce a new display-list item 'nsDisplayFixedPosition' that represents
fixed-position elements. This item cannot be merged, which forces fixed
position elements to have their own layer, and has a BuildLayer implementation
that sets the necessary metadata on a Layer to be able to maintain its
position correctly during composition when asynchronously panning and zooming.
2012-06-27 16:43:57 +01:00
Ed Morley
46f74afdf1
Backout de70e79ced32, ddd519d0767e, 9b952d924953 & 03efce585669 (bug 758620) for reftest failures
2012-06-26 16:13:33 +01:00
Chris Lord
d68b636b06
Bug 758620 - Force fixed-position frames to have their own layers. r=roc
...
Introduce a new display-list item 'nsDisplayFixedPosition' that represents
fixed-position elements. This item cannot be merged, which forces fixed
position elements to have their own layer, and has a BuildLayer implementation
that sets the necessary metadata on a Layer to be able to maintain its
position correctly during composition when asynchronously panning and zooming.
2012-06-26 14:43:11 +01:00
Nicholas Cameron
162bac1537
Bug 757346; mask image format stuff - use A8 textures (except DX10) and some small, misc fixes. r=roc
2012-06-26 14:43:31 +12:00
Nicholas Cameron
f1e0596d58
Bug 757347; Add a shutdown hook and remove MaskImageFormat(). r=roc
2012-06-26 14:43:30 +12:00
Nicholas Cameron
1a825cc2d4
Back out bug 757346
...
--HG--
extra : rebase_source : 8a07c2c56ca9dbc165012b679d421435cc886c2c
2012-06-26 10:54:05 +12:00
Nicholas Cameron
eabed73236
Bug 757346; mask image format stuff - use A8 textures (except DX10) and some small, misc fixes. r=roc
2012-06-26 09:44:41 +12:00
Nicholas Cameron
841c20e037
Bug 757347; Add a shutdown hook and remove MaskImageFormat(). r=roc
2012-06-26 09:44:41 +12:00
Ryan VanderMeulen
5f2a19ee6e
Revert c39d36167b99 due to a horribly munged backout.
2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
6d6c4efbab
Backout the bug 754202 backout due to orange.
2012-06-10 19:37:47 -04:00
Nicholas Cameron
d9b806d12b
Bug 755078 - Backout previously-landed patch for bug 755078. r=roc
2012-06-09 14:22:40 -04:00
Ehsan Akhgari
7a6ba12ee5
Bug 759979 - Compiler warning: 'MOZ_LAYERS_HAVE_LOG' macro redefined; r=roc
2012-05-30 23:32:10 -04:00
Kartikaya Gupta
9583637c8e
Bug 748384 - Propagate page bounds and CSS page bounds in via compositor. r=Cwiiis,ajuma,mats
2012-05-23 10:51:39 -04:00
Kartikaya Gupta
15d02d35fd
Bug 748384 - Back out 330e9c52f9ac, 9ba1078559fe, 2ed39c12d792, f53f05ecacd5 for build bustage. r=bustage
2012-05-23 11:08:19 -04:00
Kartikaya Gupta
c9a4698bf1
Bug 748384 - Propagate page bounds and CSS page bounds in via compositor. r=Cwiiis,ajuma,mats
2012-05-23 10:51:39 -04:00
Robert O'Callahan
a567b26b6f
Bug 607417. Improve definition of the 'fixed layer' flag. r=tnikkel
2012-05-04 17:00:57 +12:00
Nicholas Cameron
befb18b0a8
Bug 753784; allow access to the max texture size from FrameLayerBuilder. r=roc
2012-05-22 19:15:16 -04:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Nicholas Cameron
5027f9e01b
Bug 755078 - Disable mask layers on Android. r=roc
2012-05-17 10:30:10 +12:00
Ed Morley
559a85b824
Backout 5c35cd6f3ea4 & ba39b0822992 (bug 607417) for native Android R1 failures
2012-05-04 14:26:09 +01:00
Robert O'Callahan
3cff69730f
Bug 607417. Improve definition of the 'fixed layer' flag. r=tnikkel
...
--HG--
extra : rebase_source : f68d53736e65c21a30a6248abe6b2b9ec32cdb17
2012-05-04 17:00:57 +12:00
Robert O'Callahan
5afaaecea3
backing out patches for bug 607417 due to build bustage
2012-05-04 17:29:05 +12:00
Robert O'Callahan
a3f43739ba
Bug 607417. Improve definition of the 'fixed layer' flag. r=tnikkel
2012-05-04 17:00:57 +12:00
Nicholas Cameron
444eba98c1
Bug 716439; shadow layer support. r=BenWa
2012-03-19 12:02:38 +13:00
Nicholas Cameron
472977cd01
Bug 716439; creating mask layers. r=roc
2012-02-08 11:27:44 +13:00
Nicholas Cameron
34d6ba072b
Bug 716439; mask layer - member, getter, setter, dumping. r=roc
2012-01-18 14:35:49 +13:00
Matt Woodrow
7d6f6ae015
Bug 735178 - Add debug coloring of sorted 3d layers to help identification. r=roc
2012-04-27 12:24:53 +12:00
Chris Lord
70e676b14d
Bug 745177 - Retain and re-use uploaded GL tiles. r=ajuma
...
Rather than discarding uploaded tiles once they fall outside of the valid
region, shuffle them off into a separate tile-store with all the metadata they
need to render them, and render them in the areas that our current valid
region doesn't cover in TiledThebesLayerOGL::RenderLayer.
2012-04-24 22:48:33 -04:00
Matt Brubeck
e95835d8ba
Back out 4114c654f5d0 (bug 745177) because of Mac build errors
2012-04-24 20:18:50 -07:00
Chris Lord
8000a2a211
Bug 745177 - Retain and re-use uploaded GL tiles. r=ajuma
...
Rather than discarding uploaded tiles once they fall outside of the valid
region, shuffle them off into a separate tile-store with all the metadata they
need to render them, and render them in the areas that our current valid
region doesn't cover in TiledThebesLayerOGL::RenderLayer.
2012-04-24 22:48:33 -04:00
Jeff Muizelaar
a0868e1013
Bug 744901 - Store the page size in FrameMetrics in CSS pixels in addition to device pixels. r=cjones
...
--HG--
extra : rebase_source : ac38e2ff9dda55bd5dc44d757b67cb1550da1eaa
2012-04-12 15:55:26 -04:00
Wes Johnston
206d8691e9
Backed out changeset f5d6cc2e4726
2012-04-09 10:44:32 -07:00
Wes Johnston
eea4dccc79
Bug 740218 - Support transactions in sqlitebridge and use them. r=gcp,rnewman,lucasr
2012-04-09 10:08:37 -07:00
Andreas Gal
6d9d726c6a
Remove unused and broken tiling code (bug 736716, r=cjones).
2012-03-17 15:22:22 -07:00
Andreas Gal
f8ebf3db54
Backout bug 736716.
2012-03-17 15:20:01 -07:00
Andreas Gal
93f73de1fb
Remove unused and broken tiling code (bug 736716, r=cjones).
2012-03-17 15:02:02 -07:00
Ali Juma
fa2d5472cf
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
Benoit Girard
73a287f0ea
Restore merge changeset 39a3044823b0, regression fixed upstream in mc
2012-03-05 13:09:05 -05:00
Benoit Girard
a4a3883264
Backed out changeset 39a3044823b0 because of bad interaction with maple.
2012-03-02 18:32:46 -05:00
Matt Woodrow
72f481f48f
Bug 700240 - Print display lists to a file. r=roc,bjacob
2012-03-01 21:26:09 +13:00
Bas Schouten
7244d2b180
Bug 715785: Make ImageContainers independent of LayerManagers. r=roc
2012-02-01 03:18:30 +01:00
Jeff Muizelaar
32255c18e2
Bug 696398. Add an api to analyse frame rate. r=ajuma
...
This adds a startFrameTimeRecording() and stopFrameTimeRecording()
to DOMWindowUtils. stopFrameTimeRecording() returns an array of frame times in milliseconds.
2012-01-05 17:40:35 -05:00
Ehsan Akhgari
92064e6d3f
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Matt Woodrow
6e3aac5fe5
Bug 684759 - Part 3a - Sort preserve-3d layers using their z depth at points where they intersect in 2d space. r=roc
2011-10-07 10:23:18 +13:00
Michael Wu
d2b70213ac
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Ali Juma
9af282920f
Bug 681033 - Prevent ShadowLayers::RecvUpdate from triggering an immediate repaint. r=cjones
2011-09-26 09:20:42 -04:00
Chris Jones
ae2bfc746f
Bug 648484, part 2: Add various helpers, refactor ContainerLayer::SetSpecificAttributes. r=roc
2011-08-09 12:38:26 -07:00
Robert O'Callahan
d4259656be
Bug 649924. Use image surfaces to implement canvases beyond the texture size limit. r=bas
2011-07-08 22:42:21 +12:00
Bas Schouten
662596f4fb
Bug 651858 - Part 5: Add CanvasLayer code for azure. r=jrmuizel
2011-06-24 19:41:18 +02:00
Bas Schouten
bc37e50310
Bug 651858 - Part 3: Add layers API for creating an optimal DrawTarget. r=roc
2011-06-24 19:41:18 +02:00
Robert O'Callahan
82eb2f46ce
Bug 637852. Part 26: Ensure that FrameMetrics coordinates are correctly stored as layer coordinates. r=tnikkel
2011-06-23 00:11:28 +12:00
Robert O'Callahan
9f092ece3e
Bug 637852. Part 18: Support computing the "residual transform" for a ThebesLayer --- the difference between its snapped transform and the ideal transform --- and use it to align ThebesLayer drawing for transforms that aren't changing. r=tnikkel
...
This fixes bug 637597 and probably other bugs.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
8b4e1a91a8
Bug 637852. Part 10: Remove mX/YResolution from ThebesLayer. r=joe
...
These are the last vestiges of Layer-based resolution API.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
ab1023ee7a
Bug 654950. Fix scissor rect calculations for descendants of container layers with intermediate surfaces. r=bas
2011-05-23 12:27:03 +12:00
Robert O'Callahan
a7b4f1246b
Bug 641426. Part 5: Avoid operator== where possible to distinguish between 'equal edges' and 'equal areas' for rectangles. r=dbaron,sr=cjones
2011-04-19 15:07:23 +12:00
Benjamin Stover
bd3081c90a
Bug 642246 Don't build ThebesLayers for elements with no displayports r=roc
2011-04-11 13:53:01 -07:00
L. David Baron
522a8d323e
Back out 1edfae12015b (Bug 642246) due to mobile unittest orange.
2011-04-09 18:21:27 -07:00
Benjamin Stover
3c025ebe4d
Bug 642246 Don't build ThebesLayers for elements with no displayports r=roc
2011-04-09 12:38:28 -07:00
Oleg Romashin
863e12aca2
Bug 607417 - Part1: position:fixed frames mark layers r=roc
...
--HG--
extra : rebase_source : dbbff8810bafd165a48c34924d98f5c87702ef3f
2011-04-05 23:00:25 -06:00
Robert O'Callahan
5d011f0505
Bug 622072. Part 2: Add DidTransactionCallback to CanvasLayer. r=bas, sr=joe
2011-03-28 12:59:46 +13:00
Robert O'Callahan
6e81f6e5b2
Bug 622072. Part 1: Remove rect parameter from Updated() and change implementations to defer updates to render time. r=bas
...
The rectangle parameter is currently not used --- all callers always pass the full canvas bounds. In the long term,
we probably won't want this parameter since all implementations should be doing accelerated drawing direct to buffers
with no intermediate copies, hence there will be no need to optimize the size of those copies. Plus, performance-sensitive
testcases tend to paint most or all of the canvas on every frame anyway.
2011-03-28 12:59:46 +13:00
Ehsan Akhgari
acac18d785
Back out bug 622072 because it caused bug 645987
2011-03-29 14:31:53 -04:00
Robert O'Callahan
12d79b4b13
Bug 622072. Part 2: Add DidTransactionCallback to CanvasLayer. r=bas, sr=joe
2011-03-28 12:59:46 +13:00
Robert O'Callahan
173828d394
Bug 622072. Part 1: Remove rect parameter from Updated() and change implementations to defer updates to render time. r=bas
...
The rectangle parameter is currently not used --- all callers always pass the full canvas bounds. In the long term,
we probably won't want this parameter since all implementations should be doing accelerated drawing direct to buffers
with no intermediate copies, hence there will be no need to optimize the size of those copies. Plus, performance-sensitive
testcases tend to paint most or all of the canvas on every frame anyway.
2011-03-28 12:59:46 +13:00
Matt Woodrow
084cbe71fb
Bug 635383 - Part 2 - Share scissoring code between all accelerated backends. r=joe
2011-02-25 20:44:22 +13:00
Robert O'Callahan
1a14aa0939
Bug 626602. Part 1: Create ReadbackLayer API to enable collection of background pixels in a layer tree. r=bas,sr=cjones
2011-02-16 16:43:30 -06:00
Robert O'Callahan
bafecf5c32
Bug 625672. Part 1.5: Make layer managers silently do nothing when ending a transaction with no root layer. r=bas,a=blocker
2011-02-10 21:58:11 +13:00
Marco Bonardo
562557746d
Backout bug 626602, follow-ups and conflicting bug 631388 due to Win Tp4 permaorange causing a=CLOSED TREE
2011-02-09 15:48:12 +01:00
Robert O'Callahan
eb9d0942df
Bug 626602. Part 1: Create ReadbackLayer API to enable collection of background pixels in a layer tree. r=bas,sr=cjones
2011-02-08 18:44:13 -06:00
Alon Zakai
ebf74d5e14
Bug 610727 - Mark canvas layers inactive when relevant. r=roc a=blocking-fennec
2011-02-04 10:11:24 -08:00
Robert O'Callahan
50259b5af5
Bug 626962. Implement empty transactions for GL. r=bas,a=blocking
2011-01-25 21:45:17 +13:00
Ehsan Akhgari
e8e495cf5f
Backout bug 626962 on suspicion of causing test failures and being completely untested before landing
2011-01-26 17:36:24 -05:00
Chris Jones
ee2d946b9f
Bug 627273, part 4: Basic impl of ImageLayer tiling for basic layers. r=roc,vlad
2011-01-26 00:26:37 -06:00
Chris Jones
c7c39d08c5
Bug 627273, part 1: API for tiling Layers. r=Bas sr=roc
2011-01-26 00:26:37 -06:00
Robert O'Callahan
2f8e1ee208
Bug 626962. Implement empty transactions for GL. r=bas,a=blocking
2011-01-25 21:45:17 +13:00
Robert O'Callahan
63cc1f7d1a
Bug 621601. Part 1: Change empty transaction API to EndEmptyTransaction. r=bas,tnikkel,a=joe
2011-01-19 21:27:54 +13:00
Mark Banner
0db3b4ac06
Bustage fix for non-IPC and for shared builds following bug 605618. a=bustage fix
2011-01-13 20:01:45 +00:00
Benjamin Stover
6f57e84190
Bug 605618 Part 7: Include viewport and content size in API r=cjones sr=roc
2011-01-13 09:45:14 -08:00
Benjamin Stover
5950a36396
Bug 605618 Part 1: Tag layers with scrollable information r=cjones sr=roc a=blocking-fennec
2011-01-13 09:45:14 -08:00
Robert O'Callahan
64931e1915
Bug 593604. Part 8.5: Add SupportsComponentAlphaChildren API. r=bas,a=blocking
2011-01-03 14:48:09 +13:00
Robert O'Callahan
1afaa01821
Bug 593604. Part 4: Create Layer::GetSurfaceMode to help determine what kind of alpha support the layer needs. r=vlad,a=blocking
2011-01-03 14:48:09 +13:00
Oleg Romashin
08463ea8b9
Bug 619488 - Inform child processes of the compositor's layer-manager type. r=jones.chris.g a=b-f
2010-12-31 09:40:19 +02:00
Oleg Romashin
e8ef8e8cb9
Bug 615870 - Remote HTML5 video rendering pipeline should be shorter. part1. r=jones.chris.g a=b-f
...
* * *
Bug 615870. Part 3. mRoot check r=roc a=b-f
2010-12-27 08:12:17 +02:00
Robert O'Callahan
c6700e764d
Bug 612840. Part 4: Invert the meaning of CONTENT_NO_TEXT_OVER_TRANSPARENT and rename it. r=vlad
2010-12-20 14:26:14 +13:00
Robert O'Callahan
3259bd6e70
Bug 612840. Part 3: Make Layer::CONTENT_NO_TEXT_OVER_TRANSPARENT applicable to all layer types, and set CONTENT_NO_TEXT_OVER_TRANSPARENT on container layers. r=tnikkel,r=vlad
2010-12-20 14:26:14 +13:00
Robert O'Callahan
d8ccf4a713
Bug 612840. Part 1: Remove CONTENT_NO_TEXT flag since it's not really used. Also remove ShouldRetainTransparentSurface and related code; we'll assume that when text is over opaque pixels in an RGBA surface we can always paint it with subpixel AA --- and make it so in later patches. r=vlad
2010-12-20 14:26:13 +13:00
Michael Wu
adc8f28efe
Backed out changeset 34bd12eb4a9c for causing bug 618916, a=stuart
2010-12-13 16:14:07 -08:00
Oleg Romashin
32de6ed302
Bug 615870 - Remote HTML5 video rendering pipeline should be shorter r=roc a=b-f
2010-12-10 21:32:52 +02:00
Bas Schouten
604a3dd45e
Bug 595277 - Part 0: Clear out user data on destroy. r=roc
2010-12-07 03:05:25 +01:00
Bas Schouten
a8a2865db2
Backout bug 595277. a=bustage
2010-12-07 05:39:19 +01:00
Bas Schouten
e53c7eb164
Bug 595277 - Part 0: Clear out user data on destroy. r=roc
2010-12-07 03:05:25 +01:00
Tatiana Meshkova
cdf92598c9
bug 606730 - Remote thebesLayer BG color rendering always, even if it's not visible, Part 1: Add mLastChild to all ContainerLayer r=roc a=roc
2010-11-16 18:33:56 -05:00
Robert O'Callahan
26f24119f8
Bug 602200. Share code to compute effective transforms and opacity, and snap effective transforms. r=bas,sr=vlad,a=blocker
2010-11-08 22:06:15 +13:00
Chris Jones
ef69e48c78
Bug 60431, part 1: Add a ShadowLayer base class. r=roc sr=vlad
2010-10-13 17:55:45 -05:00
Bas Schouten
b90c29d4b9
Bug 546514 - Part 4: Build D3D10 layers. r=vlad
2010-10-01 00:53:51 +02:00
Robert O'Callahan
edffdd77c1
Bug 584494. Avoid clipping in BasicThebesLayer when not necessary. r=cjones a2.0=blocking2.0:betaN
2010-09-17 12:29:52 -07:00
Chris Jones
3b953ced69
Merge m-c --> cedar
2010-09-08 17:25:30 -05:00
Chris Jones
f502883ffc
Bug 590294, part 7: Add APIs for recording the resolution at which ThebesLayers were painted and for requesting resolution-scaled drawing for basic layers. r=roc sr=vlad
2010-09-03 15:10:46 -05:00
Chris Jones
6480591e23
Bug 590294, part 2: Add a ContainerLayer attribute FrameMetrics that stores relevant information from layout/ on the root layer. r=roc sr=vlad
2010-09-03 15:10:45 -05:00
Chris Jones
1ef9f416ce
Merge m-c --> cedar
...
--HG--
rename : layout/style/test/hover_helper.html => layout/style/test/chrome/hover_helper.html
rename : layout/style/test/test_hover.html => layout/style/test/chrome/test_hover.html
2010-09-03 14:07:55 -05:00
Joe Drew
dbb9a82fc2
Bug 590841 - Add the ability for a DOM window to let us know when it's accelerated, and use that value in about:support. r=gavin sr=roc a=blocking2.0:beta6+
2010-09-03 14:01:05 -04:00
Robert O'Callahan
be2d05f9a8
Bug 579276. Part 3: Change Set/IsOpaqueContent API to a more generic Get/SetContentFlags API. r=cjones,sr=vlad
2010-09-02 21:18:40 +12:00
Robert O'Callahan
c649008789
Bug 579276. Part 1: Change layer/layermanager user data API to use keys and values. r=cjones,sr=vlad
2010-09-02 21:18:39 +12:00
Chris Jones
16b9e25f92
Bug 570620, part h: Add a Layer::Disconnect interface. sr=vlad
2010-08-20 18:24:41 -05:00
Bas Schouten
2d7db6d80e
Bug 593268 - Part 1: Expose LayerManager::CreateOptimalSurface. r=vlad sr=roc
2010-09-08 05:27:29 +02:00
Vladimir Vukicevic
956826cf56
b=574481; fix layers lifetime issues; part 1 - add API; r=roc
2010-08-06 22:09:17 -07:00
Chris Jones
cdb78a8151
Bug 570294, part c: C++ part of Layers IPC interface. r=Bas sr=vlad
...
--HG--
extra : rebase_source : 12246bd29d0469630c406dea4b137e792002de57
2010-07-21 16:17:33 -05:00
Chris Jones
aab660510e
Bug 570294, part b: Add a Mutated() API allowing Layers to notify their managers that their Layer attributes have changed. r=Bas sr=roc
...
--HG--
extra : rebase_source : e3b7714bb3083bcf30b08920ebce1a656d48798a
2010-07-21 16:17:33 -05:00
Chris Jones
40a231016e
Bug 573829, part 1: Refactor ThebesLayerBuffer in preparation for its use in the OGL layers backend. r=roc
...
--HG--
rename : gfx/layers/basic/ThebesLayerBuffer.cpp => gfx/layers/ThebesLayerBuffer.cpp
rename : gfx/layers/basic/ThebesLayerBuffer.h => gfx/layers/ThebesLayerBuffer.h
2010-07-21 13:06:33 -05:00
Chris Jones
ad15c41672
Bug 567421, part 2: Implement Dump[Self](FILE*) and Log[Self]() methods for layers. r=roc
2010-07-21 13:06:33 -05:00
Chris Jones
509381a2b4
Bug 567421, part 1: Rename NS_* macros to MOZ_* and add LayerManager::Name() interface. r=roc
2010-07-21 13:06:33 -05:00
Ryan VanderMeulen
bf4b81178a
Bug 577344 - Define extra virtual function unconditionally. r=roc
2010-07-17 18:26:02 +02:00
Robert O'Callahan
6824d17ea0
Bug 564991. Part 9: Retain layer trees. r=tnikkel,sr=mats
2010-07-16 09:07:51 +12:00
Robert O'Callahan
b12eec77e4
Bug 564991. Part 6: Make BasicLayers support retained ThebesLayer contents. r=cjones,sr=vlad
2010-03-04 10:37:04 +13:00
Matt Woodrow
47f140fb7d
Bug 564991. Part 8: Hoist GetLayerType out of individual layer manager types and make it available for all layers. r=jrmuizel,sr=vlad
2010-07-01 20:01:09 -05:00
Robert O'Callahan
37a26c36a7
Bug 568041. Add user-data API and GetRoot to LayerManager. Move mVisibleRegion into Layer. r=bas,sr=vlad
2010-06-01 11:29:37 +12:00
Bas Schouten
01d768b811
Bug 546515: Part 1: Add a layers backend based on Direct3D9. r=jrmuizel
2010-05-24 17:28:51 +02:00
Robert O'Callahan
b32027fed6
Bug 564993. Part 5: Change ThebesLayer painting to be callback-based; move layer tree construction to FrameLayerBuilder. r=Bas,mats,sr=vlad
2010-05-21 15:20:48 +12:00
Robert O'Callahan
01e9dabdad
Backed out changeset b37bdb032fe7
2010-05-24 10:53:05 +12:00
Robert O'Callahan
0417d4868e
Bug 564993. Part 5: Change ThebesLayer painting to be callback-based; move layer tree construction to FrameLayerBuilder. r=Bas,mats,sr=vlad
2010-05-21 15:20:48 +12:00
Robert O'Callahan
20c2e464f7
Backed out changeset efa8719a93d2
2010-05-21 16:34:23 +12:00
Robert O'Callahan
6391e1262a
Bug 564993. Part 5: Change ThebesLayer painting to be callback-based; move layer tree construction to FrameLayerBuilder. r=Bas,mats,sr=vlad
2010-05-21 15:20:48 +12:00
Robert O'Callahan
b5746a540b
Bug 564993. Part 4: Add trivial user-data API so layout can attach data to layers. r=Bas,sr=vlad
2010-05-21 15:20:48 +12:00
Robert O'Callahan
87f96430ac
Bug 561959. Replace solid-color ThebesLayers with ColorLayers. r=dbaron
2010-05-13 12:56:11 +12:00
Vladimir Vukicevic
e5d92d3d03
b=561168; convert canvas to use layers for rendering - followup #2 ; r=roc
2010-05-17 21:04:22 -07:00
Vladimir Vukicevic
b5ac042d49
b=561168; convert canvas to use layers for rendering; r=roc,bas
2010-05-17 21:04:22 -07:00
Robert O'Callahan
26569a71da
Bug 561959. Implement ColorLayer, which paints a solid color into its layer. r=bas,sr=vlad
2010-05-13 12:56:11 +12:00
Robert O'Callahan
962d37b89b
Bug 564993. Part 1: Remove CopyFrom API, it won't be used. r=Bas
2010-03-03 13:53:52 +13:00
Daniel Holbert
d509dc0e16
Bug 551298, patch B: Replace uses of THEBES_INLINE_DECL_REFCOUNTING with NS_INLINE_DECL_REFCOUNTING. r=roc
2010-04-01 11:05:40 -07:00
Daniel Holbert
605900c19f
Backed out changeset 29bc09de2f77 (Bug 551298) due to Linux debug mochitest-5 orange
2010-04-01 09:38:53 -07:00
Daniel Holbert
f670acaa95
Bug 551298, patch B: Replace uses of THEBES_INLINE_DECL_REFCOUNTING with NS_INLINE_DECL_REFCOUNTING. r=roc
2010-04-01 08:08:51 -07:00
Bas Schouten
fc6417c11a
Bug 556029: Add the ability to detect which layers backend is used. r=roc
2010-03-30 20:58:37 +02:00
Robert O'Callahan
6b6667800c
Bug 538323. Part 1: create ImageLayers and associated API for displaying pixel-buffers in various formats. r=jrmuizel,sr=dbaron
2010-03-02 12:09:35 +13:00
Robert O'Callahan
421aac51af
Bug 538266. Part 2: add transform API to layer system. r=jrmuizel,sr=dbaron
2010-03-02 12:08:28 +13:00
Robert O'Callahan
eca9fe7345
Bug 534425. Part 1: Create initial layers API. r=jmuizelaar,sr=dbaron
2010-03-01 20:56:18 +13:00