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

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

Issue 169403005: command_buffer: Implement path rendering functions for CHROMIUM_path_rendering (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nv-pr-02-texgen
Patch Set: rebase and cleanup ids Created 6 years, 2 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 if (group_->feature_info()->feature_flags().chromium_path_rendering) { 60 if (group_->feature_info()->feature_flags().chromium_path_rendering) {
61 EXPECT_CALL(*gl_, MatrixLoadfEXT(GL_PATH_MODELVIEW_CHROMIUM, _)) 61 EXPECT_CALL(*gl_, MatrixLoadfEXT(GL_PATH_MODELVIEW_CHROMIUM, _))
62 .Times(1) 62 .Times(1)
63 .RetiresOnSaturation(); 63 .RetiresOnSaturation();
64 } 64 }
65 if (group_->feature_info()->feature_flags().chromium_path_rendering) { 65 if (group_->feature_info()->feature_flags().chromium_path_rendering) {
66 EXPECT_CALL(*gl_, MatrixLoadfEXT(GL_PATH_PROJECTION_CHROMIUM, _)) 66 EXPECT_CALL(*gl_, MatrixLoadfEXT(GL_PATH_PROJECTION_CHROMIUM, _))
67 .Times(1) 67 .Times(1)
68 .RetiresOnSaturation(); 68 .RetiresOnSaturation();
69 } 69 }
70 if (group_->feature_info()->feature_flags().chromium_path_rendering) {
71 EXPECT_CALL(*gl_, PathStencilFuncNV(GL_ALWAYS, 0, 0xFFFFFFFFU))
72 .Times(1)
73 .RetiresOnSaturation();
74 }
70 EXPECT_CALL(*gl_, PixelStorei(GL_PACK_ALIGNMENT, 4)) 75 EXPECT_CALL(*gl_, PixelStorei(GL_PACK_ALIGNMENT, 4))
71 .Times(1) 76 .Times(1)
72 .RetiresOnSaturation(); 77 .RetiresOnSaturation();
73 EXPECT_CALL(*gl_, PixelStorei(GL_UNPACK_ALIGNMENT, 4)) 78 EXPECT_CALL(*gl_, PixelStorei(GL_UNPACK_ALIGNMENT, 4))
74 .Times(1) 79 .Times(1)
75 .RetiresOnSaturation(); 80 .RetiresOnSaturation();
76 EXPECT_CALL(*gl_, PolygonOffset(0.0f, 0.0f)).Times(1).RetiresOnSaturation(); 81 EXPECT_CALL(*gl_, PolygonOffset(0.0f, 0.0f)).Times(1).RetiresOnSaturation();
77 EXPECT_CALL(*gl_, SampleCoverage(1.0f, false)).Times(1).RetiresOnSaturation(); 82 EXPECT_CALL(*gl_, SampleCoverage(1.0f, false)).Times(1).RetiresOnSaturation();
78 EXPECT_CALL(*gl_, 83 EXPECT_CALL(*gl_,
79 Scissor(kViewportX, kViewportY, kViewportWidth, kViewportHeight)) 84 Scissor(kViewportX, kViewportY, kViewportWidth, kViewportHeight))
(...skipping 16 matching lines...) Expand all
96 .RetiresOnSaturation(); 101 .RetiresOnSaturation();
97 EXPECT_CALL(*gl_, StencilOpSeparate(GL_BACK, GL_KEEP, GL_KEEP, GL_KEEP)) 102 EXPECT_CALL(*gl_, StencilOpSeparate(GL_BACK, GL_KEEP, GL_KEEP, GL_KEEP))
98 .Times(1) 103 .Times(1)
99 .RetiresOnSaturation(); 104 .RetiresOnSaturation();
100 EXPECT_CALL(*gl_, 105 EXPECT_CALL(*gl_,
101 Viewport(kViewportX, kViewportY, kViewportWidth, kViewportHeight)) 106 Viewport(kViewportX, kViewportY, kViewportWidth, kViewportHeight))
102 .Times(1) 107 .Times(1)
103 .RetiresOnSaturation(); 108 .RetiresOnSaturation();
104 } 109 }
105 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_0_AUTOGEN_H_ 110 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_0_AUTOGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698