OLD | NEW |
1 // Copyright (c) 2011 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 "gpu/command_buffer/service/gles2_cmd_decoder.h" | 5 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" |
6 | 6 |
7 #include <stdio.h> | 7 #include <stdio.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <list> | 10 #include <list> |
(...skipping 1754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1765 clear_stencil_(0), | 1765 clear_stencil_(0), |
1766 mask_stencil_front_(-1), | 1766 mask_stencil_front_(-1), |
1767 mask_stencil_back_(-1), | 1767 mask_stencil_back_(-1), |
1768 clear_depth_(1.0f), | 1768 clear_depth_(1.0f), |
1769 mask_depth_(true), | 1769 mask_depth_(true), |
1770 enable_scissor_test_(false), | 1770 enable_scissor_test_(false), |
1771 offscreen_target_color_format_(0), | 1771 offscreen_target_color_format_(0), |
1772 offscreen_target_depth_format_(0), | 1772 offscreen_target_depth_format_(0), |
1773 offscreen_target_stencil_format_(0), | 1773 offscreen_target_stencil_format_(0), |
1774 offscreen_target_samples_(0), | 1774 offscreen_target_samples_(0), |
| 1775 copy_texture_to_parent_texture_fb_(0), |
1775 offscreen_saved_color_format_(0), | 1776 offscreen_saved_color_format_(0), |
1776 back_buffer_color_format_(0), | 1777 back_buffer_color_format_(0), |
1777 current_decoder_error_(error::kNoError), | 1778 current_decoder_error_(error::kNoError), |
1778 use_shader_translator_(true), | 1779 use_shader_translator_(true), |
1779 validators_(group_->feature_info()->validators()), | 1780 validators_(group_->feature_info()->validators()), |
1780 feature_info_(group_->feature_info()) { | 1781 feature_info_(group_->feature_info()) { |
1781 attrib_0_value_.v[0] = 0.0f; | 1782 attrib_0_value_.v[0] = 0.0f; |
1782 attrib_0_value_.v[1] = 0.0f; | 1783 attrib_0_value_.v[1] = 0.0f; |
1783 attrib_0_value_.v[2] = 0.0f; | 1784 attrib_0_value_.v[2] = 0.0f; |
1784 attrib_0_value_.v[3] = 1.0f; | 1785 attrib_0_value_.v[3] = 1.0f; |
(...skipping 4507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6292 return error::kNoError; | 6293 return error::kNoError; |
6293 } | 6294 } |
6294 | 6295 |
6295 // Include the auto-generated part of this file. We split this because it means | 6296 // Include the auto-generated part of this file. We split this because it means |
6296 // we can easily edit the non-auto generated parts right here in this file | 6297 // we can easily edit the non-auto generated parts right here in this file |
6297 // instead of having to edit some template or the code generator. | 6298 // instead of having to edit some template or the code generator. |
6298 #include "gpu/command_buffer/service/gles2_cmd_decoder_autogen.h" | 6299 #include "gpu/command_buffer/service/gles2_cmd_decoder_autogen.h" |
6299 | 6300 |
6300 } // namespace gles2 | 6301 } // namespace gles2 |
6301 } // namespace gpu | 6302 } // namespace gpu |
OLD | NEW |