Commit Graph

2835 Commits

Author SHA1 Message Date
Robert O'Callahan
a9af781aaa Bug 938316. Work around fractional texture resampling issues by switching to NEAREST sampling when we're doing a pixel-aligned compositing operation. r=jrmuizel
--HG--
extra : rebase_source : ec49c8c8993af402a24b57efbaea743d39dcd89c
2013-11-13 23:56:11 +13:00
Robert O'Callahan
b31c87b26b Bug 937987. Don't use lowp for texture coordinates. Only use it for colors. r=bjacob
--HG--
extra : rebase_source : 9dd8bcebb8b8ef3666f4deae1b1c49dc89bc4486
2013-11-13 17:45:19 +13:00
Matt Woodrow
df034c7574 Bug 937878 - Don't let too many ContentHostIncremental updates queue up. r=nrc 2013-11-15 12:56:42 +13:00
Michael Wu
55d15f2463 Bug 892285 - Only unlock gralloc surfaces if they were locked, r=bas 2013-11-15 12:50:00 -05:00
Benoit Jacob
49366dcf8c Bug 937204 - 3/3. Kill GfxInfoThread. Instead, get GL strings from the compositor - r=kats,jrmuizel 2013-11-15 11:28:43 -05:00
Ryan VanderMeulen
f90de9eccd Merge m-c to inbound on a CLOSED TREE. 2013-11-14 20:58:52 -05:00
Ryan VanderMeulen
ab53bf3ef7 Merge b2g-inbound to m-c on a CLOSED TREE. 2013-11-14 20:57:32 -05:00
Nicholas Cameron
b7b3ca15bd Fix bustage from bug 915940 on a CLOSED TREE. r=me 2013-11-15 11:13:53 +13:00
Nicholas Cameron
d1aab0c912 Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow This might even help diagnose the problems causing a CLOSED TREE. 2013-11-15 10:54:25 +13:00
Botond Ballo
b158af9af4 Bug 937274 - Fix a crash in GestureEventListener::HandlePinchGestureEvent(). r=kats 2013-10-18 17:13:26 -04:00
Kartikaya Gupta
cc698c25b3 Bug 937130 - Fix up threading and locking in APZCTreeManager. r=botond 2013-11-12 11:56:57 -05:00
Kartikaya Gupta
5911da4a8a Bug 934420 - Try to preserve the right APZC in the face of layer tree changes. r=botond 2013-11-14 15:35:30 -05:00
Botond Ballo
d48fdb5dd0 Bug 937896 - Fix a compiler error. r=bustage. CLOSED TREE 2013-11-14 15:11:53 -05:00
Botond Ballo
522b1cd18e Bug 937896 - Remove unwanted zoom in APZC::NotifyLayersUpdated(). r=kats 2013-11-13 14:13:40 -05:00
Kartikaya Gupta
3d2dfca62e Bug 937688 - Make UpdateCompositionBounds affect all of the root APZCs for the layers id. r=botond 2013-11-14 12:35:41 -05:00
Kartikaya Gupta
0aa34abca6 Bug 937688 - Make UpdateZoomConstraints take a full ScrollableLayerGuid. r=botond 2013-11-14 12:35:41 -05:00
Kartikaya Gupta
0ee64fe351 Bug 937688 - Move ScrollableLayerGuid from APZCTreeManager.h to FrameMetrics.h. r=botond 2013-11-13 13:20:31 -05:00
Kartikaya Gupta
7458d8fad1 Bug 937688 - Make APZCTM::UpdateCompositionBounds explicitly operate on the root APZC for a layer tree. r=botond 2013-11-13 13:20:31 -05:00
Kartikaya Gupta
2180719bf3 Bug 937688 - Pass the presShellId and viewId from TabChild to RenderFrameParent when updating zoom constraints. r=botond 2013-11-13 13:20:30 -05:00
Kartikaya Gupta
b96b82c875 Bug 927954 - Adding rendertrace logging to the APZ code. r=botond
To use this logging, enable the #define at the top of
AsyncPanZoomController.cpp, run through the scenario you wish
to trace and collect the logs, and then paste them into the
textarea on the page at github.com/staktrace/rendertrace/.
2013-11-12 19:03:27 -05:00
Botond Ballo
38553bd9e2 Bug 937129 - Fix some concurrency issues in APZCTM::HandleOverscroll. r=kats 2013-11-11 12:06:33 -05:00
David Anderson
1610801da8 Support 3D transforms in the basic compositor (bug 935265, r=mattwoodrow). 2013-11-11 15:53:29 -08:00
Nicholas Cameron
d5a16985b4 Bug 934250. Ensure we have a buffer-on-white before using it (ThebesLayerBuffer). r=mattwoodrow 2013-11-11 10:30:51 +13:00
Jim Mathies
be2f3bd4e2 Bug 918273 - Add an apzc tree manager helper for translating device to gecko coordinate space, and use it when sending events to the dom in cases where content is consuming touch. r=kats 2013-11-10 10:43:18 -06:00
Jim Mathies
18fbf3543f Bug 918273 - Pass back the target scrollable layer id from apzc event methods. r=kats 2013-11-10 10:43:17 -06:00
Kartikaya Gupta
6b0f142e83 Bug 902505 - Adjust the hit-test and input transformations in APZCTreeManager to be more correct. r=botond 2013-11-08 13:56:31 -05:00
Kartikaya Gupta
77617e3aff Bug 935624 - Update various properties on the FrameMetrics on a layers update. r=botond
In particular, in the case with nested APZCs, the parent APZC might request
a repaint at a different resolution, and the child APZC might only find out
about it when the call to NotifyLayersUpdated comes in. At this point the
child APZC must pick up the new values of various properties in order to
remain consistent with the state in gecko and the parent APZC
2013-11-08 11:23:47 -05:00
Kartikaya Gupta
1e20a9603e Bug 935624 - Kill SetZoomAndResolution because the APZC should not touch the mResolution or mCumulativeResolution. r=botond 2013-11-08 11:23:46 -05:00
Jeff Muizelaar
9344e3053c Bug 929471. Make CGLTexImageIOSurface2D take a CGLContextObj instead of a NSOpenGLContext. r=bgirard 2013-11-07 22:53:54 -05:00
Matt Brubeck
ee462a968a Bug 927033 - Always decrement mTouchCount on touchend/cancel [r=kats] 2013-11-07 13:12:33 -08:00
Matt Brubeck
57e61daadc Bug 927033 - Refactor some duplicate code in APZCTreeManager [r=kats] 2013-11-07 13:11:34 -08:00
Matt Brubeck
cac3956706 Bug 927033 - Don't reset mApzcForInputBlock until all touches are gone [r=kats] 2013-11-07 13:10:29 -08:00
Matt Woodrow
af9108eea2 Bug 35380 - Part 5: Remove aOffset from everywhere. r=nrc 2013-11-07 22:53:08 +13:00
Matt Woodrow
c5ad2001e3 Bug 935380 - Part 4: Make the Compositors use the RenderTarget's origin instead of aOffset. r=nrc 2013-11-07 22:53:08 +13:00
Matt Woodrow
8cd4853004 Bug 935380 - Part 3: Make CompositingRenderTarget store it's origin. r=nrc 2013-11-07 22:53:08 +13:00
Matt Woodrow
73c776bcd2 Bug 935380 - Part 2: Pass the actual rect that the RenderTarget represents as the first parameter to CreateRenderTarget. r=nrc 2013-11-07 22:53:07 +13:00
Matt Woodrow
6ed4f9ac18 Bug 935380 - Part 1: Remove INIT_MODE_COPY since it was invalid for callers to use it. r=nrc 2013-11-07 22:53:07 +13:00
Wes Kocher
9d979344d8 Merge b2g-inbound to m-c 2013-11-06 18:20:55 -08:00
Wes Kocher
29edb85b2f Merge inbound to m-c 2013-11-06 18:10:46 -08:00
Ryan VanderMeulen
511de9eb44 Merge m-c to b2g-inbound. 2013-11-06 15:00:25 -05:00
Ryan VanderMeulen
267f1bd85e Merge inbound to m-c. 2013-11-06 14:24:58 -05:00
Sotaro Ikeda
186371b1b2 Bug 934106 - Reduce ImageClient holding video frame number to one. r=nical 2013-11-06 12:32:12 -05:00
Chris Lord
4a7fa8225d Bug 881451 - Remove unused members of TiledLayerProperties. r=BenWa 2013-11-06 13:42:02 +00:00
Matt Brubeck
acbe123ece Bug 934750 - Don't cancel content touch events unless APZC consumes them [r=jimm,kats]
This is necessary for our "cross-slide" hack to work.  We need to send
input to both content and APZC until the input passes the pan threshold, so
that the start page can use touch events without disabling async panning.

In the long run we hope to use "touch-action: pan-x" for this and no longer
rely on this hack.
2013-11-06 12:06:46 -08:00
Ryan VanderMeulen
8a107c2154 Merge m-c to inbound. 2013-11-06 14:59:07 -05:00
David Anderson
91894cb959 Don't copy surfaces in DeprecatedTextureHostBasic::Lock (bug 935641, r=mattwoodrow).
--HG--
extra : rebase_source : e97318912cc295b6b1dc5027eba1690e42d24003
2013-11-06 11:55:58 -08:00
Wes Kocher
d3d614d652 Merge m-c to inbound 2013-11-04 21:22:23 -08:00
Wes Kocher
32a09c5f75 Merge inbound to m-c 2013-11-04 21:09:17 -08:00
Matt Woodrow
56073d6b1a Bug 923434 - Use DrawSurface in ThebesLayerBuffer instead of FillRect. r=Bas 2013-11-05 17:50:57 +13:00
Matt Woodrow
d983ecfd5c Bug 923434 - Don't use operator source for D2D in ThebesLayerBuffer since it's slower. r=Bas 2013-11-05 17:50:56 +13:00