Botond Ballo
23f855d951
Bug 937274 - Fix a crash in GestureEventListener::HandlePinchGestureEvent(). r=kats
2013-10-18 17:13:26 -04:00
Kartikaya Gupta
8b6ebfe49e
Bug 937130 - Fix up threading and locking in APZCTreeManager. r=botond
2013-11-12 11:56:57 -05:00
Kartikaya Gupta
82b3084a27
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
e60812cf66
Bug 937896 - Fix a compiler error. r=bustage. CLOSED TREE
2013-11-14 15:11:53 -05:00
Botond Ballo
493777b207
Bug 937896 - Remove unwanted zoom in APZC::NotifyLayersUpdated(). r=kats
2013-11-13 14:13:40 -05:00
Kartikaya Gupta
86a26abf20
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
9e421b8c64
Bug 937688 - Make UpdateZoomConstraints take a full ScrollableLayerGuid. r=botond
2013-11-14 12:35:41 -05:00
Kartikaya Gupta
0fe345daf7
Bug 937688 - Move ScrollableLayerGuid from APZCTreeManager.h to FrameMetrics.h. r=botond
2013-11-13 13:20:31 -05:00
Kartikaya Gupta
f7fb4fa710
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
b020a0edef
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
0790196f1e
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
acc75156c8
Bug 937129 - Fix some concurrency issues in APZCTM::HandleOverscroll. r=kats
2013-11-11 12:06:33 -05:00
David Anderson
817b62f1ce
Support 3D transforms in the basic compositor (bug 935265, r=mattwoodrow).
2013-11-11 15:53:29 -08:00
Nicholas Cameron
de85a19e2e
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
719c8ac7d1
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
2974de401e
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
29923bcace
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
4be7ac01fb
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
c1a833fb30
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
128a356ee1
Bug 929471. Make CGLTexImageIOSurface2D take a CGLContextObj instead of a NSOpenGLContext. r=bgirard
2013-11-07 22:53:54 -05:00
Matt Brubeck
5c9542d62e
Bug 927033 - Always decrement mTouchCount on touchend/cancel [r=kats]
2013-11-07 13:12:33 -08:00
Matt Brubeck
ad2cbb0a06
Bug 927033 - Refactor some duplicate code in APZCTreeManager [r=kats]
2013-11-07 13:11:34 -08:00
Matt Brubeck
dc8d2c3cd9
Bug 927033 - Don't reset mApzcForInputBlock until all touches are gone [r=kats]
2013-11-07 13:10:29 -08:00
Matt Woodrow
9f29749647
Bug 35380 - Part 5: Remove aOffset from everywhere. r=nrc
2013-11-07 22:53:08 +13:00
Matt Woodrow
374a9070c7
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
88de3c4def
Bug 935380 - Part 3: Make CompositingRenderTarget store it's origin. r=nrc
2013-11-07 22:53:08 +13:00
Matt Woodrow
51611f31d6
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
a349950ad5
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
599a40977d
Merge b2g-inbound to m-c
2013-11-06 18:20:55 -08:00
Wes Kocher
7091eb5722
Merge inbound to m-c
2013-11-06 18:10:46 -08:00
Ryan VanderMeulen
f234f7905a
Merge m-c to b2g-inbound.
2013-11-06 15:00:25 -05:00
Ryan VanderMeulen
438d08b2de
Merge inbound to m-c.
2013-11-06 14:24:58 -05:00
Sotaro Ikeda
dd983902e3
Bug 934106 - Reduce ImageClient holding video frame number to one. r=nical
2013-11-06 12:32:12 -05:00
Chris Lord
8db91d70d6
Bug 881451 - Remove unused members of TiledLayerProperties. r=BenWa
2013-11-06 13:42:02 +00:00
Matt Brubeck
ee433d829f
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
0050cf6519
Merge m-c to inbound.
2013-11-06 14:59:07 -05:00
David Anderson
748b852861
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
ce4f00fcbd
Merge m-c to inbound
2013-11-04 21:22:23 -08:00
Wes Kocher
e400a12724
Merge inbound to m-c
2013-11-04 21:09:17 -08:00
Matt Woodrow
cd67756e2e
Bug 923434 - Use DrawSurface in ThebesLayerBuffer instead of FillRect. r=Bas
2013-11-05 17:50:57 +13:00
Matt Woodrow
2b4a1c6957
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
df1cca0f0f
Backed out changeset bad6c063b01f (bug 932274) for build bustage
2013-11-04 14:40:50 -08:00
Benoit Girard
559ab26c5e
Bug 930476 - Show paint markers for async frames. r=ehsan
2013-11-04 17:04:51 -05:00
David Zbarsky
ec2becadee
Bug 932274: Use Moz2D size classes in ipdl r=nical
2013-11-04 16:43:10 -05:00
Kartikaya Gupta
d865cd8f90
Bug 934439 - Add an APZC_LOG line for UpdateScrollOffset. r=botond
2013-11-04 21:30:10 -05:00
Ryan VanderMeulen
56251f8b65
Merge m-c to b2g-inbound.
2013-11-04 16:32:13 -05:00
Botond Ballo
409ea6cd18
Bug 932525 - Better naming for some transformation matrix variables. r=kats
2013-10-31 14:44:33 -04:00
Botond Ballo
7c0017a83e
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
61378e49b8
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
ec839c62b4
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
91725bfec2
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
ebcc1e1abf
Bug 918651 - part 5 - qualify all IPDL using statements with required header; r=ehsan
2013-10-01 15:25:07 -04:00
Nathan Froyd
c41a24510b
Bug 918651 - part 1 - remove unnecessary using statements from IPDL files; r=ehsan
2013-10-18 14:48:13 -04:00
Mike Hommey
c7783e3cc2
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
2153b816b9
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
6be862a938
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
6122e59c73
Merge mozilla-central and inbound
2013-11-01 13:18:19 +00:00
Ed Morley
23e525166f
Merge latest green b2g-inbound changeset and mozilla-central
2013-11-01 13:14:45 +00:00
Benoit Jacob
1f5b706ef5
Bug 886219 - Avoid introducing a global constructor with the ImageBridgeParent singleton - r=nical
2013-11-01 07:34:40 -04:00
Fabrice Desré
bd9859e505
Bug 914843 - fix gfx issue on oop b2g linux. r=nrc
2013-10-31 23:36:02 -07:00
Ryan VanderMeulen
1d57260a86
Merge m-c to inbound on a CLOSED TREE.
2013-10-30 22:42:13 -04:00
Kartikaya Gupta
e08ba777b1
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
b6add35df3
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
15fea8501b
Bug 931669 - Fix -Wsign-compare warning in Axis.cpp. r=botond
2013-10-27 01:11:18 -07:00
Matt Woodrow
43199694b8
Bug 934860 - Move paint region clipping into DrawThebesLayer. r=roc
2013-11-07 08:10:50 +13:00
Kartikaya Gupta
98c132e989
Bug 935593 - Remove an incorrect input event transformation. r=jimm
2013-11-06 12:49:00 -05:00
Dale Harvey
9c58b66f63
Bug 915645 - Allow single taps to occur longer than MAX_TAP_TIME. r=kats
2013-10-28 15:46:40 +00:00
Phil Ringnalda
780e2a2c5f
Back out f872d288480b:9b86b4e60b29 (bug 929513) for failing to build on Windows
...
CLOSED TREE
2013-10-27 15:38:40 -07:00
David Zbarsky
94ea6c0df6
Bug 929513 Part 11: Convert ImageLayer's mScaleToSize to use LayerIntSize r=nical
2013-10-27 17:53:29 -04:00
David Zbarsky
031da49889
Bug 929513 Part 10: Convert ScreenSizeChanged to use gfx::IntSize r=nical
2013-10-27 17:53:28 -04:00
David Zbarsky
31ff66f73b
Bug 929513 Part 9: Convert AllocPGrallocBufferActor to use gfx::IntSize r=nical
2013-10-27 17:53:28 -04:00
David Zbarsky
8023168d6f
Bug 929513 Part 7: Convert CreateBasicTextureImage to Moz2D r=nical
2013-10-27 17:53:28 -04:00
David Zbarsky
91d94bff7a
Bug 929513 Part 6: Some more cleanup r=nical
2013-10-27 17:53:28 -04:00
David Zbarsky
dd0caf5947
Bug 929513 Part 5: Use LayerIntSize for CanUseCanvasLayerForSize r=nical
2013-10-27 17:53:27 -04:00
David Zbarsky
39deff0f7d
Bug 929513 Part 4: Remove some unused gfxIntSize overloads r=nical
2013-10-27 17:53:27 -04:00
David Zbarsky
4c129e947e
Bug 929513 Part 3: Use some LayerIntSize in gfx/layers r=nical
2013-10-27 17:53:27 -04:00
David Zbarsky
3f192c96bf
Bug 929513 Part 2: Use gfx::IntSize for TiledContentClient's resolution r=nical
2013-10-27 17:53:27 -04:00
David Zbarsky
b3c48c54a3
Bug 929513 Part 1: Use gfx::IntSize for image layer sizes r=nical
2013-10-27 17:53:26 -04:00
Gregor Wagner
54baf977db
Backout Bug 907463 for causing bug 930575
2013-10-25 14:44:03 -07:00
Gregor Wagner
7d6127ba34
Backout Bug 907463
2013-10-25 14:43:58 -07:00
Ed Morley
ae834488ea
Merge mozilla-central and b2g-inbound
2013-10-25 12:12:23 +01:00
Mike Hommey
b000a846c2
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Kartikaya Gupta
2ba8a111d7
Bug 923482 - Fix an edge case where we might try to re-use a destroyed APZC instance. r=botond
2013-10-25 11:30:17 +02:00
Carsten "Tomcat" Book
0e4e01758c
Merge mozilla-inbound to Mozilla-Central
2013-10-24 07:05:29 +02:00
Mike Hommey
59a17d0f20
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00
Mike Hommey
3fa7456cd6
Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal
2013-10-24 08:00:23 +09:00
Kartikaya Gupta
f0af958413
Bug 929367 - Rename all the prefs for the async pan/zoom code to be consistent. r=botond,mbrubeck
2013-10-24 00:07:50 +02:00
Markus Stange
c5d89cc8ca
Bug 886999 - Lock the GL context before compositing on the compositor thread or before calling setView or update on the main thread. r=mattwoodrow
2013-10-09 10:39:23 -04:00
Markus Stange
14e8e85cab
Bug 914437 - Don't composite windows that are not open. r=mattwoodrow
2013-10-09 10:39:22 -04:00
Masayuki Nakano
c2d6606a1c
Bug 920425 part.28 Use mozilla::WidgetEvent::AsMouseEvent() r=smaug
2013-10-22 17:55:20 +09:00
David Anderson
fc34a69277
Fix resize jank on Linux with OMTC (bug 926618, r=mattwoodrow).
2013-10-21 13:14:47 -07:00
Nicholas Cameron
6d24fd2a5a
Bug 925317. Check shmems are tracked whenever we send them across IPC. r=BenWa,bent
2013-10-21 16:23:42 +02:00
Ms2ger
e5eac232d0
Merge inbound to m-c.
2013-10-20 10:40:40 +02:00
Ms2ger
9b89f4d9e2
Bug 923249 - Remove some prtypes use in gfx/; r=roc
2013-10-20 09:25:20 +02:00
Ryan VanderMeulen
41a335c516
Backed out changeset 6150269410b2 (bug 921212) for bustage on a CLOSED TREE.
2013-10-18 10:21:38 -04:00
Benoit Girard
282410c103
Bug 921212 - Rotate buffer in place to avoid gralloc surface allocation. r=Bas
2013-10-11 16:47:47 -04:00
Chris Peterson
0a49e094bd
Bug 925195 - Fix -Wsign-compare warning about GetProtocolId() enum return value. r=bent
2013-10-17 20:42:59 -07:00
Benoit Girard
b48817b2a7
Bug 921212 - Rotate buffer in place to avoid gralloc surface allocation. r=Bas
2013-10-11 16:47:47 -04:00
Carsten "Tomcat" Book
f1d2ae53bc
Merge mozilla-central to mozilla-inbound
2013-10-18 14:13:10 +02:00
Masayuki Nakano
d152366c31
Bug 920425 part.15 Use mozilla::WidgetEvent::AsTouchEvent() r=smaug
2013-10-18 15:10:23 +09:00