Add unsafe ES3 APIs: uniforms and attributes.
[chromium-blink-merge.git] / gpu / command_buffer / service / gles2_cmd_decoder_unittest_3_autogen.h
blobc6df8b35cdd47e60d032aa3a0514776db2c8a348
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
3 // found in the LICENSE file.
5 // This file is auto-generated from
6 // gpu/command_buffer/build_gles2_cmd_buffer.py
7 // It's formatted by clang-format using chromium coding style:
8 // clang-format -i -style=chromium filename
9 // DO NOT EDIT!
11 // It is included by gles2_cmd_decoder_unittest_3.cc
12 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_3_AUTOGEN_H_
13 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_3_AUTOGEN_H_
15 // TODO(gman): GenMailboxCHROMIUM
17 // TODO(gman): ProduceTextureCHROMIUMImmediate
18 // TODO(gman): ProduceTextureDirectCHROMIUMImmediate
19 // TODO(gman): ConsumeTextureCHROMIUMImmediate
20 // TODO(gman): CreateAndConsumeTextureCHROMIUMImmediate
21 // TODO(gman): BindUniformLocationCHROMIUMBucket
22 // TODO(gman): GenValuebuffersCHROMIUMImmediate
23 // TODO(gman): DeleteValuebuffersCHROMIUMImmediate
25 TEST_P(GLES2DecoderTest3, IsValuebufferCHROMIUMValidArgs) {
26 SpecializedSetup<cmds::IsValuebufferCHROMIUM, 0>(true);
27 cmds::IsValuebufferCHROMIUM cmd;
28 cmd.Init(client_valuebuffer_id_, shared_memory_id_, shared_memory_offset_);
29 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd));
30 EXPECT_EQ(GL_NO_ERROR, GetGLError());
33 TEST_P(GLES2DecoderTest3, IsValuebufferCHROMIUMInvalidArgsBadSharedMemoryId) {
34 SpecializedSetup<cmds::IsValuebufferCHROMIUM, 0>(false);
35 cmds::IsValuebufferCHROMIUM cmd;
36 cmd.Init(client_valuebuffer_id_, kInvalidSharedMemoryId,
37 shared_memory_offset_);
38 EXPECT_EQ(error::kOutOfBounds, ExecuteCmd(cmd));
39 cmd.Init(client_valuebuffer_id_, shared_memory_id_,
40 kInvalidSharedMemoryOffset);
41 EXPECT_EQ(error::kOutOfBounds, ExecuteCmd(cmd));
43 // TODO(gman): BindValuebufferCHROMIUM
44 // TODO(gman): SubscribeValueCHROMIUM
45 // TODO(gman): PopulateSubscribedValuesCHROMIUM
46 // TODO(gman): UniformValuebufferCHROMIUM
47 // TODO(gman): BindTexImage2DCHROMIUM
48 // TODO(gman): ReleaseTexImage2DCHROMIUM
49 // TODO(gman): TraceBeginCHROMIUM
51 // TODO(gman): TraceEndCHROMIUM
52 // TODO(gman): AsyncTexSubImage2DCHROMIUM
54 // TODO(gman): AsyncTexImage2DCHROMIUM
56 // TODO(gman): WaitAsyncTexImage2DCHROMIUM
58 // TODO(gman): WaitAllAsyncTexImage2DCHROMIUM
60 // TODO(gman): LoseContextCHROMIUM
61 // TODO(gman): InsertSyncPointCHROMIUM
63 // TODO(gman): WaitSyncPointCHROMIUM
65 // TODO(gman): DrawBuffersEXTImmediate
66 // TODO(gman): DiscardBackbufferCHROMIUM
68 // TODO(gman): ScheduleOverlayPlaneCHROMIUM
69 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_3_AUTOGEN_H_