aura: Add flush() to make sure delete operations make it through when we intend.
Resource deletion doesn't force a flush, so for textures that are deleted on a
little-used shared context, the delete command may sit in the command buffer for
arbitrary long.
This fixes it.
BUG=123933
TEST=chrome/aura, open many tabs, close all of them, check that GPU memory is reclaimed.
Review URL: http://codereview.chromium.org/10078002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133017 0039d316-1c4b-4281-b951-d872f2087c98
2 files changed