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

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

Issue 3122033: Adds support for EXT_framebuffer_multisample... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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 | Annotate | Revision Log
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_2.cc 7 // It is included by gles2_cmd_decoder_unittest_2.cc
8 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_2_AUTOGEN_H_ 8 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_2_AUTOGEN_H_
9 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_2_AUTOGEN_H_ 9 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_2_AUTOGEN_H_
10 10
11 // TODO(gman): GetUniformLocationImmediate
12
13 // TODO(gman): GetUniformLocationBucket 11 // TODO(gman): GetUniformLocationBucket
14 12
15 13
16 TEST_F(GLES2DecoderTest2, GetVertexAttribfvValidArgs) { 14 TEST_F(GLES2DecoderTest2, GetVertexAttribfvValidArgs) {
17 SpecializedSetup<GetVertexAttribfv, 0>(true); 15 SpecializedSetup<GetVertexAttribfv, 0>(true);
18 typedef GetVertexAttribfv::Result Result; 16 typedef GetVertexAttribfv::Result Result;
19 Result* result = static_cast<Result*>(shared_memory_address_); 17 Result* result = static_cast<Result*>(shared_memory_address_);
20 result->size = 0; 18 result->size = 0;
21 GetVertexAttribfv cmd; 19 GetVertexAttribfv cmd;
22 cmd.Init( 20 cmd.Init(
(...skipping 1571 matching lines...) Expand 10 before | Expand all | Expand 10 after
1594 } 1592 }
1595 1593
1596 TEST_F(GLES2DecoderTest2, ViewportInvalidArgs3_0) { 1594 TEST_F(GLES2DecoderTest2, ViewportInvalidArgs3_0) {
1597 EXPECT_CALL(*gl_, Viewport(_, _, _, _)).Times(0); 1595 EXPECT_CALL(*gl_, Viewport(_, _, _, _)).Times(0);
1598 SpecializedSetup<Viewport, 0>(false); 1596 SpecializedSetup<Viewport, 0>(false);
1599 Viewport cmd; 1597 Viewport cmd;
1600 cmd.Init(1, 2, 3, -1); 1598 cmd.Init(1, 2, 3, -1);
1601 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd)); 1599 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd));
1602 EXPECT_EQ(GL_INVALID_VALUE, GetGLError()); 1600 EXPECT_EQ(GL_INVALID_VALUE, GetGLError());
1603 } 1601 }
1602 // TODO(gman): BlitFramebufferEXT
1603 // TODO(gman): RenderbufferStorageMultisampleEXT
1604 // TODO(gman): SwapBuffers 1604 // TODO(gman): SwapBuffers
1605 // TODO(gman): GetMaxValueInBuffer 1605 // TODO(gman): GetMaxValueInBuffer
1606 // TODO(gman): GenSharedIds 1606 // TODO(gman): GenSharedIds
1607 1607
1608 // TODO(gman): DeleteSharedIds 1608 // TODO(gman): DeleteSharedIds
1609 1609
1610 // TODO(gman): RegisterSharedIds 1610 // TODO(gman): RegisterSharedIds
1611 1611
1612 // TODO(gman): CommandBufferEnable 1612 // TODO(gman): CommandBufferEnable
1613 1613
1614 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_2_AUTOGEN_H_ 1614 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_2_AUTOGEN_H_
1615 1615
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698