| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <GLES2/gl2.h> | 5 #include <GLES2/gl2.h> |
| 6 #include <GLES2/gl2ext.h> | 6 #include <GLES2/gl2ext.h> |
| 7 #include <GLES2/gl2extchromium.h> | 7 #include <GLES2/gl2extchromium.h> |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "gpu/command_buffer/service/context_group.h" | 10 #include "gpu/command_buffer/service/context_group.h" |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 glDeleteShader(fs); | 275 glDeleteShader(fs); |
| 276 | 276 |
| 277 glLinkProgram(program); | 277 glLinkProgram(program); |
| 278 | 278 |
| 279 GLint linked = 0; | 279 GLint linked = 0; |
| 280 glGetProgramiv(program, GL_LINK_STATUS, &linked); | 280 glGetProgramiv(program, GL_LINK_STATUS, &linked); |
| 281 EXPECT_NE(0, linked); | 281 EXPECT_NE(0, linked); |
| 282 } | 282 } |
| 283 | 283 |
| 284 } // namespace gpu | 284 } // namespace gpu |
| 285 | |
| OLD | NEW |