Commit Graph

1058 Commits

Author SHA1 Message Date
Doug Sherk
11807931df Bug 962278 - Adjust default APZ DPI and settings that depend on it. r=kats 2014-01-23 16:34:31 -05:00
Ryan VanderMeulen
faf802a81e Merge m-c to inbound. 2014-01-23 15:58:06 -05:00
Benoit Girard
fc222ad8db 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
f903a20e0d Bug 951732 - Keep TextureClient until Transaction complete. r=nical 2014-01-23 09:31:12 -05:00
Kartikaya Gupta
56b0e4e0df 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
942438d756 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
d1075d4513 Bug 947337 - Small refactoring to reduce an unnecessary codepath. r=botond 2014-01-21 16:24:18 -05:00
Benoit Jacob
123083a93d 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
a99d3870a7 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
67a17b1047 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
3846defaec 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
3369ca8bb6 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
55cc299986 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
49072be9c6 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
76a04cfa54 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
2302a77289 Bug 959615 - Initialize the TextureChild/Parent at creation time. r= bjacob 2014-01-21 23:06:18 +01:00
Kartikaya Gupta
5e1d2a2137 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
1d05968005 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
bdffe911ee Bug 947337 - Small refactoring to reduce an unnecessary codepath. r=botond 2014-01-21 16:24:18 -05:00
Ali Akhtarzada
c8d408d444 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
b9dc7b3c75 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
b055f83375 Bug 961171 - Have APZ pick up on dynamic changes to 'scrollgrab' property. r=BenWa 2014-01-17 14:51:00 -05:00
Josh Aas
81a268a5e4 Bug 960648: Consistently mark IPDL methods as MOZ_OVERRIDE. Part 2. r=bent 2014-01-17 13:49:39 -06:00
Botond Ballo
c8e7a984df 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
5bf61ed7e6 Bug 959527 - Implement SharedRGBImage::GetAsSourceSurface. r=nical 2014-01-17 11:22:56 -05:00
Ryan VanderMeulen
4d272a44a3 Merge inbound to m-c. 2014-01-15 14:34:05 -05:00
Kartikaya Gupta
b75faf0673 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
4d0972315d Merge inbound to m-c. 2014-01-13 17:44:24 -05:00
Solomon Chiu
374ffb7755 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
9b514818ca Merge mozilla-central to b2g-inbound 2014-01-13 14:44:08 +01:00
Carsten "Tomcat" Book
482a1c8977 Backed out changeset e9a7aaad1771 (bug 958420) for causing merge conflicts from m-c 2014-01-13 14:41:31 +01:00
Solomon Chiu
10551087fa Bug 946245 - Port GonkDisplay to KK, r=mwu,sotaro,pchang 2014-01-09 18:42:54 +08:00
Solomon Chiu
007c15898f 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
df5655f5e4 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
997647943c 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
934bb54c56 Bug 957188 - Increase touch start tolerance to more easily detect taps. r=botond 2014-01-09 15:45:41 -05:00
Ryan VanderMeulen
246f76ef57 Backed out changesets f0811650f2f7 and a67882c52c98 (bug 957790) for gtest failures.
CLOSED TREE
2014-01-13 11:22:47 -05:00
Kartikaya Gupta
66b3332e07 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
b2d543135a 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
2317024a4c 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
fdd089b63d 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
d4749b9941 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
3ca0140584 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
55e7c24065 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
e3bd2c412f Bug 957783: Drop unused variable 'compositable' from CompositableParentManager::ReceiveCompositableUpdate. r=nical 2014-01-09 06:26:19 -08:00
Kartikaya Gupta
18d22a9961 Bug 907179 - Rewrite the displayport calculation to be simpler and more effective. r=botond 2014-01-08 17:55:33 -05:00
Kartikaya Gupta
d37ce54339 Bug 907179 - Label the velocity vector as being in screen units. r=botond 2014-01-08 17:53:58 -05:00
Nicolas Silva
89a1de2117 Bug 938591 - Use texture flags in DataTextureSource + D3D9/11 fixes. r=nrc 2014-01-07 17:20:11 +01:00
Kartikaya Gupta
9ae1485883 Bug 915985 - Refactoring to introduce a ZoomConstraints class. r=botond 2014-01-06 13:26:44 -05:00
Anthony Jones
3b3605ff77 Bug 951463 - Rename ClampRect to ForceInside; r=botond 2014-01-06 10:05:07 -05:00