Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(215)

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder.cc

Issue 2541843004: Add a version of gpu_fuzzer that is backed by the NULL ANGLE backend (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <limits.h> 7 #include <limits.h>
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 #include <stdio.h> 10 #include <stdio.h>
(...skipping 4767 matching lines...) Expand 10 before | Expand all | Expand 10 after
4778 offscreen_target_frame_buffer_.reset(); 4778 offscreen_target_frame_buffer_.reset();
4779 offscreen_target_color_texture_.reset(); 4779 offscreen_target_color_texture_.reset();
4780 offscreen_target_color_render_buffer_.reset(); 4780 offscreen_target_color_render_buffer_.reset();
4781 offscreen_target_depth_render_buffer_.reset(); 4781 offscreen_target_depth_render_buffer_.reset();
4782 offscreen_target_stencil_render_buffer_.reset(); 4782 offscreen_target_stencil_render_buffer_.reset();
4783 offscreen_saved_frame_buffer_.reset(); 4783 offscreen_saved_frame_buffer_.reset();
4784 offscreen_saved_color_texture_.reset(); 4784 offscreen_saved_color_texture_.reset();
4785 offscreen_resolved_frame_buffer_.reset(); 4785 offscreen_resolved_frame_buffer_.reset();
4786 offscreen_resolved_color_texture_.reset(); 4786 offscreen_resolved_color_texture_.reset();
4787 4787
4788 // Release all fences now, because some fence types need the context to be
4789 // current on destruction.
4790 pending_readpixel_fences_ = std::queue<FenceCallback>();
4791
4788 // Need to release these before releasing |group_| which may own the 4792 // Need to release these before releasing |group_| which may own the
4789 // ShaderTranslatorCache. 4793 // ShaderTranslatorCache.
4790 fragment_translator_ = NULL; 4794 fragment_translator_ = NULL;
4791 vertex_translator_ = NULL; 4795 vertex_translator_ = NULL;
4792 4796
4793 // Destroy the GPU Tracer which may own some in process GPU Timings. 4797 // Destroy the GPU Tracer which may own some in process GPU Timings.
4794 if (gpu_tracer_) { 4798 if (gpu_tracer_) {
4795 gpu_tracer_->Destroy(have_context); 4799 gpu_tracer_->Destroy(have_context);
4796 gpu_tracer_.reset(); 4800 gpu_tracer_.reset();
4797 } 4801 }
(...skipping 14074 matching lines...) Expand 10 before | Expand all | Expand 10 after
18872 } 18876 }
18873 18877
18874 // Include the auto-generated part of this file. We split this because it means 18878 // Include the auto-generated part of this file. We split this because it means
18875 // we can easily edit the non-auto generated parts right here in this file 18879 // we can easily edit the non-auto generated parts right here in this file
18876 // instead of having to edit some template or the code generator. 18880 // instead of having to edit some template or the code generator.
18877 #include "base/macros.h" 18881 #include "base/macros.h"
18878 #include "gpu/command_buffer/service/gles2_cmd_decoder_autogen.h" 18882 #include "gpu/command_buffer/service/gles2_cmd_decoder_autogen.h"
18879 18883
18880 } // namespace gles2 18884 } // namespace gles2
18881 } // namespace gpu 18885 } // namespace gpu
OLDNEW
« gpu/BUILD.gn ('K') | « gpu/BUILD.gn ('k') | gpu/command_buffer/tests/fuzzer_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698