Commit Graph

486 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
6969a9f3be merge b2g-inbound to mozilla-central 2014-03-05 13:24:51 +01:00
Brian Birtles
2f7bcc48d5 Bug 972199 part 1 - Make SampleAnimations filter out animations that are yet to start; r=nrc
When restoring the refresh driver after testing we can arrive at a situation
where a layer has an animation that has yet to start. However, calling
ElementAnimations::GetPositionInIteration with a negative value from the
compositor thread is an error.

This patch detects animations on the compositor thread that are yet-to-start and
skips them when sampling. It also moves the activeAnimations = true line up as
otherwise we would need special logic to wake up the compositor after the delay
has finished.
2014-03-05 10:19:15 +09:00
Sotaro Ikeda
616504a7bc Bug 975146 - Do not use hw composer for screenshot r=bas 2014-03-04 14:36:52 -08:00
Botond Ballo
07af8b0a38 Bug 958596 - Print ScrollableLayerGuids of APZCs when printing the tree. r=kats 2014-01-22 18:44:59 -05:00
Botond Ballo
0a08c5b4ea Bug 958596 - Print the APZC tree for debugging. r=kats 2014-01-22 15:09:03 -05:00
Botond Ballo
9c798dd5bb Bug 958596 - Add a content description field to FrameMetrics and populate it if the apz.printtree pref is on. r=kats,tn 2014-01-22 16:37:57 -05:00
Sushil Chauhan
9058bca2dc Bug 976717 - Pass the Framebuffer rectangle to be cleared to LayerComposite. r=ncameron 2014-02-27 11:07:34 -08:00
Milan Sreckovic
b2051f6d2f Bug 971942: 4. layers.frame-counter, layers.draw-borders, layers.draw-tile-borders, layers.draw-bigimage-borders, layers.dump, layers.frame-counter, layers.progressive-paint, layers.low-precision-buffer moved to gfxPrefs. r=nsilva 2014-02-26 21:53:31 -05:00
Milan Sreckovic
aebaca5cae Bug 971942: 3. layers.bufferrotation.enabled, layers.componentalpha.enabled, layers.scroll-graph, layers.acceleration.disabled, layers.acceleration.force-enabled moved to gfxPrefs. r=clord 2014-02-26 21:53:27 -05:00
L. David Baron
dfb9ad9186 Bug 976350 patch 1: Move the contents of nsTraceRefcnt.h into nsISupportsImpl.h. r=bsmedberg
This makes sense since the file no longer contains anything with the
nsTraceRefcnt name in it, and it will allow renaming nsTraceRefcntImpl
back to nsTraceRefcnt.
2014-02-26 13:36:35 -08:00
Wes Kocher
1282000702 Backed out 12 changesets (bug 958596) for several Android permafails to fix a CLOSED TREE
Backed out changeset e4c0e3d3a768 (bug 958596)
Backed out changeset 7bc4f48d6b05 (bug 958596)
Backed out changeset 89cd12e3db45 (bug 958596)
Backed out changeset 283411053340 (bug 958596)
Backed out changeset 5329fa8c8847 (bug 958596)
Backed out changeset 0d1d26d588e3 (bug 958596)
Backed out changeset 715fe9eb5dfd (bug 958596)
Backed out changeset 66dde9d67ffa (bug 958596)
Backed out changeset 79e589f75065 (bug 958596)
Backed out changeset 1ed4c880ab70 (bug 958596)
Backed out changeset 1d40b0b8036d (bug 958596)
Backed out changeset ad35d51d9781 (bug 958596)
2014-02-25 18:34:47 -08:00
Botond Ballo
d9ee73dc9d Bug 958596 - Print ScrollableLayerGuids of APZCs when printing the tree. r=kats
--HG--
extra : amend_source : 11e8919bbe6c3ac9e28663cc5d4ab9a20aeef896
2014-02-25 19:35:06 -05:00
Botond Ballo
6598eb3605 Bug 958596 - Print the APZC tree for debugging. r=kats 2014-01-22 15:09:03 -05:00
Botond Ballo
bf9ca02460 Bug 958596 - Add a content description field to FrameMetrics and populate it if the apz.printtree pref is on. r=kats,tn 2014-01-22 16:37:57 -05:00
Ed Morley
afee079378 Backed out changeset a29e486e2214 (bug 958596) 2014-02-25 17:17:02 +00:00
Ed Morley
37101405ae Backed out changeset 7a16622e6b38 (bug 958596) 2014-02-25 17:16:59 +00:00
Ed Morley
35a77da61e Backed out changeset 63d96f3e3e42 (bug 958596) 2014-02-25 17:16:52 +00:00
Botond Ballo
4f03179492 Bug 958596 - Print ScrollableLayerGuids of APZCs when printing the tree. r=kats
--HG--
extra : rebase_source : cc3688109bb8a8a074e24b2f0268fdc556f05c1f
2014-02-25 10:56:46 -05:00
Botond Ballo
445a53b951 Bug 958596 - Print the APZC tree for debugging. r=kats
--HG--
extra : rebase_source : bac86951246ba92f983a2ced3f7079143b5d42a1
2014-01-22 15:09:03 -05:00
Botond Ballo
1d1bf83ff4 Bug 958596 - Add a content description field to FrameMetrics and populate it if the apz.printtree pref is on. r=kats,tn
--HG--
extra : rebase_source : f009ad9d779fb1a3afa525fe7e5eb3a399aee628
2014-01-22 16:37:57 -05:00
Carsten "Tomcat" Book
60446c5e55 Merge mozilla-central to mozilla-inbound 2014-02-25 15:18:06 +01:00
Benoit Jacob
1ecd039ca4 Bug 974356 - 4/4 - make CreateIPDLActor error out if TextureParent::Init() failed - r=nical 2014-02-25 08:12:50 -05:00
Benoit Jacob
5347606301 Bug 974356 - 3/4 - Make TextureHost::CreateIPDLActor check for bad MemoryTextures - r=nical 2014-02-25 08:12:49 -05:00
Sotaro Ikeda
c0ff94d478 Bug 957323 - Handle android's fence on gonk r=nical,doublec,pchang 2014-02-24 20:23:41 -08:00
Mason Chang
709b458cbc Bug 917416 - Make App Renderframe Opaque. r=roc 2014-02-24 10:09:55 -05:00
Ehsan Akhgari
067fa188b6 Bug 935778 - Part 0.2: Spray some MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree 2014-02-20 21:33:49 -05:00
Benoit Jacob
fa38812d80 Bug 971695 - 2/2 - make YCbCrImageDataSerializer check data size - r=nical 2014-02-20 16:04:13 -05:00
Benoit Jacob
fb744ce009 Bug 971695 - 1/2 - make ImageDataSerializer check data size - r=nical 2014-02-20 16:04:11 -05:00
Benoit Jacob
b9dfe856c4 Bug 971678 - Validate the compositable type in SetCompositableHost - r=nical 2014-02-20 15:07:04 -05:00
Benoit Jacob
2452416427 Bug 968833 - 2/2 - ThebesLayerComposite should be TYPE_THEBES, not TYPE_SHADOW - r=nical 2014-02-20 11:41:04 -05:00
Benoit Jacob
833c2733e9 Bug 967330 - UpdateThebes should fail gracefully instead of aborting - r=nical 2014-02-20 08:05:32 -05:00
Benoit Jacob
58170e7e65 Bug 967824 - Make SetCompositableHost gracefully handle errors instead of just aborting - r=nical 2014-02-20 08:05:30 -05:00
Tom Schuster
ac951e8537 Bug 973227 - Add a new X11TextureSourceOGL for upload x11 pixmaps to textures. r=nical 2014-02-18 01:30:05 +01:00
Tom Schuster
4427acfe3d Bug 973227 - Split up TextureHostX11 into TextureSource and TextureHost file, make it backend independent. r=nical
--HG--
rename : gfx/layers/basic/TextureHostX11.cpp => gfx/layers/basic/X11TextureSourceBasic.cpp
rename : gfx/layers/basic/TextureHostX11.h => gfx/layers/basic/X11TextureSourceBasic.h
rename : gfx/layers/basic/TextureHostX11.cpp => gfx/layers/composite/X11TextureHost.cpp
rename : gfx/layers/basic/TextureHostX11.h => gfx/layers/composite/X11TextureHost.h
2014-02-18 01:30:05 +01:00
Matt Woodrow
b5987bbf40 Bug 889959 - Don't clear compositor when detaching compositables. r=nical 2014-02-17 11:24:08 +13:00
Phil Ringnalda
71b27f8c88 Backed out 3 changesets (bug 972703, bug 889959) for build failures and crashes
CLOSED TREE

Backed out changeset ef3d90780478 (bug 972703)
Backed out changeset 34c95e937671 (bug 889959)
Backed out changeset 5e25912d6696 (bug 889959)
2014-02-16 15:17:01 -08:00
Matt Woodrow
5c5e3de5e8 Bug 889959 - Don't clear compositor when detaching compositables. r=nical 2014-02-17 11:24:08 +13:00
Sotaro Ikeda
abff10a46a Bug 972623 - Call SetCompositableBackendSpecificData() in ImageHost::Composite() r=nical 2014-02-15 17:00:16 -08:00
Ryan VanderMeulen
0e311b4331 Merge m-c to b2g-inbound. 2014-02-13 10:32:21 -05:00
Sotaro Ikeda
ccd1c78ece Bug 946720 - Enable new textures at ContentClient/ContentHost classes on gonk. r=nical 2014-02-13 09:46:59 -05:00
Sotaro Ikeda
c11af41305 Bug 968872 - Remove TEXTURE_DEALLOCATE_DEFERRED flag. r=nical 2014-02-12 09:54:23 -05:00
Benoit Girard
fd8eb83796 Bug 963821 - Port FPS counter to the Compositor API. r=bas
--HG--
rename : gfx/layers/opengl/FPSCounter.h => gfx/layers/composite/FPSCounter.h
2014-02-10 17:14:11 -05:00
Matt Woodrow
5179f9a16e Bug 966679 - Resolve RefLayers during IPDL transactions. r=nical 2014-02-11 17:01:20 +13:00
Sotaro Ikeda
95e52e8e66 Bug 962101 - Handle Remove Texture in Compositable level. r=nical 2014-02-10 15:52:35 -05:00
Kartikaya Gupta
7177ac6b0f Bug 965593 - Flush repaints along the entire overscroll handoff chain on touch-end. r=botond 2014-02-07 14:11:32 -05:00
Sotaro Ikeda
c3d6dbc65c Bug 966446 - Handle GrallocBufferActor::ActorDestroy for new texture. r=nical 2014-02-06 20:32:29 -05:00
Ryan VanderMeulen
7549943bac Merge m-c to inbound. 2014-02-12 15:58:22 -05:00
Benoit Girard
8ee5fc432a Bug 971875 - Fix regression to HWC on b2g. r=sotaro
--HG--
extra : rebase_source : 8aaa3818d1dbfe1e07137010a7734a2da8dc3379
2014-02-12 15:25:52 -05:00
Nicolas Silva
37d70d06f6 Bug 966528 - Use a specific IPDL message for component alpha. r=mattwoodrow 2014-02-06 12:28:29 +01:00
David Anderson
a8ca8f8336 Bug 947045 - Use Xlib surfaces in basic compositor (r=mattwoodrow) 2014-02-05 08:39:02 -08:00