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

Side by Side Diff: src/gpu/gl/mac/GrGLCreateNativeInterface_mac.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 2011 Google Inc. 3 * Copyright 2011 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 GET_PROC(DrawBuffer); 103 GET_PROC(DrawBuffer);
104 GET_PROC(DrawBuffers); 104 GET_PROC(DrawBuffers);
105 GET_PROC(DrawElements); 105 GET_PROC(DrawElements);
106 GET_PROC(Enable); 106 GET_PROC(Enable);
107 GET_PROC(EnableVertexAttribArray); 107 GET_PROC(EnableVertexAttribArray);
108 GET_PROC(EndQuery); 108 GET_PROC(EndQuery);
109 GET_PROC(Finish); 109 GET_PROC(Finish);
110 GET_PROC(Flush); 110 GET_PROC(Flush);
111 GET_PROC(FrontFace); 111 GET_PROC(FrontFace);
112 GET_PROC(GenBuffers); 112 GET_PROC(GenBuffers);
113 GET_PROC(GenerateMipmap);
113 GET_PROC(GenQueries); 114 GET_PROC(GenQueries);
114 GET_PROC(GetBufferParameteriv); 115 GET_PROC(GetBufferParameteriv);
115 GET_PROC(GetError); 116 GET_PROC(GetError);
116 GET_PROC(GetIntegerv); 117 GET_PROC(GetIntegerv);
117 GET_PROC(GetProgramInfoLog); 118 GET_PROC(GetProgramInfoLog);
118 GET_PROC(GetProgramiv); 119 GET_PROC(GetProgramiv);
119 GET_PROC(GetQueryiv); 120 GET_PROC(GetQueryiv);
120 GET_PROC(GetQueryObjectiv); 121 GET_PROC(GetQueryObjectiv);
121 GET_PROC(GetQueryObjectuiv); 122 GET_PROC(GetQueryObjectuiv);
122 GET_PROC(GetShaderInfoLog); 123 GET_PROC(GetShaderInfoLog);
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 } 232 }
232 } 233 }
233 if (ver >= GR_GL_VER(3,3) || extensions.has("GL_ARB_blend_func_extended" )) { 234 if (ver >= GR_GL_VER(3,3) || extensions.has("GL_ARB_blend_func_extended" )) {
234 // ARB extension doesn't use the ARB suffix on the function name 235 // ARB extension doesn't use the ARB suffix on the function name
235 GET_PROC(BindFragDataLocationIndexed); 236 GET_PROC(BindFragDataLocationIndexed);
236 } 237 }
237 } 238 }
238 glInterface.get()->ref(); 239 glInterface.get()->ref();
239 return glInterface.get(); 240 return glInterface.get();
240 } 241 }
OLDNEW
« no previous file with comments | « src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp ('k') | src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698