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 "gpu/command_buffer/service/gles2_cmd_decoder.h" | 5 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" |
6 | 6 |
7 #include <stdio.h> | 7 #include <stdio.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <list> | 10 #include <list> |
(...skipping 3478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3489 if (query_manager_.get()) { | 3489 if (query_manager_.get()) { |
3490 query_manager_->Destroy(have_context); | 3490 query_manager_->Destroy(have_context); |
3491 query_manager_.reset(); | 3491 query_manager_.reset(); |
3492 } | 3492 } |
3493 | 3493 |
3494 if (vertex_array_manager_ .get()) { | 3494 if (vertex_array_manager_ .get()) { |
3495 vertex_array_manager_->Destroy(have_context); | 3495 vertex_array_manager_->Destroy(have_context); |
3496 vertex_array_manager_.reset(); | 3496 vertex_array_manager_.reset(); |
3497 } | 3497 } |
3498 | 3498 |
| 3499 if (image_manager_.get()) { |
| 3500 image_manager_->Destroy(have_context); |
| 3501 image_manager_.reset(); |
| 3502 } |
| 3503 |
3499 offscreen_target_frame_buffer_.reset(); | 3504 offscreen_target_frame_buffer_.reset(); |
3500 offscreen_target_color_texture_.reset(); | 3505 offscreen_target_color_texture_.reset(); |
3501 offscreen_target_color_render_buffer_.reset(); | 3506 offscreen_target_color_render_buffer_.reset(); |
3502 offscreen_target_depth_render_buffer_.reset(); | 3507 offscreen_target_depth_render_buffer_.reset(); |
3503 offscreen_target_stencil_render_buffer_.reset(); | 3508 offscreen_target_stencil_render_buffer_.reset(); |
3504 offscreen_saved_frame_buffer_.reset(); | 3509 offscreen_saved_frame_buffer_.reset(); |
3505 offscreen_saved_color_texture_.reset(); | 3510 offscreen_saved_color_texture_.reset(); |
3506 offscreen_resolved_frame_buffer_.reset(); | 3511 offscreen_resolved_frame_buffer_.reset(); |
3507 offscreen_resolved_color_texture_.reset(); | 3512 offscreen_resolved_color_texture_.reset(); |
3508 | 3513 |
(...skipping 7415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10924 } | 10929 } |
10925 } | 10930 } |
10926 | 10931 |
10927 // Include the auto-generated part of this file. We split this because it means | 10932 // Include the auto-generated part of this file. We split this because it means |
10928 // we can easily edit the non-auto generated parts right here in this file | 10933 // we can easily edit the non-auto generated parts right here in this file |
10929 // instead of having to edit some template or the code generator. | 10934 // instead of having to edit some template or the code generator. |
10930 #include "gpu/command_buffer/service/gles2_cmd_decoder_autogen.h" | 10935 #include "gpu/command_buffer/service/gles2_cmd_decoder_autogen.h" |
10931 | 10936 |
10932 } // namespace gles2 | 10937 } // namespace gles2 |
10933 } // namespace gpu | 10938 } // namespace gpu |
OLD | NEW |