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

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

Issue 1218223005: command_buffer: Implement CHROMIUM_framebuffer_mixed_samples extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new-05-path-fragment-input-gen
Patch Set: rebase for commit Created 5 years 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 .Times(1) 45 .Times(1)
46 .RetiresOnSaturation(); 46 .RetiresOnSaturation();
47 EXPECT_CALL(*gl_, ClearColor(0.0f, 0.0f, 0.0f, 0.0f)) 47 EXPECT_CALL(*gl_, ClearColor(0.0f, 0.0f, 0.0f, 0.0f))
48 .Times(1) 48 .Times(1)
49 .RetiresOnSaturation(); 49 .RetiresOnSaturation();
50 EXPECT_CALL(*gl_, ClearDepth(1.0f)).Times(1).RetiresOnSaturation(); 50 EXPECT_CALL(*gl_, ClearDepth(1.0f)).Times(1).RetiresOnSaturation();
51 EXPECT_CALL(*gl_, ClearStencil(0)).Times(1).RetiresOnSaturation(); 51 EXPECT_CALL(*gl_, ClearStencil(0)).Times(1).RetiresOnSaturation();
52 EXPECT_CALL(*gl_, ColorMask(true, true, true, true)) 52 EXPECT_CALL(*gl_, ColorMask(true, true, true, true))
53 .Times(1) 53 .Times(1)
54 .RetiresOnSaturation(); 54 .RetiresOnSaturation();
55 if (group_->feature_info()
56 ->feature_flags()
57 .chromium_framebuffer_mixed_samples) {
58 EXPECT_CALL(*gl_, CoverageModulationNV(GL_NONE))
59 .Times(1)
60 .RetiresOnSaturation();
61 }
55 EXPECT_CALL(*gl_, CullFace(GL_BACK)).Times(1).RetiresOnSaturation(); 62 EXPECT_CALL(*gl_, CullFace(GL_BACK)).Times(1).RetiresOnSaturation();
56 EXPECT_CALL(*gl_, DepthFunc(GL_LESS)).Times(1).RetiresOnSaturation(); 63 EXPECT_CALL(*gl_, DepthFunc(GL_LESS)).Times(1).RetiresOnSaturation();
57 EXPECT_CALL(*gl_, DepthMask(true)).Times(1).RetiresOnSaturation(); 64 EXPECT_CALL(*gl_, DepthMask(true)).Times(1).RetiresOnSaturation();
58 EXPECT_CALL(*gl_, DepthRange(0.0f, 1.0f)).Times(1).RetiresOnSaturation(); 65 EXPECT_CALL(*gl_, DepthRange(0.0f, 1.0f)).Times(1).RetiresOnSaturation();
59 EXPECT_CALL(*gl_, FrontFace(GL_CCW)).Times(1).RetiresOnSaturation(); 66 EXPECT_CALL(*gl_, FrontFace(GL_CCW)).Times(1).RetiresOnSaturation();
60 EXPECT_CALL(*gl_, Hint(GL_GENERATE_MIPMAP_HINT, GL_DONT_CARE)) 67 EXPECT_CALL(*gl_, Hint(GL_GENERATE_MIPMAP_HINT, GL_DONT_CARE))
61 .Times(1) 68 .Times(1)
62 .RetiresOnSaturation(); 69 .RetiresOnSaturation();
63 if (group_->feature_info()->feature_flags().oes_standard_derivatives) { 70 if (group_->feature_info()->feature_flags().oes_standard_derivatives) {
64 EXPECT_CALL(*gl_, 71 EXPECT_CALL(*gl_,
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 .RetiresOnSaturation(); 158 .RetiresOnSaturation();
152 EXPECT_CALL(*gl_, StencilOpSeparate(GL_BACK, GL_KEEP, GL_KEEP, GL_KEEP)) 159 EXPECT_CALL(*gl_, StencilOpSeparate(GL_BACK, GL_KEEP, GL_KEEP, GL_KEEP))
153 .Times(1) 160 .Times(1)
154 .RetiresOnSaturation(); 161 .RetiresOnSaturation();
155 EXPECT_CALL(*gl_, 162 EXPECT_CALL(*gl_,
156 Viewport(kViewportX, kViewportY, kViewportWidth, kViewportHeight)) 163 Viewport(kViewportX, kViewportY, kViewportWidth, kViewportHeight))
157 .Times(1) 164 .Times(1)
158 .RetiresOnSaturation(); 165 .RetiresOnSaturation();
159 } 166 }
160 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_0_AUTOGEN_H_ 167 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_0_AUTOGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698