Mike Hommey
a65383e1e9
Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
...
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
8ceb917350
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
bb6779efe3
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
d7b6f95761
Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps
2013-11-19 11:47:14 +09:00
Wes Kocher
ed9b536ced
Merge fx-team to m-c on a CLOSED TREE
2013-11-18 18:25:57 -08:00
Jim Mathies
9a245fe292
Bug 937185 - Discard old apzcs if the ScrollableLayerGuid is updated. r=kats
2013-11-18 09:14:08 -06:00
Anthony Jones
94419545df
Bug 899154 - Disable dropping resolution during fling; r=kats
2013-11-15 11:12:03 +13:00
Benoit Jacob
877d71ca5f
Bug 938970 - 5/5. Switch gfx/layers to UNIFIED_SOURCES - r=ehsan,mattwoodrow
2013-11-17 21:07:08 -05:00
Benoit Jacob
45d86c800b
Bug 938970 - 4/5. Some gralloc-related tweaks required to build with UNIFIED_SOURCES - r=Bas
2013-11-17 21:06:25 -05:00
Benoit Jacob
ac3ababc4b
Bug 938970 - 3/5. Some d3d tweaks needed to build with UNIFIED_SOURCES - r=Bas
2013-11-17 21:06:23 -05:00
Benoit Jacob
cc5dec6997
Bug 938970 - 2/5. Add more namespace qualifiers in gfx/layers code to avoid ambiguous namespace resolution - r=mattwoodrow
2013-11-17 21:06:21 -05:00
Benoit Jacob
803a8cae35
Bug 938970 - 1/5. Move MacIOSurfaceTexture* classes to separate files, minimize the number of cpp files including MacIOSurface.h - r=mattwoodrow
2013-11-17 21:04:38 -05:00
Benoit Girard
87d3e1cc22
Bug 936511 - Add layers.dump to dump layer tree. r=bas,nrc
2013-11-17 16:47:40 -05:00
Ehsan Akhgari
28945cc676
Bug 938134 - Build widget/xpwidgets in unified mode; r=roc
...
--HG--
rename : widget/shared/WidgetUtils.cpp => widget/shared/SharedWidgetUtils.cpp
2013-11-17 14:03:55 -05:00
Nicholas Cameron
27a1b501f8
Bug 907463. Dealloc shmem on ActorDestroy. r=nical
2013-09-27 21:48:42 +12:00
Robert O'Callahan
151d25e50f
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
45532de9d3
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
6929a01f36
Bug 937878 - Don't let too many ContentHostIncremental updates queue up. r=nrc
2013-11-15 12:56:42 +13:00
Michael Wu
e00f620c90
Bug 892285 - Only unlock gralloc surfaces if they were locked, r=bas
2013-11-15 12:50:00 -05:00
Benoit Jacob
5480ece61e
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
25f4dc9657
Merge m-c to inbound on a CLOSED TREE.
2013-11-14 20:58:52 -05:00
Ryan VanderMeulen
b435761165
Merge b2g-inbound to m-c on a CLOSED TREE.
2013-11-14 20:57:32 -05:00
Nicholas Cameron
7fc18f7edd
Fix bustage from bug 915940 on a CLOSED TREE. r=me
2013-11-15 11:13:53 +13:00
Nicholas Cameron
eb5956cf6d
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
86f61558f5
Bug 937274 - Fix a crash in GestureEventListener::HandlePinchGestureEvent(). r=kats
2013-10-18 17:13:26 -04:00
Kartikaya Gupta
ba43207cb5
Bug 937130 - Fix up threading and locking in APZCTreeManager. r=botond
2013-11-12 11:56:57 -05:00
Kartikaya Gupta
034ad3ff16
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
bbe2da67fa
Bug 937896 - Fix a compiler error. r=bustage. CLOSED TREE
2013-11-14 15:11:53 -05:00
Botond Ballo
734fe0273b
Bug 937896 - Remove unwanted zoom in APZC::NotifyLayersUpdated(). r=kats
2013-11-13 14:13:40 -05:00
Kartikaya Gupta
957513aad5
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
68ac5db5f0
Bug 937688 - Make UpdateZoomConstraints take a full ScrollableLayerGuid. r=botond
2013-11-14 12:35:41 -05:00
Kartikaya Gupta
d633046f99
Bug 937688 - Move ScrollableLayerGuid from APZCTreeManager.h to FrameMetrics.h. r=botond
2013-11-13 13:20:31 -05:00
Kartikaya Gupta
76d24cb5b9
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
e56e0deec6
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
964c2b5459
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
fb39baa8f1
Bug 937129 - Fix some concurrency issues in APZCTM::HandleOverscroll. r=kats
2013-11-11 12:06:33 -05:00
David Anderson
159a927b97
Support 3D transforms in the basic compositor (bug 935265, r=mattwoodrow).
2013-11-11 15:53:29 -08:00
Nicholas Cameron
4af005d21d
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
db084e1b8a
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
1979aaa5df
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
920d64e17b
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
386e502056
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
b2e18a1ffc
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
bb0dd83bc0
Bug 929471. Make CGLTexImageIOSurface2D take a CGLContextObj instead of a NSOpenGLContext. r=bgirard
2013-11-07 22:53:54 -05:00
Matt Brubeck
490e7172a5
Bug 927033 - Always decrement mTouchCount on touchend/cancel [r=kats]
2013-11-07 13:12:33 -08:00
Matt Brubeck
f4ba5a4319
Bug 927033 - Refactor some duplicate code in APZCTreeManager [r=kats]
2013-11-07 13:11:34 -08:00
Matt Brubeck
d7a704d08f
Bug 927033 - Don't reset mApzcForInputBlock until all touches are gone [r=kats]
2013-11-07 13:10:29 -08:00
Matt Woodrow
19816190f1
Bug 35380 - Part 5: Remove aOffset from everywhere. r=nrc
2013-11-07 22:53:08 +13:00
Matt Woodrow
37b891a516
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
accb417824
Bug 935380 - Part 3: Make CompositingRenderTarget store it's origin. r=nrc
2013-11-07 22:53:08 +13:00
Matt Woodrow
613408a7f4
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
92246b6bed
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
2ae2400b0f
Merge b2g-inbound to m-c
2013-11-06 18:20:55 -08:00
Wes Kocher
723c3d7877
Merge inbound to m-c
2013-11-06 18:10:46 -08:00
Ryan VanderMeulen
7cbe050b01
Merge m-c to b2g-inbound.
2013-11-06 15:00:25 -05:00
Ryan VanderMeulen
32c62ef669
Merge inbound to m-c.
2013-11-06 14:24:58 -05:00
Sotaro Ikeda
12e4f4dba9
Bug 934106 - Reduce ImageClient holding video frame number to one. r=nical
2013-11-06 12:32:12 -05:00
Chris Lord
4724d61b50
Bug 881451 - Remove unused members of TiledLayerProperties. r=BenWa
2013-11-06 13:42:02 +00:00
Matt Brubeck
c8ae5cbe5d
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
200939b5bc
Merge m-c to inbound.
2013-11-06 14:59:07 -05:00
David Anderson
a7d34bdd35
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
367bda0c4e
Merge m-c to inbound
2013-11-04 21:22:23 -08:00
Wes Kocher
e6aeda0671
Merge inbound to m-c
2013-11-04 21:09:17 -08:00
Matt Woodrow
c46a2c2c8d
Bug 923434 - Use DrawSurface in ThebesLayerBuffer instead of FillRect. r=Bas
2013-11-05 17:50:57 +13:00
Matt Woodrow
4471a645dc
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
Wes Kocher
faf6d0ae9f
Backed out changeset bad6c063b01f (bug 932274) for build bustage
2013-11-04 14:40:50 -08:00
Benoit Girard
57a59ee820
Bug 930476 - Show paint markers for async frames. r=ehsan
2013-11-04 17:04:51 -05:00
David Zbarsky
c848a3f8c1
Bug 932274: Use Moz2D size classes in ipdl r=nical
2013-11-04 16:43:10 -05:00
Kartikaya Gupta
dd5fcb7f5c
Bug 934439 - Add an APZC_LOG line for UpdateScrollOffset. r=botond
2013-11-04 21:30:10 -05:00
Ryan VanderMeulen
7eed90bd8f
Merge m-c to b2g-inbound.
2013-11-04 16:32:13 -05:00
Botond Ballo
42c1f6350b
Bug 932525 - Better naming for some transformation matrix variables. r=kats
2013-10-31 14:44:33 -04:00
Botond Ballo
1f7853ecd1
Bug 932525 - Do APZC hit testing using the layer's screen coordinates rather than layer coordinates. r=kats
2013-10-30 15:58:25 -04:00
Nathan Froyd
a418387f4c
Bug 918651 - part 9 - remove useless includes from IPDL files; r=ehsan
...
These includes are no longer needed. It's much easier to locate these
includes when they're not obscured by a bunch of other stuff.
2013-10-18 14:47:04 -04:00
Nathan Froyd
cabc180073
Bug 918651 - part 8 - remove redundant includes from IPDL files; r=ehsan
...
These include statements have been made redundant by all the qualifications
to the using statements.
2013-10-18 13:34:08 -04:00
Nathan Froyd
7fd67649fc
Bug 918651 - part 7b - fix Layers{Surfaces,Messages}.ipdlh header bootlegging; rs=ehsan
...
LayersSurfaces.ipdlh declares itself as |using| a bunch of types that only
get used in LayersMessages.ipdlh. Since intelligent include-placing
recognizes that these types are not used in LayersSurfaces.h, the necessary
header lines get left out of the generated LayersSurfaces.h, leading to
compilation problems on some platforms. Fix this by moving the appropriate
lines to LayersMessages.ipdlh.
2013-10-19 12:09:59 -04:00
Nathan Froyd
ad3ed9e5be
Bug 918651 - part 5 - qualify all IPDL using statements with required header; r=ehsan
2013-10-01 15:25:07 -04:00
Nathan Froyd
987974138d
Bug 918651 - part 1 - remove unnecessary using statements from IPDL files; r=ehsan
2013-10-18 14:48:13 -04:00
Mike Hommey
718ee10d1e
Bug 932618 - Use NO_PROFILE_GUIDED_OPTIMIZE to disable PGO for individual files. r=gps
2013-11-02 08:42:53 +09:00
Ed Morley
b0b384ebfc
Backed out changeset f24ee0606ea6 (bug 926128) for reftest failures on OS X & crashes on B2G on a CLOSED TREE
2013-11-01 15:51:32 +00:00
Andreas Gal
07faf96a6d
Bug 926128 - Use a single configurable shader in OpenGL layers backend. r=vlad, r=nical
2013-11-01 09:29:20 -04:00
Ed Morley
18f728e61d
Merge mozilla-central and inbound
2013-11-01 13:18:19 +00:00
Ed Morley
a5ba3dddeb
Merge latest green b2g-inbound changeset and mozilla-central
2013-11-01 13:14:45 +00:00
Benoit Jacob
3e1407af64
Bug 886219 - Avoid introducing a global constructor with the ImageBridgeParent singleton - r=nical
2013-11-01 07:34:40 -04:00
Fabrice Desré
1d9cff071b
Bug 914843 - fix gfx issue on oop b2g linux. r=nrc
2013-10-31 23:36:02 -07:00
Ryan VanderMeulen
b3ebc15f66
Merge m-c to inbound on a CLOSED TREE.
2013-10-30 22:42:13 -04:00
Kartikaya Gupta
843874866f
Bug 906877 - Remove code obsoleted by multi-apzc. r=BenWa, vingtetun
...
Now that we have multi-APZC landed, we don't need BrowserElementPanning
to detect when it's about to scroll a subframe and let APZC know. So
the two messages involved in this can be completely removed.
2013-10-30 17:06:15 -04:00
Kartikaya Gupta
189805593c
Bug 732971 - For Fennec move the resolution from the top-level presShell to the content presShell. r=BenWa
...
The bulk of this patch is fixing up pieces of code that infer the resolution
as the inverse of the scaling transform on the root layer. This used to be
how various bits of gfx code obtained the resolution, but now that we can set
the resolution on the actual presShell that contains the content, we can also
just read the resolution from the FrameMetrics directly.
2013-10-29 09:27:50 -04:00
Chris Peterson
5b357a9c10
Bug 931669 - Fix -Wsign-compare warning in Axis.cpp. r=botond
2013-10-27 01:11:18 -07:00
Matt Woodrow
9731cb7c16
Bug 934860 - Move paint region clipping into DrawThebesLayer. r=roc
2013-11-07 08:10:50 +13:00
Kartikaya Gupta
2b69a5c7c5
Bug 935593 - Remove an incorrect input event transformation. r=jimm
2013-11-06 12:49:00 -05:00
Dale Harvey
4b71d7523d
Bug 915645 - Allow single taps to occur longer than MAX_TAP_TIME. r=kats
2013-10-28 15:46:40 +00:00
Phil Ringnalda
a1f80ad10b
Back out f872d288480b:9b86b4e60b29 (bug 929513) for failing to build on Windows
...
CLOSED TREE
2013-10-27 15:38:40 -07:00
David Zbarsky
fd4a9f4426
Bug 929513 Part 11: Convert ImageLayer's mScaleToSize to use LayerIntSize r=nical
2013-10-27 17:53:29 -04:00
David Zbarsky
2efa410faa
Bug 929513 Part 10: Convert ScreenSizeChanged to use gfx::IntSize r=nical
2013-10-27 17:53:28 -04:00
David Zbarsky
ce383bf9cd
Bug 929513 Part 9: Convert AllocPGrallocBufferActor to use gfx::IntSize r=nical
2013-10-27 17:53:28 -04:00
David Zbarsky
0e6507afa8
Bug 929513 Part 7: Convert CreateBasicTextureImage to Moz2D r=nical
2013-10-27 17:53:28 -04:00
David Zbarsky
9ab6005880
Bug 929513 Part 6: Some more cleanup r=nical
2013-10-27 17:53:28 -04:00
David Zbarsky
f001961e50
Bug 929513 Part 5: Use LayerIntSize for CanUseCanvasLayerForSize r=nical
2013-10-27 17:53:27 -04:00
David Zbarsky
29b47cdd19
Bug 929513 Part 4: Remove some unused gfxIntSize overloads r=nical
2013-10-27 17:53:27 -04:00
David Zbarsky
8ce46e2762
Bug 929513 Part 3: Use some LayerIntSize in gfx/layers r=nical
2013-10-27 17:53:27 -04:00