Chromium Code Reviews

Side by Side Diff: gpu/command_buffer/client/gles2_implementation_unittest_autogen.h

Issue 863253002: Update from https://crrev.com/312600 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
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 156 matching lines...)
167 } 167 }
168 168
169 TEST_F(GLES2ImplementationTest, CheckFramebufferStatus) { 169 TEST_F(GLES2ImplementationTest, CheckFramebufferStatus) {
170 struct Cmds { 170 struct Cmds {
171 cmds::CheckFramebufferStatus cmd; 171 cmds::CheckFramebufferStatus cmd;
172 }; 172 };
173 173
174 Cmds expected; 174 Cmds expected;
175 ExpectedMemoryInfo result1 = 175 ExpectedMemoryInfo result1 =
176 GetExpectedResultMemory(sizeof(cmds::CheckFramebufferStatus::Result)); 176 GetExpectedResultMemory(sizeof(cmds::CheckFramebufferStatus::Result));
177 expected.cmd.Init(1, result1.id, result1.offset); 177 expected.cmd.Init(GL_FRAMEBUFFER, result1.id, result1.offset);
178 178
179 EXPECT_CALL(*command_buffer(), OnFlush()) 179 EXPECT_CALL(*command_buffer(), OnFlush())
180 .WillOnce(SetMemory(result1.ptr, uint32_t(1))) 180 .WillOnce(SetMemory(result1.ptr, uint32_t(GL_TRUE)))
181 .RetiresOnSaturation(); 181 .RetiresOnSaturation();
182 182
183 GLboolean result = gl_->CheckFramebufferStatus(1); 183 GLboolean result = gl_->CheckFramebufferStatus(GL_FRAMEBUFFER);
184 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); 184 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
185 EXPECT_TRUE(result); 185 EXPECT_TRUE(result);
186 } 186 }
187 187
188 TEST_F(GLES2ImplementationTest, Clear) { 188 TEST_F(GLES2ImplementationTest, Clear) {
189 struct Cmds { 189 struct Cmds {
190 cmds::Clear cmd; 190 cmds::Clear cmd;
191 }; 191 };
192 Cmds expected; 192 Cmds expected;
193 expected.cmd.Init(1); 193 expected.cmd.Init(1);
(...skipping 228 matching lines...)
422 GLuint data[2]; 422 GLuint data[2];
423 }; 423 };
424 Cmds expected; 424 Cmds expected;
425 expected.del.Init(arraysize(ids), &ids[0]); 425 expected.del.Init(arraysize(ids), &ids[0]);
426 expected.data[0] = kSamplersStartId; 426 expected.data[0] = kSamplersStartId;
427 expected.data[1] = kSamplersStartId + 1; 427 expected.data[1] = kSamplersStartId + 1;
428 gl_->DeleteSamplers(arraysize(ids), &ids[0]); 428 gl_->DeleteSamplers(arraysize(ids), &ids[0]);
429 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); 429 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
430 } 430 }
431 431
432 TEST_F(GLES2ImplementationTest, DeleteSync) {
433 struct Cmds {
434 cmds::DeleteSync cmd;
435 };
436 Cmds expected;
437 expected.cmd.Init(1);
438
439 gl_->DeleteSync(reinterpret_cast<GLsync>(1));
440 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
441 }
442
432 TEST_F(GLES2ImplementationTest, DeleteShader) { 443 TEST_F(GLES2ImplementationTest, DeleteShader) {
433 struct Cmds { 444 struct Cmds {
434 cmds::DeleteShader cmd; 445 cmds::DeleteShader cmd;
435 }; 446 };
436 Cmds expected; 447 Cmds expected;
437 expected.cmd.Init(1); 448 expected.cmd.Init(1);
438 449
439 gl_->DeleteShader(1); 450 gl_->DeleteShader(1);
440 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); 451 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
441 } 452 }
(...skipping 609 matching lines...)
1051 struct Cmds { 1062 struct Cmds {
1052 cmds::IsBuffer cmd; 1063 cmds::IsBuffer cmd;
1053 }; 1064 };
1054 1065
1055 Cmds expected; 1066 Cmds expected;
1056 ExpectedMemoryInfo result1 = 1067 ExpectedMemoryInfo result1 =
1057 GetExpectedResultMemory(sizeof(cmds::IsBuffer::Result)); 1068 GetExpectedResultMemory(sizeof(cmds::IsBuffer::Result));
1058 expected.cmd.Init(1, result1.id, result1.offset); 1069 expected.cmd.Init(1, result1.id, result1.offset);
1059 1070
1060 EXPECT_CALL(*command_buffer(), OnFlush()) 1071 EXPECT_CALL(*command_buffer(), OnFlush())
1061 .WillOnce(SetMemory(result1.ptr, uint32_t(1))) 1072 .WillOnce(SetMemory(result1.ptr, uint32_t(GL_TRUE)))
1062 .RetiresOnSaturation(); 1073 .RetiresOnSaturation();
1063 1074
1064 GLboolean result = gl_->IsBuffer(1); 1075 GLboolean result = gl_->IsBuffer(1);
1065 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); 1076 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
1066 EXPECT_TRUE(result); 1077 EXPECT_TRUE(result);
1067 } 1078 }
1068 1079
1069 TEST_F(GLES2ImplementationTest, IsEnabled) {
1070 struct Cmds {
1071 cmds::IsEnabled cmd;
1072 };
1073
1074 Cmds expected;
1075 ExpectedMemoryInfo result1 =
1076 GetExpectedResultMemory(sizeof(cmds::IsEnabled::Result));
1077 expected.cmd.Init(1, result1.id, result1.offset);
1078
1079 EXPECT_CALL(*command_buffer(), OnFlush())
1080 .WillOnce(SetMemory(result1.ptr, uint32_t(1)))
1081 .RetiresOnSaturation();
1082
1083 GLboolean result = gl_->IsEnabled(1);
1084 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
1085 EXPECT_TRUE(result);
1086 }
1087
1088 TEST_F(GLES2ImplementationTest, IsFramebuffer) { 1080 TEST_F(GLES2ImplementationTest, IsFramebuffer) {
1089 struct Cmds { 1081 struct Cmds {
1090 cmds::IsFramebuffer cmd; 1082 cmds::IsFramebuffer cmd;
1091 }; 1083 };
1092 1084
1093 Cmds expected; 1085 Cmds expected;
1094 ExpectedMemoryInfo result1 = 1086 ExpectedMemoryInfo result1 =
1095 GetExpectedResultMemory(sizeof(cmds::IsFramebuffer::Result)); 1087 GetExpectedResultMemory(sizeof(cmds::IsFramebuffer::Result));
1096 expected.cmd.Init(1, result1.id, result1.offset); 1088 expected.cmd.Init(1, result1.id, result1.offset);
1097 1089
1098 EXPECT_CALL(*command_buffer(), OnFlush()) 1090 EXPECT_CALL(*command_buffer(), OnFlush())
1099 .WillOnce(SetMemory(result1.ptr, uint32_t(1))) 1091 .WillOnce(SetMemory(result1.ptr, uint32_t(GL_TRUE)))
1100 .RetiresOnSaturation(); 1092 .RetiresOnSaturation();
1101 1093
1102 GLboolean result = gl_->IsFramebuffer(1); 1094 GLboolean result = gl_->IsFramebuffer(1);
1103 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); 1095 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
1104 EXPECT_TRUE(result); 1096 EXPECT_TRUE(result);
1105 } 1097 }
1106 1098
1107 TEST_F(GLES2ImplementationTest, IsProgram) { 1099 TEST_F(GLES2ImplementationTest, IsProgram) {
1108 struct Cmds { 1100 struct Cmds {
1109 cmds::IsProgram cmd; 1101 cmds::IsProgram cmd;
1110 }; 1102 };
1111 1103
1112 Cmds expected; 1104 Cmds expected;
1113 ExpectedMemoryInfo result1 = 1105 ExpectedMemoryInfo result1 =
1114 GetExpectedResultMemory(sizeof(cmds::IsProgram::Result)); 1106 GetExpectedResultMemory(sizeof(cmds::IsProgram::Result));
1115 expected.cmd.Init(1, result1.id, result1.offset); 1107 expected.cmd.Init(1, result1.id, result1.offset);
1116 1108
1117 EXPECT_CALL(*command_buffer(), OnFlush()) 1109 EXPECT_CALL(*command_buffer(), OnFlush())
1118 .WillOnce(SetMemory(result1.ptr, uint32_t(1))) 1110 .WillOnce(SetMemory(result1.ptr, uint32_t(GL_TRUE)))
1119 .RetiresOnSaturation(); 1111 .RetiresOnSaturation();
1120 1112
1121 GLboolean result = gl_->IsProgram(1); 1113 GLboolean result = gl_->IsProgram(1);
1122 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); 1114 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
1123 EXPECT_TRUE(result); 1115 EXPECT_TRUE(result);
1124 } 1116 }
1125 1117
1126 TEST_F(GLES2ImplementationTest, IsRenderbuffer) { 1118 TEST_F(GLES2ImplementationTest, IsRenderbuffer) {
1127 struct Cmds { 1119 struct Cmds {
1128 cmds::IsRenderbuffer cmd; 1120 cmds::IsRenderbuffer cmd;
1129 }; 1121 };
1130 1122
1131 Cmds expected; 1123 Cmds expected;
1132 ExpectedMemoryInfo result1 = 1124 ExpectedMemoryInfo result1 =
1133 GetExpectedResultMemory(sizeof(cmds::IsRenderbuffer::Result)); 1125 GetExpectedResultMemory(sizeof(cmds::IsRenderbuffer::Result));
1134 expected.cmd.Init(1, result1.id, result1.offset); 1126 expected.cmd.Init(1, result1.id, result1.offset);
1135 1127
1136 EXPECT_CALL(*command_buffer(), OnFlush()) 1128 EXPECT_CALL(*command_buffer(), OnFlush())
1137 .WillOnce(SetMemory(result1.ptr, uint32_t(1))) 1129 .WillOnce(SetMemory(result1.ptr, uint32_t(GL_TRUE)))
1138 .RetiresOnSaturation(); 1130 .RetiresOnSaturation();
1139 1131
1140 GLboolean result = gl_->IsRenderbuffer(1); 1132 GLboolean result = gl_->IsRenderbuffer(1);
1141 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); 1133 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
1142 EXPECT_TRUE(result); 1134 EXPECT_TRUE(result);
1143 } 1135 }
1144 1136
1145 TEST_F(GLES2ImplementationTest, IsSampler) { 1137 TEST_F(GLES2ImplementationTest, IsSampler) {
1146 struct Cmds { 1138 struct Cmds {
1147 cmds::IsSampler cmd; 1139 cmds::IsSampler cmd;
1148 }; 1140 };
1149 1141
1150 Cmds expected; 1142 Cmds expected;
1151 ExpectedMemoryInfo result1 = 1143 ExpectedMemoryInfo result1 =
1152 GetExpectedResultMemory(sizeof(cmds::IsSampler::Result)); 1144 GetExpectedResultMemory(sizeof(cmds::IsSampler::Result));
1153 expected.cmd.Init(1, result1.id, result1.offset); 1145 expected.cmd.Init(1, result1.id, result1.offset);
1154 1146
1155 EXPECT_CALL(*command_buffer(), OnFlush()) 1147 EXPECT_CALL(*command_buffer(), OnFlush())
1156 .WillOnce(SetMemory(result1.ptr, uint32_t(1))) 1148 .WillOnce(SetMemory(result1.ptr, uint32_t(GL_TRUE)))
1157 .RetiresOnSaturation(); 1149 .RetiresOnSaturation();
1158 1150
1159 GLboolean result = gl_->IsSampler(1); 1151 GLboolean result = gl_->IsSampler(1);
1160 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); 1152 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
1161 EXPECT_TRUE(result); 1153 EXPECT_TRUE(result);
1162 } 1154 }
1163 1155
1164 TEST_F(GLES2ImplementationTest, IsShader) { 1156 TEST_F(GLES2ImplementationTest, IsShader) {
1165 struct Cmds { 1157 struct Cmds {
1166 cmds::IsShader cmd; 1158 cmds::IsShader cmd;
1167 }; 1159 };
1168 1160
1169 Cmds expected; 1161 Cmds expected;
1170 ExpectedMemoryInfo result1 = 1162 ExpectedMemoryInfo result1 =
1171 GetExpectedResultMemory(sizeof(cmds::IsShader::Result)); 1163 GetExpectedResultMemory(sizeof(cmds::IsShader::Result));
1172 expected.cmd.Init(1, result1.id, result1.offset); 1164 expected.cmd.Init(1, result1.id, result1.offset);
1173 1165
1174 EXPECT_CALL(*command_buffer(), OnFlush()) 1166 EXPECT_CALL(*command_buffer(), OnFlush())
1175 .WillOnce(SetMemory(result1.ptr, uint32_t(1))) 1167 .WillOnce(SetMemory(result1.ptr, uint32_t(GL_TRUE)))
1176 .RetiresOnSaturation(); 1168 .RetiresOnSaturation();
1177 1169
1178 GLboolean result = gl_->IsShader(1); 1170 GLboolean result = gl_->IsShader(1);
1179 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); 1171 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
1180 EXPECT_TRUE(result); 1172 EXPECT_TRUE(result);
1181 } 1173 }
1182 1174
1175 TEST_F(GLES2ImplementationTest, IsSync) {
1176 struct Cmds {
1177 cmds::IsSync cmd;
1178 };
1179
1180 Cmds expected;
1181 ExpectedMemoryInfo result1 =
1182 GetExpectedResultMemory(sizeof(cmds::IsSync::Result));
1183 expected.cmd.Init(1, result1.id, result1.offset);
1184
1185 EXPECT_CALL(*command_buffer(), OnFlush())
1186 .WillOnce(SetMemory(result1.ptr, uint32_t(GL_TRUE)))
1187 .RetiresOnSaturation();
1188
1189 GLboolean result = gl_->IsSync(reinterpret_cast<GLsync>(1));
1190 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
1191 EXPECT_TRUE(result);
1192 }
1193
1183 TEST_F(GLES2ImplementationTest, IsTexture) { 1194 TEST_F(GLES2ImplementationTest, IsTexture) {
1184 struct Cmds { 1195 struct Cmds {
1185 cmds::IsTexture cmd; 1196 cmds::IsTexture cmd;
1186 }; 1197 };
1187 1198
1188 Cmds expected; 1199 Cmds expected;
1189 ExpectedMemoryInfo result1 = 1200 ExpectedMemoryInfo result1 =
1190 GetExpectedResultMemory(sizeof(cmds::IsTexture::Result)); 1201 GetExpectedResultMemory(sizeof(cmds::IsTexture::Result));
1191 expected.cmd.Init(1, result1.id, result1.offset); 1202 expected.cmd.Init(1, result1.id, result1.offset);
1192 1203
1193 EXPECT_CALL(*command_buffer(), OnFlush()) 1204 EXPECT_CALL(*command_buffer(), OnFlush())
1194 .WillOnce(SetMemory(result1.ptr, uint32_t(1))) 1205 .WillOnce(SetMemory(result1.ptr, uint32_t(GL_TRUE)))
1195 .RetiresOnSaturation(); 1206 .RetiresOnSaturation();
1196 1207
1197 GLboolean result = gl_->IsTexture(1); 1208 GLboolean result = gl_->IsTexture(1);
1198 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); 1209 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
1199 EXPECT_TRUE(result); 1210 EXPECT_TRUE(result);
1200 } 1211 }
1201 1212
1202 TEST_F(GLES2ImplementationTest, IsTransformFeedback) { 1213 TEST_F(GLES2ImplementationTest, IsTransformFeedback) {
1203 struct Cmds { 1214 struct Cmds {
1204 cmds::IsTransformFeedback cmd; 1215 cmds::IsTransformFeedback cmd;
1205 }; 1216 };
1206 1217
1207 Cmds expected; 1218 Cmds expected;
1208 ExpectedMemoryInfo result1 = 1219 ExpectedMemoryInfo result1 =
1209 GetExpectedResultMemory(sizeof(cmds::IsTransformFeedback::Result)); 1220 GetExpectedResultMemory(sizeof(cmds::IsTransformFeedback::Result));
1210 expected.cmd.Init(1, result1.id, result1.offset); 1221 expected.cmd.Init(1, result1.id, result1.offset);
1211 1222
1212 EXPECT_CALL(*command_buffer(), OnFlush()) 1223 EXPECT_CALL(*command_buffer(), OnFlush())
1213 .WillOnce(SetMemory(result1.ptr, uint32_t(1))) 1224 .WillOnce(SetMemory(result1.ptr, uint32_t(GL_TRUE)))
1214 .RetiresOnSaturation(); 1225 .RetiresOnSaturation();
1215 1226
1216 GLboolean result = gl_->IsTransformFeedback(1); 1227 GLboolean result = gl_->IsTransformFeedback(1);
1217 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); 1228 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
1218 EXPECT_TRUE(result); 1229 EXPECT_TRUE(result);
1219 } 1230 }
1220 1231
1221 TEST_F(GLES2ImplementationTest, LineWidth) { 1232 TEST_F(GLES2ImplementationTest, LineWidth) {
1222 struct Cmds { 1233 struct Cmds {
1223 cmds::LineWidth cmd; 1234 cmds::LineWidth cmd;
(...skipping 1285 matching lines...)
2509 struct Cmds { 2520 struct Cmds {
2510 cmds::IsVertexArrayOES cmd; 2521 cmds::IsVertexArrayOES cmd;
2511 }; 2522 };
2512 2523
2513 Cmds expected; 2524 Cmds expected;
2514 ExpectedMemoryInfo result1 = 2525 ExpectedMemoryInfo result1 =
2515 GetExpectedResultMemory(sizeof(cmds::IsVertexArrayOES::Result)); 2526 GetExpectedResultMemory(sizeof(cmds::IsVertexArrayOES::Result));
2516 expected.cmd.Init(1, result1.id, result1.offset); 2527 expected.cmd.Init(1, result1.id, result1.offset);
2517 2528
2518 EXPECT_CALL(*command_buffer(), OnFlush()) 2529 EXPECT_CALL(*command_buffer(), OnFlush())
2519 .WillOnce(SetMemory(result1.ptr, uint32_t(1))) 2530 .WillOnce(SetMemory(result1.ptr, uint32_t(GL_TRUE)))
2520 .RetiresOnSaturation(); 2531 .RetiresOnSaturation();
2521 2532
2522 GLboolean result = gl_->IsVertexArrayOES(1); 2533 GLboolean result = gl_->IsVertexArrayOES(1);
2523 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); 2534 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
2524 EXPECT_TRUE(result); 2535 EXPECT_TRUE(result);
2525 } 2536 }
2526 // TODO: Implement unit test for EnableFeatureCHROMIUM 2537 // TODO: Implement unit test for EnableFeatureCHROMIUM
2527 2538
2528 TEST_F(GLES2ImplementationTest, ResizeCHROMIUM) { 2539 TEST_F(GLES2ImplementationTest, ResizeCHROMIUM) {
2529 struct Cmds { 2540 struct Cmds {
(...skipping 91 matching lines...)
2621 struct Cmds { 2632 struct Cmds {
2622 cmds::IsValuebufferCHROMIUM cmd; 2633 cmds::IsValuebufferCHROMIUM cmd;
2623 }; 2634 };
2624 2635
2625 Cmds expected; 2636 Cmds expected;
2626 ExpectedMemoryInfo result1 = 2637 ExpectedMemoryInfo result1 =
2627 GetExpectedResultMemory(sizeof(cmds::IsValuebufferCHROMIUM::Result)); 2638 GetExpectedResultMemory(sizeof(cmds::IsValuebufferCHROMIUM::Result));
2628 expected.cmd.Init(1, result1.id, result1.offset); 2639 expected.cmd.Init(1, result1.id, result1.offset);
2629 2640
2630 EXPECT_CALL(*command_buffer(), OnFlush()) 2641 EXPECT_CALL(*command_buffer(), OnFlush())
2631 .WillOnce(SetMemory(result1.ptr, uint32_t(1))) 2642 .WillOnce(SetMemory(result1.ptr, uint32_t(GL_TRUE)))
2632 .RetiresOnSaturation(); 2643 .RetiresOnSaturation();
2633 2644
2634 GLboolean result = gl_->IsValuebufferCHROMIUM(1); 2645 GLboolean result = gl_->IsValuebufferCHROMIUM(1);
2635 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); 2646 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
2636 EXPECT_TRUE(result); 2647 EXPECT_TRUE(result);
2637 } 2648 }
2638 2649
2639 TEST_F(GLES2ImplementationTest, BindValuebufferCHROMIUM) { 2650 TEST_F(GLES2ImplementationTest, BindValuebufferCHROMIUM) {
2640 struct Cmds { 2651 struct Cmds {
2641 cmds::BindValuebufferCHROMIUM cmd; 2652 cmds::BindValuebufferCHROMIUM cmd;
(...skipping 158 matching lines...)
2800 struct Cmds { 2811 struct Cmds {
2801 cmds::MatrixLoadIdentityCHROMIUM cmd; 2812 cmds::MatrixLoadIdentityCHROMIUM cmd;
2802 }; 2813 };
2803 Cmds expected; 2814 Cmds expected;
2804 expected.cmd.Init(GL_PATH_PROJECTION_CHROMIUM); 2815 expected.cmd.Init(GL_PATH_PROJECTION_CHROMIUM);
2805 2816
2806 gl_->MatrixLoadIdentityCHROMIUM(GL_PATH_PROJECTION_CHROMIUM); 2817 gl_->MatrixLoadIdentityCHROMIUM(GL_PATH_PROJECTION_CHROMIUM);
2807 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); 2818 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
2808 } 2819 }
2809 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_UNITTEST_AUTOGEN_H_ 2820 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_UNITTEST_AUTOGEN_H_
OLDNEW

Powered by Google App Engine