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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h

Issue 1725113002: gpu: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months 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 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ 6 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 const char** str, 190 const char** str,
191 GLsizei count_in_header, 191 GLsizei count_in_header,
192 char str_end); 192 char str_end);
193 193
194 void set_memory_tracker(MemoryTracker* memory_tracker) { 194 void set_memory_tracker(MemoryTracker* memory_tracker) {
195 memory_tracker_ = memory_tracker; 195 memory_tracker_ = memory_tracker;
196 } 196 }
197 197
198 struct InitState { 198 struct InitState {
199 InitState(); 199 InitState();
200 InitState(const InitState& other);
200 201
201 std::string extensions; 202 std::string extensions;
202 std::string gl_version; 203 std::string gl_version;
203 bool has_alpha; 204 bool has_alpha;
204 bool has_depth; 205 bool has_depth;
205 bool has_stencil; 206 bool has_stencil;
206 bool request_alpha; 207 bool request_alpha;
207 bool request_depth; 208 bool request_depth;
208 bool request_stencil; 209 bool request_stencil;
209 bool bind_generates_resource; 210 bool bind_generates_resource;
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
772 }; 773 };
773 774
774 // SpecializedSetup specializations that are needed in multiple unittest files. 775 // SpecializedSetup specializations that are needed in multiple unittest files.
775 template <> 776 template <>
776 void GLES2DecoderTestBase::SpecializedSetup<cmds::LinkProgram, 0>(bool valid); 777 void GLES2DecoderTestBase::SpecializedSetup<cmds::LinkProgram, 0>(bool valid);
777 778
778 } // namespace gles2 779 } // namespace gles2
779 } // namespace gpu 780 } // namespace gpu
780 781
781 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ 782 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/context_state.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698