Commit Graph

3580 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
6969a9f3be merge b2g-inbound to mozilla-central 2014-03-05 13:24:51 +01:00
L. David Baron
365f5250f9 Bug 828173 patch 3: Add a concept of pending animations to Layer, like pending transform. r=mattwoodrow 2014-03-04 20:13:21 -08:00
L. David Baron
4bc85751cb Bug 828173 patch 2: Make Layer::AddAnimation have the caller fill in the data instead of taking parameters. r=mattwoodrow
(This is a bigger simplification later in the patch queue, when I add a
variant of AddAnimation called AddAnimationForNextTransaction.)
2014-03-04 20:13:21 -08: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
Ryan VanderMeulen
ed45530108 Merge inbound to m-c. 2014-03-03 17:00:34 -05:00
Milan Sreckovic
d719a6c5a4 Bug 971943: 5. Add float support to gfxPrefs. apz.max_event_acceleration, apz.fling_friction, apz.fling_stopped_threshold, apz.max_velocity_queue_size, apz.max_velocity_pixels_per_ms preferences moved to gfxPrefs. r=kgupta. 2014-03-03 11:53:21 -05:00
Ed Morley
738f300f74 Merge latest green b2g-inbound changeset and mozilla-central 2014-03-03 14:45:43 +00:00
Thomas Zimmermann
f65815cf66 Bug 978086: Fix initialization order in LayerRenderState, r=nical
C++ requires constructors to initialize fields in the order of the
fields' definitions.
2014-03-03 09:15:00 +01:00
Matt Woodrow
412ca024cc Bug 977891 - Move the ForceComposite message to PLayerTransaction so that we can identify the right compositor with e10s. r=nical 2014-03-03 13:59:58 +13:00
Ryan VanderMeulen
93c5eb1160 Merge m-c to b2g-inbound. 2014-02-28 10:16:37 -05:00
Carsten "Tomcat" Book
67109b9a5c merge b2g-inbound to mozilla-central 2014-02-28 14:42:11 +01:00
Ryan VanderMeulen
d8c7359358 Merge m-c to b2g-inbound. 2014-02-27 17:34:25 -05:00
Ryan VanderMeulen
47e286d04d Merge inbound to m-c. 2014-02-27 16:55:18 -05:00
Sotaro Ikeda
d4c5f44335 Bug 977596 - Fix build failure on flatfish r=jmuizelaar 2014-02-27 13:26:22 -08: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
Horia Iosif Olaru
c26db357b5 Bug 952051 - Change the GetOperator call in FlushGroup to take into account the mix-blend-mode operator for the group. r=roc
Create a new GetEffectiveOperator function that also takes into acount the mix-blend-mode operator for basic layers. Replace logic that chooses between the effective mix blend mode and the operator returned by GetOperator, with calls to this function.
2014-02-27 11:56:48 -05:00
Benjamin Bouvier
7a3e028e1e Bug 939843: Required changes in the rest of the tree; r=froydnj
--HG--
extra : rebase_source : 5757eb2b73755c8da08112b91b025a8fa860d7e8
2014-02-27 16:23:16 +01:00
L. David Baron
83913734c9 Bug 978495: Initialize mozilla::layers::TextureClientX11::mLocked. r=nical 2014-03-02 10:29:06 -08:00
Carsten "Tomcat" Book
ac78ac1ab1 Merge mozilla-central to b2g-inbound 2014-02-27 15:59:39 +01:00
Sotaro Ikeda
1d7fd44c1a Bug 975384 - Add pointer check to GrallocTextureHostOGL r=nical 2014-02-27 06:40:48 -08:00
Phil Ringnalda
30526870e0 Merge m-c to m-i 2014-02-26 21:28:10 -08:00
Ryan VanderMeulen
14f5637c5f Backed out changeset 0569a8a2f83d (bug 958727) for causing performance regressions. 2014-02-26 20:48:41 -05:00
Sotaro Ikeda
3f742d24e6 Bug 977393 - Fix build failure on gonk KK r=pchang 2014-02-26 17:46:34 -08:00
Ryan VanderMeulen
973641573f Merge m-c to b2g-inbound. 2014-02-26 16:43:08 -05:00
Sotaro Ikeda
7792cdd77e Bug 976766 - Clear layer's buffers when ClearCachedResources() r=nical 2014-02-26 13:41:17 -08:00
Sotaro Ikeda
7cc924bfb0 Bug 974629 - Add pointer check to TextureClient::Finalize() r=nical 2014-02-26 13:34:41 -08:00
Morris Tseng
ec58a2b65a Bug 975937 - Crash in mozilla::layers::ShaderProgramOGL::Activate(). r=gal 2014-02-26 09:04:47 -05:00
Carsten "Tomcat" Book
60446c5e55 Merge mozilla-central to mozilla-inbound 2014-02-25 15:18:06 +01:00
Carsten "Tomcat" Book
3d4f8f1aaf merge b2g-inbound to mozilla-central 2014-02-25 14:30:13 +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
Benoit Jacob
5941604c55 Bug 974356 - 2/4 - add an IsSameProcess method to ISurfaceAllocator - r=nical 2014-02-25 08:12:49 -05:00
Phil Ringnalda
761929bf63 Back out b157f5d0c235 (bug 974197) for b2g reftest-4 and reftest-6 failures
CLOSED TREE
2014-02-24 21:06:18 -08:00
Phil Ringnalda
e2d9d3bd7e Back out d0b4c5c28fb0 (bug 956993) for Android test failures
CLOSED TREE
2014-02-27 20:25:55 -08:00
James Willcox
6a8862bec2 Bug 956993 - Rely on OES_EGL_image_external for SharedSurface_EGLImage r=jgilbert 2014-02-27 20:48:38 -06:00
Matt Woodrow
541e0d0cbf Bug 970294 - Set our surface offset as a gfxContext device offset instead of a transform so that other callers don't accidentally overwrite it. r=nrc 2014-02-28 12:32:38 +13:00
Ryan VanderMeulen
af8c67273f Merge m-c to inbound on a CLOSED TREE. 2014-02-28 16:06:20 -05:00
Matt Woodrow
ec92f23916 Bug 971720 - Adjust the source pattern transform when masking with RotatedBuffer to take the mask transform into account. r=roc 2014-03-01 08:51:17 +13:00
Matt Woodrow
1916f43649 Bug 976877 - Don't simplify invalidation regions since it leads to poor results. r=roc 2014-03-01 08:49:05 +13:00
Milan Sreckovic
d10a7bc160 Bug 971943: 4. gfx.layerscope.port and gfx.layerscope.enabled moved to gfxPrefs. r=dglastonbury 2014-02-28 12:59:38 -05:00
Milan Sreckovic
588797fcdf Bug 971943: 2. webgl.force-layers-readback preference moved to gfxPrefs. r=gw280 2014-02-28 12:59:37 -05:00
Milan Sreckovic
e5117a25a9 Bug 971943: 1. Remove unused variable. r=me. 2014-02-28 12:59:35 -05:00
Sotaro Ikeda
616504a7bc Bug 975146 - Do not use hw composer for screenshot r=bas 2014-03-04 14:36:52 -08:00
Ben Kelly
672e111b8e Bug 977975: Improve composition thread warning debug. r=benwa 2014-03-04 14:41:24 -05: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
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