Update rendering helper to use async swap buffers
commit8dfbff7a60bd046ef5a5ef9dbb7fa6528c366362
authordnicoara <dnicoara@chromium.org>
Wed, 3 Jun 2015 13:29:59 +0000 (3 06:29 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 3 Jun 2015 13:30:38 +0000 (3 13:30 +0000)
treed79e56c56e8dc691a70f402d58895fbaab80f791
parent52854972c945d9d48ad4e391da08dc733202ed00
Update rendering helper to use async swap buffers

This change is one step closer to deprecating the blocking swap buffers
call.

Note, platforms that support blocking swap buffers are still supported
through the async API by immediately calling the callback. In the case
of the VDA unittests, nothing changes since scheduling the next frame
happens in the callback (after swap buffers finishes).

TEST=Ran VDA unittests on Link
BUG=none

Review URL: https://codereview.chromium.org/1154813003

Cr-Commit-Position: refs/heads/master@{#332605}
content/common/gpu/media/rendering_helper.cc