Chromium Code Reviews| 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 NULL == fGenerateMipmap || | |
|
bsalomon
2013/07/25 19:16:49
I think Chrome needs to be protected from this lin
| |
| 81 NULL == fGetError || | 82 NULL == fGetError || |
| 82 NULL == fGetIntegerv || | 83 NULL == fGetIntegerv || |
| 83 NULL == fGetProgramInfoLog || | 84 NULL == fGetProgramInfoLog || |
| 84 NULL == fGetProgramiv || | 85 NULL == fGetProgramiv || |
| 85 NULL == fGetShaderInfoLog || | 86 NULL == fGetShaderInfoLog || |
| 86 NULL == fGetShaderiv || | 87 NULL == fGetShaderiv || |
| 87 NULL == fGetString || | 88 NULL == fGetString || |
| 88 NULL == fGetUniformLocation || | 89 NULL == fGetUniformLocation || |
| 89 NULL == fLinkProgram || | 90 NULL == fLinkProgram || |
| 90 NULL == fPixelStorei || | 91 NULL == fPixelStorei || |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 379 if (NULL == fBindVertexArray || | 380 if (NULL == fBindVertexArray || |
| 380 NULL == fDeleteVertexArrays || | 381 NULL == fDeleteVertexArrays || |
| 381 NULL == fGenVertexArrays) { | 382 NULL == fGenVertexArrays) { |
| 382 return false; | 383 return false; |
| 383 } | 384 } |
| 384 } | 385 } |
| 385 } | 386 } |
| 386 | 387 |
| 387 return true; | 388 return true; |
| 388 } | 389 } |
| OLD | NEW |