Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder_unittest_0_autogen.h

Issue 473853002: Make it possible to test command buffer decoder functions with extension flags (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address review comment Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 .Times(1) 43 .Times(1)
44 .RetiresOnSaturation(); 44 .RetiresOnSaturation();
45 EXPECT_CALL(*gl_, CullFace(GL_BACK)).Times(1).RetiresOnSaturation(); 45 EXPECT_CALL(*gl_, CullFace(GL_BACK)).Times(1).RetiresOnSaturation();
46 EXPECT_CALL(*gl_, DepthFunc(GL_LESS)).Times(1).RetiresOnSaturation(); 46 EXPECT_CALL(*gl_, DepthFunc(GL_LESS)).Times(1).RetiresOnSaturation();
47 EXPECT_CALL(*gl_, DepthMask(true)).Times(1).RetiresOnSaturation(); 47 EXPECT_CALL(*gl_, DepthMask(true)).Times(1).RetiresOnSaturation();
48 EXPECT_CALL(*gl_, DepthRange(0.0f, 1.0f)).Times(1).RetiresOnSaturation(); 48 EXPECT_CALL(*gl_, DepthRange(0.0f, 1.0f)).Times(1).RetiresOnSaturation();
49 EXPECT_CALL(*gl_, FrontFace(GL_CCW)).Times(1).RetiresOnSaturation(); 49 EXPECT_CALL(*gl_, FrontFace(GL_CCW)).Times(1).RetiresOnSaturation();
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) {
54 EXPECT_CALL(*gl_,
55 Hint(GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES, GL_DONT_CARE))
56 .Times(1)
57 .RetiresOnSaturation();
58 }
53 EXPECT_CALL(*gl_, LineWidth(1.0f)).Times(1).RetiresOnSaturation(); 59 EXPECT_CALL(*gl_, LineWidth(1.0f)).Times(1).RetiresOnSaturation();
54 EXPECT_CALL(*gl_, PixelStorei(GL_PACK_ALIGNMENT, 4)) 60 EXPECT_CALL(*gl_, PixelStorei(GL_PACK_ALIGNMENT, 4))
55 .Times(1) 61 .Times(1)
56 .RetiresOnSaturation(); 62 .RetiresOnSaturation();
57 EXPECT_CALL(*gl_, PixelStorei(GL_UNPACK_ALIGNMENT, 4)) 63 EXPECT_CALL(*gl_, PixelStorei(GL_UNPACK_ALIGNMENT, 4))
58 .Times(1) 64 .Times(1)
59 .RetiresOnSaturation(); 65 .RetiresOnSaturation();
60 EXPECT_CALL(*gl_, PolygonOffset(0.0f, 0.0f)).Times(1).RetiresOnSaturation(); 66 EXPECT_CALL(*gl_, PolygonOffset(0.0f, 0.0f)).Times(1).RetiresOnSaturation();
61 EXPECT_CALL(*gl_, SampleCoverage(1.0f, false)).Times(1).RetiresOnSaturation(); 67 EXPECT_CALL(*gl_, SampleCoverage(1.0f, false)).Times(1).RetiresOnSaturation();
62 EXPECT_CALL(*gl_, 68 EXPECT_CALL(*gl_,
(...skipping 17 matching lines...) Expand all
80 .RetiresOnSaturation(); 86 .RetiresOnSaturation();
81 EXPECT_CALL(*gl_, StencilOpSeparate(GL_BACK, GL_KEEP, GL_KEEP, GL_KEEP)) 87 EXPECT_CALL(*gl_, StencilOpSeparate(GL_BACK, GL_KEEP, GL_KEEP, GL_KEEP))
82 .Times(1) 88 .Times(1)
83 .RetiresOnSaturation(); 89 .RetiresOnSaturation();
84 EXPECT_CALL(*gl_, 90 EXPECT_CALL(*gl_,
85 Viewport(kViewportX, kViewportY, kViewportWidth, kViewportHeight)) 91 Viewport(kViewportX, kViewportY, kViewportWidth, kViewportHeight))
86 .Times(1) 92 .Times(1)
87 .RetiresOnSaturation(); 93 .RetiresOnSaturation();
88 } 94 }
89 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_0_AUTOGEN_H_ 95 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_0_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698