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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 EXPECT_CALL(*gl_, Hint(GL_GENERATE_MIPMAP_HINT, GL_DONT_CARE)) | 50 EXPECT_CALL(*gl_, Hint(GL_GENERATE_MIPMAP_HINT, GL_DONT_CARE)) |
51 .Times(1) | 51 .Times(1) |
52 .RetiresOnSaturation(); | 52 .RetiresOnSaturation(); |
53 if (group_->feature_info()->feature_flags().oes_standard_derivatives) { | 53 if (group_->feature_info()->feature_flags().oes_standard_derivatives) { |
54 EXPECT_CALL(*gl_, | 54 EXPECT_CALL(*gl_, |
55 Hint(GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES, GL_DONT_CARE)) | 55 Hint(GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES, GL_DONT_CARE)) |
56 .Times(1) | 56 .Times(1) |
57 .RetiresOnSaturation(); | 57 .RetiresOnSaturation(); |
58 } | 58 } |
59 EXPECT_CALL(*gl_, LineWidth(1.0f)).Times(1).RetiresOnSaturation(); | 59 EXPECT_CALL(*gl_, LineWidth(1.0f)).Times(1).RetiresOnSaturation(); |
| 60 if (group_->feature_info()->feature_flags().chromium_path_rendering) { |
| 61 EXPECT_CALL(*gl_, MatrixLoadfEXT(GL_PATH_MODELVIEW_CHROMIUM, _)) |
| 62 .Times(1) |
| 63 .RetiresOnSaturation(); |
| 64 } |
| 65 if (group_->feature_info()->feature_flags().chromium_path_rendering) { |
| 66 EXPECT_CALL(*gl_, MatrixLoadfEXT(GL_PATH_PROJECTION_CHROMIUM, _)) |
| 67 .Times(1) |
| 68 .RetiresOnSaturation(); |
| 69 } |
60 EXPECT_CALL(*gl_, PixelStorei(GL_PACK_ALIGNMENT, 4)) | 70 EXPECT_CALL(*gl_, PixelStorei(GL_PACK_ALIGNMENT, 4)) |
61 .Times(1) | 71 .Times(1) |
62 .RetiresOnSaturation(); | 72 .RetiresOnSaturation(); |
63 EXPECT_CALL(*gl_, PixelStorei(GL_UNPACK_ALIGNMENT, 4)) | 73 EXPECT_CALL(*gl_, PixelStorei(GL_UNPACK_ALIGNMENT, 4)) |
64 .Times(1) | 74 .Times(1) |
65 .RetiresOnSaturation(); | 75 .RetiresOnSaturation(); |
66 EXPECT_CALL(*gl_, PolygonOffset(0.0f, 0.0f)).Times(1).RetiresOnSaturation(); | 76 EXPECT_CALL(*gl_, PolygonOffset(0.0f, 0.0f)).Times(1).RetiresOnSaturation(); |
67 EXPECT_CALL(*gl_, SampleCoverage(1.0f, false)).Times(1).RetiresOnSaturation(); | 77 EXPECT_CALL(*gl_, SampleCoverage(1.0f, false)).Times(1).RetiresOnSaturation(); |
68 EXPECT_CALL(*gl_, | 78 EXPECT_CALL(*gl_, |
69 Scissor(kViewportX, kViewportY, kViewportWidth, kViewportHeight)) | 79 Scissor(kViewportX, kViewportY, kViewportWidth, kViewportHeight)) |
(...skipping 16 matching lines...) Expand all Loading... |
86 .RetiresOnSaturation(); | 96 .RetiresOnSaturation(); |
87 EXPECT_CALL(*gl_, StencilOpSeparate(GL_BACK, GL_KEEP, GL_KEEP, GL_KEEP)) | 97 EXPECT_CALL(*gl_, StencilOpSeparate(GL_BACK, GL_KEEP, GL_KEEP, GL_KEEP)) |
88 .Times(1) | 98 .Times(1) |
89 .RetiresOnSaturation(); | 99 .RetiresOnSaturation(); |
90 EXPECT_CALL(*gl_, | 100 EXPECT_CALL(*gl_, |
91 Viewport(kViewportX, kViewportY, kViewportWidth, kViewportHeight)) | 101 Viewport(kViewportX, kViewportY, kViewportWidth, kViewportHeight)) |
92 .Times(1) | 102 .Times(1) |
93 .RetiresOnSaturation(); | 103 .RetiresOnSaturation(); |
94 } | 104 } |
95 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_0_AUTOGEN_H_ | 105 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_0_AUTOGEN_H_ |
OLD | NEW |