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 | 8 |
8 #include "../client/query_tracker.h" | 9 #include "../client/query_tracker.h" |
9 | 10 |
10 #include "../client/atomicops.h" | 11 #include "../client/atomicops.h" |
11 #include "../client/gles2_cmd_helper.h" | 12 #include "../client/gles2_cmd_helper.h" |
12 #include "../client/gles2_implementation.h" | 13 #include "../client/gles2_implementation.h" |
13 #include "../client/mapped_memory.h" | 14 #include "../client/mapped_memory.h" |
14 #include "../common/time.h" | 15 #include "../common/time.h" |
15 | 16 |
16 namespace gpu { | 17 namespace gpu { |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 Query* query = it->second; | 200 Query* query = it->second; |
200 GPU_DCHECK(context_lost || !query->Pending()); | 201 GPU_DCHECK(context_lost || !query->Pending()); |
201 query_sync_manager_.Free(query->info_); | 202 query_sync_manager_.Free(query->info_); |
202 queries_.erase(it); | 203 queries_.erase(it); |
203 delete query; | 204 delete query; |
204 } | 205 } |
205 } | 206 } |
206 | 207 |
207 } // namespace gles2 | 208 } // namespace gles2 |
208 } // namespace gpu | 209 } // namespace gpu |
OLD | NEW |