OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/gl2chromium.h> | 6 #include <GLES2/gl2chromium.h> |
7 #include <GLES2/gl2ext.h> | 7 #include <GLES2/gl2ext.h> |
8 #include <GLES2/gl2extchromium.h> | 8 #include <GLES2/gl2extchromium.h> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 | 200 |
201 // Destroy the image. | 201 // Destroy the image. |
202 EXPECT_CALL(*gpu_memory_buffer, Die()) | 202 EXPECT_CALL(*gpu_memory_buffer, Die()) |
203 .Times(1) | 203 .Times(1) |
204 .RetiresOnSaturation(); | 204 .RetiresOnSaturation(); |
205 glDestroyImageCHROMIUM(image_id); | 205 glDestroyImageCHROMIUM(image_id); |
206 } | 206 } |
207 | 207 |
208 } // namespace gles2 | 208 } // namespace gles2 |
209 } // namespace gpu | 209 } // namespace gpu |
OLD | NEW |