summaryrefslogtreecommitdiffstats
path: root/WebCore/css/CSSFontFaceSource.cpp
diff options
context:
space:
mode:
authorNicolas Roard <nicolas@android.com>2011-03-03 10:16:31 -0800
committerNicolas Roard <nicolas@android.com>2011-03-03 10:28:01 -0800
commit8519dcd53eb4325b8d2d76c030d0af4503472df7 (patch)
treee4f614a2bbaee3b8c7cb87c2e35b54dadc3301fa /WebCore/css/CSSFontFaceSource.cpp
parentb715a7c48aa637ebc2832775ea04567c915f6296 (diff)
downloadexternal_webkit-8519dcd53eb4325b8d2d76c030d0af4503472df7.zip
external_webkit-8519dcd53eb4325b8d2d76c030d0af4503472df7.tar.gz
external_webkit-8519dcd53eb4325b8d2d76c030d0af4503472df7.tar.bz2
DO NOT MERGE : Cherry-pick of change I9942e8e4 from master
Wait the remaining of the 60FPS cap delay rather than not paint. Returning true if called faster than 60FPS means we are not drawing and ask for the framework to call us again; this works in general because the framework recopy the previous framebuffer. But in some cases, it didn't, causing the webview to flicker. A correct fix would be to introduce the capping in framework rather than try to doing it in the webview; in the meantime we will sleep the remaining of the delay as a workaround, so that we still provide the GPU benefits we wanted (at >60FPS the GPU was being saturated in some cases). bug:3500655 Change-Id: Iae50737b6d3202a8a0d3ec6d4a5261fe1b6d1b3f
Diffstat (limited to 'WebCore/css/CSSFontFaceSource.cpp')
0 files changed, 0 insertions, 0 deletions