OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 8 |
9 #include <cmath> | 9 #include <cmath> |
10 | 10 |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 | 313 |
314 glDeleteFramebuffers(1, &framebuffer); | 314 glDeleteFramebuffers(1, &framebuffer); |
315 glDeleteTextures(1, &texture_id); | 315 glDeleteTextures(1, &texture_id); |
316 } | 316 } |
317 | 317 |
318 glDeleteBuffers(1, &vertex_buffer); | 318 glDeleteBuffers(1, &vertex_buffer); |
319 glDeleteProgram(program); | 319 glDeleteProgram(program); |
320 } | 320 } |
321 | 321 |
322 } // namespace gpu | 322 } // namespace gpu |
OLD | NEW |