[chromium] Check that we can make the SharedGraphicsContext3D current before returning
authorjamesr@google.com <jamesr@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Feb 2012 21:32:54 +0000 (21:32 +0000)
committerjamesr@google.com <jamesr@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Feb 2012 21:32:54 +0000 (21:32 +0000)
commit81e49af836b7e0ae5fc64ed1928b14c7839d8e81
tree84f6f3a7adfd5097e93c2d3ee490b97ef48ee98f
parent8b234c9b068eac349a248a1efd33d29485ae01b7
[chromium] Check that we can make the SharedGraphicsContext3D current before returning
https://bugs.webkit.org/show_bug.cgi?id=78142

Reviewed by Stephen White.

If we can't make the context current, we can't use it.

* platform/graphics/gpu/SharedGraphicsContext3D.cpp:
(WebCore::SharedGraphicsContext3D::get):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107127 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/gpu/SharedGraphicsContext3D.cpp