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 "gpu/command_buffer/client/gles2_lib.h" | 9 #include "gpu/command_buffer/client/gles2_lib.h" |
10 #include "gpu/command_buffer/common/mailbox.h" | 10 #include "gpu/command_buffer/common/mailbox.h" |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 other_gl[i].Destroy(); | 365 other_gl[i].Destroy(); |
366 } | 366 } |
367 | 367 |
368 gl1_.MakeCurrent(); | 368 gl1_.MakeCurrent(); |
369 glDeleteTextures(2, tex); | 369 glDeleteTextures(2, tex); |
370 } | 370 } |
371 #endif | 371 #endif |
372 | 372 |
373 } // namespace gpu | 373 } // namespace gpu |
374 | 374 |
OLD | NEW |