rendering_helper - Warm up the rendering.
commit7a41151b1c94a470c1259dacfe69259fa5610096
authorowenlin <owenlin@chromium.org>
Thu, 16 Oct 2014 06:39:52 +0000 (15 23:39 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 16 Oct 2014 06:40:05 +0000 (16 06:40 +0000)
tree72eac0fa575b2f67636837c1bc5306b2cbd2fc63
parenteb036181ac1826a236c71226b071656d07b4ca7f
rendering_helper - Warm up the rendering.

The rendering for the first few frames is much slower (As much as
100ms on Peach Pit). To get stable/correct numbers in performance
tests, we try to warm it up by rendering several frames in the
beginning.

BUG=411123
TEST=Run the vda_unittest on Peach pit.

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

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