| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |