gpu: Render to a framebuffer object instead of an offscreen surface in gpu_perftests.
commit586c7d01c01db1f108f5c02f9ded90b2d1b0c7e3
authordcastagna <dcastagna@chromium.org>
Wed, 18 Feb 2015 22:59:12 +0000 (18 14:59 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 18 Feb 2015 23:03:18 +0000 (18 23:03 +0000)
treea1f3258eef1c1ec576a76c6fa8b816daaeba60a1
parentab05ec8fc74d598df6cc5114eb9f657be54fca42
gpu: Render to a framebuffer object instead of an offscreen surface in gpu_perftests.

Offscreen surfaces are implemented in different ways on different devices.
Using a framebuffer object allows gpu_perftests to run where a drawable offscreen surface is not available (i.e: mac) and in general to have a more consistent behavior across different drivers.

BUG=423481

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

Cr-Commit-Position: refs/heads/master@{#316909}
gpu/perftests/texture_upload_perftest.cc