commit | 5931922997b8904b1243240120014c016064b9fa | [log] [tgz] |
---|---|---|
author | kkinnunen <kkinnunen@nvidia.com> | Sun Nov 22 23:23:53 2015 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Sun Nov 22 23:23:53 2015 -0800 |
tree | c0f3e55685dd5e6f50665f9e7a4421bccde3e310 | |
parent | 7ea33f5e1ae9eb1fb1e7377d6edf6acdcf71d103 [diff] |
Remove GrContextFactory::getGLContext Remove GrContextFactory::getGLContext, it is problematic: It has the bug of not checking for the context type. It also is error-prone, since the GL context is not made current, but it is callers may assume it is current. It is also not used very much. Clients can use GrContextFactory::getContextInfo. BUG=skia: Review URL: https://codereview.chromium.org/1455093003