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

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: 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
« no previous file with comments | « src/gpu/gl/GrGLCreateNullInterface.cpp ('k') | src/gpu/gl/GrGpuGL.cpp » ('j') | 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 * 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 #ifndef SKIA_IGNORE_GPU_MIPMAPS
82 NULL == fGenerateMipmap ||
83 #endif
81 NULL == fGetError || 84 NULL == fGetError ||
82 NULL == fGetIntegerv || 85 NULL == fGetIntegerv ||
83 NULL == fGetProgramInfoLog || 86 NULL == fGetProgramInfoLog ||
84 NULL == fGetProgramiv || 87 NULL == fGetProgramiv ||
85 NULL == fGetShaderInfoLog || 88 NULL == fGetShaderInfoLog ||
86 NULL == fGetShaderiv || 89 NULL == fGetShaderiv ||
87 NULL == fGetString || 90 NULL == fGetString ||
88 NULL == fGetUniformLocation || 91 NULL == fGetUniformLocation ||
89 NULL == fLinkProgram || 92 NULL == fLinkProgram ||
90 NULL == fPixelStorei || 93 NULL == fPixelStorei ||
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 if (NULL == fBindVertexArray || 382 if (NULL == fBindVertexArray ||
380 NULL == fDeleteVertexArrays || 383 NULL == fDeleteVertexArrays ||
381 NULL == fGenVertexArrays) { 384 NULL == fGenVertexArrays) {
382 return false; 385 return false;
383 } 386 }
384 } 387 }
385 } 388 }
386 389
387 return true; 390 return true;
388 } 391 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLCreateNullInterface.cpp ('k') | src/gpu/gl/GrGpuGL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698