Commit Graph

517 Commits

Author SHA1 Message Date
Sotaro Ikeda
f0adcd4de5 Bug 977880 - Handle ReleaseFence on tiled thebes layer r=cwiiis,nical,BenWa 2014-03-26 18:01:15 -07:00
Botond Ballo
1def2233a2 Bug 987993 - Change name of ThebesLayerComposite back to 'ThebesLayerComposite'. r=bjacob 2014-03-25 17:12:31 -04:00
Nicolas Silva
57a2a68d6e Bug 984338 - Add a pref to flash layer borders when they are created. r=jrmuizel 2014-03-25 17:54:39 +01:00
Chris Lord
6d09001341 Bug 983208 - Fix progressive tile update calculations. r=botond
A lot of this code used incorrect coordinate spaces or calculations that only
worked because things were setup in a certain way. Now that the input data is
more consistently correct and things have changed slightly, this code no
longer worked.

This patch reworks things to use what I think are the correct coordinate
spaces and calculations, and should hopefully be less prone to breakage.
2014-03-22 09:17:54 +00:00
Phil Ringnalda
15060c53d3 Back out 87e39d7d851a (bug 984796) for printfing like log size is infinite
CLOSED TREE
2014-03-21 19:49:15 -07:00
Bas Schouten
8294a52e33 Bug 984796: Fix some small errors in path flattening code. r=jwatt 2014-03-22 00:55:36 +01:00
Chadd Williams
1035df8afc Bug 980493 - Transition FrameMetrics::mScrollId to use a getter/setter. r=botond
--HG--
extra : histedit_source : 1c84496d4b61f019e6e6cc24591ee3a10434e4cc
2014-03-21 17:48:08 -04:00
Nicolas Silva
2dd050e551 Bug 984437 - Remove GrallocDeprecatedTextureHostOGL. r=sortaro 2014-03-19 18:21:44 +01:00
Botond Ballo
bc8063690b Bug 985185 - Identify scroll info layers in the APZC tree log. r=tn
--HG--
extra : rebase_source : 2efbeeff51ea6d1dc0888c0e5f34e3c36168fd63
2014-03-18 16:15:11 -04:00
Matt Woodrow
6b13a12165 Bug 982318 - Add TransformBounds to Matrix4x4 so that we can stop assuming 2d matrices in TiledContentHost. r=Bas 2014-03-18 12:06:23 +08:00
Sotaro Ikeda
c50c5a7897 Bug 974152 - Use FrameBuffer's Acquire Fence as Layer buffer's ReleaseFence on gonk r=sushil,nical 2014-03-17 18:36:56 -07:00
Kyle Huey
df0e7828eb Bug 981150: Use nsTArrayForwardDeclare.h more. r=ehsan 2014-03-15 12:00:17 -07:00
Chris Lord
fdd8a5aa56 Bug 982651 - Make sure to retain the frame resolution of tiled buffers. r=nical
Make sure the frame resolution of tiled buffers isn't discarded when they're
sent from client-side to host-side. This fixes drawing of low precision tiles
when the zoom has changed since they were last drawn.
2014-03-14 13:36:33 +00:00
Botond Ballo
81f6add29a Bug 980493 - Transition FrameMetrics::mZoom to use a getter/setter. r=kats 2014-03-12 12:46:57 -04:00
Botond Ballo
c169aeed9c Bug 980493 - Transition FrameMetrics::mScrollOffset to use a getter/setter. r=kats 2014-03-13 02:34:34 -04:00
Bas Schouten
b9b7914cfe Bug 981315: Add ShmemSection and use it for gfxShmSharedReacLock. r=gal 2014-03-13 06:17:05 +01:00
Bas Schouten
048bec3c9f Bug 982275 - Followup: Fix some compiler warnings that were errors on gcc. r=bustage 2014-03-12 03:55:07 +01:00
Bas Schouten
8f4898dace Bug 982275 - Part 2: Add a pref for drawing layer-info inside layers. r=jrmuizel 2014-03-12 03:27:33 +01:00
Bas Schouten
0a2a30af07 Bug 982275 - Part 1: Add the ability to render text inside layers. r=jrmuizel 2014-03-12 03:27:30 +01:00
Nicolas Silva
3a04e42f86 Bug 981794 - Fix incorrect clipping of tiles. r=Bas 2014-03-11 23:19:01 +01:00
Botond Ballo
ff7c37b52e Bug 965871 - Implement overscroll handoff for flings. r=kats 2014-03-10 20:04:44 -04:00
Botond Ballo
ed721375c9 Bug 965871 - Document lock ordering in APZ. r=kats 2014-03-10 15:55:44 -04:00
Vladimir Vukicevic
4a91df6014 b=979489; Implement SimpleTiledContentClient and friends; r=jrmuizel 2014-03-10 14:34:57 -04:00
Vladimir Vukicevic
4646ced960 backout of rev 1a52e0063440 b=979489 2014-03-10 21:03:02 -04:00
Vladimir Vukicevic
6a1c3e6135 b=979489; Implement SimpleTiledContentClient and friends; r=jrmuizel 2014-03-10 14:34:57 -04:00
Kartikaya Gupta
a83d646cfb Bug 981800 - Kill the three-parameter version of ReceiveInputEvent since it is redundant. r=botond 2014-03-10 17:59:46 -04:00
Botond Ballo
70dfe7ab91 Bug 935219 - Fix composition bounds calculation and APZC hit testing (again). r=kats,tn
--HG--
extra : amend_source : 06c6bb658dfead6907250831bbe73fae6c20b45c
2014-03-10 17:56:59 -04:00
Ryan VanderMeulen
c990503a46 Merge m-c to inbound. 2014-03-10 11:29:15 -04:00
Morris Tseng
1bd061dc20 Bug 980821 - [LayerScope] mLayerRef doesn't output correct data. r=kamidphish 2014-03-10 08:36:31 -04:00
Robert O'Callahan
5f352be6e0 Bug 975931. Part 8: When we reduce a layer's shadow-visible-region due to opaque covering content, restore it after compositing to ensure it's correct if the opaque content isn't there next time. r=mattwoodrow
--HG--
extra : rebase_source : 72119bd17b0606af70b4f6dbf05cea631aa71e9a
2014-02-24 21:57:27 +13:00
Bas Schouten
bde06b3dca Bug 963073 - Merge tiling branch. r=Bas,jrmuizel,BenWa
http://hg.mozilla.org/users/bschouten_mozilla.com/tiling/summary

This work is mainly porting tiled layers to new textures, implementing
double-buffered tiles and implementing a texture client pool, to be used by
tiled content clients.

Any questions regarding this patch should go to:
Bas Schouten <bschouten@mozilla.com>
Chris Lord <clord@mozilla.com>
Nicolas Silva <nsilva@mozilla.com>

In their absence questions can be directed to:
Jeff Muizelaar <jmuizelaar@mozilla.com>
Benoit Girard <bgirard@mozilla.com>
2014-03-07 22:34:04 +01:00
Carsten "Tomcat" Book
2b75afa842 merge b2g-inbound to mozilla-central 2014-03-05 13:24:51 +01:00
Brian Birtles
32a6b5d8fd 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
85cf8dfa08 Bug 975146 - Do not use hw composer for screenshot r=bas 2014-03-04 14:36:52 -08:00
Botond Ballo
4faec9048a Bug 958596 - Print ScrollableLayerGuids of APZCs when printing the tree. r=kats 2014-01-22 18:44:59 -05:00
Botond Ballo
6348901654 Bug 958596 - Print the APZC tree for debugging. r=kats 2014-01-22 15:09:03 -05:00
Botond Ballo
59fc4de447 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
7d55b28a7d Bug 976717 - Pass the Framebuffer rectangle to be cleared to LayerComposite. r=ncameron 2014-02-27 11:07:34 -08:00
Milan Sreckovic
5c4cd11666 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
6d1dbe84a1 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
4f04bcdc57 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
26af0b1154 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
751d623b81 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
4f009b21ac Bug 958596 - Print the APZC tree for debugging. r=kats 2014-01-22 15:09:03 -05:00
Botond Ballo
d6421e976c 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
58117b43b2 Backed out changeset a29e486e2214 (bug 958596) 2014-02-25 17:17:02 +00:00
Ed Morley
dec24e3241 Backed out changeset 7a16622e6b38 (bug 958596) 2014-02-25 17:16:59 +00:00
Ed Morley
8ff65ad4c9 Backed out changeset 63d96f3e3e42 (bug 958596) 2014-02-25 17:16:52 +00:00
Botond Ballo
b6790ce62c 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
0fe1a59112 Bug 958596 - Print the APZC tree for debugging. r=kats
--HG--
extra : rebase_source : bac86951246ba92f983a2ced3f7079143b5d42a1
2014-01-22 15:09:03 -05:00