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

Side by Side Diff: webkit/gpu/webgraphicscontext3d_in_process_impl.cc

Issue 6272025: Part 2 of repairing regressions to my old clang check plugins so Nico can (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Copyright 2011 Created 9 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « webkit/gpu/webgraphicscontext3d_in_process_impl.h ('k') | no next file » | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "webkit/gpu/webgraphicscontext3d_in_process_impl.h" 5 #include "webkit/gpu/webgraphicscontext3d_in_process_impl.h"
6 6
7 #include <string.h> 7 #include <string.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <string> 10 #include <string>
11 11
(...skipping 1575 matching lines...) Expand 10 before | Expand all | Expand 10 after
1587 : enabled(false), 1587 : enabled(false),
1588 buffer(0), 1588 buffer(0),
1589 indx(0), 1589 indx(0),
1590 size(0), 1590 size(0),
1591 type(0), 1591 type(0),
1592 normalized(false), 1592 normalized(false),
1593 stride(0), 1593 stride(0),
1594 offset(0) { 1594 offset(0) {
1595 } 1595 }
1596 1596
1597 WebGraphicsContext3DInProcessImpl::
1598 ShaderSourceEntry::ShaderSourceEntry(unsigned long shader_type)
1599 : type(shader_type),
1600 is_valid(false) {
1601 }
1602
1603 WebGraphicsContext3DInProcessImpl::ShaderSourceEntry::~ShaderSourceEntry() {}
1604
1597 WebGraphicsContext3DInProcessImpl::WebGraphicsContext3DInProcessImpl() 1605 WebGraphicsContext3DInProcessImpl::WebGraphicsContext3DInProcessImpl()
1598 : initialized_(false), 1606 : initialized_(false),
1599 render_directly_to_web_view_(false), 1607 render_directly_to_web_view_(false),
1600 is_gles2_(false), 1608 is_gles2_(false),
1601 have_ext_framebuffer_object_(false), 1609 have_ext_framebuffer_object_(false),
1602 have_ext_framebuffer_multisample_(false), 1610 have_ext_framebuffer_multisample_(false),
1603 have_angle_framebuffer_multisample_(false), 1611 have_angle_framebuffer_multisample_(false),
1604 texture_(0), 1612 texture_(0),
1605 fbo_(0), 1613 fbo_(0),
1606 depth_stencil_buffer_(0), 1614 depth_stencil_buffer_(0),
(...skipping 1607 matching lines...) Expand 10 before | Expand all | Expand 10 after
3214 } 3222 }
3215 entry->is_valid = true; 3223 entry->is_valid = true;
3216 return true; 3224 return true;
3217 } 3225 }
3218 3226
3219 #endif // USE_WGC3D_TYPES 3227 #endif // USE_WGC3D_TYPES
3220 3228
3221 } // namespace gpu 3229 } // namespace gpu
3222 } // namespace webkit 3230 } // namespace webkit
3223 3231
OLDNEW
« no previous file with comments | « webkit/gpu/webgraphicscontext3d_in_process_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698