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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 NULL == fFunctions.fGetBufferParameteriv || | 145 NULL == fFunctions.fGetBufferParameteriv || |
146 NULL == fFunctions.fGenerateMipmap || | 146 NULL == fFunctions.fGenerateMipmap || |
147 NULL == fFunctions.fGetError || | 147 NULL == fFunctions.fGetError || |
148 NULL == fFunctions.fGetIntegerv || | 148 NULL == fFunctions.fGetIntegerv || |
149 NULL == fFunctions.fGetProgramInfoLog || | 149 NULL == fFunctions.fGetProgramInfoLog || |
150 NULL == fFunctions.fGetProgramiv || | 150 NULL == fFunctions.fGetProgramiv || |
151 NULL == fFunctions.fGetShaderInfoLog || | 151 NULL == fFunctions.fGetShaderInfoLog || |
152 NULL == fFunctions.fGetShaderiv || | 152 NULL == fFunctions.fGetShaderiv || |
153 NULL == fFunctions.fGetString || | 153 NULL == fFunctions.fGetString || |
154 NULL == fFunctions.fGetUniformLocation || | 154 NULL == fFunctions.fGetUniformLocation || |
| 155 #if 0 // Not included in Chrome yet |
| 156 NULL == fFunctions.fIsTexture || |
| 157 #endif |
155 NULL == fFunctions.fLinkProgram || | 158 NULL == fFunctions.fLinkProgram || |
156 NULL == fFunctions.fLineWidth || | 159 NULL == fFunctions.fLineWidth || |
157 NULL == fFunctions.fPixelStorei || | 160 NULL == fFunctions.fPixelStorei || |
158 NULL == fFunctions.fReadPixels || | 161 NULL == fFunctions.fReadPixels || |
159 NULL == fFunctions.fScissor || | 162 NULL == fFunctions.fScissor || |
160 NULL == fFunctions.fShaderSource || | 163 NULL == fFunctions.fShaderSource || |
161 NULL == fFunctions.fStencilFunc || | 164 NULL == fFunctions.fStencilFunc || |
162 NULL == fFunctions.fStencilMask || | 165 NULL == fFunctions.fStencilMask || |
163 NULL == fFunctions.fStencilOp || | 166 NULL == fFunctions.fStencilOp || |
164 NULL == fFunctions.fTexImage2D || | 167 NULL == fFunctions.fTexImage2D || |
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
699 NULL == fFunctions.fGetDebugMessageLog || | 702 NULL == fFunctions.fGetDebugMessageLog || |
700 NULL == fFunctions.fPushDebugGroup || | 703 NULL == fFunctions.fPushDebugGroup || |
701 NULL == fFunctions.fPopDebugGroup || | 704 NULL == fFunctions.fPopDebugGroup || |
702 NULL == fFunctions.fObjectLabel) { | 705 NULL == fFunctions.fObjectLabel) { |
703 RETURN_FALSE_INTERFACE | 706 RETURN_FALSE_INTERFACE |
704 } | 707 } |
705 } | 708 } |
706 | 709 |
707 return true; | 710 return true; |
708 } | 711 } |
OLD | NEW |