| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 is auto-generated from | 5 // This file is auto-generated from |
| 6 // gpu/command_buffer/build_gles2_cmd_buffer.py | 6 // gpu/command_buffer/build_gles2_cmd_buffer.py |
| 7 // It's formatted by clang-format using chromium coding style: | 7 // It's formatted by clang-format using chromium coding style: |
| 8 // clang-format -i -style=chromium filename | 8 // clang-format -i -style=chromium filename |
| 9 // DO NOT EDIT! | 9 // DO NOT EDIT! |
| 10 | 10 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 EXPECT_CALL(*gl_, Hint(GL_GENERATE_MIPMAP_HINT, GL_DONT_CARE)) | 69 EXPECT_CALL(*gl_, Hint(GL_GENERATE_MIPMAP_HINT, GL_DONT_CARE)) |
| 70 .Times(1) | 70 .Times(1) |
| 71 .RetiresOnSaturation(); | 71 .RetiresOnSaturation(); |
| 72 } | 72 } |
| 73 if (feature_info_->feature_flags().oes_standard_derivatives) { | 73 if (feature_info_->feature_flags().oes_standard_derivatives) { |
| 74 EXPECT_CALL(*gl_, | 74 EXPECT_CALL(*gl_, |
| 75 Hint(GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES, GL_DONT_CARE)) | 75 Hint(GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES, GL_DONT_CARE)) |
| 76 .Times(1) | 76 .Times(1) |
| 77 .RetiresOnSaturation(); | 77 .RetiresOnSaturation(); |
| 78 } | 78 } |
| 79 EXPECT_CALL(*gl_, LineWidth(1.0f)).Times(1).RetiresOnSaturation(); | 79 SetupInitStateManualExpectationsForDoLineWidth(1.0f); |
| 80 if (feature_info_->feature_flags().chromium_path_rendering) { | 80 if (feature_info_->feature_flags().chromium_path_rendering) { |
| 81 EXPECT_CALL(*gl_, MatrixLoadfEXT(GL_PATH_MODELVIEW_CHROMIUM, _)) | 81 EXPECT_CALL(*gl_, MatrixLoadfEXT(GL_PATH_MODELVIEW_CHROMIUM, _)) |
| 82 .Times(1) | 82 .Times(1) |
| 83 .RetiresOnSaturation(); | 83 .RetiresOnSaturation(); |
| 84 } | 84 } |
| 85 if (feature_info_->feature_flags().chromium_path_rendering) { | 85 if (feature_info_->feature_flags().chromium_path_rendering) { |
| 86 EXPECT_CALL(*gl_, MatrixLoadfEXT(GL_PATH_PROJECTION_CHROMIUM, _)) | 86 EXPECT_CALL(*gl_, MatrixLoadfEXT(GL_PATH_PROJECTION_CHROMIUM, _)) |
| 87 .Times(1) | 87 .Times(1) |
| 88 .RetiresOnSaturation(); | 88 .RetiresOnSaturation(); |
| 89 } | 89 } |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 EXPECT_CALL(*gl_, StencilOpSeparate(GL_BACK, GL_KEEP, GL_KEEP, GL_KEEP)) | 122 EXPECT_CALL(*gl_, StencilOpSeparate(GL_BACK, GL_KEEP, GL_KEEP, GL_KEEP)) |
| 123 .Times(1) | 123 .Times(1) |
| 124 .RetiresOnSaturation(); | 124 .RetiresOnSaturation(); |
| 125 EXPECT_CALL(*gl_, | 125 EXPECT_CALL(*gl_, |
| 126 Viewport(kViewportX, kViewportY, kViewportWidth, kViewportHeight)) | 126 Viewport(kViewportX, kViewportY, kViewportWidth, kViewportHeight)) |
| 127 .Times(1) | 127 .Times(1) |
| 128 .RetiresOnSaturation(); | 128 .RetiresOnSaturation(); |
| 129 SetupInitStateManualExpectations(es3_capable); | 129 SetupInitStateManualExpectations(es3_capable); |
| 130 } | 130 } |
| 131 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_0_AUTOGEN_H_ | 131 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_0_AUTOGEN_H_ |
| OLD | NEW |