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

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

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/service/vertex_attrib_manager.h ('k') | gpu/config/dx_diag_node.h » ('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 #include "gpu/command_buffer/service/vertex_attrib_manager.h" 5 #include "gpu/command_buffer/service/vertex_attrib_manager.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <list> 9 #include <list>
10 10
(...skipping 23 matching lines...) Expand all
34 offset_(0), 34 offset_(0),
35 normalized_(GL_FALSE), 35 normalized_(GL_FALSE),
36 gl_stride_(0), 36 gl_stride_(0),
37 real_stride_(16), 37 real_stride_(16),
38 divisor_(0), 38 divisor_(0),
39 integer_(GL_FALSE), 39 integer_(GL_FALSE),
40 is_client_side_array_(false), 40 is_client_side_array_(false),
41 list_(NULL) { 41 list_(NULL) {
42 } 42 }
43 43
44 VertexAttrib::VertexAttrib(const VertexAttrib& other) = default;
45
44 VertexAttrib::~VertexAttrib() { 46 VertexAttrib::~VertexAttrib() {
45 } 47 }
46 48
47 void VertexAttrib::SetInfo( 49 void VertexAttrib::SetInfo(
48 Buffer* buffer, 50 Buffer* buffer,
49 GLint size, 51 GLint size,
50 GLenum type, 52 GLenum type,
51 GLboolean normalized, 53 GLboolean normalized,
52 GLsizei gl_stride, 54 GLsizei gl_stride,
53 GLsizei real_stride, 55 GLsizei real_stride,
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 if (current_buffer_id != kInitialBufferId) { 276 if (current_buffer_id != kInitialBufferId) {
275 // Restore the buffer binding. 277 // Restore the buffer binding.
276 decoder->RestoreBufferBindings(); 278 decoder->RestoreBufferBindings();
277 } 279 }
278 280
279 return true; 281 return true;
280 } 282 }
281 283
282 } // namespace gles2 284 } // namespace gles2
283 } // namespace gpu 285 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/vertex_attrib_manager.h ('k') | gpu/config/dx_diag_node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698