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

Side by Side Diff: gpu/GLES2/gles2_command_buffer.h

Issue 7623001: Rename and document glCommandBufferEnableCHROMIUM (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix stuff Created 9 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
« no previous file with comments | « gpu/GLES2/gl2ext.h ('k') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2010 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 defines constants and functions for the Pepper gles2 command
6 // buffers that fall outside the scope of OpenGL ES 2.0
7
8 #ifndef GPU_GLES2_GLES2_COMMAND_BUFFER_H_
9 #define GPU_GLES2_GLES2_COMMAND_BUFFER_H_
10
11 // constants for CommandBufferEnableCHROMIUM command.
12 #define PEPPER3D_ALLOW_BUFFERS_ON_MULTIPLE_TARGETS \
13 "pepper3d_allow_buffers_on_multiple_targets"
14 #define PEPPER3D_SUPPORT_FIXED_ATTRIBS \
15 "pepper3d_support_fixed_attribs"
16 // TODO(gman): remove this
17 #define PEPPER3D_SKIP_GLSL_TRANSLATION \
18 "pepper3d_skip_glsl_translation"
19
20 // TODO(gman): move this somewhere else.
21 #ifndef GL_READ_ONLY
22 #define GL_READ_ONLY 0x88B8
23 #endif
24 #ifndef GL_WRITE_ONLY
25 #define GL_WRITE_ONLY 0x88B9
26 #endif
27 #ifndef GL_BGRA_EXT
28 #define GL_BGRA_EXT 0x80E1
29 #endif
30 #ifndef GL_HALF_FLOAT_OES
31 #define GL_HALF_FLOAT_OES 0x8D61
32 #endif
33
34 #endif // GPU_GLES2_GLES2_COMMAND_BUFFER_H_
35
36
37
38
OLDNEW
« no previous file with comments | « gpu/GLES2/gl2ext.h ('k') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698