OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |