diff options
author | Nicolas Roard <nicolas@android.com> | 2011-02-18 15:54:32 -0800 |
---|---|---|
committer | Nicolas Roard <nicolas@android.com> | 2011-02-18 15:54:32 -0800 |
commit | a3107ab7b4fc5af9983e30647ee7b6a19df46a59 (patch) | |
tree | 011119d9a005064edd0e64644d67dbc374362379 /WebCore/platform/graphics/android/ShaderProgram.cpp | |
parent | 03d850006e8ce54945fe44c36ffaf074143184c5 (diff) | |
download | external_webkit-a3107ab7b4fc5af9983e30647ee7b6a19df46a59.zip external_webkit-a3107ab7b4fc5af9983e30647ee7b6a19df46a59.tar.gz external_webkit-a3107ab7b4fc5af9983e30647ee7b6a19df46a59.tar.bz2 |
Fix some of the performance issues when using the flash plugin embedded.
What happened was that MediaLayer was always telling us to repaint the
screen; we could repaint the same frame a dozen of times unecessarily.
This in itself was wasteful but should have been ok, but the stream
of commands plus the compositing caused the GPU commands used by flash
to stall until they were executed...
The compounded impact drasticaly lowered the performances.
This is not a full fix as those conditions (us repainting the screen
a lot) happens anyway when zooming or scrolling; but this should improve
performances in the general case.
Change-Id: I3391c2c5a5198a73863ace53bc10f623cdc00921
Diffstat (limited to 'WebCore/platform/graphics/android/ShaderProgram.cpp')
0 files changed, 0 insertions, 0 deletions