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

Side by Side Diff: gpu/command_buffer/service/context_state.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
« no previous file with comments | « gpu/command_buffer/common/sync_token.cc ('k') | gpu/command_buffer/service/context_state.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // This file contains the ContextState class. 5 // This file contains the ContextState class.
6 6
7 #ifndef GPU_COMMAND_BUFFER_SERVICE_CONTEXT_STATE_H_ 7 #ifndef GPU_COMMAND_BUFFER_SERVICE_CONTEXT_STATE_H_
8 #define GPU_COMMAND_BUFFER_SERVICE_CONTEXT_STATE_H_ 8 #define GPU_COMMAND_BUFFER_SERVICE_CONTEXT_STATE_H_
9 9
10 #include <vector> 10 #include <vector>
(...skipping 15 matching lines...) Expand all
26 class ErrorStateClient; 26 class ErrorStateClient;
27 class FeatureInfo; 27 class FeatureInfo;
28 class Framebuffer; 28 class Framebuffer;
29 class Logger; 29 class Logger;
30 class Program; 30 class Program;
31 class Renderbuffer; 31 class Renderbuffer;
32 32
33 // State associated with each texture unit. 33 // State associated with each texture unit.
34 struct GPU_EXPORT TextureUnit { 34 struct GPU_EXPORT TextureUnit {
35 TextureUnit(); 35 TextureUnit();
36 TextureUnit(const TextureUnit& other);
36 ~TextureUnit(); 37 ~TextureUnit();
37 38
38 // The last target that was bound to this texture unit. 39 // The last target that was bound to this texture unit.
39 GLenum bind_target; 40 GLenum bind_target;
40 41
41 // texture currently bound to this unit's GL_TEXTURE_2D with glBindTexture 42 // texture currently bound to this unit's GL_TEXTURE_2D with glBindTexture
42 scoped_refptr<TextureRef> bound_texture_2d; 43 scoped_refptr<TextureRef> bound_texture_2d;
43 44
44 // texture currently bound to this unit's GL_TEXTURE_CUBE_MAP with 45 // texture currently bound to this unit's GL_TEXTURE_CUBE_MAP with
45 // glBindTexture 46 // glBindTexture
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 309
309 FeatureInfo* feature_info_; 310 FeatureInfo* feature_info_;
310 scoped_ptr<ErrorState> error_state_; 311 scoped_ptr<ErrorState> error_state_;
311 }; 312 };
312 313
313 } // namespace gles2 314 } // namespace gles2
314 } // namespace gpu 315 } // namespace gpu
315 316
316 #endif // GPU_COMMAND_BUFFER_SERVICE_CONTEXT_STATE_H_ 317 #endif // GPU_COMMAND_BUFFER_SERVICE_CONTEXT_STATE_H_
317 318
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/sync_token.cc ('k') | gpu/command_buffer/service/context_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698