commit | 7a434a28685fd045cf848b99b563dfcf978363bc | [log] [tgz] |
---|---|---|
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Aug 21 14:01:56 2013 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Aug 21 14:01:56 2013 +0000 |
tree | 4e8f2a61101381eb151f5768b83838785c1faa14 | |
parent | 9241e33ca900c5fd8f902829255f381f8e6e17c8 [diff] [blame] |
Recognize that ES3 supports texture storage. Add workaround for apparent Adreno bug. R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/22856006 git-svn-id: http://skia.googlecode.com/svn/trunk@10845 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/gl/GrGLInterface.cpp b/src/gpu/gl/GrGLInterface.cpp index 5dacd2d..d69f5c7 100644 --- a/src/gpu/gl/GrGLInterface.cpp +++ b/src/gpu/gl/GrGLInterface.cpp
@@ -290,7 +290,7 @@ return false; } } - } else if (extensions.has("GL_EXT_texture_storage")) { + } else if (glVer >= GR_GL_VER(3,0) || extensions.has("GL_EXT_texture_storage")) { if (NULL == fTexStorage2D) { return false; }