Test gpu memory buffers drawing directly to the backbuffer.
commitaf2cc1710b7cb58c990f0a5d7c2841125a84da81
authordcastagna <dcastagna@chromium.org>
Tue, 7 Apr 2015 21:34:51 +0000 (7 14:34 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 7 Apr 2015 21:35:23 +0000 (7 21:35 +0000)
tree25da93363627fc2ed56af842ff0fc9b636ccd544
parent992c398b2fb0e7ab9c7ba58a8eb36787e03962e4
Test gpu memory buffers drawing directly to the backbuffer.

To test the lifecycle of a memory buffer we used to use
glCopyTextureCHROMIUM. This has some limitations due to the extension
spec (i.e: limited subset of formats), and doesn't test the general
lifecycle of the memory buffer.

This patch changes GpuMemoryBufferTest.Lifecycle to test the lifecycle
of the GpuMemoryBuffer writing directly to the backbuffer.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#324123}
gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc