Commit Graph

1566 Commits

Author SHA1 Message Date
Chris Lord
7edca27f23 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
cae46babd1 Bug 757347; checking the format of images. r=roc 2012-06-26 14:43:31 +12:00
Nicholas Cameron
0a4510eccd Bug 757346; Use A8 textures (OGL). r=roc 2012-06-26 14:43:31 +12:00
Nicholas Cameron
fcf7e7a249 Bug 757346; Use A8 textures (DX9). r=roc 2012-06-26 14:43:31 +12:00
Nicholas Cameron
26fadecba0 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
01224f6b7a Bug 757347; Add a shutdown hook and remove MaskImageFormat(). r=roc 2012-06-26 14:43:30 +12:00
Nicholas Cameron
6b5607e36f Bug 757347; changes to FrameLayerBuilder. r=roc 2012-06-26 14:43:30 +12:00
Nicholas Cameron
2237afc914 Back out bug 757346
--HG--
extra : rebase_source : 8a07c2c56ca9dbc165012b679d421435cc886c2c
2012-06-26 10:54:05 +12:00
Nicholas Cameron
3306a285bc Bug 757347; checking the format of images. r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron
b2f0b5d72c Bug 757346; Use A8 textures (OGL). r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron
1323f8e540 Bug 757346; Use A8 textures (DX9). r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron
7914eb8944 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
3cd654450f Bug 757347; Add a shutdown hook and remove MaskImageFormat(). r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron
abe8ccd904 Bug 757347; changes to FrameLayerBuilder. r=roc 2012-06-26 09:44:41 +12:00
David Zbarsky
dcb864530f no bug, avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor in APZ, blanket r=bz 2012-07-20 16:49:12 -04:00
James Willcox
ff21a06364 Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert 2012-07-20 15:20:51 -04:00
Andreas Gal
7d3769ef29 Remove dead code from upload path (bug 775863, r=cjones). 2012-07-20 00:36:19 -07:00
Brian R. Bondy
85766e0a07 Bug 750898 - GFX code for Metro. r=bas 2012-07-17 21:53:28 -04:00
Chris Jones
665908a65f Bug 765734, part 6: Integrate gralloc buffers into the shadow-layers pipelines. r=gal
--HG--
extra : rebase_source : f7d46aeab3c44d237c8f2ab690caf00f6cd3270d
2012-07-12 05:51:58 -07:00
Chris Jones
997eb56c73 Bug 765734, part 5: Disable texture-upload hacks on b2g. (This code is dead for android currently too, to be removed soon.) r=BenWa
--HG--
extra : rebase_source : d78019d51647bf55ff8bded0f35549100e72dd6c
2012-07-12 05:51:58 -07:00
Chris Jones
c31a9ea5db 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
3cb6ca97ea Bug 765734, part 3: Remove unused code. r=mattwoodrow
--HG--
extra : rebase_source : 9c7f8b54b501ebcc9d3f8e757044b8d3f52d1cd9
2012-07-12 05:51:57 -07:00
Chris Jones
c9d056db8a 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
63d97b07ce Bug 765734, part 1: Let clients specify capabilities required of cross-process surfaces. Only MAP_AS_IMAGE_SURFACE needed for now. r=roc
--HG--
extra : rebase_source : a2e4411772b4504ce86900826d2dc812dcaa68be
2012-07-12 05:51:57 -07:00
Chris Jones
cc9b4d3aa7 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
David Zbarsky
312c029975 Bug 706179 Part 2: Add a BaseTransform and scaling to layers, r=roc, cjones 2012-07-30 19:20:00 -07:00
David Zbarsky
fa3cb43e08 Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones 2012-07-30 17:42:26 -07:00
Doug Sherk
ed769b8156 Bug 775463: Recognize double tap gestures while still supporting single taps r=cjones 2012-07-27 19:24:24 -07:00
Ryan VanderMeulen
fb5edae174 Backout e0e33c1c7c17 and 3d0fb7ac961a (bug 775463) due to bustage. 2012-07-27 20:46:49 -04:00
Doug Sherk
6dc594429e Bug 775463: Fix a mistake in a comment r=none DONTBUILD 2012-07-27 17:26:14 -07:00
Doug Sherk
a20e7aa9dd Bug 775463: Recognize double tap gestures while still supporting single taps 2012-07-27 17:23:51 -07:00
David Zbarsky
8bda81abf5 Bug 706179 Part 2: Add a BaseTransform to layers r=roc 2012-07-27 13:23:45 -07:00
David Zbarsky
86be1fc259 Bug 755084 Part 3: Move checks for whether to animate opacity and transforms on the compositor thread to nsLayoutUtils, and make them also check whether the compositor is actually running r=cjones,dbaron 2012-07-27 13:23:45 -07:00
David Zbarsky
4be9dc9473 Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones 2012-07-27 13:23:44 -07:00
Doug Sherk
9b6b531bfd Bug 777264: Remove timer-based repaint throttling r=cjones 2012-07-27 00:33:57 -07:00
Doug Sherk
cbd864eea6 Bug 777264: Fix AsyncPanZoomController and Axis to use CSS pixels for dimension checking r=cjones 2012-07-27 00:33:53 -07:00
Doug Sherk
6f88360682 Bug 777264: Throttle repaint requests in Gecko panning/zooming r=cjones 2012-07-27 00:33:48 -07:00
David Zbarsky
d1eb609206 [Bug 777657] Fix some opt build warnings r=cjones 2012-07-26 21:02:05 -07:00
Doug Sherk
fc70da781f Bug 779344: Properly transform B2G panning/zooming after layers changes r=dzbarsky 2012-07-31 16:19:25 -07:00
Karl Tomlinson
5a3ebac43c 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
Karl Tomlinson
c7aa240d11 b=778031 add FinishX to XSync less frequently and use it r=cjones
--HG--
extra : transplant_source : %BC%2C%80%F65%1DV%B7YVI%80%B2%FD%FE%F1%18G%06%26
2012-07-31 14:54:21 +12:00
David Zbarsky
799477d8ed Bug 755084 Part 3: Move checks for whether to animate opacity and transforms on the compositor thread to nsLayoutUtils, and make them also check whether the compositor is actually running r=cjones,dbaron 2012-07-31 10:28:22 -07:00
David Zbarsky
cc6c8a0c54 Bug 706179 Part 1: Add support for animations to the Layers API r=roc, dbaron, cjones 2012-07-31 10:28:20 -07:00
Benoit Girard
1283cbb069 Bug 724666 - Part 2: Add CGIOSurfaceContext to azure. r=jmuizelaar 2012-07-31 11:17:43 -04:00
Benoit Girard
0c580e48cb 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 Anderson
5e98fe788d Merge from mozilla-central. 2012-06-26 15:37:34 -07:00
Nicholas Cameron
50b06bd8f2 Bug 746883; fix the bustage possibly caused by 746896. r=mattwoodrow 2012-07-26 14:30:20 +12:00
Nicholas Cameron
067366aaee Bug 764125; remove AzureEnabled from gfxInfo and replace with backend check. r=roc 2012-07-26 13:56:42 +12:00
Nicholas Cameron
d4158405d0 Bug 764125; sort out preferred and fallback Azure backends for all platforms (gfxPlatform). r=Bas 2012-07-25 12:45:58 +12:00
Matt Brubeck
125d6375fe 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
81cec1c6c4 Bug 782786 - BasicCanvasLayer: avoid UpdateSurface of non-dirty canvases - r=BenWa 2012-08-23 14:56:23 -04:00
Andrew McCreight
7daaad9c15 Back out Bug 773440 for causing M2 orange on Android on this CLOSED TREE. 2012-08-23 10:01:14 -07:00
James Willcox
257d2b2878 Bug 783754 - Fix Flash on the Galaxy SII r=BenWa 2012-08-23 12:00:23 -04:00
Nicolas Silva
4de96eceff Bug 773440 - Remove one video frame copy when using async-video. r=roc 2012-08-23 10:56:36 -04:00
Oleg Romashin
5d71a15746 Bug 728524 - Public shared texture API + Canvas impl. r=bgirard,vlad,jgilbert 2012-05-31 21:30:08 -04:00
Oleg Romashin
e8627a4735 Bug 728524 - Minor rework for TexImage filter setup. r=bgirard 2012-07-09 21:30:14 -04:00
Benoit Girard
b63e64f381 Bug 788400 - Part 2: Add a frame number to profiles. r=ehsan 2012-09-05 11:45:17 -04:00
Benoit Girard
3e8d129a99 Bug 788400 - Part 1: Add a frame counter to OGLLayers. r=jmuizelaar 2012-09-05 16:24:54 -04:00
Chris Jones
c295d6b67a Bug 780074: Change the fps counter to provide better estimates of instantaneous fps. r=jrmuizel 2012-09-04 22:17:13 -07:00
Marco Castelluccio
39694d9132 Bug 788042 - Use MOZ_X11 instead of MOZ_WIDGET_GTK2 under gfx/layers. r=karlt 2012-09-04 21:01:57 -04:00
Benoit Girard
34ae7b75b0 Bug 787416 - Invalidate tiled layers when the format changes. r=joe 2012-09-04 18:05:31 -04:00
Anthony Jones
bd4e1f0a4b 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
Vladimir Vukicevic
1a121033d3 b=765150, HTML5 video playback shows purple screen on Motorola/Tegra 2 devices; r=jrmuizel 2012-07-05 14:34:04 -04:00
Phil Ringnalda
2cf7559644 Back out f79077bad960 and 94dd16a365d9 (bug 765150) for bustage 2012-07-05 09:07:18 -07:00
Vladimir Vukicevic
200588a79f b=765150, HTML5 video playback shows purple screen on Motorola/Tegra 2 devices -- now with correctly generated shaders include; r=jrmuizel 2012-07-05 11:27:26 -04:00
Vladimir Vukicevic
3af0060f0a b=765150, HTML5 video playback shows purple screen on Motorola/Tegra 2 devices; r=jrmuizel 2012-07-05 10:00:23 -04:00
Matt Woodrow
89b1606202 Bug 780260 - Remove PRInt32 types added by the previous changeset. r=ehsan 2012-08-23 14:02:51 +12:00
Benoit Girard
b7190a0b4e Bug 751916 - don't recycle tile if the format has changed. r=joe 2012-08-30 15:35:36 -04:00
Kan-Ru Chen (陳侃如)
d0a7bf7930 Bug 787045 - Call TexParameter on the correct target. r=bgirard 2012-08-30 15:39:01 -03:00
Kan-Ru Chen (陳侃如)
bcce00446b Bug 786747 - Fix the BindTexture order and re-bind textures correctly. r=jgilbert
--HG--
extra : rebase_source : 87c790e359ca64d1b7dcc34920281e9861d16db9
2012-08-29 18:20:30 -03:00
David Anderson
2b66c77b6a Merge from mozilla-central.
--HG--
rename : accessible/src/msaa/CAccessibleText.cpp => accessible/src/msaa/ia2AccessibleText.cpp
rename : accessible/src/msaa/CAccessibleText.h => accessible/src/msaa/ia2AccessibleText.h
2012-06-20 17:36:56 -07:00
David Anderson
eb9c7d8ef0 Merge from mozilla-central. 2012-06-15 15:23:58 -07:00
David Anderson
58cb46e7b5 Merge from mozilla-central.
--HG--
rename : accessible/src/html/nsHTMLTableAccessible.cpp => accessible/src/html/HTMLTableAccessible.cpp
rename : accessible/src/html/nsHTMLTableAccessible.h => accessible/src/html/HTMLTableAccessible.h
rename : accessible/src/xul/nsXULAlertAccessible.cpp => accessible/src/xul/XULAlertAccessible.cpp
rename : accessible/src/xul/nsXULAlertAccessible.h => accessible/src/xul/XULAlertAccessible.h
rename : accessible/src/xul/nsXULColorPickerAccessible.cpp => accessible/src/xul/XULColorPickerAccessible.cpp
rename : accessible/src/xul/nsXULColorPickerAccessible.h => accessible/src/xul/XULColorPickerAccessible.h
rename : accessible/src/xul/nsXULComboboxAccessible.cpp => accessible/src/xul/XULComboboxAccessible.cpp
rename : accessible/src/xul/nsXULComboboxAccessible.h => accessible/src/xul/XULComboboxAccessible.h
rename : accessible/src/xul/nsXULMenuAccessible.cpp => accessible/src/xul/XULMenuAccessible.cpp
rename : accessible/src/xul/nsXULMenuAccessible.h => accessible/src/xul/XULMenuAccessible.h
rename : accessible/src/xul/nsXULSliderAccessible.cpp => accessible/src/xul/XULSliderAccessible.cpp
rename : accessible/src/xul/nsXULSliderAccessible.h => accessible/src/xul/XULSliderAccessible.h
rename : accessible/src/xul/nsXULTabAccessible.cpp => accessible/src/xul/XULTabAccessible.cpp
rename : accessible/src/xul/nsXULTreeAccessible.cpp => accessible/src/xul/XULTreeAccessible.cpp
rename : accessible/src/xul/nsXULTreeAccessible.h => accessible/src/xul/XULTreeAccessible.h
rename : accessible/src/xul/nsXULTreeGridAccessible.cpp => accessible/src/xul/XULTreeGridAccessible.cpp
rename : accessible/src/xul/nsXULTreeGridAccessible.h => accessible/src/xul/XULTreeGridAccessible.h
2012-06-12 17:44:22 -07:00
Sean Stangl
03039d2160 Merge m-c to Ionmonkey.
--HG--
rename : accessible/src/base/nsBaseWidgetAccessible.h => accessible/src/generic/BaseAccessibles.h
rename : accessible/src/html/nsHTMLImageMapAccessible.cpp => accessible/src/html/HTMLImageMapAccessible.cpp
rename : accessible/src/html/nsHTMLLinkAccessible.cpp => accessible/src/html/HTMLLinkAccessible.cpp
rename : accessible/src/html/nsHTMLLinkAccessible.h => accessible/src/html/HTMLLinkAccessible.h
2012-06-05 16:54:36 -07:00
Sean Stangl
252166a142 Merge m-c to Ionmonkey.
--HG--
rename : accessible/src/html/nsHyperTextAccessible.cpp => accessible/src/generic/HyperTextAccessible.cpp
rename : accessible/src/html/nsHyperTextAccessible.h => accessible/src/generic/HyperTextAccessible.h
rename : accessible/src/html/nsHTMLImageAccessible.cpp => accessible/src/generic/ImageAccessible.cpp
rename : accessible/src/html/nsHTMLImageAccessible.h => accessible/src/generic/ImageAccessible.h
rename : accessible/src/msaa/nsHyperTextAccessibleWrap.cpp => accessible/src/msaa/HyperTextAccessibleWrap.cpp
rename : accessible/src/msaa/nsHyperTextAccessibleWrap.h => accessible/src/msaa/HyperTextAccessibleWrap.h
2012-06-04 13:30:29 -07:00
Sean Stangl
39170a65fe Merge m-c onto Ionmonkey.
--HG--
rename : accessible/src/atk/nsAccessibleWrap.cpp => accessible/src/atk/AccessibleWrap.cpp
rename : accessible/src/atk/nsAccessibleWrap.h => accessible/src/atk/AccessibleWrap.h
rename : accessible/src/atk/nsDocAccessibleWrap.h => accessible/src/atk/DocAccessibleWrap.h
rename : accessible/src/base/nsAccessible.cpp => accessible/src/generic/Accessible.cpp
rename : accessible/src/base/nsAccessible.h => accessible/src/generic/Accessible.h
rename : accessible/src/base/nsDocAccessible.cpp => accessible/src/generic/DocAccessible.cpp
rename : accessible/src/base/nsDocAccessible.h => accessible/src/generic/DocAccessible.h
rename : accessible/src/mac/nsAccessibleWrap.h => accessible/src/mac/AccessibleWrap.h
rename : accessible/src/mac/nsAccessibleWrap.mm => accessible/src/mac/AccessibleWrap.mm
rename : accessible/src/mac/nsDocAccessibleWrap.h => accessible/src/mac/DocAccessibleWrap.h
rename : accessible/src/mac/nsDocAccessibleWrap.mm => accessible/src/mac/DocAccessibleWrap.mm
rename : accessible/src/msaa/nsAccessibleWrap.cpp => accessible/src/msaa/AccessibleWrap.cpp
rename : accessible/src/msaa/nsDocAccessibleWrap.cpp => accessible/src/msaa/DocAccessibleWrap.cpp
rename : accessible/src/msaa/nsTextAccessibleWrap.cpp => accessible/src/msaa/TextLeafAccessibleWrap.cpp
rename : accessible/src/msaa/nsTextAccessibleWrap.h => accessible/src/msaa/TextLeafAccessibleWrap.h
rename : netwerk/protocol/http/SpdySession.cpp => netwerk/protocol/http/SpdySession2.cpp
rename : netwerk/protocol/http/SpdySession.h => netwerk/protocol/http/SpdySession2.h
rename : netwerk/protocol/http/SpdySession.cpp => netwerk/protocol/http/SpdySession3.cpp
rename : netwerk/protocol/http/SpdySession.h => netwerk/protocol/http/SpdySession3.h
rename : netwerk/protocol/http/SpdyStream.cpp => netwerk/protocol/http/SpdyStream2.cpp
rename : netwerk/protocol/http/SpdyStream.cpp => netwerk/protocol/http/SpdyStream3.cpp
2012-05-31 17:17:52 -07:00
Ehsan Akhgari
2c5d9f9d71 Bug 759979 - Compiler warning: 'MOZ_LAYERS_HAVE_LOG' macro redefined; r=roc 2012-05-30 23:32:10 -04:00
Ed Morley
7d13aab294 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
0d92dbde77 Bug 539356 - Part 21 - BasicLayers should always retain content. r=roc 2012-06-11 16:45:39 +12:00
Oleg Romashin
2e0b0654ad Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc 2012-06-11 16:45:39 +12:00
Matt Woodrow
391ce6dad4 Bug 741682 - Disable component alpha layers with BasicLayers. r=roc 2012-06-11 16:45:38 +12:00
Matt Woodrow
5076b975a0 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
8ab773e4a8 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
f1c27870fb 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
0e8bdfe6c2 Bug 539356 - Part 6 - Add compositing paint flashing to BasicLayers. r=roc 2012-06-11 16:44:08 +12:00
Matt Woodrow
e12899ee80 Bug 539356 - Part 2 - Add new API to BasicLayers. r=roc 2012-06-11 16:44:08 +12:00
Matt Woodrow
b17e4001dc Bug 539356 - Part 1 - Allow LayerManagers to have multiple user data objects. r=roc 2012-06-11 16:44:08 +12:00
Ehsan Akhgari
517c7b93f2 Bug 766000 - CompositionNotifySink needs a virtual destructor; r=roc 2012-06-18 21:19:06 -04:00
David Anderson
54d51b8342 Merge from mozilla-central. 2012-05-23 14:33:15 -07:00
David Anderson
531c35aeaa Merge from mozilla-central. 2012-05-21 14:40:04 -07:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Kartikaya Gupta
7178944e03 Bug 753444 - Remove device-space page rect from setPageRect as it is not needed. r=jrmuizel 2012-06-13 13:49:40 -04:00
Ben Turner
785be4974a Bug 666693 - 'Remote IndexedDB for multiple IndexedDB-using processes'. r=cjones+sicking. 2012-06-01 10:21:12 -07:00
Ali Juma
ca60d38ab2 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
Ali Juma
eb79efd447 Bug 748088 - Part 1: Add a DrawToSurface message to PLayers. r=BenWa 2012-06-01 08:42:34 -04:00
David Anderson
1c69f02062 Merge from mozilla-central.
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-16 15:39:10 -07:00
Kyle Huey
0ab789d7a3 Back out bug 703484 on this CLOSED TREE. 2012-05-15 20:19:37 -07:00
Benoit Girard
cfa59c2e98 Backout ab1cd425d884 for talos failures
--HG--
extra : rebase_source : 0d2930f14507123535a72aa75f73f78d03bcb765
2012-05-15 19:21:10 -04:00
Marco Castelluccio
715c60f1c1 Bug 703484 - Part 1: Allow OMTC to be used with basic layers. r=bgirard
--HG--
extra : rebase_source : a96747d6ea09d7112649fa46d2d6a84ababaeaab
2012-05-15 15:56:56 -04:00
Gervase Markham
638c878b13 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Bas Schouten
b5b2e50a6b Bug 734404 - Part 1: Add support for DXGI shared surface handles to ImageLayers. r=roc 2012-05-30 07:14:30 +02:00
Nicholas Cameron
41314b89f2 Bug 755078 - Backout previously-landed patch for bug 755078. r=roc 2012-06-09 14:22:40 -04:00
David Anderson
70d6435f79 Merge from mozilla-central. 2012-05-14 12:10:12 -07:00
Benoit Jacob
bfeaeaba01 Bug 754056 - call ReadUnlock() before replacing tiles - r=bgirard 2012-05-12 16:56:55 -04:00
David Anderson
be93786d71 Merge from mozilla-central. 2012-05-10 13:44:10 -07:00
David Anderson
c2de63af87 Merge from mozilla-central. 2012-05-09 12:31:01 -07:00
David Anderson
6364c530b8 Merge from mozilla-central. 2012-05-08 17:34:07 -07:00
Oleg Romashin
d43e63fbbd Bug 752643 - Make CompositorParent eglSurface setup available for non-android environment. r=ajuma 2012-05-08 12:40:41 -07:00
Oleg Romashin
79c7b221c2 Bug 752640 - Allow PCompositor to work with Basic Layers backend. r=ajuma 2012-05-07 16:05:13 -07:00
David Anderson
526de59b44 Merge from mozilla-central.
--HG--
rename : accessible/src/base/nsRootAccessible.cpp => accessible/src/generic/RootAccessible.cpp
rename : accessible/src/base/nsRootAccessible.h => accessible/src/generic/RootAccessible.h
rename : js/src/jsgcmark.cpp => js/src/gc/Marking.cpp
rename : js/src/jsgcmark.h => js/src/gc/Marking.h
2012-05-04 19:16:35 -07:00
Dave Hylands
d267afdead Bug 759169 - Fix for compile error when MOZ_RENDERTRACE is enabled. r=bgirard
--HG--
extra : rebase_source : 56d1c44d4efeea7b2237385f560fad856dae15a4
2012-05-29 13:56:44 -04:00
Ali Juma
b802df3029 Bug 759162 - Part 2: Make CompositorParent::ScheduleResumeOnCompositorThread block until the compositor resumes. r=bgirard 2012-05-29 13:49:03 -04:00
Kartikaya Gupta
7e40449c93 Bug 607417 - Clamp the transform of fixed-position layers to work with RTL pages (interaction with bug 748384). r=ajuma 2012-05-29 10:22:49 -04:00
Benoit Girard
04c78756d4 Bug 759181 - Disable COMPOSITOR_PERFORMANCE_WARNING. r=ajuma 2012-05-28 17:28:31 -04:00
Oleg Romashin
20ef409664 Bug 757380 - BasicLayers Paint ignore NULL Clip when render with groupTarget. r=bas, r=roc 2012-05-24 18:36:22 -07:00
David Anderson
e701dedad3 Merge from mozilla-central. 2012-05-03 11:40:52 -07:00
Nicholas Cameron
a75759c60f 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
a938e2e825 Bug 753784; allow access to the max texture size from FrameLayerBuilder. r=roc 2012-05-22 19:15:16 -04:00
Nicholas Cameron
9be563af61 Bug 753784; add the ability to force a single tile. r=roc 2012-05-22 19:14:03 -04:00
David Anderson
6ad5a5ee0c Merge from mozilla-central.
--HG--
rename : accessible/src/atk/nsApplicationAccessibleWrap.cpp => accessible/src/atk/ApplicationAccessibleWrap.cpp
rename : accessible/src/atk/nsApplicationAccessibleWrap.h => accessible/src/atk/ApplicationAccessibleWrap.h
rename : accessible/src/base/nsApplicationAccessible.cpp => accessible/src/generic/ApplicationAccessible.cpp
rename : accessible/src/base/nsApplicationAccessible.h => accessible/src/generic/ApplicationAccessible.h
rename : browser/devtools/webconsole/test/browser_gcli_integrate.js => browser/devtools/shared/test/browser_gcli_integrate.js
rename : browser/devtools/webconsole/test/browser_gcli_web.js => browser/devtools/shared/test/browser_gcli_web.js
rename : security/manager/ssl/src/nsNSSIOLayer.cpp => security/manager/ssl/src/TransportSecurityInfo.cpp
rename : security/manager/ssl/src/nsNSSIOLayer.h => security/manager/ssl/src/TransportSecurityInfo.h
2012-04-30 12:53:32 -07:00
Jacek Caban
ab7b61f390 Bug 733708 - gfx/layers fail to compile on mingw r=bas
--HG--
extra : rebase_source : 4ed99a22f66a20e4c6d2d7096396f6b2c261e63e
2012-05-21 11:03:23 +02:00
Chris Lord
0b684f98c7 Bug 758620 - Fix abort caused by unchecked clamping. r=ajuma
The initial values set for the offset for fixed position layers could clamp
with a max < min. This was due to a slightly incorrect min, but also because
it should have set these values in the else block of a later if that did a
range check on these values.
2012-07-04 15:56:49 +01:00
Ehsan Akhgari
e4d2d195ad Backout changeset 89f35d1fea6c (bug 539356) because of performance and correctness regressions 2012-07-03 20:32:33 -04:00
Ehsan Akhgari
03f92ed057 Backout changeset 75419010ac02 (bug 539356) because of performance and correctness regressions 2012-07-03 20:31:54 -04:00
Ehsan Akhgari
15926d8730 Backout changeset 2c411daf6633 (bug 539356) because of performance and correctness regressions 2012-07-03 20:27:47 -04:00
Ehsan Akhgari
e13dc32085 Backout changeset d97bd4246317 (bug 539356) because of performance and correctness regressions 2012-07-03 20:26:18 -04:00
Ehsan Akhgari
5c63bf26a2 Backout changeset bd0a91621ea9 (bug 539356) because of performance and correctness regressions 2012-07-03 20:25:57 -04:00
Ehsan Akhgari
6ef72aef93 Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:24:55 -04:00
Ehsan Akhgari
ee77eaaad9 Backout changeset 65410094add4 (bug 539356) because of performance and correctness regressions 2012-07-03 20:19:18 -04:00
Ehsan Akhgari
0138ec138a Backout changeset cb1ac88bedc2 (bug 539356) because of performance and correctness regressions 2012-07-03 20:14:11 -04:00
Ehsan Akhgari
0183c5d8cd Backout changeset ef4557011ad3 (bug 539356) because of performance and correctness regressions 2012-07-03 20:13:38 -04:00
Ehsan Akhgari
775f4e511e Backout changeset a9ae09d4f1d8 (bug 539356 part 30) because DLBI is being backed out 2012-07-03 19:41:27 -04:00
Nicolas Silva
6390c39a42 Bug 769294 - Fix crash when trying to dump layers in the console. r=joedrew 2012-06-28 11:23:40 -04:00
Robert O'Callahan
efc9c0e607 Bug 539356. Part 30: Call correct HasShadowManager method. Fixing Win mochitest-2 bustage. r=the-wind 2012-07-01 00:21:39 +12:00
Matt Woodrow
cd11452cad Bug 539356 - Part 21 - BasicLayers should always retain content. r=roc 2012-06-30 15:06:13 +12:00
Oleg Romashin
54721f863f Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc 2012-06-30 15:06:13 +12:00
Matt Woodrow
56a4c51474 Bug 741682 - Disable component alpha layers with BasicLayers. r=roc 2012-06-30 15:06:12 +12:00
Matt Woodrow
1f0dbc7c74 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-06-30 15:06:11 +12:00
Matt Woodrow
69d08d71a9 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
d59a49c9a9 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
4e1295308d Bug 539356 - Part 6 - Add compositing paint flashing to BasicLayers. r=roc 2012-06-30 15:06:10 +12:00
Matt Woodrow
8487f7b12f Bug 539356 - Part 2 - Add new API to BasicLayers. r=roc 2012-06-30 15:06:09 +12:00
Matt Woodrow
eb7d17c374 Bug 539356 - Part 1 - Allow LayerManagers to have multiple user data objects. r=roc 2012-06-30 15:06:09 +12:00
Nicholas Cameron
10a445c328 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
Ed Morley
01d2ddd5d5 Backout 5c35cd6f3ea4 & ba39b0822992 (bug 607417) for native Android R1 failures 2012-05-04 14:26:09 +01:00
Chris Lord
d8f77ad734 Bug 607417 - Reconcile async scrolling for fixed position layers. r=ajuma
Untranslate fixed position layers when doing async scrolling so that they don't
jump about as content re-renders them in the correct place.

--HG--
extra : rebase_source : 709a9b14b5301bb675e118859090e6fb1c0f26f9
2012-05-04 17:04:15 +12:00
Robert O'Callahan
8d789110c9 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
65e34332be backing out patches for bug 607417 due to build bustage 2012-05-04 17:29:05 +12:00
Chris Lord
675c02dfe0 Bug 607417 - Reconcile async scrolling for fixed position layers. r=ajuma
Untranslate fixed position layers when doing async scrolling so that they don't
jump about as content re-renders them in the correct place.
2012-05-04 17:04:15 +12:00
Robert O'Callahan
9367097525 Bug 607417. Improve definition of the 'fixed layer' flag. r=tnikkel 2012-05-04 17:00:57 +12:00
Chris Lord
cf4f8d7c5f Bug 750535 - Fix invalidation of retained tiles. r=ajuma a=blocking-fennec
When the layer size changed, reused tiles that then fell out of the layer area
would be incorrectly rendered. Fix this by deriving the rendered content area
from set display-ports and correctly invalidating when harvesting tiles, and
clipping when drawing them.

--HG--
extra : rebase_source : 6427be89b9cfb1e54feb0582fb64fa97d7d42bde
2012-05-03 20:55:08 -04:00
Phil Ringnalda
97b3be524b Backout 8b3b879bc63f (Bug 777463), 32cc8084d1b7 (Bug 775451), ce9014442e13:4d52cfac7c37 (Bug 779572), b33f2b2dbbc5:963aed158547 (Bug 775463), 36832ad5ea65 (Bug 780210), 10695750e4e9:a2afc5b5e538 (Bug 775448), c9f42eebd694 (Bug 775447) for Linux bustage 2012-08-07 20:40:48 -07:00
Doug Sherk
e181f6be38 Bug 775451: Reduce diagonal checkerboarding r=cjones 2012-08-07 18:51:15 -07:00
Doug Sherk
daa347f70b Bug 779572: Properly protect state in AsyncPanZoomController with a monitor r=cjones 2012-08-07 18:51:13 -07:00
Doug Sherk
01a75d4dec Bug 779572: Factor zoom into min pan distance before moving the viewport r=cjones 2012-08-07 18:51:11 -07:00
Doug Sherk
510ae34328 Bug 775463: Implement tolerance in double tap detection r=cjones 2012-08-07 18:51:10 -07:00
Doug Sherk
2723d5bbda Bug 775463: Implement double-tap-to-zoom content r=cjones 2012-08-07 18:51:08 -07:00
Doug Sherk
54f9994afe Bug 780210: Fix B2G focus point calculation for pinching r=kats 2012-08-07 18:51:05 -07:00
Doug Sherk
bc1275627a Bug 775448: Add gesture cancelling support during sync subframe scrolling r=cjones 2012-08-07 18:51:03 -07:00
Doug Sherk
10f1ad1f2a Bug 775448: Disable async scrolling when we detect a scrollable subframe r=cjones 2012-08-07 18:51:02 -07:00
Doug Sherk
b46b71535a Bug 775447: Properly count number of touch listeners in AsyncPanZoomController r=cjones 2012-08-07 18:51:00 -07:00
Chris Lord
bd93048cf7 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
David Anderson
33cb582413 Merge from mozilla-central.
--HG--
rename : accessible/src/base/nsFormControlAccessible.cpp => accessible/src/generic/FormControlAccessible.cpp
rename : accessible/src/base/nsFormControlAccessible.h => accessible/src/generic/FormControlAccessible.h
rename : accessible/src/html/nsHTMLFormControlAccessible.cpp => accessible/src/html/HTMLFormControlAccessible.cpp
rename : accessible/src/html/nsHTMLFormControlAccessible.h => accessible/src/html/HTMLFormControlAccessible.h
rename : accessible/src/xul/nsXULFormControlAccessible.cpp => accessible/src/xul/XULFormControlAccessible.cpp
rename : accessible/src/xul/nsXULFormControlAccessible.h => accessible/src/xul/XULFormControlAccessible.h
2012-04-18 10:23:31 -07:00
David Anderson
949a078989 Merge from mozilla-central.
--HG--
rename : accessible/src/base/nsARIAGridAccessible.cpp => accessible/src/generic/ARIAGridAccessible.cpp
rename : accessible/src/base/nsARIAGridAccessible.h => accessible/src/generic/ARIAGridAccessible.h
2012-04-11 14:37:59 -07:00
Chris Jones
2ea4017e3d Bug 782456, part 0: Add the cross-process ImageBridge glue. r=roc 2012-08-29 09:24:48 -03:00
Chris Lord
bb517120d3 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
Chris Lord
3b9cbefec7 Bug 785333 - Synchronise layer InsertAfter/RemoveChild methods. r=bas
InsertAfter/RemoveChild in the Direct3D and OpenGL Layer backends have fallen
behind the implementation in BasicContainerLayer. Synchronise them.
2012-08-29 11:52:44 +01:00
Kan-Ru Chen (陳侃如)
ed13eb8ba9 Bug 781892 - Clear mImageQueue when setIdle or shuting down. r=cjones 2012-08-29 03:52:35 -03:00
Benoit Jacob
5ba53e4d95 Bug 782786 - BasicCanvasLayer: avoid UpdateSurface of non-dirty canvases - r=BenWa 2012-08-23 14:56:23 -04:00
Rafael Ávila de Espíndola
fa9b9c167a Bug 786148 - s/IPC/ipc/. r=ted.
This makes our builds a bit more reproducible. Without it when processing

#include "IPC/IPCMessageUtils.h

we end up in

#include "ShadowLayers.h"

which in the final XUL translates into the symbol (run nm -a to see it):

 - 00 0000   SOL ../../../../gfx/layers/IPC/ShadowLayers.h

now when some file in gfx/layers/ipc does

#include "ShadowLayres.h"

the file found is the local one with the lowercase directory name and we end up
with

 - 00 0000   SOL ../../../../gfx/layers/ipc/ShadowLayers.h

--HG--
extra : rebase_source : 96c68f6a3448eedaa280039960df911a9c707cac
2012-08-28 08:41:04 -04:00
Joe Drew
20842f8db4 Bug 725105 - Fix the single-buffered (i.e., not default) case in LayerManagerOGL. r=bjacob 2012-05-07 17:46:25 -04:00
Benoit Girard
f28811574f 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
973521416c Bug 748649 - Allow layer transactions that don't require a buffer swap to be perform asynchronously. r=cjones
--HG--
extra : rebase_source : b0d11710119eb87cef8f461ece44baaba88f7477
2012-05-01 15:23:39 -04:00
Bas Schouten
ce1e20d908 Bug 749482: Fix assertion in SetRemoteImageData. r=roc 2012-05-01 23:46:53 +02:00
David Anderson
31bb169fde Merge from mozilla-central. 2012-04-04 13:40:49 -07:00
David Anderson
bebb7bdc7b Merge from mozilla-central. 2012-04-03 17:54:29 -07:00
Robert O'Callahan
06747b8dac Bug 664918. Part 6: ImageContainer::GetCurrentAsSurface shouldn't crash when mActiveImage is null. r=bas 2012-04-30 15:11:47 +12:00
Chris Lord
9b4791fda0 Bug 749630 - Fix single-colour checkerboard and masking. r=kats
Bug 748718 tried to fix masking of the checkerboard layer, but incorrectly
calculated the values for the right and bottom sides of the page, causing
less masking to occur than should happen.

It also possibly broke single-colour layer drawing (though I'm not sure this
worked previously), which this fixes by clearing to the page colour instead of
generating and drawing a texture for it.
2012-04-27 12:54:18 -04:00
Matt Woodrow
885ef2c84c Bug 735178 - Add error tolerance values when sorting preserve-3d layers. r=roc 2012-04-27 12:24:53 +12:00
Matt Woodrow
79fed68860 Bug 735178 - Add debug coloring of sorted 3d layers to help identification. r=roc 2012-04-27 12:24:53 +12:00
Kartikaya Gupta
4acaf02b8d Bug 746120 - Transform the root layer even if not scrollable so it doesn't cause separation of layers. r=ajuma 2012-04-26 15:24:06 -04:00
Chris Lord
07470e550b Bug 749143 - Don't draw retained tiles outside of layer bounds. r=bgirard
It is possible for the content that layers represent to change size, causing
tiles to be reused where they shouldn't. Make sure that tiles that are outside
of content bounds are not drawn, and that they get evicted when harvesting
tiles.
2012-04-26 12:53:14 -04:00
Oleg Romashin
1810600f2e Bug 750276 - Make CompositorParent transforms not android-only. r=ajuma 2012-04-30 17:03:26 -07:00
Daniel Holbert
ed998a5aaa Bug 750356: fix signed/unsigned comparison build warnings in ReusableTileStoreOGL.cpp. r=chrislord 2012-04-30 15:47:42 -07:00
Benoit Girard
7e14831de1 Bug 749107 - Set the texture unit before binding the tile texture and change the texture ordering in ImageLayer to leave texture unit 0 bound. r=jmuizelaar 2012-04-30 14:51:05 -04:00
Benoit Girard
eb5204fb96 Bug 749357 - TiledThebesLayerOGL can draw un-rendered areas of tiles. r=chrislord 2012-04-30 10:19:17 -04:00
Ali Juma
24fd33ba42 Bug 737437 - Post a task to handle compositor destruction. r=bgirard 2012-03-30 15:43:11 -04:00
Ali Juma
be583b5cab Bug 741319 - Delete textures using the same context used to create them, on the thread that owns that context. r=joe 2012-04-10 16:20:02 -04:00
Benoit Jacob
f4fc3a2565 Bug 686735 - 2/2 - Implement no-gfx-driver-workarounds mode - r=joe
Part 2: In no-workarounds mode, also don't work around NPOT FBO bug
2012-04-10 11:49:32 -04:00
Benoit Jacob
60dfdc3a1d Bug 741730 - Remove USE_GLES2 - r=romaxa 2012-04-10 11:49:21 -04:00
Wes Johnston
d605226018 Backed out changeset f5d6cc2e4726 2012-04-09 10:44:32 -07:00
Wes Johnston
19dd5922a5 Bug 740218 - Support transactions in sqlitebridge and use them. r=gcp,rnewman,lucasr 2012-04-09 10:08:37 -07:00
Bas Schouten
12b9c87e20 Bug 738413 - Followup: Move ToIntRect to a Rect class method. r=roc 2012-05-03 23:41:37 +02:00
Bas Schouten
79cfec2c9d Bug 738413 - Part 2: Use OpaqueRect API in BasicLayers with non-cairo contexts. r=roc 2012-05-03 23:31:02 +02:00
Benoit Jacob
dd4611db33 Backing out bug 739648 for linux build failure 2012-05-03 16:26:04 -04:00
Benoit Jacob
8560bfdefa Bug 739648 - WebGL rendering is broken on Android due to tiles being rendered at y-flipped coordinates - r=bgirard 2012-05-03 15:59:19 -04:00
David Anderson
36cbca6efd Merge from mozilla-central. 2012-03-30 18:40:08 -07:00
David Anderson
b654488bda Merge from mozilla-central. 2012-03-27 12:48:33 -07:00
David Anderson
dccded1603 Merge from mozilla-central.
--HG--
rename : dom/system/nsDeviceMotion.cpp => dom/system/nsDeviceSensors.cpp
rename : dom/system/nsDeviceMotion.h => dom/system/nsDeviceSensors.h
2012-03-26 14:17:28 -07:00
Jeff Gilbert
cdb18186e9 Bug 735378 - Cache temporary composite surfaces - r=bgirard 2012-03-25 12:50:26 -07:00
George Wright
562e45f8f0 Bug 728284 - Main container layer has siblings that are drawn in the background. r=bgirard 2012-03-29 14:07:45 -04:00
Phil Ringnalda
fc2d95cb25 Back out 7bffc102114e (bug 737437) for Android native talos bustage 2012-03-29 08:26:58 -07:00
Ali Juma
1734bbd72b Bug 737437 - Destroy the compositor's layer manager before the CompositorChild gets destroyed. r=cjones 2012-03-29 09:59:22 -04:00
David Anderson
8e15bb428d Merge from mozilla-central. 2012-03-23 14:50:35 -07:00
Matt Brubeck
74ec9d09ab Back out 636349fa2e09 because of robocop failures 2012-03-22 19:07:42 -07:00
Oleg Romashin
67d8714fd8 Bug 739095 - Offscreen context without offscreen texture does not need YFlip. r=jgilbert 2012-03-26 12:56:10 -04:00
Jeff Gilbert
0bb6ff2747 Bug 735378 - Cache temporary composite surfaces - r=bgirard 2012-03-22 15:04:25 -07:00
Chris Jones
5138518644 Bug 738158, part 2: Set the wrap mode for cairo images. r=ajuma 2012-03-22 01:02:59 -07:00
Chris Jones
7787759b9c Bug 738158, part 1: Remove unnecessary settings from InitTexture(). UploadSurfaceToTexture() and SetFilter/ApplyFilter() do these now. r=ajuma 2012-03-22 01:02:29 -07:00
David Anderson
1dc18fa6e1 Merge from mozilla-central. 2012-03-21 15:35:48 -07:00
Chris Jones
95f474b611 Bug 737071: Remove LayerManagerOGL::glForResources() because it's not needed and causes performance degradtion sometimes. r=Bas 2012-03-21 22:48:41 -07:00
David Anderson
41df49806f Merge from mozilla-central.
--HG--
rename : toolkit/components/places/tests/unit/test_favicons.js => toolkit/components/places/tests/favicons/test_favicons.js
2012-03-20 14:43:39 -07:00
Daniel Holbert
26b9ef1360 backout 1383ac50bcff (bug 723484) for remote image & occasional 'load failed: null' in reftest reference case 2012-03-20 10:22:53 -07:00
Ali Juma
eac3276684 Bug 735230 - Part 1: Add Pause and Resume messages to PCompositor. r=bgirard 2012-03-28 18:00:10 -04:00
Chris Lord
3f7ec4f974 Bug 739604 - Check if output file is valid before printing. r=mattwoodrow
Check that gfxUtils::sDumpPaintFile isn't NULL before calling print functions
in Layers.cpp:WriteSnapshotToDumpFile_internal().
2012-03-28 19:10:22 +01:00
Robert O'Callahan
16c1e56be3 Bug 723484. Fix alpha values for image layers with opacity. r=bas 2012-03-20 20:55:40 +13:00
David Anderson
988a7e7cca Merge from mozilla-central.
--HG--
rename : js/src/jsfun.cpp => js/src/vm/ArgumentsObject.cpp
2012-03-19 14:13:34 -07:00
Oleg Romashin
099abf17ab Bug 736875 - Compositor perf warning need to be filtered up to 15ms. r=bgirard 2012-03-19 12:55:37 +01:00
Robert O'Callahan
5663697d35 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
4ba1788a98 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
77d91a3428 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
Robert O'Callahan
0fde3c49ad Bug 723484. Fix alpha values for image layers with opacity. r=bas 2012-03-20 20:55:40 +13:00
David Anderson
950ea396cf Merge from mozilla-central. 2012-03-15 17:21:05 -07:00
Andreas Gal
ac82c60a6f Remove unused and broken tiling code (bug 736716, r=cjones). 2012-03-17 15:22:22 -07:00
Andreas Gal
7f4ec61fd0 Backout bug 736716. 2012-03-17 15:20:01 -07:00
Andreas Gal
b0c0acf59c Follow-up fix for bug 736716 (fix bad style fix). 2012-03-17 15:07:22 -07:00
Andreas Gal
089ef250fc Remove unused and broken tiling code (bug 736716, r=cjones). 2012-03-17 15:02:02 -07:00
Benoit Girard
22c8bc2123 Bug 736743 - Fix LayerManagerOGL Description. r=ajuma 2012-03-17 12:44:45 -04:00
Ali Juma
3d5d0929d4 Bug 735600 - Don't composite when the layer tree is empty. r=bgirard 2012-03-14 10:54:34 -04:00
David Anderson
ab6d9d70dd Merge from mozilla-central. 2012-03-13 16:10:05 -07:00
Chris Lord
1c2dd7f8ef Bug 732756 - Fix overdrawing of checkerboard. r=kats
Fix overdrawing of the checkerboard layer by letting layers have a concept of
a display-port, and keeping the root layer's display port in track with
Gecko's.
2012-03-17 15:08:22 +00:00
Chris Lord
12c7521973 Bug 732917 - Upload textures progressively. r=bgirard
When using double-buffering in ShadowThebesLayerOGL, upload texture data
progressively.
2012-03-17 12:07:02 +00:00
Chris Lord
9a92b22aca Bug 732917 - Upload to texture on demand. r=bgirard,mattwoodrow
Add functions to do progressive texture upload and only upload to texture on
draw-demand. This is a building block towards asynchronous texture upload.
2012-03-17 12:07:02 +00:00
Chris Lord
7b663980b2 Bug 732917 - Enable double-buffering on Android. r=ajuma
Add support for double-buffering to ThebesLayerOGL, and enable it on Android.
Double-buffering should allow us to more easily implement progressive texture
upload.
2012-03-17 12:07:02 +00:00
Chris Lord
0f78f77b63 Bug 732917 - Remove ShadowLayers::ShouldDoubleBuffer. r=cjones
This function has been unused since bug #690469.
2012-03-17 12:06:29 +00:00
Benoit Girard
32745d1cc3 Merge mc->Maple 2012-03-13 11:05:28 -04:00
Ehsan Akhgari
dfa138382a Backout changeset b52bae0250f7 because of test failures 2012-03-12 18:51:17 -04:00
Ali Juma
7013e73a7b Bug 725095 - Address GFX review comments. r=joe 2012-03-12 16:32:02 -04:00
Benoit Girard
803f0eba61 Bug 712716 - Fix AndroidGraphicBuffer resource management. r=snorp,jmuizelaar 2012-03-12 16:28:02 -04:00
Ali Juma
ad33d5e44d Bug 732091 - Part 5: Make the compositor notify Java when the page size changes or when a first paint occurs. r=bgirard 2012-03-12 11:50:27 -04:00
Ali Juma
f8d6403787 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
Ali Juma
def0c0bab3 Bug 732091 - Part 1: Add an isFirstPaint bool to PLayers update. r=bgirard 2012-03-12 11:50:07 -04:00
Bas Schouten
841d83e5a0 Bug 732988 - Part 1: Add ScaleToSize API to ImageLayers. r=roc 2012-03-13 01:41:29 +00:00
Jeff Gilbert
1c94bfeca7 Bug 729702 - Use ReadPixelsIntoImageSurface in CopyToTarget instead of duplicating functionality - r=BenWa 2012-03-12 18:42:02 -07:00
Ali Juma
fc63f05edc Bug 694964 - Don't generate a Thebes Paint edit in an incomplete transaction. r=bgirard 2012-03-30 09:25:20 -04:00
Mats Palmgren
08ba65e8eb Fix build bustage from rev 24f3dd5529bb (Bug 607417). r=bustage 2012-05-26 13:32:57 +02:00
Chris Lord
063f625ae2 Bug 607417 - Reconcile async scrolling for fixed position layers (part 2). r=ajuma
Part of this patch got lost in a rebase, this completes it.

Untranslate fixed position layers when doing async scrolling so that they don't
jump about as content re-renders them in the correct place.
2012-05-26 11:43:41 +01:00
Takanori MATSUURA
5c9f3f4809 Bug 751521 - Separate pixman detection from cairo. r=glandium 2012-05-26 08:44:00 +02:00
Kan-Ru Chen
4509acf05c Bug 743182 - Use gfxPlatform::OptimalFormatForContent everywhere. r=joedrew 2012-05-26 12:38:17 +08:00
Phil Ringnalda
133797c58e Back out 8bc719810cd5 (bug 757380) and 3f93e4add42b (bug 757933) for mochitest-4 assertions 2012-05-24 19:56:42 -07:00