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

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

Issue 1719019: GPU service interprets glFinish as glFlush.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 8 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
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_autogen.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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. DO NOT EDIT! 5 // This file is auto-generated. DO NOT EDIT!
6 6
7 // It is included by gles2_cmd_decoder_unittest_1.cc 7 // It is included by gles2_cmd_decoder_unittest_1.cc
8 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_1_AUTOGEN_H_ 8 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_1_AUTOGEN_H_
9 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_1_AUTOGEN_H_ 9 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_1_AUTOGEN_H_
10 10
(...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after
804 TEST_F(GLES2DecoderTest1, EnableVertexAttribArrayValidArgs) { 804 TEST_F(GLES2DecoderTest1, EnableVertexAttribArrayValidArgs) {
805 EXPECT_CALL(*gl_, EnableVertexAttribArray(1)); 805 EXPECT_CALL(*gl_, EnableVertexAttribArray(1));
806 SpecializedSetup<EnableVertexAttribArray, 0>(); 806 SpecializedSetup<EnableVertexAttribArray, 0>();
807 EnableVertexAttribArray cmd; 807 EnableVertexAttribArray cmd;
808 cmd.Init(1); 808 cmd.Init(1);
809 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd)); 809 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd));
810 EXPECT_EQ(GL_NO_ERROR, GetGLError()); 810 EXPECT_EQ(GL_NO_ERROR, GetGLError());
811 } 811 }
812 812
813 TEST_F(GLES2DecoderTest1, FinishValidArgs) { 813 TEST_F(GLES2DecoderTest1, FinishValidArgs) {
814 EXPECT_CALL(*gl_, Finish()); 814 EXPECT_CALL(*gl_, Flush());
815 SpecializedSetup<Finish, 0>(); 815 SpecializedSetup<Finish, 0>();
816 Finish cmd; 816 Finish cmd;
817 cmd.Init(); 817 cmd.Init();
818 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd)); 818 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd));
819 EXPECT_EQ(GL_NO_ERROR, GetGLError()); 819 EXPECT_EQ(GL_NO_ERROR, GetGLError());
820 } 820 }
821 821
822 TEST_F(GLES2DecoderTest1, FlushValidArgs) { 822 TEST_F(GLES2DecoderTest1, FlushValidArgs) {
823 EXPECT_CALL(*gl_, Flush()); 823 EXPECT_CALL(*gl_, Flush());
824 SpecializedSetup<Flush, 0>(); 824 SpecializedSetup<Flush, 0>();
(...skipping 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after
1848 kInvalidSharedMemoryOffset); 1848 kInvalidSharedMemoryOffset);
1849 EXPECT_EQ(error::kOutOfBounds, ExecuteCmd(cmd)); 1849 EXPECT_EQ(error::kOutOfBounds, ExecuteCmd(cmd));
1850 EXPECT_EQ(0u, result->size); 1850 EXPECT_EQ(0u, result->size);
1851 } 1851 }
1852 // TODO(gman): GetUniformfv 1852 // TODO(gman): GetUniformfv
1853 1853
1854 // TODO(gman): GetUniformiv 1854 // TODO(gman): GetUniformiv
1855 1855
1856 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_1_AUTOGEN_H_ 1856 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_1_AUTOGEN_H_
1857 1857
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_autogen.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698