Elim cr-checkbox
[chromium-blink-merge.git] / gpu / command_buffer / service / gles2_cmd_decoder_unittest_3_autogen.h
blob4c7afccb7d264de195fea2c63b980a1e5b91cee9
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 TEST_P(GLES2DecoderTest3, UniformMatrix2x4fvImmediateValidArgs) {
16 cmds::UniformMatrix2x4fvImmediate& cmd =
17 *GetImmediateAs<cmds::UniformMatrix2x4fvImmediate>();
18 EXPECT_CALL(*gl_,
19 UniformMatrix2x4fv(1, 2, false, reinterpret_cast<GLfloat*>(
20 ImmediateDataAddress(&cmd))));
21 SpecializedSetup<cmds::UniformMatrix2x4fvImmediate, 0>(true);
22 GLfloat temp[8 * 2] = {
25 cmd.Init(1, 2, &temp[0]);
26 decoder_->set_unsafe_es3_apis_enabled(true);
27 EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
28 EXPECT_EQ(GL_NO_ERROR, GetGLError());
29 decoder_->set_unsafe_es3_apis_enabled(false);
30 EXPECT_EQ(error::kUnknownCommand, ExecuteImmediateCmd(cmd, sizeof(temp)));
33 TEST_P(GLES2DecoderTest3, UniformMatrix3fvImmediateValidArgs) {
34 cmds::UniformMatrix3fvImmediate& cmd =
35 *GetImmediateAs<cmds::UniformMatrix3fvImmediate>();
36 EXPECT_CALL(*gl_,
37 UniformMatrix3fv(1, 2, false, reinterpret_cast<GLfloat*>(
38 ImmediateDataAddress(&cmd))));
39 SpecializedSetup<cmds::UniformMatrix3fvImmediate, 0>(true);
40 GLfloat temp[9 * 2] = {
43 cmd.Init(1, 2, &temp[0]);
44 EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
45 EXPECT_EQ(GL_NO_ERROR, GetGLError());
48 TEST_P(GLES2DecoderTest3, UniformMatrix3x2fvImmediateValidArgs) {
49 cmds::UniformMatrix3x2fvImmediate& cmd =
50 *GetImmediateAs<cmds::UniformMatrix3x2fvImmediate>();
51 EXPECT_CALL(*gl_,
52 UniformMatrix3x2fv(1, 2, false, reinterpret_cast<GLfloat*>(
53 ImmediateDataAddress(&cmd))));
54 SpecializedSetup<cmds::UniformMatrix3x2fvImmediate, 0>(true);
55 GLfloat temp[6 * 2] = {
58 cmd.Init(1, 2, &temp[0]);
59 decoder_->set_unsafe_es3_apis_enabled(true);
60 EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
61 EXPECT_EQ(GL_NO_ERROR, GetGLError());
62 decoder_->set_unsafe_es3_apis_enabled(false);
63 EXPECT_EQ(error::kUnknownCommand, ExecuteImmediateCmd(cmd, sizeof(temp)));
66 TEST_P(GLES2DecoderTest3, UniformMatrix3x4fvImmediateValidArgs) {
67 cmds::UniformMatrix3x4fvImmediate& cmd =
68 *GetImmediateAs<cmds::UniformMatrix3x4fvImmediate>();
69 EXPECT_CALL(*gl_,
70 UniformMatrix3x4fv(1, 2, false, reinterpret_cast<GLfloat*>(
71 ImmediateDataAddress(&cmd))));
72 SpecializedSetup<cmds::UniformMatrix3x4fvImmediate, 0>(true);
73 GLfloat temp[12 * 2] = {
76 cmd.Init(1, 2, &temp[0]);
77 decoder_->set_unsafe_es3_apis_enabled(true);
78 EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
79 EXPECT_EQ(GL_NO_ERROR, GetGLError());
80 decoder_->set_unsafe_es3_apis_enabled(false);
81 EXPECT_EQ(error::kUnknownCommand, ExecuteImmediateCmd(cmd, sizeof(temp)));
84 TEST_P(GLES2DecoderTest3, UniformMatrix4fvImmediateValidArgs) {
85 cmds::UniformMatrix4fvImmediate& cmd =
86 *GetImmediateAs<cmds::UniformMatrix4fvImmediate>();
87 EXPECT_CALL(*gl_,
88 UniformMatrix4fv(1, 2, false, reinterpret_cast<GLfloat*>(
89 ImmediateDataAddress(&cmd))));
90 SpecializedSetup<cmds::UniformMatrix4fvImmediate, 0>(true);
91 GLfloat temp[16 * 2] = {
94 cmd.Init(1, 2, &temp[0]);
95 EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
96 EXPECT_EQ(GL_NO_ERROR, GetGLError());
99 TEST_P(GLES2DecoderTest3, UniformMatrix4x2fvImmediateValidArgs) {
100 cmds::UniformMatrix4x2fvImmediate& cmd =
101 *GetImmediateAs<cmds::UniformMatrix4x2fvImmediate>();
102 EXPECT_CALL(*gl_,
103 UniformMatrix4x2fv(1, 2, false, reinterpret_cast<GLfloat*>(
104 ImmediateDataAddress(&cmd))));
105 SpecializedSetup<cmds::UniformMatrix4x2fvImmediate, 0>(true);
106 GLfloat temp[8 * 2] = {
109 cmd.Init(1, 2, &temp[0]);
110 decoder_->set_unsafe_es3_apis_enabled(true);
111 EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
112 EXPECT_EQ(GL_NO_ERROR, GetGLError());
113 decoder_->set_unsafe_es3_apis_enabled(false);
114 EXPECT_EQ(error::kUnknownCommand, ExecuteImmediateCmd(cmd, sizeof(temp)));
117 TEST_P(GLES2DecoderTest3, UniformMatrix4x3fvImmediateValidArgs) {
118 cmds::UniformMatrix4x3fvImmediate& cmd =
119 *GetImmediateAs<cmds::UniformMatrix4x3fvImmediate>();
120 EXPECT_CALL(*gl_,
121 UniformMatrix4x3fv(1, 2, false, reinterpret_cast<GLfloat*>(
122 ImmediateDataAddress(&cmd))));
123 SpecializedSetup<cmds::UniformMatrix4x3fvImmediate, 0>(true);
124 GLfloat temp[12 * 2] = {
127 cmd.Init(1, 2, &temp[0]);
128 decoder_->set_unsafe_es3_apis_enabled(true);
129 EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
130 EXPECT_EQ(GL_NO_ERROR, GetGLError());
131 decoder_->set_unsafe_es3_apis_enabled(false);
132 EXPECT_EQ(error::kUnknownCommand, ExecuteImmediateCmd(cmd, sizeof(temp)));
135 TEST_P(GLES2DecoderTest3, UseProgramValidArgs) {
136 EXPECT_CALL(*gl_, UseProgram(kServiceProgramId));
137 SpecializedSetup<cmds::UseProgram, 0>(true);
138 cmds::UseProgram cmd;
139 cmd.Init(client_program_id_);
140 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd));
141 EXPECT_EQ(GL_NO_ERROR, GetGLError());
144 TEST_P(GLES2DecoderTest3, UseProgramInvalidArgs0_0) {
145 EXPECT_CALL(*gl_, UseProgram(_)).Times(0);
146 SpecializedSetup<cmds::UseProgram, 0>(false);
147 cmds::UseProgram cmd;
148 cmd.Init(kInvalidClientId);
149 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd));
150 EXPECT_EQ(GL_INVALID_VALUE, GetGLError());
153 TEST_P(GLES2DecoderTest3, ValidateProgramValidArgs) {
154 EXPECT_CALL(*gl_, ValidateProgram(kServiceProgramId));
155 SpecializedSetup<cmds::ValidateProgram, 0>(true);
156 cmds::ValidateProgram cmd;
157 cmd.Init(client_program_id_);
158 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd));
159 EXPECT_EQ(GL_NO_ERROR, GetGLError());
162 TEST_P(GLES2DecoderTest3, VertexAttrib1fValidArgs) {
163 EXPECT_CALL(*gl_, VertexAttrib1f(1, 2));
164 SpecializedSetup<cmds::VertexAttrib1f, 0>(true);
165 cmds::VertexAttrib1f cmd;
166 cmd.Init(1, 2);
167 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd));
168 EXPECT_EQ(GL_NO_ERROR, GetGLError());
171 TEST_P(GLES2DecoderTest3, VertexAttrib1fvImmediateValidArgs) {
172 cmds::VertexAttrib1fvImmediate& cmd =
173 *GetImmediateAs<cmds::VertexAttrib1fvImmediate>();
174 SpecializedSetup<cmds::VertexAttrib1fvImmediate, 0>(true);
175 GLfloat temp[1] = {
178 cmd.Init(1, &temp[0]);
179 EXPECT_CALL(*gl_, VertexAttrib1fv(1, reinterpret_cast<GLfloat*>(
180 ImmediateDataAddress(&cmd))));
181 EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
182 EXPECT_EQ(GL_NO_ERROR, GetGLError());
185 TEST_P(GLES2DecoderTest3, VertexAttrib2fValidArgs) {
186 EXPECT_CALL(*gl_, VertexAttrib2f(1, 2, 3));
187 SpecializedSetup<cmds::VertexAttrib2f, 0>(true);
188 cmds::VertexAttrib2f cmd;
189 cmd.Init(1, 2, 3);
190 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd));
191 EXPECT_EQ(GL_NO_ERROR, GetGLError());
194 TEST_P(GLES2DecoderTest3, VertexAttrib2fvImmediateValidArgs) {
195 cmds::VertexAttrib2fvImmediate& cmd =
196 *GetImmediateAs<cmds::VertexAttrib2fvImmediate>();
197 SpecializedSetup<cmds::VertexAttrib2fvImmediate, 0>(true);
198 GLfloat temp[2] = {
201 cmd.Init(1, &temp[0]);
202 EXPECT_CALL(*gl_, VertexAttrib2fv(1, reinterpret_cast<GLfloat*>(
203 ImmediateDataAddress(&cmd))));
204 EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
205 EXPECT_EQ(GL_NO_ERROR, GetGLError());
208 TEST_P(GLES2DecoderTest3, VertexAttrib3fValidArgs) {
209 EXPECT_CALL(*gl_, VertexAttrib3f(1, 2, 3, 4));
210 SpecializedSetup<cmds::VertexAttrib3f, 0>(true);
211 cmds::VertexAttrib3f cmd;
212 cmd.Init(1, 2, 3, 4);
213 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd));
214 EXPECT_EQ(GL_NO_ERROR, GetGLError());
217 TEST_P(GLES2DecoderTest3, VertexAttrib3fvImmediateValidArgs) {
218 cmds::VertexAttrib3fvImmediate& cmd =
219 *GetImmediateAs<cmds::VertexAttrib3fvImmediate>();
220 SpecializedSetup<cmds::VertexAttrib3fvImmediate, 0>(true);
221 GLfloat temp[3] = {
224 cmd.Init(1, &temp[0]);
225 EXPECT_CALL(*gl_, VertexAttrib3fv(1, reinterpret_cast<GLfloat*>(
226 ImmediateDataAddress(&cmd))));
227 EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
228 EXPECT_EQ(GL_NO_ERROR, GetGLError());
231 TEST_P(GLES2DecoderTest3, VertexAttrib4fValidArgs) {
232 EXPECT_CALL(*gl_, VertexAttrib4f(1, 2, 3, 4, 5));
233 SpecializedSetup<cmds::VertexAttrib4f, 0>(true);
234 cmds::VertexAttrib4f cmd;
235 cmd.Init(1, 2, 3, 4, 5);
236 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd));
237 EXPECT_EQ(GL_NO_ERROR, GetGLError());
240 TEST_P(GLES2DecoderTest3, VertexAttrib4fvImmediateValidArgs) {
241 cmds::VertexAttrib4fvImmediate& cmd =
242 *GetImmediateAs<cmds::VertexAttrib4fvImmediate>();
243 SpecializedSetup<cmds::VertexAttrib4fvImmediate, 0>(true);
244 GLfloat temp[4] = {
247 cmd.Init(1, &temp[0]);
248 EXPECT_CALL(*gl_, VertexAttrib4fv(1, reinterpret_cast<GLfloat*>(
249 ImmediateDataAddress(&cmd))));
250 EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
251 EXPECT_EQ(GL_NO_ERROR, GetGLError());
254 TEST_P(GLES2DecoderTest3, VertexAttribI4iValidArgs) {
255 EXPECT_CALL(*gl_, VertexAttribI4i(1, 2, 3, 4, 5));
256 SpecializedSetup<cmds::VertexAttribI4i, 0>(true);
257 cmds::VertexAttribI4i cmd;
258 cmd.Init(1, 2, 3, 4, 5);
259 decoder_->set_unsafe_es3_apis_enabled(true);
260 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd));
261 EXPECT_EQ(GL_NO_ERROR, GetGLError());
262 decoder_->set_unsafe_es3_apis_enabled(false);
263 EXPECT_EQ(error::kUnknownCommand, ExecuteCmd(cmd));
266 TEST_P(GLES2DecoderTest3, VertexAttribI4ivImmediateValidArgs) {
267 cmds::VertexAttribI4ivImmediate& cmd =
268 *GetImmediateAs<cmds::VertexAttribI4ivImmediate>();
269 SpecializedSetup<cmds::VertexAttribI4ivImmediate, 0>(true);
270 GLint temp[4] = {
273 cmd.Init(1, &temp[0]);
274 EXPECT_CALL(*gl_, VertexAttribI4iv(1, reinterpret_cast<GLint*>(
275 ImmediateDataAddress(&cmd))));
276 decoder_->set_unsafe_es3_apis_enabled(true);
277 EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
278 EXPECT_EQ(GL_NO_ERROR, GetGLError());
279 decoder_->set_unsafe_es3_apis_enabled(false);
280 EXPECT_EQ(error::kUnknownCommand, ExecuteImmediateCmd(cmd, sizeof(temp)));
283 TEST_P(GLES2DecoderTest3, VertexAttribI4uiValidArgs) {
284 EXPECT_CALL(*gl_, VertexAttribI4ui(1, 2, 3, 4, 5));
285 SpecializedSetup<cmds::VertexAttribI4ui, 0>(true);
286 cmds::VertexAttribI4ui cmd;
287 cmd.Init(1, 2, 3, 4, 5);
288 decoder_->set_unsafe_es3_apis_enabled(true);
289 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd));
290 EXPECT_EQ(GL_NO_ERROR, GetGLError());
291 decoder_->set_unsafe_es3_apis_enabled(false);
292 EXPECT_EQ(error::kUnknownCommand, ExecuteCmd(cmd));
295 TEST_P(GLES2DecoderTest3, VertexAttribI4uivImmediateValidArgs) {
296 cmds::VertexAttribI4uivImmediate& cmd =
297 *GetImmediateAs<cmds::VertexAttribI4uivImmediate>();
298 SpecializedSetup<cmds::VertexAttribI4uivImmediate, 0>(true);
299 GLuint temp[4] = {
302 cmd.Init(1, &temp[0]);
303 EXPECT_CALL(*gl_, VertexAttribI4uiv(1, reinterpret_cast<GLuint*>(
304 ImmediateDataAddress(&cmd))));
305 decoder_->set_unsafe_es3_apis_enabled(true);
306 EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
307 EXPECT_EQ(GL_NO_ERROR, GetGLError());
308 decoder_->set_unsafe_es3_apis_enabled(false);
309 EXPECT_EQ(error::kUnknownCommand, ExecuteImmediateCmd(cmd, sizeof(temp)));
311 // TODO(gman): VertexAttribIPointer
313 // TODO(gman): VertexAttribPointer
315 TEST_P(GLES2DecoderTest3, ViewportValidArgs) {
316 EXPECT_CALL(*gl_, Viewport(1, 2, 3, 4));
317 SpecializedSetup<cmds::Viewport, 0>(true);
318 cmds::Viewport cmd;
319 cmd.Init(1, 2, 3, 4);
320 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd));
321 EXPECT_EQ(GL_NO_ERROR, GetGLError());
324 TEST_P(GLES2DecoderTest3, ViewportInvalidArgs2_0) {
325 EXPECT_CALL(*gl_, Viewport(_, _, _, _)).Times(0);
326 SpecializedSetup<cmds::Viewport, 0>(false);
327 cmds::Viewport cmd;
328 cmd.Init(1, 2, -1, 4);
329 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd));
330 EXPECT_EQ(GL_INVALID_VALUE, GetGLError());
333 TEST_P(GLES2DecoderTest3, ViewportInvalidArgs3_0) {
334 EXPECT_CALL(*gl_, Viewport(_, _, _, _)).Times(0);
335 SpecializedSetup<cmds::Viewport, 0>(false);
336 cmds::Viewport cmd;
337 cmd.Init(1, 2, 3, -1);
338 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd));
339 EXPECT_EQ(GL_INVALID_VALUE, GetGLError());
341 // TODO(gman): WaitSync
343 // TODO(gman): TexStorage2DEXT
344 // TODO(gman): GenQueriesEXTImmediate
345 // TODO(gman): DeleteQueriesEXTImmediate
346 // TODO(gman): QueryCounterEXT
348 // TODO(gman): BeginQueryEXT
350 TEST_P(GLES2DecoderTest3, BeginTransformFeedbackValidArgs) {
351 EXPECT_CALL(*gl_, BeginTransformFeedback(GL_POINTS));
352 SpecializedSetup<cmds::BeginTransformFeedback, 0>(true);
353 cmds::BeginTransformFeedback cmd;
354 cmd.Init(GL_POINTS);
355 decoder_->set_unsafe_es3_apis_enabled(true);
356 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd));
357 EXPECT_EQ(GL_NO_ERROR, GetGLError());
358 decoder_->set_unsafe_es3_apis_enabled(false);
359 EXPECT_EQ(error::kUnknownCommand, ExecuteCmd(cmd));
361 // TODO(gman): EndQueryEXT
363 TEST_P(GLES2DecoderTest3, EndTransformFeedbackValidArgs) {
364 EXPECT_CALL(*gl_, EndTransformFeedback());
365 SpecializedSetup<cmds::EndTransformFeedback, 0>(true);
366 cmds::EndTransformFeedback cmd;
367 cmd.Init();
368 decoder_->set_unsafe_es3_apis_enabled(true);
369 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd));
370 EXPECT_EQ(GL_NO_ERROR, GetGLError());
371 decoder_->set_unsafe_es3_apis_enabled(false);
372 EXPECT_EQ(error::kUnknownCommand, ExecuteCmd(cmd));
374 // TODO(gman): SetDisjointValueSyncCHROMIUM
376 // TODO(gman): InsertEventMarkerEXT
378 // TODO(gman): PushGroupMarkerEXT
380 TEST_P(GLES2DecoderTest3, PopGroupMarkerEXTValidArgs) {
381 SpecializedSetup<cmds::PopGroupMarkerEXT, 0>(true);
382 cmds::PopGroupMarkerEXT cmd;
383 cmd.Init();
384 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd));
385 EXPECT_EQ(GL_NO_ERROR, GetGLError());
387 // TODO(gman): GenVertexArraysOESImmediate
388 // TODO(gman): DeleteVertexArraysOESImmediate
389 // TODO(gman): IsVertexArrayOES
390 // TODO(gman): BindVertexArrayOES
391 // TODO(gman): SwapBuffers
392 // TODO(gman): GetMaxValueInBufferCHROMIUM
393 // TODO(gman): EnableFeatureCHROMIUM
395 // TODO(gman): MapBufferRange
397 // TODO(gman): UnmapBuffer
399 // TODO(gman): ResizeCHROMIUM
400 // TODO(gman): GetRequestableExtensionsCHROMIUM
402 // TODO(gman): RequestExtensionCHROMIUM
404 // TODO(gman): GetProgramInfoCHROMIUM
406 // TODO(gman): GetUniformBlocksCHROMIUM
408 // TODO(gman): GetTransformFeedbackVaryingsCHROMIUM
410 // TODO(gman): GetUniformsES3CHROMIUM
412 // TODO(gman): GetTranslatedShaderSourceANGLE
413 // TODO(gman): PostSubBufferCHROMIUM
414 // TODO(gman): TexImageIOSurface2DCHROMIUM
415 // TODO(gman): CopyTextureCHROMIUM
416 // TODO(gman): CopySubTextureCHROMIUM
417 // TODO(gman): CompressedCopyTextureCHROMIUM
418 // TODO(gman): CompressedCopySubTextureCHROMIUM
419 // TODO(gman): DrawArraysInstancedANGLE
420 // TODO(gman): DrawElementsInstancedANGLE
421 // TODO(gman): VertexAttribDivisorANGLE
422 // TODO(gman): GenMailboxCHROMIUM
424 // TODO(gman): ProduceTextureCHROMIUMImmediate
425 // TODO(gman): ProduceTextureDirectCHROMIUMImmediate
426 // TODO(gman): ConsumeTextureCHROMIUMImmediate
427 // TODO(gman): CreateAndConsumeTextureCHROMIUMImmediate
428 // TODO(gman): BindUniformLocationCHROMIUMBucket
429 // TODO(gman): GenValuebuffersCHROMIUMImmediate
430 // TODO(gman): DeleteValuebuffersCHROMIUMImmediate
432 TEST_P(GLES2DecoderTest3, IsValuebufferCHROMIUMValidArgs) {
433 SpecializedSetup<cmds::IsValuebufferCHROMIUM, 0>(true);
434 cmds::IsValuebufferCHROMIUM cmd;
435 cmd.Init(client_valuebuffer_id_, shared_memory_id_, shared_memory_offset_);
436 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd));
437 EXPECT_EQ(GL_NO_ERROR, GetGLError());
440 TEST_P(GLES2DecoderTest3, IsValuebufferCHROMIUMInvalidArgsBadSharedMemoryId) {
441 SpecializedSetup<cmds::IsValuebufferCHROMIUM, 0>(false);
442 cmds::IsValuebufferCHROMIUM cmd;
443 cmd.Init(client_valuebuffer_id_, kInvalidSharedMemoryId,
444 shared_memory_offset_);
445 EXPECT_EQ(error::kOutOfBounds, ExecuteCmd(cmd));
446 cmd.Init(client_valuebuffer_id_, shared_memory_id_,
447 kInvalidSharedMemoryOffset);
448 EXPECT_EQ(error::kOutOfBounds, ExecuteCmd(cmd));
450 // TODO(gman): BindValuebufferCHROMIUM
451 // TODO(gman): SubscribeValueCHROMIUM
452 // TODO(gman): PopulateSubscribedValuesCHROMIUM
453 // TODO(gman): UniformValuebufferCHROMIUM
454 // TODO(gman): BindTexImage2DCHROMIUM
455 // TODO(gman): ReleaseTexImage2DCHROMIUM
456 // TODO(gman): TraceBeginCHROMIUM
458 // TODO(gman): TraceEndCHROMIUM
459 // TODO(gman): LoseContextCHROMIUM
460 // TODO(gman): InsertSyncPointCHROMIUM
462 // TODO(gman): WaitSyncPointCHROMIUM
464 // TODO(gman): DrawBuffersEXTImmediate
465 // TODO(gman): DiscardBackbufferCHROMIUM
467 // TODO(gman): ScheduleOverlayPlaneCHROMIUM
468 // TODO(gman): SwapInterval
469 // TODO(gman): FlushDriverCachesCHROMIUM
470 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_3_AUTOGEN_H_