commit | 280e99f1a61f2cf66a8ee9b9e6c517f3d2290de7 | [log] [tgz] |
---|---|---|
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Jan 05 16:17:38 2012 +0000 |
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Jan 05 16:17:38 2012 +0000 |
tree | 8be860d10f17f54a1570ccfb6cf78ac5fec4da43 | |
parent | f58f9f62d751748cf1ac01bfd92a4a80fc449fab [diff] [blame] |
Add support for GL texture storage Review URL: http://codereview.appspot.com/5462046/ git-svn-id: http://skia.googlecode.com/svn/trunk@2966 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/mesa/GrGLCreateMesaInterface.cpp b/src/gpu/mesa/GrGLCreateMesaInterface.cpp index 596431c..7303d1b 100644 --- a/src/gpu/mesa/GrGLCreateMesaInterface.cpp +++ b/src/gpu/mesa/GrGLCreateMesaInterface.cpp
@@ -112,6 +112,10 @@ GR_GL_GET_PROC(StencilOpSeparate); GR_GL_GET_PROC(TexImage2D) GR_GL_GET_PROC(TexParameteri); + GR_GL_GET_PROC(TexStorage2D); + if (NULL == interface->fTexStorage2D) { + GR_GL_GET_PROC_SUFFIX(TexStorage2D, EXT); + } GR_GL_GET_PROC(TexSubImage2D); GR_GL_GET_PROC(Uniform1f); GR_GL_GET_PROC(Uniform1i);