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

Side by Side Diff: src/gpu/gl/win/GrGLCreateNativeInterface_win.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, 4 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
« no previous file with comments | « src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/GrGLExtensions.h" 10 #include "gl/GrGLExtensions.h"
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 WGL_SET_PROC(CreateShader); 145 WGL_SET_PROC(CreateShader);
146 WGL_SET_PROC(DeleteBuffers); 146 WGL_SET_PROC(DeleteBuffers);
147 WGL_SET_PROC(DeleteQueries); 147 WGL_SET_PROC(DeleteQueries);
148 WGL_SET_PROC(DeleteProgram); 148 WGL_SET_PROC(DeleteProgram);
149 WGL_SET_PROC(DeleteShader); 149 WGL_SET_PROC(DeleteShader);
150 WGL_SET_PROC(DisableVertexAttribArray); 150 WGL_SET_PROC(DisableVertexAttribArray);
151 WGL_SET_PROC(DrawBuffers); 151 WGL_SET_PROC(DrawBuffers);
152 WGL_SET_PROC(EnableVertexAttribArray); 152 WGL_SET_PROC(EnableVertexAttribArray);
153 WGL_SET_PROC(EndQuery); 153 WGL_SET_PROC(EndQuery);
154 WGL_SET_PROC(GenBuffers); 154 WGL_SET_PROC(GenBuffers);
155 WGL_SET_PROC(GenerateMipmap);
155 WGL_SET_PROC(GenQueries); 156 WGL_SET_PROC(GenQueries);
156 WGL_SET_PROC(GetBufferParameteriv); 157 WGL_SET_PROC(GetBufferParameteriv);
157 WGL_SET_PROC(GetQueryiv); 158 WGL_SET_PROC(GetQueryiv);
158 WGL_SET_PROC(GetQueryObjectiv); 159 WGL_SET_PROC(GetQueryObjectiv);
159 WGL_SET_PROC(GetQueryObjectuiv); 160 WGL_SET_PROC(GetQueryObjectuiv);
160 if (glVer > GR_GL_VER(3,3) || extensions.has("GL_ARB_timer_query")) { 161 if (glVer > GR_GL_VER(3,3) || extensions.has("GL_ARB_timer_query")) {
161 WGL_SET_PROC(GetQueryObjecti64v); 162 WGL_SET_PROC(GetQueryObjecti64v);
162 WGL_SET_PROC(GetQueryObjectui64v); 163 WGL_SET_PROC(GetQueryObjectui64v);
163 WGL_SET_PROC(QueryCounter); 164 WGL_SET_PROC(QueryCounter);
164 } else if (extensions.has("GL_EXT_timer_query")) { 165 } else if (extensions.has("GL_EXT_timer_query")) {
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 WGL_SET_PROC_SUFFIX(PointAlongPath, NV); 307 WGL_SET_PROC_SUFFIX(PointAlongPath, NV);
307 } 308 }
308 309
309 interface->fBindingsExported = kDesktop_GrGLBinding; 310 interface->fBindingsExported = kDesktop_GrGLBinding;
310 311
311 return interface; 312 return interface;
312 } else { 313 } else {
313 return NULL; 314 return NULL;
314 } 315 }
315 } 316 }
OLDNEW
« no previous file with comments | « src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698