diff options
author | 2015-06-01 10:41:49 -0700 | |
---|---|---|
committer | 2015-06-01 10:41:49 -0700 | |
commit | 6df86409ca586c3cb34f616f03501bd96181f9e4 (patch) | |
tree | f1b8efc069946abb9b3f431cc6b45a31f610d83a /src/gpu/gl/GrGLCaps.cpp | |
parent | 0513c83e0f6bffa566c7d1b93fb2ba52bacc10fc (diff) |
Revert "Revert of Move copy-surface-as-draw fallback to GrGLGpu. (patchset #12 id:220001 of https://codereview.chromium.org/1144433002/)"
This reverts commit 404b3b264b833eb7cffdc833c7e2ebbd708e123a.
Review URL: https://codereview.chromium.org/1161063003
Diffstat (limited to 'src/gpu/gl/GrGLCaps.cpp')
-rw-r--r-- | src/gpu/gl/GrGLCaps.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp index 99bc6da1fa..e1ad852428 100644 --- a/src/gpu/gl/GrGLCaps.cpp +++ b/src/gpu/gl/GrGLCaps.cpp @@ -918,6 +918,7 @@ GrGLSLCaps::GrGLSLCaps(const GrContextOptions& options, void GrGLSLCaps::init(const GrGLContextInfo& ctxInfo, const GrGLInterface* gli, const GrGLCaps& glCaps) { + fGLSLGeneration = ctxInfo.glslGeneration(); GrGLStandard standard = ctxInfo.standard(); GrGLVersion version = ctxInfo.version(); |