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

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

Issue 130423013: Use vertex buffer objects instead of client side arrays in fixed-function codepaths (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 6 years, 10 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/GrGpuGL_program.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 4c8c37827aed8f25faf4615da8691a4c40311759..eacd2a3647b988419c14c31872d3a0646b56c2b0 100644
--- a/src/gpu/gl/android/GrGLCreateNativeInterface_android.cpp
+++ b/src/gpu/gl/android/GrGLCreateNativeInterface_android.cpp
@@ -231,7 +231,6 @@ static GrGLInterface* create_desktop_interface(GrGLVersion version,
functions->fClear = (GrGLClearProc) eglGetProcAddress("glClear");
functions->fClearColor = (GrGLClearColorProc) eglGetProcAddress("glClearColor");
functions->fClearStencil = (GrGLClearStencilProc) eglGetProcAddress("glClearStencil");
- functions->fClientActiveTexture = (GrGLClientActiveTextureProc) eglGetProcAddress("glClientActiveTexture");
functions->fColorMask = (GrGLColorMaskProc) eglGetProcAddress("glColorMask");
functions->fCompileShader = (GrGLCompileShaderProc) eglGetProcAddress("glCompileShader");
functions->fCompressedTexImage2D = (GrGLCompressedTexImage2DProc) eglGetProcAddress("glCompressedTexImage2D");
@@ -249,14 +248,12 @@ static GrGLInterface* create_desktop_interface(GrGLVersion version,
functions->fDeleteVertexArrays = (GrGLDeleteVertexArraysProc) eglGetProcAddress("glDeleteVertexArrays");
functions->fDepthMask = (GrGLDepthMaskProc) eglGetProcAddress("glDepthMask");
functions->fDisable = (GrGLDisableProc) eglGetProcAddress("glDisable");
- functions->fDisableClientState = (GrGLDisableClientStateProc) eglGetProcAddress("glDisableClientState");
functions->fDisableVertexAttribArray = (GrGLDisableVertexAttribArrayProc) eglGetProcAddress("glDisableVertexAttribArray");
functions->fDrawArrays = (GrGLDrawArraysProc) eglGetProcAddress("glDrawArrays");
functions->fDrawBuffer = (GrGLDrawBufferProc) eglGetProcAddress("glDrawBuffer");
functions->fDrawBuffers = (GrGLDrawBuffersProc) eglGetProcAddress("glDrawBuffers");
functions->fDrawElements = (GrGLDrawElementsProc) eglGetProcAddress("glDrawElements");
functions->fEnable = (GrGLEnableProc) eglGetProcAddress("glEnable");
- functions->fEnableClientState = (GrGLEnableClientStateProc) eglGetProcAddress("glEnableClientState");
functions->fEnableVertexAttribArray = (GrGLEnableVertexAttribArrayProc) eglGetProcAddress("glEnableVertexAttribArray");
functions->fEndQuery = (GrGLEndQueryProc) eglGetProcAddress("glEndQuery");
functions->fFinish = (GrGLFinishProc) eglGetProcAddress("glFinish");
@@ -309,7 +306,6 @@ static GrGLInterface* create_desktop_interface(GrGLVersion version,
functions->fStencilMaskSeparate = (GrGLStencilMaskSeparateProc) eglGetProcAddress("glStencilMaskSeparate");
functions->fStencilOp = (GrGLStencilOpProc) eglGetProcAddress("glStencilOp");
functions->fStencilOpSeparate = (GrGLStencilOpSeparateProc) eglGetProcAddress("glStencilOpSeparate");
- functions->fTexGenf = (GrGLTexGenfProc) eglGetProcAddress("glTexGenf");
functions->fTexGenfv = (GrGLTexGenfvProc) eglGetProcAddress("glTexGenfv");
functions->fTexGeni = (GrGLTexGeniProc) eglGetProcAddress("glTexGeni");
functions->fTexImage2D = (GrGLTexImage2DProc) eglGetProcAddress("glTexImage2D");
@@ -340,7 +336,6 @@ static GrGLInterface* create_desktop_interface(GrGLVersion version,
functions->fUseProgram = (GrGLUseProgramProc) eglGetProcAddress("glUseProgram");
functions->fVertexAttrib4fv = (GrGLVertexAttrib4fvProc) eglGetProcAddress("glVertexAttrib4fv");
functions->fVertexAttribPointer = (GrGLVertexAttribPointerProc) eglGetProcAddress("glVertexAttribPointer");
- functions->fVertexPointer = (GrGLVertexPointerProc) eglGetProcAddress("glVertexPointer");
functions->fViewport = (GrGLViewportProc) eglGetProcAddress("glViewport");
if (extensions.has("GL_NV_path_rendering")) {
« no previous file with comments | « src/gpu/gl/GrGpuGL_program.cpp ('k') | src/gpu/gl/debug/GrGLCreateDebugInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698