Disable accelerated 2D canvas on DX9 by not initializing GraphicsContext3D if it can be lost.

BUG=52689
TEST=http://www.corp.google.com/~scheib/no_crawl/canvas2dtests/minupload1.html. Jitters/popping in texture are a side-effect of NON GPU accelerated rendering. Smooth rotation will occur only with GPU acceleration. On Windows XP even with --enable-accelerated-2d-canvas, only software rendering should appear. On Vista and later the flag should result in smooth rotation.

Review URL: http://codereview.chromium.org/4320003

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