Commit 9260236f authored by commit-queue@webkit.org's avatar commit-queue@webkit.org
Browse files

2011-05-11 Brian Salomon <bsalomon@google.com>

        Reviewed by Eric Seidel.

        Handle case when GrContext creation fails
        https://bugs.webkit.org/show_bug.cgi?id=60410

        Exercised by all canvas tests when DRT is run with skia-gpu

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

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86310 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent f3ada36b
2011-05-11 Brian Salomon <bsalomon@google.com>
Reviewed by Eric Seidel.
Handle case when GrContext creation fails
https://bugs.webkit.org/show_bug.cgi?id=60410
Exercised by all canvas tests when DRT is run with skia-gpu
* platform/graphics/gpu/SharedGraphicsContext3D.cpp:
(WebCore::SharedGraphicsContext3D::grContext):
2011-05-11 Pratik Solanki <psolanki@apple.com>
 
Reviewed by Andreas Kling.
......@@ -483,6 +483,7 @@ GrContext* SharedGraphicsContext3D::grContext()
return 0;
if (!m_grContext) {
m_grContext = GrContext::CreateGLShaderContext();
if (m_grContext)
m_grContext->setTextureCacheLimits(maxTextureCacheCount, maxTextureCacheBytes);
}
return m_grContext;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment