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

Side by Side Diff: gpu/command_buffer/common/gles2_cmd_id_test_autogen.h

Issue 521018: A bunch of unit tests for GLES2 (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // This file is auto-generated. DO NOT EDIT!
6
1 // This file contains unit tests for gles2 commmand ids 7 // This file contains unit tests for gles2 commmand ids
8 #ifndef GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_ID_TEST_AUTOGEN_H_
9 #define GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_ID_TEST_AUTOGEN_H_
2 10
3 // *** These IDs MUST NOT CHANGE!!! *** 11 // *** These IDs MUST NOT CHANGE!!! ***
4 // Changing them will break all client programs. 12 // Changing them will break all client programs.
5 TEST(GLES2CommandIdTest, CommandIdsMatch) { 13 TEST(GLES2CommandIdTest, CommandIdsMatch) {
6 COMPILE_ASSERT(ActiveTexture::kCmdId == 256, 14 COMPILE_ASSERT(ActiveTexture::kCmdId == 256,
7 GLES2_ActiveTexture_kCmdId_mismatch); 15 GLES2_ActiveTexture_kCmdId_mismatch);
8 COMPILE_ASSERT(AttachShader::kCmdId == 257, 16 COMPILE_ASSERT(AttachShader::kCmdId == 257,
9 GLES2_AttachShader_kCmdId_mismatch); 17 GLES2_AttachShader_kCmdId_mismatch);
10 COMPILE_ASSERT(BindAttribLocation::kCmdId == 258, 18 COMPILE_ASSERT(BindAttribLocation::kCmdId == 258,
11 GLES2_BindAttribLocation_kCmdId_mismatch); 19 GLES2_BindAttribLocation_kCmdId_mismatch);
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 COMPILE_ASSERT(VertexAttrib4fvImmediate::kCmdId == 428, 358 COMPILE_ASSERT(VertexAttrib4fvImmediate::kCmdId == 428,
351 GLES2_VertexAttrib4fvImmediate_kCmdId_mismatch); 359 GLES2_VertexAttrib4fvImmediate_kCmdId_mismatch);
352 COMPILE_ASSERT(VertexAttribPointer::kCmdId == 429, 360 COMPILE_ASSERT(VertexAttribPointer::kCmdId == 429,
353 GLES2_VertexAttribPointer_kCmdId_mismatch); 361 GLES2_VertexAttribPointer_kCmdId_mismatch);
354 COMPILE_ASSERT(Viewport::kCmdId == 430, 362 COMPILE_ASSERT(Viewport::kCmdId == 430,
355 GLES2_Viewport_kCmdId_mismatch); 363 GLES2_Viewport_kCmdId_mismatch);
356 COMPILE_ASSERT(SwapBuffers::kCmdId == 431, 364 COMPILE_ASSERT(SwapBuffers::kCmdId == 431,
357 GLES2_SwapBuffers_kCmdId_mismatch); 365 GLES2_SwapBuffers_kCmdId_mismatch);
358 } 366 }
359 367
368 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_ID_TEST_AUTOGEN_H_
369
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_format_test_autogen.h ('k') | gpu/command_buffer/common/gles2_cmd_ids_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698