aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/android
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2014-10-24 15:00:50 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-10-24 15:00:50 -0700
commit27c1521ccf0f833affa1182d6d9bc5e31b3af351 (patch)
tree65c5fb4ee7919e33026824b7ea70b520ea2684fc /src/gpu/gl/android
parentf622a6c8fd176acf9944de8df00d7f0bb56b67d3 (diff)
Add gpu support for glVertexAttrb1f, 2fv, and 3fv
Diffstat (limited to 'src/gpu/gl/android')
-rw-r--r--src/gpu/gl/android/GrGLCreateNativeInterface_android.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gpu/gl/android/GrGLCreateNativeInterface_android.cpp b/src/gpu/gl/android/GrGLCreateNativeInterface_android.cpp
index 9e745eadb3..99219d0fd5 100644
--- a/src/gpu/gl/android/GrGLCreateNativeInterface_android.cpp
+++ b/src/gpu/gl/android/GrGLCreateNativeInterface_android.cpp
@@ -182,6 +182,12 @@ static GrGLFuncPtr android_get_gl_proc(void* ctx, const char name[]) {
return (GrGLFuncPtr) glUniformMatrix4fv;
} else if (0 == strcmp("glUseProgram", name)) {
return (GrGLFuncPtr) glUseProgram;
+ } else if (0 == strcmp("glVertexAttrib1f", name)) {
+ return (GrGLFuncPtr) glVertexAttrib1f;
+ } else if (0 == strcmp("glVertexAttrib2fv", name)) {
+ return (GrGLFuncPtr) glVertexAttrib2fv;
+ } else if (0 == strcmp("glVertexAttrib3fv", name)) {
+ return (GrGLFuncPtr) glVertexAttrib3fv;
} else if (0 == strcmp("glVertexAttrib4fv", name)) {
return (GrGLFuncPtr) glVertexAttrib4fv;
} else if (0 == strcmp("glVertexAttribPointer", name)) {