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

Side by Side Diff: src/gpu/gl/GrGLInterface.cpp

Issue 20436002: get genmipmap function in the struct (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: 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 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 8
9 #include "gl/GrGLInterface.h" 9 #include "gl/GrGLInterface.h"
10 #include "gl/GrGLExtensions.h" 10 #include "gl/GrGLExtensions.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 NULL == fDisable || 71 NULL == fDisable ||
72 NULL == fDisableVertexAttribArray || 72 NULL == fDisableVertexAttribArray ||
73 NULL == fDrawArrays || 73 NULL == fDrawArrays ||
74 NULL == fDrawElements || 74 NULL == fDrawElements ||
75 NULL == fEnable || 75 NULL == fEnable ||
76 NULL == fEnableVertexAttribArray || 76 NULL == fEnableVertexAttribArray ||
77 NULL == fFrontFace || 77 NULL == fFrontFace ||
78 NULL == fGenBuffers || 78 NULL == fGenBuffers ||
79 NULL == fGenTextures || 79 NULL == fGenTextures ||
80 NULL == fGetBufferParameteriv || 80 NULL == fGetBufferParameteriv ||
81 NULL == fGenerateMipmap ||
bsalomon 2013/07/25 19:16:49 I think Chrome needs to be protected from this lin
81 NULL == fGetError || 82 NULL == fGetError ||
82 NULL == fGetIntegerv || 83 NULL == fGetIntegerv ||
83 NULL == fGetProgramInfoLog || 84 NULL == fGetProgramInfoLog ||
84 NULL == fGetProgramiv || 85 NULL == fGetProgramiv ||
85 NULL == fGetShaderInfoLog || 86 NULL == fGetShaderInfoLog ||
86 NULL == fGetShaderiv || 87 NULL == fGetShaderiv ||
87 NULL == fGetString || 88 NULL == fGetString ||
88 NULL == fGetUniformLocation || 89 NULL == fGetUniformLocation ||
89 NULL == fLinkProgram || 90 NULL == fLinkProgram ||
90 NULL == fPixelStorei || 91 NULL == fPixelStorei ||
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 if (NULL == fBindVertexArray || 380 if (NULL == fBindVertexArray ||
380 NULL == fDeleteVertexArrays || 381 NULL == fDeleteVertexArrays ||
381 NULL == fGenVertexArrays) { 382 NULL == fGenVertexArrays) {
382 return false; 383 return false;
383 } 384 }
384 } 385 }
385 } 386 }
386 387
387 return true; 388 return true;
388 } 389 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLCreateNullInterface.cpp ('k') | src/gpu/gl/android/GrGLCreateNativeInterface_android.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698