Fix test app to ensure that we destroy our GPU resources.
authordjsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 29 Nov 2012 15:28:45 +0000 (15:28 +0000)
committerdjsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 29 Nov 2012 15:28:45 +0000 (15:28 +0000)
commit0945bde5999da38b2de4a0998225a25901c4e429
tree8ebbb4b37fc9d34e03101808372083bee2db868d
parent5afbbc47df9ede9031348857ab512836ba580f31
Fix test app to ensure that we destroy our GPU resources.

The problem arises on devices like the Nexus 10 where we allow the
destruction of resources using the destructor of a static variable.
However, we have no guarentee that the GPU driver has not already
cleaned up it's resources prior to our static destructor.

Review URL: https://codereview.appspot.com/6851124

git-svn-id: http://skia.googlecode.com/svn/trunk@6599 2bbb7eff-a529-9590-31e7-b0007b416f81
tests/Test.cpp
tests/Test.h
tests/skia_test.cpp