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 || | 81 NULL == fGenerateMipmap || |
83 #endif | |
84 NULL == fGetError || | 82 NULL == fGetError || |
85 NULL == fGetIntegerv || | 83 NULL == fGetIntegerv || |
86 NULL == fGetProgramInfoLog || | 84 NULL == fGetProgramInfoLog || |
87 NULL == fGetProgramiv || | 85 NULL == fGetProgramiv || |
88 NULL == fGetShaderInfoLog || | 86 NULL == fGetShaderInfoLog || |
89 NULL == fGetShaderiv || | 87 NULL == fGetShaderiv || |
90 NULL == fGetString || | 88 NULL == fGetString || |
91 NULL == fGetUniformLocation || | 89 NULL == fGetUniformLocation || |
92 NULL == fLinkProgram || | 90 NULL == fLinkProgram || |
93 NULL == fLineWidth || | 91 NULL == fLineWidth || |
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 if (NULL == fBindVertexArray || | 413 if (NULL == fBindVertexArray || |
416 NULL == fDeleteVertexArrays || | 414 NULL == fDeleteVertexArrays || |
417 NULL == fGenVertexArrays) { | 415 NULL == fGenVertexArrays) { |
418 return false; | 416 return false; |
419 } | 417 } |
420 } | 418 } |
421 } | 419 } |
422 | 420 |
423 return true; | 421 return true; |
424 } | 422 } |
OLD | NEW |