Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: src/gpu/gl/android/GrGLCreateNativeInterface_android.cpp

Issue 662583003: Add gpu support for glVertexAttrb1f, 2fv, and 3fv (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/gl/GrGLNoOpInterface.cpp ('k') | src/gpu/gl/debug/GrGLCreateDebugInterface.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gl/android/GrGLCreateNativeInterface_android.cpp
diff --git a/src/gpu/gl/android/GrGLCreateNativeInterface_android.cpp b/src/gpu/gl/android/GrGLCreateNativeInterface_android.cpp
index 9e745eadb3c6cf53c6382a5881087fb16e5aa0bf..99219d0fd52ba53651c80a040aea20590841aeae 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)) {
« no previous file with comments | « src/gpu/gl/GrGLNoOpInterface.cpp ('k') | src/gpu/gl/debug/GrGLCreateDebugInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698