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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_validation.cc

Issue 2689006: Refactor validation code so it can be modified at runtime.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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 // Contains various validation functions for the GLES2 service. 5 // Contains various validation functions for the GLES2 service.
6 6
7 // NOTE: We explicitly do NOT include gles2_cmd_validation.h because the 7 #include "base/basictypes.h"
8 // gl2.h included in here must NOT be the native one. This is because 8 #define GLES2_GPU_SERVICE 1
9 // some of the GLenum definitions exist only in GLES2 and not in Desktop 9 #include "gpu/command_buffer/service/gles2_cmd_validation.h"
10 // GL. 10 #include "gpu/command_buffer/service/gl_utils.h"
11 #include <GLES2/gl2types.h>
12 #include <GLES2/gl2ext.h>
13 #include <GLES2/gles2_command_buffer.h>
14 11
15 namespace gpu { 12 namespace gpu {
16 namespace gles2 { 13 namespace gles2 {
17 14
18 #include "gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen .h" 15 #include "gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen .h"
19 16
20 } // namespace gles2 17 } // namespace gles2
21 } // namespace gpu 18 } // namespace gpu
22 19
23 20
24 21
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_validation.h ('k') | gpu/command_buffer/service/gles2_cmd_validation_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698