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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 NULL == fBindTexture || | 52 NULL == fBindTexture || |
53 NULL == fBlendFunc || | 53 NULL == fBlendFunc || |
54 NULL == fBlendColor || // -> GL >= 1.4, ES >= 2.0 or extension | 54 NULL == fBlendColor || // -> GL >= 1.4, ES >= 2.0 or extension |
55 NULL == fBufferData || | 55 NULL == fBufferData || |
56 NULL == fBufferSubData || | 56 NULL == fBufferSubData || |
57 NULL == fClear || | 57 NULL == fClear || |
58 NULL == fClearColor || | 58 NULL == fClearColor || |
59 NULL == fClearStencil || | 59 NULL == fClearStencil || |
60 NULL == fColorMask || | 60 NULL == fColorMask || |
61 NULL == fCompileShader || | 61 NULL == fCompileShader || |
62 #if 0 // FIXME: Remove this once Chromium is updated to provide this function | |
63 NULL == fCopyTexSubImage2D || | 62 NULL == fCopyTexSubImage2D || |
64 #endif | |
65 NULL == fCreateProgram || | 63 NULL == fCreateProgram || |
66 NULL == fCreateShader || | 64 NULL == fCreateShader || |
67 NULL == fCullFace || | 65 NULL == fCullFace || |
68 NULL == fDeleteBuffers || | 66 NULL == fDeleteBuffers || |
69 NULL == fDeleteProgram || | 67 NULL == fDeleteProgram || |
70 NULL == fDeleteShader || | 68 NULL == fDeleteShader || |
71 NULL == fDeleteTextures || | 69 NULL == fDeleteTextures || |
72 NULL == fDepthMask || | 70 NULL == fDepthMask || |
73 NULL == fDisable || | 71 NULL == fDisable || |
74 NULL == fDisableVertexAttribArray || | 72 NULL == fDisableVertexAttribArray || |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 if (NULL == fBindVertexArray || | 369 if (NULL == fBindVertexArray || |
372 NULL == fDeleteVertexArrays || | 370 NULL == fDeleteVertexArrays || |
373 NULL == fGenVertexArrays) { | 371 NULL == fGenVertexArrays) { |
374 return false; | 372 return false; |
375 } | 373 } |
376 } | 374 } |
377 } | 375 } |
378 | 376 |
379 return true; | 377 return true; |
380 } | 378 } |
OLD | NEW |