David Zbarsky
8f05aaacbd
Bug 952977: Convert Layer's mTransform to gfx::Matrix4x4 r=nical
2014-01-27 10:29:06 -05:00
David Zbarsky
bab894b2de
Bug 952977: Convert SetBaseTransform to gfx::Matrix4x4 r=nical
2014-01-27 10:28:33 -05:00
Kartikaya Gupta
3195471b3f
Bug 963278 - Better fix to deal with concurrent scroll updates from APZ and other places. r=tn,botond,jimm
2014-02-05 17:43:20 -05:00
Doug Sherk
98ee63ffd2
Bug 963270: Use first and second touches for pinch gesture detection r=kats
2014-01-23 18:42:49 -05:00
Vivien Nicolas
c5f14cbd4e
Bug 963555 - Remove unused mMemoryPressureObserver variable in CompositorChild.h. r=nical
2014-01-24 19:29:04 +01:00
Doug Sherk
d9f266d413
Bug 962278 - Adjust default APZ DPI and settings that depend on it. r=kats
2014-01-23 16:34:31 -05:00
Ryan VanderMeulen
3f3b90ac89
Merge m-c to inbound.
2014-01-23 15:58:06 -05:00
Benoit Girard
3c8d7a9abd
Bug 962881 - Fix regression to y scrolling with x overflow:hidden. r=botond
...
--HG--
extra : rebase_source : 32cc1c9f4abdb8d9f32319d4b718637e93691155
2014-01-23 11:57:40 -05:00
Sotaro Ikeda
f9f2c44031
Bug 951732 - Keep TextureClient until Transaction complete. r=nical
2014-01-23 09:31:12 -05:00
Kartikaya Gupta
e96508ffe7
Bug 947337 - Ensure the transform of input to Gecko space accounts for inflight paint requests. r=botond
2014-01-21 16:27:20 -05:00
Kartikaya Gupta
f9b3dd70c2
Bug 947337 - Track the last metrics actually sent to Gecko after coming out of the throttler. r=botond
2014-01-21 16:26:57 -05:00
Kartikaya Gupta
394d08efea
Bug 947337 - Small refactoring to reduce an unnecessary codepath. r=botond
2014-01-21 16:24:18 -05:00
Benoit Jacob
b92ff71071
Bug 959380 - Fix a mismatched enum bug revealed by the conversion of gfxImageFormat into a typed enum - no review, trivial build fix
2014-01-23 15:02:23 -05:00
Kartikaya Gupta
b3b43cb988
Bug 961408 - Partial rollback of an incorrect change. No 'this' in static functions. r=me DONTBUILD
2014-01-23 13:50:17 -05:00
Benoit Jacob
61df69f208
Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc
...
find content/media dom/ipc widget/ gfx/tests gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYERS_\(NONE\|BASIC\|OPENGL\|D3D9\|D3D10\|D3D11\|CLIENT\|LAST\)\($\|[^A-Za-z0-9_]\)/\1LayersBackend::LAYERS_\2\3/g'
find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::BUFFER_\2\3/g'
find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(BUFFERED\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(DRAW\|DRAW_SNAPPED\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::CLIP_\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SURFACE_\(NONE\|OPAQUE\|SINGLE_CHANNEL_ALPHA\|COMPONENT_ALPHA\)\($\|[^A-Za-z0-9_]\)/\1SurfaceMode::SURFACE_\2\3/g'
find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(STRETCH\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::\2\3/g'
find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::SCALE_\2\3/g'
2014-01-23 13:26:41 -05:00
Benoit Jacob
ed427f9600
Bug 959380 - 3/5 - Make gfxSurfaceType a typed enum - r=jrmuizel
...
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxSurfaceType\(Image\|PDF\|PS\|Xlib\|Xcb\|Glitz\|Quartz\|Win32\|BeOS\|DirectFB\|SVG\|OS2\|Win32Printing\|QuartzImage\|Script\|QPainter\|Recording\|VG\|GL\|DRM\|Tee\|XML\|Skia\|Subsurface\|D2D\|Max\)\($\|[^A-Za-z0-9_]\)/\1gfxSurfaceType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
e5ed95579b
Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel
...
find . -type f | grep -v \./obj | grep -v \.hg | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxImageFormat\(ARGB32\|RGB24\|A8\|A1\|RGB16_565\|Unknown\)\($\|[^A-Za-z0-9_]\)/\1gfxImageFormat::\2\3/g'
2014-01-23 13:26:40 -05:00
Botond Ballo
22a40c0f83
Bug 950488 - Disallow zooming for overflow:hidden frames. r=kats
...
--HG--
extra : rebase_source : eec649c7f5406d6781c4d703fb7bb1055c112d9e
2014-01-21 11:51:46 -05:00
Benoit Girard
4923504486
Bug 950488 - Overhaul APZ handling of overflow:hidden. r=botond
...
--HG--
extra : rebase_source : 6ba93899e5ac446b5c4a4cacb18574dd05c54c62
2014-01-21 12:33:52 -05:00
Wes Kocher
2949cae437
Backed out 3 changesets (bug 947337) for build test errors
...
Backed out changeset 6ade48b8b9d7 (bug 947337)
Backed out changeset f3095f92e1c3 (bug 947337)
Backed out changeset 5becc07d9dac (bug 947337)
2014-01-21 15:04:22 -08:00
Nicolas Silva
d3412aefb7
Bug 959615 - Initialize the TextureChild/Parent at creation time. r= bjacob
2014-01-21 23:06:18 +01:00
Kartikaya Gupta
9e50ea54b7
Bug 947337 - Ensure the transform of input to Gecko space accounts for inflight paint requests. r=botond
2014-01-21 16:27:20 -05:00
Kartikaya Gupta
c8608145dd
Bug 947337 - Track the last metrics actually sent to Gecko after coming out of the throttler. r=botond
2014-01-21 16:26:57 -05:00
Kartikaya Gupta
78cea5dc2c
Bug 947337 - Small refactoring to reduce an unnecessary codepath. r=botond
2014-01-21 16:24:18 -05:00
Ali Akhtarzada
f7b7cbccf3
Bug 959526 - Implement PlanarYCrCbImage and derived classes GetAsSourceSurface. r=nical
...
Implement GetAsSourceSurface in:
* PlanarYCrCbImage
* BasicPlanarYCrCbImage
* SharedPlanarYCrCbImage
2014-01-21 11:49:53 -05:00
Kartikaya Gupta
97e2c88d3b
Bug 961408 - Ensure all the APZC_LOG statements in APZC print the relevant instance. r=botond
2014-01-20 08:25:16 -05:00
Botond Ballo
c1f5e0cb55
Bug 961171 - Have APZ pick up on dynamic changes to 'scrollgrab' property. r=BenWa
2014-01-17 14:51:00 -05:00
Josh Aas
31f560c053
Bug 960648: Consistently mark IPDL methods as MOZ_OVERRIDE. Part 2. r=bent
2014-01-17 13:49:39 -06:00
Botond Ballo
3de2ebacb7
Bug 959198 - Have APZ hit testing respect mozpasspointerevents. r=kats
...
--HG--
extra : rebase_source : aafa0b5bf9839f583b84151afc4a3c805fabee0a
2014-01-16 15:19:59 -05:00
Ali Akhtarzada
54e0cda57b
Bug 959527 - Implement SharedRGBImage::GetAsSourceSurface. r=nical
2014-01-17 11:22:56 -05:00
Ryan VanderMeulen
3f5d1cb811
Merge inbound to m-c.
2014-01-15 14:34:05 -05:00
Kartikaya Gupta
2cc1258e72
Bug 951113 - Trigger a repaint request when getting a scroll offset update to cover a race condition allowed by async IPC. r=botond
2014-01-14 16:43:43 -05:00
Ryan VanderMeulen
e7b8f32115
Merge inbound to m-c.
2014-01-13 17:44:24 -05:00
Solomon Chiu
becc2c86b9
Bug 958420 - Remove obsolete code trying to use PIXEL_FORMAT_A_8 with gralloc. r=gal, r=pchang
2014-01-13 10:00:34 +08:00
Carsten "Tomcat" Book
8a0fd8f669
Merge mozilla-central to b2g-inbound
2014-01-13 14:44:08 +01:00
Carsten "Tomcat" Book
7120425071
Backed out changeset e9a7aaad1771 (bug 958420) for causing merge conflicts from m-c
2014-01-13 14:41:31 +01:00
Solomon Chiu
e2d823b344
Bug 946245 - Port GonkDisplay to KK, r=mwu,sotaro,pchang
2014-01-09 18:42:54 +08:00
Solomon Chiu
bfec7bfd40
Bug 958420 - remove obsolete code trying to use PIXEL_FORMAT_A_8 with gralloc, r=gal,pchang
2014-01-13 10:00:34 +08:00
Kartikaya Gupta
108d0b8ccf
Bug 957790 - Initialize the APZC with zooming disabled until we know for sure if it is allowed. r=botond,jimm
...
On Metro we don't support the meta-viewport tag yet, so we need to re-enable
zooming there.
2014-01-13 12:35:00 -05:00
Kartikaya Gupta
75816b0959
Bug 957790 - Remove a no-longer-used pref to disable async zooming in the APZ. r=jimm
2014-01-13 12:35:00 -05:00
Kartikaya Gupta
7d578379a2
Bug 957188 - Increase touch start tolerance to more easily detect taps. r=botond
2014-01-09 15:45:41 -05:00
Ryan VanderMeulen
b24eb3eb2b
Backed out changesets f0811650f2f7 and a67882c52c98 (bug 957790) for gtest failures.
...
CLOSED TREE
2014-01-13 11:22:47 -05:00
Kartikaya Gupta
3961cc600f
Bug 957790 - Initialize the APZC with zooming disabled until we know for sure if it is allowed. r=botond,jimm
...
On Metro we don't support the meta-viewport tag yet, so we need to re-enable
zooming there.
2014-01-13 09:55:19 -05:00
Kartikaya Gupta
592f1133b6
Bug 957790 - Remove a no-longer-used pref to disable async zooming in the APZ. r=jimm
2014-01-13 09:55:19 -05:00
Ali Akhtarzada
9d5c2a81a1
Bug 958489 - Implement base Image::GetAsSourceSurface. r=nical
...
Added an Image::GetAsSourceSurface to return a gfx::SourceSurface
and implemented in terms of gfxPlatform::GetSourceSurfaceForSurface.
Deprecated GetAsSurface.
2014-01-15 10:06:43 -05:00
Nick Lebedev
b917064d4d
Bug 795567 - Part 5: Add zoom prevention based on the touch-action value. r=kats
2014-01-15 10:03:16 -05:00
Nick Lebedev
a9da19067c
Bug 795567 - Part 4: Rework apzc to wait for touch-action value from content as it waits for preventDefault value from listeners. r=kats
2014-01-15 10:03:15 -05:00
Nick Lebedev
1651d2c5bb
Bug 795567 - Part 3: Add panning restriction and retrieving of touch-action value to apzc. r=kats
2014-01-15 10:03:15 -05:00
Benoit Jacob
a1e7c32630
Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Daniel Holbert
9d469701b3
Bug 957783: Drop unused variable 'compositable' from CompositableParentManager::ReceiveCompositableUpdate. r=nical
2014-01-09 06:26:19 -08:00
Kartikaya Gupta
01751982e2
Bug 907179 - Rewrite the displayport calculation to be simpler and more effective. r=botond
2014-01-08 17:55:33 -05:00
Kartikaya Gupta
918519c377
Bug 907179 - Label the velocity vector as being in screen units. r=botond
2014-01-08 17:53:58 -05:00
Nicolas Silva
e8b4b086ed
Bug 938591 - Use texture flags in DataTextureSource + D3D9/11 fixes. r=nrc
2014-01-07 17:20:11 +01:00
Kartikaya Gupta
570d06ad25
Bug 915985 - Refactoring to introduce a ZoomConstraints class. r=botond
2014-01-06 13:26:44 -05:00
Anthony Jones
ee3c6259c8
Bug 951463 - Rename ClampRect to ForceInside; r=botond
2014-01-06 10:05:07 -05:00
Nicholas Nethercote
91175eb896
Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
...
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Alessandro Decina
45437479b3
Bug 952769 - Add explicit strides to YCbCrImageDataSerializer. r=nical
2014-01-02 10:50:14 -05:00
Ms2ger
fc0c5d7215
Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc
2013-12-31 10:06:12 +01:00
Robert O'Callahan
441bface9e
Bug 945203. Part 1: Add Layers API to annotate layers with hit-test regions. r=kats
...
--HG--
extra : rebase_source : baa695c0d6104f620a5b45a83e5b230ef584abd9
2013-12-16 23:47:06 +13:00
Tor Arvid Lund
4f4dd8bed9
Bug 950677 - Fix compile errors on Windows/FFOS builds. r=nical
...
The errors were discovered when running on the try server. Chose #include
in GrallocImages because there were problems with fwd declarations again.
2013-12-20 11:46:31 -05:00
Tor Arvid Lund
410fe2b398
Bug 950677 - gfxIntSize -> IntSize in ipc/Shadow* files. r=nical
2013-12-20 11:46:30 -05:00
Tor Arvid Lund
2fbcfd7089
Bug 950677 - gfxIntSize -> IntSize in ipc/ directory. r=nical
...
(Detail: Chose to put an #include for Point.h in a header instead of a
forward declaration because a fwd decl caused an "Already defined" error
and having neither fwd decl or #include caused another compile failure
saying IntSize was undefined)
2013-12-20 11:46:29 -05:00
Tor Arvid Lund
c652a133f6
Bug 950677 - More gfxIntSize -> IntSize changes in Layer* classes. r=nical
2013-12-20 11:46:29 -05:00
Tor Arvid Lund
7a84faef28
Bug 950677 - Change gfxIntSize to gfx::IntSize in ImageContainer.h. r=nical
2013-12-20 11:46:29 -05:00
Tor Arvid Lund
0cb3c8eff8
Bug 950677 - Change gfxIntSize -> gfx::IntSize some places in layers/ipc. r=nical
2013-12-20 11:46:28 -05:00
Anthony Jones
702208df32
Bug 952116 - Add mutex around APZC::CancelAnimation; r=kats
2013-12-20 09:58:24 +13:00
Randall Barker
08972a99be
Bug 895358 - Part 2, Enable progressive tile rendering in B2G; r=BenWa,kats,Cwiiis
2013-12-19 12:19:25 -08:00
Vivien Nicolas
d04b655956
Bug 951321 - [B2G][Messages] Create New Message button gets selected but does not open New Message page. r=kats
2013-12-19 01:12:47 +01:00
Vivien Nicolas
6736a079bc
Bug 951290 - [B2G] [Browser] The first swipe after zooming has no effect. r=kats
2013-12-19 01:12:47 +01:00
Kartikaya Gupta
0108acd121
Bug 951256 - Dump the APZC guid in rendertrace output. r=Cwiiis
2013-12-17 15:20:21 -05:00
Kartikaya Gupta
89d848b074
Bug 951256 - Add a GetGuid function with return value to APZC. r=Cwiiis
2013-12-17 15:20:20 -05:00
Kartikaya Gupta
0ea9aefa0c
Bug 950487 - Remove unnecessary UpdateCompositionBounds function on APZC. r=Cwiiis
2013-12-17 14:25:57 -05:00
Alessandro Decina
ff3a24dd02
Bug 928806 - Allow SharedPlanarYCbCrImage images to optionally have padding
...
Overload YCbCrImageDataSerializer.InitializeBufferInfo to take explicit plane
offsets. Make SharedPlanarYCbCrImage::SetDataNoCopy set the offsets based on the
Y, Cb and Cr plane pointers passed by the caller. r=nical
2013-12-16 17:33:47 -05:00
Chris Lord
55dc07e248
Bug 943846 - Don't constrain generated display-ports to composition bounds. r=kats
2013-12-16 17:33:30 -05:00
Kartikaya Gupta
0b8bb93d3e
Bug 949132 - Use the FrameMetrics flag on the layers update to update APZC scroll offset instead of tracking it in widget code. r=Cwiiis
2013-12-16 12:04:46 -05:00
Matt Woodrow
0b806c9170
Bug 913503 - Update windowed plugin positions before we schedule a composite with OMTC. r=roc
2013-12-16 18:38:42 +13:00
Phil Ringnalda
1dfe73b536
Back out e9ca04f323d0 (bug 928806) on suspicion of causing ASan and Linux debug gtest crashes
...
CLOSED TREE
2013-12-15 13:58:28 -08:00
Alessandro Decina
69c8b117ce
Bug 928806 - Allow SharedPlanarYCbCrImage images to optionally have padding. r=nical
...
Overload YCbCrImageDataSerializer.InitializeBufferInfo to take explicit plane
offsets. Make SharedPlanarYCbCrImage::SetDataNoCopy set the offsets based on the
Y, Cb and Cr plane pointers passed by the caller.
2013-12-15 14:06:14 -05:00
Ryan VanderMeulen
cd364e9987
Merge m-c to inbound.
2013-12-13 16:16:46 -05:00
Ryan VanderMeulen
218cec4598
Merge inbound to m-c.
2013-12-13 16:15:52 -05:00
Vivien Nicolas
0fd36d97ed
Bug 949404 - Applications are half repainted once the keyboard is closed. r=Cwiiis
2013-12-13 18:23:47 +01:00
Tor Arvid Lund
feefccfd0c
Bug 929513 - Replace gfxIntSize in layers/AutoOpenSurface.h r=nical
...
This rippled into other replacements in layers and in gfx/gl.
2013-12-13 18:32:06 +01:00
Tor Arvid Lund
3d5f99f7f3
Bug 929513 - Replace some instances of gfxIntSize with gfx::IntSize r=nical
2013-12-13 18:32:02 +01:00
Chris Lord
8fa042c6ad
Bug 936500 - Don't copy Axis when creating a FlingAnimation. r=kats
...
FlingAnimation was, likely accidentally, creating copies of the axes it was
animating and operating on those, which lead to problems when displayports
were calculated based on the original copies which housed old values.
2013-12-13 19:37:42 +00:00
Wes Kocher
898b147d75
Merge inbound to m-c
2013-12-12 19:12:51 -08:00
Kartikaya Gupta
6c7c9a5200
Bug 949310. r=BenWa
2013-12-12 13:34:50 -05:00
Carsten "Tomcat" Book
3cb7c2ae44
Merge mozilla-central to b2g-inbound
2013-12-12 16:17:29 +01:00
Ryan VanderMeulen
8c7c4ef7ab
Merge m-c to inbound on a CLOSED TREE.
2013-12-11 22:39:20 -05:00
Dale Harvey
543aa991a9
Bug 942929 - Use longtapup event to handle firing clicks when longtap not handled. r=kats
2013-12-12 00:39:06 +00:00
Ryan VanderMeulen
a00e00a3cc
Merge m-c to b-i.
2013-12-11 13:37:13 -05:00
Dale Harvey
f90a83a007
Bug 946661 - Dont send tapconfirmed event when tapup was handled. r=kats
2013-12-11 17:19:42 +00:00
Kartikaya Gupta
39ddd2f726
Bug 947931 - Remove unnecessary locking now to avoid potential for deadlock. r=botond,BenWa
2013-12-11 12:15:10 -05:00
Nicholas Cameron
78340760ec
Bug 948555. Fix a bogus assert in CompositorParent. r=mattwoodrow
2013-12-11 16:51:00 +13:00
Nicolas Silva
bffd72633e
Bug 897452 - Part 4 - Make sure we release all GL resources asap when shutting down the communication channel - r=bjacob
2013-12-11 20:44:49 -05:00
Nicolas Silva
21bd46b628
Bug 897452 - Part 2 - PTexture deallocation logic - r=sotaro,bjacob
2013-12-11 20:44:45 -05:00
Nicolas Silva
6d4b3e3b43
Bug 897452 - Part 1 - Implement the PTexture protocol - r=mattwoodrow
2013-12-11 20:44:44 -05:00
Ryan VanderMeulen
2b53da578d
Merge b2g-inbound to m-c.
2013-12-10 15:38:44 -05:00
Nicholas Cameron
9bfee51338
Bug 946958 part 4. Tidy up interaction with widgets. r=kats
2013-12-09 14:40:59 +13:00
Nicholas Cameron
c9131de1bb
Bug 946958 part 2. Remove methods which just forward to compositor. r=mattwoodrow
2013-12-09 14:40:59 +13:00
Nicholas Cameron
5cac3eba12
Bug 865033 part 2. Add mCompositor to CompositorParent. r=mattwoodrow
2013-12-09 14:40:58 +13:00