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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 if (group_->feature_info()->feature_flags().chromium_path_rendering) { | 64 if (group_->feature_info()->feature_flags().chromium_path_rendering) { |
65 EXPECT_CALL(*gl_, MatrixLoadfEXT(GL_PATH_MODELVIEW_CHROMIUM, _)) | 65 EXPECT_CALL(*gl_, MatrixLoadfEXT(GL_PATH_MODELVIEW_CHROMIUM, _)) |
66 .Times(1) | 66 .Times(1) |
67 .RetiresOnSaturation(); | 67 .RetiresOnSaturation(); |
68 } | 68 } |
69 if (group_->feature_info()->feature_flags().chromium_path_rendering) { | 69 if (group_->feature_info()->feature_flags().chromium_path_rendering) { |
70 EXPECT_CALL(*gl_, MatrixLoadfEXT(GL_PATH_PROJECTION_CHROMIUM, _)) | 70 EXPECT_CALL(*gl_, MatrixLoadfEXT(GL_PATH_PROJECTION_CHROMIUM, _)) |
71 .Times(1) | 71 .Times(1) |
72 .RetiresOnSaturation(); | 72 .RetiresOnSaturation(); |
73 } | 73 } |
| 74 if (group_->feature_info()->feature_flags().chromium_path_rendering) { |
| 75 EXPECT_CALL(*gl_, PathStencilFuncNV(GL_ALWAYS, 0, 0xFFFFFFFFU)) |
| 76 .Times(1) |
| 77 .RetiresOnSaturation(); |
| 78 } |
74 EXPECT_CALL(*gl_, PixelStorei(GL_PACK_ALIGNMENT, 4)) | 79 EXPECT_CALL(*gl_, PixelStorei(GL_PACK_ALIGNMENT, 4)) |
75 .Times(1) | 80 .Times(1) |
76 .RetiresOnSaturation(); | 81 .RetiresOnSaturation(); |
77 EXPECT_CALL(*gl_, PixelStorei(GL_UNPACK_ALIGNMENT, 4)) | 82 EXPECT_CALL(*gl_, PixelStorei(GL_UNPACK_ALIGNMENT, 4)) |
78 .Times(1) | 83 .Times(1) |
79 .RetiresOnSaturation(); | 84 .RetiresOnSaturation(); |
80 EXPECT_CALL(*gl_, PolygonOffset(0.0f, 0.0f)).Times(1).RetiresOnSaturation(); | 85 EXPECT_CALL(*gl_, PolygonOffset(0.0f, 0.0f)).Times(1).RetiresOnSaturation(); |
81 EXPECT_CALL(*gl_, SampleCoverage(1.0f, false)).Times(1).RetiresOnSaturation(); | 86 EXPECT_CALL(*gl_, SampleCoverage(1.0f, false)).Times(1).RetiresOnSaturation(); |
82 EXPECT_CALL(*gl_, | 87 EXPECT_CALL(*gl_, |
83 Scissor(kViewportX, kViewportY, kViewportWidth, kViewportHeight)) | 88 Scissor(kViewportX, kViewportY, kViewportWidth, kViewportHeight)) |
(...skipping 16 matching lines...) Expand all Loading... |
100 .RetiresOnSaturation(); | 105 .RetiresOnSaturation(); |
101 EXPECT_CALL(*gl_, StencilOpSeparate(GL_BACK, GL_KEEP, GL_KEEP, GL_KEEP)) | 106 EXPECT_CALL(*gl_, StencilOpSeparate(GL_BACK, GL_KEEP, GL_KEEP, GL_KEEP)) |
102 .Times(1) | 107 .Times(1) |
103 .RetiresOnSaturation(); | 108 .RetiresOnSaturation(); |
104 EXPECT_CALL(*gl_, | 109 EXPECT_CALL(*gl_, |
105 Viewport(kViewportX, kViewportY, kViewportWidth, kViewportHeight)) | 110 Viewport(kViewportX, kViewportY, kViewportWidth, kViewportHeight)) |
106 .Times(1) | 111 .Times(1) |
107 .RetiresOnSaturation(); | 112 .RetiresOnSaturation(); |
108 } | 113 } |
109 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_0_AUTOGEN_H_ | 114 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_0_AUTOGEN_H_ |
OLD | NEW |