aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-01-22 14:37:08 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-01-22 14:37:08 +0000
commit566a3f1a1f5a47844664b510592ad60ada7d0635 (patch)
tree320f912bb16141bbf709abd2fd2576c00797b3ef /src/gpu/gl
parent394c7bb04d89667d2164a554f310e8e6f819abc2 (diff)
update mesa version mapping to GL version
mesa3d have updated to 10.0 to support OpenGL 3.3, see http://www.mesa3d.org/index.html. At least Intel has implemented mesa 10.0 on IA. BUG=None R=bsalomon@google.com Author: yunchao.he@intel.com Review URL: https://codereview.chromium.org/143803012 git-svn-id: http://skia.googlecode.com/svn/trunk@13140 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/gl')
-rw-r--r--src/gpu/gl/GrGLUtil.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLUtil.cpp b/src/gpu/gl/GrGLUtil.cpp
index 886557e272..7d44ba5931 100644
--- a/src/gpu/gl/GrGLUtil.cpp
+++ b/src/gpu/gl/GrGLUtil.cpp
@@ -75,6 +75,10 @@ bool get_gl_version_for_mesa(int mesaMajorVersion, int* major, int* minor) {
*major = 3;
*minor = 1;
return true;
+ case 10:
+ *major = 3;
+ *minor = 3;
+ return true;
default:
return false;
}