Commit Graph

1066 Commits

Author SHA1 Message Date
Doug Sherk
f21220320e Bug 937343: Remove pan start logic on pinch end from APZC r=botond 2014-01-24 22:13:12 +00:00
Doug Sherk
7db6e5eb05 Bug 937343: Spoof a touch start event on pinch end in GestureEventListener r=botond 2014-01-24 22:13:10 +00:00
Ali Akhtarzada
dc2def3d55 Bug 964745 - GetAsSourceSurface in SharedTextureImage and DeprecatedSharedRGBImage. r=nical 2014-01-28 10:27:36 -05:00
David Zbarsky
23dbba7ec5 Bug 952977: Convert shadow transforms to gfx::Matrix4x4 r=nical 2014-01-27 10:29:27 -05:00
David Zbarsky
c2b5692c64 Bug 952977: Convert Layer's mTransform to gfx::Matrix4x4 r=nical 2014-01-27 10:29:06 -05:00
David Zbarsky
77535232c8 Bug 952977: Convert SetBaseTransform to gfx::Matrix4x4 r=nical 2014-01-27 10:28:33 -05:00
Doug Sherk
8bc2ba8957 Bug 963270: Use first and second touches for pinch gesture detection r=kats 2014-01-23 18:42:49 -05:00
Vivien Nicolas
6ee4294c86 Bug 963555 - Remove unused mMemoryPressureObserver variable in CompositorChild.h. r=nical 2014-01-24 19:29:04 +01:00
Doug Sherk
350d820834 Bug 962278 - Adjust default APZ DPI and settings that depend on it. r=kats 2014-01-23 16:34:31 -05:00
Ryan VanderMeulen
8dc9129e87 Merge m-c to inbound. 2014-01-23 15:58:06 -05:00
Benoit Girard
e33446ad97 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
0941fe3c91 Bug 951732 - Keep TextureClient until Transaction complete. r=nical 2014-01-23 09:31:12 -05:00
Kartikaya Gupta
f99d562c53 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
59ead70e3c 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
5b9147ec9b Bug 947337 - Small refactoring to reduce an unnecessary codepath. r=botond 2014-01-21 16:24:18 -05:00
Benoit Jacob
6fa0f3b3dd 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
a215c8932d 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
15ef84b8b5 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
638dd1b5c9 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
981c6431d3 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
ed519843f7 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
8959b81753 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
c6eb5d18d8 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
6122c73e61 Bug 959615 - Initialize the TextureChild/Parent at creation time. r= bjacob 2014-01-21 23:06:18 +01:00
Kartikaya Gupta
f7de0e7e48 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
697939ce56 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
7379651eb7 Bug 947337 - Small refactoring to reduce an unnecessary codepath. r=botond 2014-01-21 16:24:18 -05:00
Ali Akhtarzada
edfd0e3e4d 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
5dd8d6490a 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
10d824fffe Bug 961171 - Have APZ pick up on dynamic changes to 'scrollgrab' property. r=BenWa 2014-01-17 14:51:00 -05:00
Josh Aas
c6fbe9fc52 Bug 960648: Consistently mark IPDL methods as MOZ_OVERRIDE. Part 2. r=bent 2014-01-17 13:49:39 -06:00
Botond Ballo
484926d2ef 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
06d9cc505a Bug 959527 - Implement SharedRGBImage::GetAsSourceSurface. r=nical 2014-01-17 11:22:56 -05:00
Ryan VanderMeulen
b6f0a2657c Merge inbound to m-c. 2014-01-15 14:34:05 -05:00
Kartikaya Gupta
a9c56bd2fe 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
5b8b6a8f8d Merge inbound to m-c. 2014-01-13 17:44:24 -05:00
Solomon Chiu
b71033abcf 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
1e7ba36e09 Merge mozilla-central to b2g-inbound 2014-01-13 14:44:08 +01:00
Carsten "Tomcat" Book
7e76dc4f1c Backed out changeset e9a7aaad1771 (bug 958420) for causing merge conflicts from m-c 2014-01-13 14:41:31 +01:00
Solomon Chiu
517e1fd1b3 Bug 946245 - Port GonkDisplay to KK, r=mwu,sotaro,pchang 2014-01-09 18:42:54 +08:00
Solomon Chiu
72760e2144 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
3844a8fa8e 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
ee3f541aaa 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
46aae412e9 Bug 957188 - Increase touch start tolerance to more easily detect taps. r=botond 2014-01-09 15:45:41 -05:00
Ryan VanderMeulen
1621462741 Backed out changesets f0811650f2f7 and a67882c52c98 (bug 957790) for gtest failures.
CLOSED TREE
2014-01-13 11:22:47 -05:00
Kartikaya Gupta
16f0284ef7 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
f7bc7922b6 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
d03468c1ae 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
182400607b 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
9658ee90e0 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