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

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

Issue 15792007: gpu: Autogenerate glHint state (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Switch-case instead of if-series. Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // DO NOT EDIT! 7 // DO NOT EDIT!
8 8
9 // It is included by gles2_cmd_decoder_unittest_base.cc 9 // It is included by gles2_cmd_decoder_unittest_base.cc
10 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_0_AUTOGEN_H_ 10 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_0_AUTOGEN_H_
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 .RetiresOnSaturation(); 52 .RetiresOnSaturation();
53 EXPECT_CALL(*gl_, DepthMask(true)) 53 EXPECT_CALL(*gl_, DepthMask(true))
54 .Times(1) 54 .Times(1)
55 .RetiresOnSaturation(); 55 .RetiresOnSaturation();
56 EXPECT_CALL(*gl_, DepthRange(0.0f, 1.0f)) 56 EXPECT_CALL(*gl_, DepthRange(0.0f, 1.0f))
57 .Times(1) 57 .Times(1)
58 .RetiresOnSaturation(); 58 .RetiresOnSaturation();
59 EXPECT_CALL(*gl_, FrontFace(GL_CCW)) 59 EXPECT_CALL(*gl_, FrontFace(GL_CCW))
60 .Times(1) 60 .Times(1)
61 .RetiresOnSaturation(); 61 .RetiresOnSaturation();
62 EXPECT_CALL(*gl_, Hint(GL_GENERATE_MIPMAP_HINT, GL_DONT_CARE))
63 .Times(1)
64 .RetiresOnSaturation();
62 EXPECT_CALL(*gl_, LineWidth(1.0f)) 65 EXPECT_CALL(*gl_, LineWidth(1.0f))
63 .Times(1) 66 .Times(1)
64 .RetiresOnSaturation(); 67 .RetiresOnSaturation();
65 EXPECT_CALL(*gl_, PolygonOffset(0.0f, 0.0f)) 68 EXPECT_CALL(*gl_, PolygonOffset(0.0f, 0.0f))
66 .Times(1) 69 .Times(1)
67 .RetiresOnSaturation(); 70 .RetiresOnSaturation();
68 EXPECT_CALL(*gl_, SampleCoverage(1.0f, false)) 71 EXPECT_CALL(*gl_, SampleCoverage(1.0f, false))
69 .Times(1) 72 .Times(1)
70 .RetiresOnSaturation(); 73 .RetiresOnSaturation();
71 EXPECT_CALL( 74 EXPECT_CALL(
(...skipping 18 matching lines...) Expand all
90 EXPECT_CALL(*gl_, StencilOpSeparate(GL_BACK, GL_KEEP, GL_KEEP, GL_KEEP)) 93 EXPECT_CALL(*gl_, StencilOpSeparate(GL_BACK, GL_KEEP, GL_KEEP, GL_KEEP))
91 .Times(1) 94 .Times(1)
92 .RetiresOnSaturation(); 95 .RetiresOnSaturation();
93 EXPECT_CALL( 96 EXPECT_CALL(
94 *gl_, Viewport(kViewportX, kViewportY, kViewportWidth, kViewportHeight)) 97 *gl_, Viewport(kViewportX, kViewportY, kViewportWidth, kViewportHeight))
95 .Times(1) 98 .Times(1)
96 .RetiresOnSaturation(); 99 .RetiresOnSaturation();
97 } 100 }
98 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_0_AUTOGEN_H_ 101 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_0_AUTOGEN_H_
99 102
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698