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 || |
| 64 #endif |
62 NULL == fCreateProgram || | 65 NULL == fCreateProgram || |
63 NULL == fCreateShader || | 66 NULL == fCreateShader || |
64 NULL == fCullFace || | 67 NULL == fCullFace || |
65 NULL == fDeleteBuffers || | 68 NULL == fDeleteBuffers || |
66 NULL == fDeleteProgram || | 69 NULL == fDeleteProgram || |
67 NULL == fDeleteShader || | 70 NULL == fDeleteShader || |
68 NULL == fDeleteTextures || | 71 NULL == fDeleteTextures || |
69 NULL == fDepthMask || | 72 NULL == fDepthMask || |
70 NULL == fDisable || | 73 NULL == fDisable || |
71 NULL == fDisableVertexAttribArray || | 74 NULL == fDisableVertexAttribArray || |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
368 if (NULL == fBindVertexArray || | 371 if (NULL == fBindVertexArray || |
369 NULL == fDeleteVertexArrays || | 372 NULL == fDeleteVertexArrays || |
370 NULL == fGenVertexArrays) { | 373 NULL == fGenVertexArrays) { |
371 return false; | 374 return false; |
372 } | 375 } |
373 } | 376 } |
374 } | 377 } |
375 | 378 |
376 return true; | 379 return true; |
377 } | 380 } |
OLD | NEW |