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

Side by Side Diff: src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp

Issue 20436002: get genmipmap function in the struct (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: fix rebase conflicts Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #include "gl/GrGLInterface.h" 10 #include "gl/GrGLInterface.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 GET_PROC(Disable); 70 GET_PROC(Disable);
71 GET_PROC(DisableVertexAttribArray); 71 GET_PROC(DisableVertexAttribArray);
72 GET_PROC(DrawArrays); 72 GET_PROC(DrawArrays);
73 GET_PROC(DrawElements); 73 GET_PROC(DrawElements);
74 GET_PROC(Enable); 74 GET_PROC(Enable);
75 GET_PROC(EnableVertexAttribArray); 75 GET_PROC(EnableVertexAttribArray);
76 GET_PROC(Finish); 76 GET_PROC(Finish);
77 GET_PROC(Flush); 77 GET_PROC(Flush);
78 GET_PROC(FrontFace); 78 GET_PROC(FrontFace);
79 GET_PROC(GenBuffers); 79 GET_PROC(GenBuffers);
80 GET_PROC(GenerateMipmap);
80 GET_PROC(GenTextures); 81 GET_PROC(GenTextures);
81 interface->fGenVertexArrays = 82 interface->fGenVertexArrays =
82 (GrGLGenVertexArraysProc) eglGetProcAddress("glGenVertexArraysOES"); 83 (GrGLGenVertexArraysProc) eglGetProcAddress("glGenVertexArraysOES");
83 GET_PROC(GetBufferParameteriv); 84 GET_PROC(GetBufferParameteriv);
84 GET_PROC(GetError); 85 GET_PROC(GetError);
85 GET_PROC(GetIntegerv); 86 GET_PROC(GetIntegerv);
86 GET_PROC(GetProgramInfoLog); 87 GET_PROC(GetProgramInfoLog);
87 GET_PROC(GetProgramiv); 88 GET_PROC(GetProgramiv);
88 GET_PROC(GetShaderInfoLog); 89 GET_PROC(GetShaderInfoLog);
89 GET_PROC(GetShaderiv); 90 GET_PROC(GetShaderiv);
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 GET_PROC(GetFramebufferAttachmentParameteriv); 150 GET_PROC(GetFramebufferAttachmentParameteriv);
150 GET_PROC(GetRenderbufferParameteriv); 151 GET_PROC(GetRenderbufferParameteriv);
151 GET_PROC(RenderbufferStorage); 152 GET_PROC(RenderbufferStorage);
152 153
153 interface->fMapBuffer = (GrGLMapBufferProc) eglGetProcAddress("glMapBuff erOES"); 154 interface->fMapBuffer = (GrGLMapBufferProc) eglGetProcAddress("glMapBuff erOES");
154 interface->fUnmapBuffer = (GrGLUnmapBufferProc) eglGetProcAddress("glUnm apBufferOES"); 155 interface->fUnmapBuffer = (GrGLUnmapBufferProc) eglGetProcAddress("glUnm apBufferOES");
155 } 156 }
156 glInterface.get()->ref(); 157 glInterface.get()->ref();
157 return glInterface.get(); 158 return glInterface.get();
158 } 159 }
OLDNEW
« no previous file with comments | « src/gpu/gl/android/GrGLCreateNativeInterface_android.cpp ('k') | src/gpu/gl/debug/GrGLCreateDebugInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698