Use a singleton 1x1 offscreen surface for all TextureImageTransportSurface instances.

This is to reduce the number of dummy offscreen surfaces created for the purpose of
making TextureImageTransportSurface current.

BUG=NONE
TEST=manually on daisy; verified that the dummy surface only gets allocated when first needed and
destroyed when the last instance of TextureImageTrasnportSurface is destroyed.


Review URL: https://chromiumcodereview.appspot.com/10984004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158512 0039d316-1c4b-4281-b951-d872f2087c98
5 files changed